d8180f6b39
remove the later. The old version 1.0.5 is unmaintained, has a remote DoS vulnerability and is less reliable than version 1.2.0beta2. Approved by Adrian Portelli.
13 lines
563 B
Text
13 lines
563 B
Text
$NetBSD: patch-ac,v 1.2 2008/06/17 12:53:54 tron Exp $
|
|
|
|
--- src/irc_server.c.orig 2006-10-07 22:07:08.000000000 +0100
|
|
+++ src/irc_server.c
|
|
@@ -1155,7 +1155,7 @@ static int _ircserver_gotmsg(struct ircp
|
|
|
|
if (!strcmp(cmsg.cmd, "ACTION")) {
|
|
irclog_log(p, IRC_LOG_ACTION, logdest, msg.src.orig,
|
|
- "%s", cmsg.paramstarts[0]);
|
|
+ "%s", (cmsg.paramstarts != NULL) ? cmsg.paramstarts[0]: "none");
|
|
|
|
} else if (!strcmp(cmsg.cmd, "DCC")
|
|
&& p->conn_class->dcc_proxy_incoming) {
|