summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 6e7de5188..3f5de12da 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -578,8 +578,9 @@ class CoreExport Module
virtual void OnChanExpire(const char *chname) { }
/** Called before anope connects to its uplink
+ * @return Other than EVENT_CONTINUE to stop attempting to connect
*/
- virtual void OnPreServerConnect() { }
+ virtual EventReturn OnPreServerConnect() { return EVENT_CONTINUE; }
/** Called when Anope connects to its uplink
*/