summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-10 14:16:59 -0400
committerAdam <Adam@anope.org>2011-10-10 14:16:59 -0400
commit9f3d735d9d461e0cea042722ac1c6af98fe6560e (patch)
tree2b735e7426084ab1e407bea5af74ecd25b2ec81f /include
parent0e012f73d44e2f2f3a64aae09d650ebfd00f063c (diff)
Allow nickserv/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 99ddc8259..2be3d5534 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -490,9 +490,9 @@ class CoreExport Module : public Extensible
/** Called before a nick expires
* @param na The nick
- * @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 nick to expire
*/
- virtual EventReturn OnPreNickExpire(NickAlias *na) { return EVENT_CONTINUE; }
+ virtual void OnPreNickExpire(NickAlias *na, bool &expire) { }
/** Called when a nick drops
* @param na The nick