mirror of
https://github.com/anope/anope.git
synced 2026-07-01 18:06:39 +02:00
BUILD : 1.7.5 (379) BUGS : 176 NOTES : Fixed a possible segfault due to a bug in LogChannel
git-svn-id: svn://svn.anope.org/anope/trunk@379 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@249 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
048ddbeb2f
commit
560c2b2b8b
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004
|
||||
09/20 A Added RestrictOperNicks as new feature in services.conf. [ #00]
|
||||
09/08 A Removed rand() and ported bsd's arc4random() to fit our needs. [ #00]
|
||||
08/24 A New -l option for am script to list possible selectors. [ #00]
|
||||
10/09 F Bug in LogChannel possibly causing segfaults. [#176]
|
||||
10/03 F Changed UserKeys from uint to long uint. [ #00]
|
||||
09/21 F An option to explicitly not use mysql is added to Config [ #00]
|
||||
09/19 F Rewrote the internals of moduleData to save lots of memory. [ #00]
|
||||
|
||||
@@ -161,7 +161,7 @@ void alog(const char *fmt, ...)
|
||||
if (LogChannel && logchan && !debug && findchan(LogChannel)) {
|
||||
char str[BUFSIZE];
|
||||
vsnprintf(str, sizeof(str), fmt, args);
|
||||
privmsg(s_GlobalNoticer, LogChannel, str);
|
||||
privmsg(s_GlobalNoticer, LogChannel, "%s", str);
|
||||
}
|
||||
|
||||
va_end(args);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* News functions.
|
||||
/* News functions.
|
||||
/* News functions.
|
||||
*
|
||||
* (C) 2003 Anope Team
|
||||
@@ -540,3 +541,4 @@ static int del_newsitem(int num, short type)
|
||||
/*************************************************************************/
|
||||
|
||||
| ||||