1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 02:23:13 +02:00

BUILD : 1.7.6 (451) BUGS : 221 NOTES : Fixes for wrong string for bot nick registration check, and added the check to bot change

git-svn-id: svn://svn.anope.org/anope/trunk@451 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@305 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-11-19 17:56:11 +00:00
parent 1303b4971a
commit a4c34ef876
3 changed files with 16 additions and 5 deletions
+1
View File
@@ -3,6 +3,7 @@ Anope Version S V N
Provided by Anope Dev. <dev@anope.org> - 2004
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
11/19 F Wrong string and missing registered nick check in bot change. [#221]
Provided by Trystan <trystan@nomadirc.net> - 2004
11/16 F NickTracking could allow usage of forbidden nick in some cases. [ #00]
+10 -4
View File
@@ -1262,7 +1262,7 @@ static int do_bot(User * u)
* it as a bot nick from now on -GD
*/
if ((na = findnick(nick))) {
notice_lang(s_BotServ, u, NICK_X_IN_USE, nick);
notice_lang(s_BotServ, u, NICK_ALREADY_REGISTERED, nick);
return MOD_CONT;
}
@@ -1368,9 +1368,15 @@ static int do_bot(User * u)
anope_cmd_unsqline(bi->nick);
}
/* We check whether the nick is registered, and drop it if so */
if ((na = findnick(nick)))
delnick(na);
/* We check whether the nick is registered, and inform the user
* if so. You need to drop the nick manually before you can use
* it as a bot nick from now on -GD
*/
if ((na = findnick(nick))) {
notice_lang(s_BotServ, u, NICK_ALREADY_REGISTERED,
nick);
return MOD_CONT;
}
/* We check whether user with this nick is online, and kill it if so */
EnforceQlinedNick(nick, s_BotServ);
+5 -1
View File
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
VERSION_BUILD="450"
VERSION_BUILD="451"
# $Log$
#
# BUILD : 1.7.6 (451)
# BUGS : 221
# NOTES : Fixes for wrong string for bot nick registration check, and added the check to bot change
#
# BUILD : 1.7.6 (450)
# BUGS :
# NOTES : Updated en_us.l for new BotServ BOT ADD behaviour