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

Fixed possible segfault introduced by TS6 fix in rev. 2401.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2406 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
jantje_85
2009-08-04 18:14:50 +00:00
parent b13836f3cf
commit 7c2db57965
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -249,9 +249,10 @@ void chan_set_modes(const char *source, Channel * chan, int ac, char **av,
if (!user) user = finduser(*av);
} else
user = finduser(*av);
if (!user && debug) {
alog("debug: MODE %s %c%c for nonexistent user %s",
chan->name, (add ? '+' : '-'), mode, *av);
if (!user) {
if (debug)
alog("debug: MODE %s %c%c for nonexistent user %s",
chan->name, (add ? '+' : '-'), mode, *av);
continue;
}
+2 -1
View File
@@ -9,9 +9,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="2"
VERSION_EXTRA="-svn"
VERSION_BUILD="2402"
VERSION_BUILD="2406"
# $Log$ # Changes since 1.8.2 Release
#Revision 2406 - Fixed possible segfault introduced by TS6 fix in rev. 2401.
#Revision 2402 - Fixed do_server() so it doesn't go nuts if a SID is the source. Added some sanity checks and debug output as well.
#Revision 2401 - Added forgotten entries to version.log and Changes, some code cleanup and fixed a few minor TS6 issues.
#Revision 2400 - Fixed some memory leaks when setting vhosts on users.