diff options
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 */ |
