summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h
index 29e6c0881..4869ba3db 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -586,10 +586,10 @@ class CoreExport Module : public Extensible
*/
virtual void OnLevelChange(User *u, ChannelInfo *ci, const Anope::string &priv, int16_t what) { }
- /** Called when a channel is dropped
- * @param chname The channel name
+ /** Called right before a channel is dropped
+ * @param ci The channel
*/
- virtual void OnChanDrop(const Anope::string &chname) { }
+ virtual void OnChanDrop(ChannelInfo *ci) { }
/** Called when a channel is registered
* @param ci The channel