From af805e5b45f75dec7f4ce16ffc322c8880f9859c Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 7 May 2010 21:04:18 -0400 Subject: Allow enabling ssl on a per-uplink basis --- include/modules.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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 */ -- cgit