From 36f12984d3010bfad69de0c37a3203b0c471521c Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 9 Jan 2014 13:33:33 +0100 Subject: Stop null checking pointers that are always valid --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 85365c0c3..20977995b 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -337,7 +337,7 @@ Command::~Command() void CommandParser::ProcessBuffer(std::string &buffer,LocalUser *user) { - if (!user || buffer.empty()) + if (buffer.empty()) return; ServerInstance->Logs->Log("USERINPUT", LOG_RAWIO, "C[%s] I :%s %s", -- cgit v1.3.1-10-gc9f91