From 6a46a08a85cdbb284306cea8477ed702cc1ecd49 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Apr 2013 16:58:04 -0500 Subject: [PATCH] This worked before but is a little weird --- modules/commands/cs_mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {