diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-01 18:12:23 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-01 18:12:23 +0000 |
| commit | eca7e896120cd57fe877a49ec9a3290760403cf2 (patch) | |
| tree | 8dfa3700b1538c43d34c61d8c85ef2428dd6d234 /include | |
| parent | a2b5941fc71853582a4ac70ce243c433240f7241 (diff) | |
Added flood_mode_check() function to IRCDProtoNew class.
Conflicts:
include/extern.h
include/services.h
src/ircd.c
src/protocol/bahamut.c
src/protocol/bahamut.h
src/protocol/charybdis.c
src/protocol/charybdis.h
src/protocol/inspircd11.c
src/protocol/inspircd11.h
src/protocol/ratbox.c
src/protocol/ratbox.h
src/protocol/unreal32.c
src/protocol/unreal32.h
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1288 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 4 | ||||
| -rw-r--r-- | include/services.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index 07ca159da..26ec8b538 100644 --- a/include/extern.h +++ b/include/extern.h @@ -621,10 +621,6 @@ E void pmodule_cmd_318(void (*func) (const char *source, const char *who)); E void pmodule_cmd_242(void (*func) (const char *buf)); E void pmodule_cmd_243(void (*func) (const char *buf)); E void pmodule_cmd_211(void (*func) (const char *buf)); -E void pmodule_set_umode(void (*func) (User * user, int ac, const char **av)); -E void pmodule_valid_nick(int (*func) (const char *nick)); -E void pmodule_valid_chan(int (*func) (const char *chan)); -E void pmodule_flood_mode_check(int (*func) (const char *value)); E void pmodule_ircd_var(IRCDVar * ircdvar); E void pmodule_ircd_cap(IRCDCAPAB * cap); E void pmodule_ircd_version(const char *version); diff --git a/include/services.h b/include/services.h index 5da4b777a..cf2dfff12 100644 --- a/include/services.h +++ b/include/services.h @@ -1381,6 +1381,11 @@ class IRCDProtoNew { cmd_server(jserver, 2, rbuf); new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } + + virtual void set_umode(User *, int, const char **) = 0; + virtual int valid_nick(const char *) { return 1; } + virtual int valid_chan(const char *) { return 1; } + virtual int flood_mode_check(const char *) { return 0; } }; /*************************************************************************/ |
