1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 07:23:12 +02:00

Fixed deleting expired SXLines

This commit is contained in:
Adam
2010-12-23 00:03:50 -05:00
parent 839fb4e5f0
commit c7a44bfd8e
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -142,11 +142,13 @@ class CoreExport XLineManager
*/
virtual XLine *Add(BotInfo *bi, User *u, const Anope::string &mask, time_t expires, const Anope::string &reason);
private:
/** Delete an XLine, eg, remove it from the IRCd.
* @param x The xline
*/
virtual void Del(XLine *x);
public:
/** Checks if a mask can/should be added to the XLineManager
* @param mask The mask
* @param expires When the mask would expire