From 9439cac6b126254bc488c2375b9e7ff5fd4fce74 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 7 May 2010 14:11:21 -0400 Subject: Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink --- include/extern.h | 1 + include/modules.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index c8382db8e..7998b7c74 100644 --- a/include/extern.h +++ b/include/extern.h @@ -286,6 +286,7 @@ E int m_version(const char *source, int ac, const char **av); /**** misc.c ****/ +E bool IsFile(const std::string &filename); E int toupper(char); E int tolower(char); E char *strscpy(char *d, const char *s, size_t len); 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 */ -- cgit