diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-03-03 10:57:53 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-03-03 10:57:53 +0100 |
commit | 5f746621008fcc2df647deb66ba1bb28cb3322c6 (patch) | |
tree | f830936768d38c1c09dc8f169b5ac0279ebce659 /modules/commands/os_mode.cpp | |
parent | 2c68312d72685c5ce38f30a098f2c41ebed6f9df (diff) |
improved the operserv mode command
Diffstat (limited to 'modules/commands/os_mode.cpp')
-rw-r--r-- | modules/commands/os_mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |