diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-05-07 21:04:18 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 20:58:55 -0400 |
commit | af805e5b45f75dec7f4ce16ffc322c8880f9859c (patch) | |
tree | ccc5fb87394b0a80dd780d98d2af2f679c0eff68 /include/modules.h | |
parent | b775c84402c309ccf4bced359ee714fbedb4dd6e (diff) |
Allow enabling ssl on a per-uplink basis
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 6 |
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 */ |