summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-05-07 14:11:21 -0400
committerAdam <Adam@anope.org>2010-06-18 20:58:55 -0400
commit9439cac6b126254bc488c2375b9e7ff5fd4fce74 (patch)
treed0f6bba4de5b0a4131a6b91eb711b6bf1960def8 /include/modules.h
parenta93be9ff1c417d73015fd53a9ee778ea2a642328 (diff)
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
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
*/