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, 4 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 3f5de12da..174fb6e04 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -577,10 +577,12 @@ class CoreExport Module
*/
virtual void OnChanExpire(const char *chname) { }
- /** Called before anope connects to its uplink
+ /** Called before Anope connects to its uplink
+ * @param u The uplink we're going to connect to
+ * @param Number What number the uplink is
* @return Other than EVENT_CONTINUE to stop attempting to connect
*/
- virtual EventReturn OnPreServerConnect() { return EVENT_CONTINUE; }
+ virtual EventReturn OnPreServerConnect(Uplink *u, int Number) { return EVENT_CONTINUE; }
/** Called when Anope connects to its uplink
*/