summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-22 10:08:37 -0600
committerAdam <Adam@anope.org>2010-12-12 19:36:01 -0500
commit697dc8938279f33f2ac2c0b2248793c75de07b19 (patch)
tree3b8259dbded67f87f9e17742ebef5b0043e3ebdc /include/modules.h
parent4d342d955dbe604357c652a1ee09d77c9a38ec6d (diff)
Added a default expiry time for suspended and forbidden nicks and channels
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h
index be5c14447..ac74a7372 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -498,10 +498,10 @@ class CoreExport Module : public Extensible
*/
virtual EventReturn OnPreChanExpire(ChannelInfo *ci) { return EVENT_CONTINUE; }
- /** Called when a channel expires
- * @param chname The channel name
+ /** Called before a channel expires
+ * @param ci The channel
*/
- virtual void OnChanExpire(const Anope::string &chname) { }
+ virtual void OnChanExpire(ChannelInfo *ci) { }
/** Called before Anope connects to its uplink
* @param u The uplink we're going to connect to