summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}