summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-06 16:58:04 -0500
committerAdam <Adam@anope.org>2013-04-06 16:58:04 -0500
commit6a46a08a85cdbb284306cea8477ed702cc1ecd49 (patch)
tree05b5c43da437b397299e9fe7be1971891368f021
parent7a2e6aa5c2703247008ddc0bfd67c8e678d08068 (diff)
This worked before but is a little weird
-rw-r--r--modules/commands/cs_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index 823b60f8e..7edc4eddc 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -170,7 +170,7 @@ class CommandCSMode : public Command
}
Anope::string mode_param;
- if (!cm->type == MODE_REGULAR && !sep.GetToken(mode_param))
+ if (cm->type != MODE_REGULAR && !sep.GetToken(mode_param))
source.Reply(_("Missing parameter for mode %c."), cm->mchar);
else
{