diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-02-19 00:15:57 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-19 00:15:57 +0100 |
commit | a85188c02bbcb37c0aae5048173a43e052e4eb7d (patch) | |
tree | 859d9dfa9ccda1e9130747cc620d6ee06b2e6a31 /src/commands | |
parent | d3d8375e232de4615b49f654b7e2d20c955eee6d (diff) | |
parent | 7fec670c9b378f5c8470204ba36a284a424a11c7 (diff) |
Merge pull request #772 from SaberUK/insp20+llvm34
Fix various problems detected by Clang 3.4.
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index 898e89a7d..23143442a 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -217,7 +217,7 @@ void CommandStats::DoStats(char statschar, User* user, string_list &results) results.push_back(sn+" 249 "+user->nick+" :Channels: "+ConvToStr(ServerInstance->chanlist->size())); results.push_back(sn+" 249 "+user->nick+" :Commands: "+ConvToStr(ServerInstance->Parser->cmdlist.size())); - if (!ServerInstance->Config->WhoWasGroupSize == 0 && !ServerInstance->Config->WhoWasMaxGroups == 0) + if (ServerInstance->Config->WhoWasGroupSize && ServerInstance->Config->WhoWasMaxGroups) { Module* whowas = ServerInstance->Modules->Find("cmd_whowas.so"); if (whowas) |