diff options
author | Adam <Adam@anope.org> | 2014-11-08 04:31:56 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-11-08 04:31:56 -0500 |
commit | 8a7793da0cc8331022775c381cd8e33be07fc2c9 (patch) | |
tree | 60c29cb407ae43924eaec67171672caeace499ba /modules/protocol/bahamut.cpp | |
parent | 64b332730ee8bfaf981dfea6654a7d95eb27da30 (diff) |
Fix bahamut mode handler
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index a8252c8c5..a399ecece 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -328,8 +328,12 @@ struct IRCDMessageMode : IRCDMessage } catch (const ConvertException &) { } + Anope::string modes = params[2]; + for (unsigned int i = 3; i < params.size(); ++i) + modes += " " + params[i]; + if (c) - c->SetModesInternal(source, params[2], ts); + c->SetModesInternal(source, modes, ts); } else { |