summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
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