diff options
-rw-r--r-- | src/ircd.c | 2 | ||||
-rw-r--r-- | src/protocol.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ircd.c b/src/ircd.c index 26a36e259..13e1ed2dc 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -47,7 +47,7 @@ void anope_SendNumeric(const char *source, int numeric, const char *dest, const vsnprintf(buf, BUFSIZE - 1, fmt, args); va_end(args); } - ircdproto->SendNumeric(source, numeric, dest, *buf ? buf : NULL); + ircdproto->SendNumeric(source, numeric, dest, buf); } /** diff --git a/src/protocol.cpp b/src/protocol.cpp index bfd0f083a..2ad41c675 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -225,6 +225,6 @@ void IRCDProto::SendNumeric(const char *source, int numeric, const char *dest, c va_start(args, fmt); vsnprintf(buf, BUFSIZE - 1, fmt, args); va_end(args); - SendNumericInternal(source, numeric, dest, *buf ? buf : NULL); + SendNumericInternal(source, numeric, dest, buf); } |