diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-07 14:11:21 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 20:58:55 -0400 |
| commit | 9439cac6b126254bc488c2375b9e7ff5fd4fce74 (patch) | |
| tree | d0f6bba4de5b0a4131a6b91eb711b6bf1960def8 /include | |
| parent | a93be9ff1c417d73015fd53a9ee778ea2a642328 (diff) | |
Added m_ssl.cpp which allows Anope to use SSL when connecting to its uplink
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 1 | ||||
| -rw-r--r-- | include/modules.h | 3 |
2 files changed, 3 insertions, 1 deletions
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 */ |
