summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-10 17:19:06 -0400
committerAdam <Adam@anope.org>2011-10-10 17:19:06 -0400
commit4681e3a0ef9e2ffae7c5db53cba86a4f08091719 (patch)
treee71731c9d5863bb12253cccc69c03ad40f754a9b /include
parent80f4f317b247ee3756fbc001495310b2f7c4e997 (diff)
Allow chanserv/suspend to take an expiry time
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 2be3d5534..376224097 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -455,9 +455,9 @@ class CoreExport Module : public Extensible
/** Called before a channel expires
* @param ci The channel
- * @return EVENT_CONTINUE to let other modules decide, EVENT_STOP to halt the command and not process it
+ * @param expire Set to true to allow the chan to expire
*/
- virtual EventReturn OnPreChanExpire(ChannelInfo *ci) { return EVENT_CONTINUE; }
+ virtual void OnPreChanExpire(ChannelInfo *ci, bool &expire) { }
/** Called before a channel expires
* @param ci The channel