diff options
author | Adam <Adam@anope.org> | 2012-01-25 15:48:07 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-01-25 15:48:07 -0500 |
commit | 52eaa7d6d61e3373340fd5a69b92b0fb3b5609e0 (patch) | |
tree | 428f2b440ab5675ae3a9c19ae5b813f132497c79 /modules/commands/os_oper.cpp | |
parent | e88e37c59b45cc43b714d1d28719eb3c2ca9579a (diff) |
Windows
Diffstat (limited to 'modules/commands/os_oper.cpp')
-rw-r--r-- | modules/commands/os_oper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_oper.cpp b/modules/commands/os_oper.cpp index 0a245928c..6b5ebc0ed 100644 --- a/modules/commands/os_oper.cpp +++ b/modules/commands/os_oper.cpp @@ -65,7 +65,7 @@ class CommandOSOper : public Command if (subcommand.equals_ci("ADD") && params.size() > 2) { const Anope::string &oper = params[1]; - const Anope::string &type = params[2]; + const Anope::string &otype = params[2]; NickAlias *na = findnick(oper); if (na == NULL) @@ -74,9 +74,9 @@ class CommandOSOper : public Command source.Reply(_("Nick \2%s\2 is already an operator."), na->nick.c_str()); else { - OperType *ot = OperType::Find(type); + OperType *ot = OperType::Find(otype); if (ot == NULL) - source.Reply(_("Oper type \2%s\2 has not been configured."), type.c_str()); + source.Reply(_("Oper type \2%s\2 has not been configured."), otype.c_str()); else { na->nc->o = new MyOper(na->nc->display, ot); |