diff options
| author | 2014-01-09 13:33:33 +0100 | |
|---|---|---|
| committer | 2014-01-09 13:33:33 +0100 | |
| commit | 36f12984d3010bfad69de0c37a3203b0c471521c (patch) | |
| tree | de3607e952635ae6baadb38d8e066e19f910d9a2 /src/command_parse.cpp | |
| parent | Remove PreText()-like functions (diff) | |
Stop null checking pointers that are always valid
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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", |
