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 /src/core/bs_bot.c | |
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 'src/core/bs_bot.c')
-rw-r--r-- | src/core/bs_bot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 6fc34a6bb..09e9b3860 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -111,7 +111,7 @@ int do_bot(User * u) } /* check for hardcored ircd forbidden nicks */ - if (!anope_valid_nick(nick)) { + if (!anope_IsNickValid(nick)) { notice_lang(s_BotServ, u, BOT_BAD_NICK); return MOD_CONT; } @@ -229,7 +229,7 @@ int do_bot(User * u) } /* check for hardcored ircd forbidden nicks */ - if (!anope_valid_nick(nick)) { + if (!anope_IsNickValid(nick)) { notice_lang(s_BotServ, u, BOT_BAD_NICK); return MOD_CONT; } |