diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-13 19:07:49 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-13 19:07:49 +0000 |
commit | 76e83f613bb162b50f31eeb7513495c38a5f8993 (patch) | |
tree | 199f3c5f961fb7334b2645c253b7d496da9bd838 /src/protocol.cpp | |
parent | 22b53ec9cd63d47ee481d45d476584496ba5a6a5 (diff) |
Remove 2 unneeded ternary operators, the result is the same with or without them, patch from Sergio.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2275 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 2 |
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); } |