diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 14:23:04 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 14:23:04 +0000 |
| commit | 194957cb29e595e4f324448bf3bd35e2bd3b36f4 (patch) | |
| tree | e5fdd56fdba2729fe6806bcb49cc517a7b176fc9 /include | |
| parent | 4fbf03aabab32764a7609288bf53f6691ce98267 (diff) | |
valid_(nick|chan) -> Is(Nick|Chan)Valid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1315 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 4 | ||||
| -rw-r--r-- | include/services.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index e0d02736a..15fb51aa7 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1253,8 +1253,8 @@ E int anope_flood_mode_check(const char *value); E void anope_SendJupe(const char *jserver, const char *who, const char *reason); -E int anope_valid_nick(const char *nick); -E int anope_valid_chan(const char *chan); +E int anope_IsNickValid(const char *nick); +E int anope_IsChannelValid(const char *chan); E char *common_get_vident(User *u); E char *common_get_vhost(User *u); diff --git a/include/services.h b/include/services.h index 674805213..671d12c23 100644 --- a/include/services.h +++ b/include/services.h @@ -1348,8 +1348,8 @@ class IRCDProto { new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } virtual void ProcessUsermodes(User *, int, const char **) = 0; - virtual int valid_nick(const char *) { return 1; } - virtual int valid_chan(const char *) { return 1; } + virtual int IsNickValid(const char *) { return 1; } + virtual int IsChannelValid(const char *) { return 1; } virtual int flood_mode_check(const char *) { return 0; } virtual void cmd_numeric(const char *source, int numeric, const char *dest, const char *buf) { |
