mirror of
https://github.com/anope/anope.git
synced 2026-07-04 15:53:13 +02:00
# BUILD : 1.7.14 (1022) # BUGS : 483 # NOTES : important seg fix
git-svn-id: svn://svn.anope.org/anope/trunk@1022 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@747 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
605353f9ef
commit
4314d649e5
@@ -54,6 +54,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2006
|
||||
03/18 A New icon file for anope win32. [#472]
|
||||
03/14 A Anope will now terminate on Win98. Added version check. [#473]
|
||||
03/01 A Clarity on module loading status numbers. [#435]
|
||||
03/24 F Fixed segfault on /bs change. [#483]
|
||||
03/22 F Fixed distclean in all Makefiles. [#481]
|
||||
03/19 F Fixed some gcc4 compiling issues. [#453]
|
||||
03/18 F Fixed closing of file pointer in langtool.c. [#478]
|
||||
|
||||
+8
-6
@@ -197,7 +197,7 @@ 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)
|
||||
else if (user && strlen(user) >= USERMAX)
|
||||
notice_lang(s_BotServ, u, BOT_BAD_IDENT);
|
||||
else {
|
||||
NickAlias *na;
|
||||
@@ -242,15 +242,17 @@ int do_bot(User * u)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
if (!isValidHost(host, 3)) {
|
||||
if (host && !isValidHost(host, 3)) {
|
||||
notice_lang(s_BotServ, u, BOT_BAD_HOST);
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
for (ch = user; *ch && (ch - user) < USERMAX; ch++) {
|
||||
if (!isalnum(*ch)) {
|
||||
notice_lang(s_BotServ, u, BOT_BAD_IDENT);
|
||||
return MOD_CONT;
|
||||
if (user) {
|
||||
for (ch = user; *ch && (ch - user) < USERMAX; ch++) {
|
||||
if (!isalnum(*ch)) {
|
||||
notice_lang(s_BotServ, u, BOT_BAD_IDENT);
|
||||
return MOD_CONT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="14"
|
||||
VERSION_EXTRA="-rc1"
|
||||
VERSION_BUILD="1021"
|
||||
VERSION_BUILD="1022"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.14 (1022)
|
||||
# BUGS : 483
|
||||
# NOTES : important seg fix
|
||||
#
|
||||
# BUILD : 1.7.14 (1021)
|
||||
# BUGS :
|
||||
# NOTES : Anope 1.7.14 RC1
|
||||
|
||||
Reference in New Issue
Block a user