summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 00:03:50 -0500
committerAdam <Adam@anope.org>2010-12-24 20:07:59 -0500
commitc7a44bfd8eb98712a857beffec931e020a883161 (patch)
treee2952d5167a06e68012168f1ecd14ea9aab076e6 /include
parent839fb4e5f02acdb46136dbd13890ec9b3c93cf22 (diff)
Fixed deleting expired SXLines
Diffstat (limited to 'include')
-rw-r--r--include/operserv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/operserv.h b/include/operserv.h
index 8bac11e76..20d24ae5d 100644
--- a/include/operserv.h
+++ b/include/operserv.h
@@ -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