From 5f746621008fcc2df647deb66ba1bb28cb3322c6 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 3 Mar 2013 10:57:53 +0100 Subject: [PATCH] improved the operserv mode command --- modules/commands/os_mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/os_mode.cpp b/modules/commands/os_mode.cpp index d20c88d4e..33387bff6 100644 --- a/modules/commands/os_mode.cpp +++ b/modules/commands/os_mode.cpp @@ -61,7 +61,7 @@ class CommandOSMode : public Command } else { - spacesepstream sep(modes); + spacesepstream sep(modes + (params.size() > 2 ? " " + params[2] : "")); Anope::string mode; int add = 1; Anope::string log_modes, log_params;