summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorDylan Frank <b00mx0r@aureus.pw>2018-04-08 20:41:04 -0700
committerPeter Powell <petpow@saberuk.com>2018-04-09 04:41:04 +0100
commit93fa544b2671b078cf81ac04fbb4b48d5e2d1677 (patch)
treebd4f0aaf637a95e00fff5702a5d4bb341b71a61d /src/coremods
parent1155320da0ba4454f028b30bc0fb5313e33946b3 (diff)
Optimize some behaviour in the core (#1476).
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_channel/cmd_names.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_channel/cmd_names.cpp b/src/coremods/core_channel/cmd_names.cpp
index dd2926c33..92f0810de 100644
--- a/src/coremods/core_channel/cmd_names.cpp
+++ b/src/coremods/core_channel/cmd_names.cpp
@@ -36,7 +36,7 @@ CmdResult CommandNames::HandleLocal(const std::vector<std::string>& parameters,
{
Channel* c;
- if (!parameters.size())
+ if (parameters.empty())
{
user->WriteNumeric(RPL_ENDOFNAMES, '*', "End of /NAMES list.");
return CMD_SUCCESS;