diff options
author | Adam <Adam@anope.org> | 2013-04-06 16:58:04 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-06 16:58:04 -0500 |
commit | 6a46a08a85cdbb284306cea8477ed702cc1ecd49 (patch) | |
tree | 05b5c43da437b397299e9fe7be1971891368f021 | |
parent | 7a2e6aa5c2703247008ddc0bfd67c8e678d08068 (diff) |
This worked before but is a little weird
-rw-r--r-- | modules/commands/cs_mode.cpp | 2 |
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 { |