diff options
Diffstat (limited to 'modules/protocol/unreal4.cpp')
-rw-r--r-- | modules/protocol/unreal4.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp index 2399b47aa..52241a59b 100644 --- a/modules/protocol/unreal4.cpp +++ b/modules/protocol/unreal4.cpp @@ -816,16 +816,16 @@ struct IRCDMessageChgName : IRCDMessage struct IRCDMessageMD : IRCDMessage { - IRCDMessageMD(Module *creator) : IRCDMessage(creator, "MD", 3) { } + IRCDMessageMD(Module *creator) : IRCDMessage(creator, "MD", 3) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); } void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override { - const Anope::string &type = params[0], + const Anope::string &mdtype = params[0], &obj = params[1], &var = params[2], &value = params.size() > 3 ? params[3] : ""; - if (type == "client") + if (mdtype == "client") { User *u = User::Find(obj); |