diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-01 10:20:50 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-01 10:20:50 +0000 |
commit | 79fbeb90c1ef6dbceb94100580ca6de36fbd8ffe (patch) | |
tree | efb5f4a4830a2e4cea1251c7a36fdb4bf57a68bb /src/core/bs_bot.c | |
parent | aff742a18e9e30c22d93c229836aa37a18bc4c21 (diff) |
BUILD : 1.7.13 (977) BUGS : 461 463 NOTES : happy bug-fixing-day to all of you.
git-svn-id: svn://svn.anope.org/anope/trunk@977 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@702 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/bs_bot.c')
-rw-r--r-- | src/core/bs_bot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index e2c845ea2..eaf66b9c8 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -197,6 +197,8 @@ int do_bot(User * u) notice_lang(s_BotServ, u, BOT_DOES_NOT_EXIST, oldnick); else if (strlen(nick) > NickLen) notice_lang(s_BotServ, u, BOT_BAD_NICK); + else if (strlen(user) >= USERMAX) + notice_lang(s_BotServ, u, BOT_BAD_IDENT); else { NickAlias *na; |