mirror of
https://github.com/anope/anope.git
synced 2026-06-30 18:46:38 +02:00
BUILD : 1.7.8 (621) BUGS : 314 NOTES : Fixed normalizeBuffer not being freed twice (anope_cmd_ctcp / delete_user)
git-svn-id: svn://svn.anope.org/anope/trunk@621 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@469 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
55c14ce52f
commit
ccf124e35a
@@ -8,6 +8,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
|
||||
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
|
||||
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
|
||||
03/14 F Two normalized strings not being freed. [#314]
|
||||
03/14 F Various minor mistakes (see bugreport for full list). [#313]
|
||||
03/14 F Sync state of servers was not recorded reliable enough. [ #00]
|
||||
03/12 F Services setting already set channel modes. [ #00]
|
||||
|
||||
@@ -1703,6 +1703,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
/* this avoids "undefined symbol" messages of those whom try to load mods that
|
||||
|
||||
@@ -1412,6 +1412,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1556,6 +1556,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1653,6 +1653,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1740,6 +1740,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1708,6 +1708,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1860,6 +1860,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1817,6 +1817,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1740,6 +1740,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "%s NOTICE :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1766,6 +1766,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1849,6 +1849,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1627,6 +1627,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2255,6 +2255,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "%s %s :\1%s \1", send_token("NOTICE", "B"), dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
+5
-2
@@ -196,18 +196,21 @@ void delete_user(User * user)
|
||||
{
|
||||
struct u_chanlist *c, *c2;
|
||||
struct u_chaninfolist *ci, *ci2;
|
||||
char *realname;
|
||||
|
||||
if (LogUsers) {
|
||||
realname = normalizeBuffer(user->realname);
|
||||
if (ircd->vhost) {
|
||||
alog("LOGUSERS: %s (%s@%s => %s) (%s) left the network (%s).",
|
||||
user->nick, user->username, user->host,
|
||||
(user->vhost ? user->vhost : "(none)"),
|
||||
normalizeBuffer(user->realname), user->server->name);
|
||||
realname, user->server->name);
|
||||
} else {
|
||||
alog("LOGUSERS: %s (%s@%s) (%s) left the network (%s).",
|
||||
user->nick, user->username, user->host,
|
||||
normalizeBuffer(user->realname), user->server->name);
|
||||
realname, user->server->name);
|
||||
}
|
||||
free(realname);
|
||||
}
|
||||
send_event(EVENT_USER_LOGOFF, user->nick);
|
||||
|
||||
|
||||
@@ -1761,6 +1761,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
|
||||
}
|
||||
|
||||
send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="620"
|
||||
VERSION_BUILD="621"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.8 (621)
|
||||
# BUGS : 314
|
||||
# NOTES : Fixed normalizeBuffer not being freed twice (anope_cmd_ctcp / delete_user)
|
||||
#
|
||||
# BUILD : 1.7.8 (620)
|
||||
# BUGS : 313
|
||||
# NOTES : Fixed various mistakes, as listed in bug 313 (only the mydbgen issue is not done yet)
|
||||
|
||||
Reference in New Issue
Block a user