diff options
author | Adam <Adam@anope.org> | 2011-03-12 02:40:08 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-12 02:40:08 -0500 |
commit | 95469fde3055e1a257fd4e1027617892b912d07c (patch) | |
tree | 5e0c5fd126c7d0151c1ded6cdbda1bb9e290947e /modules/core/cs_set_restricted.cpp | |
parent | 9f46972f19060d2ede624bdec52b9091042e3735 (diff) |
Added some access checks to cs_mode and fixed some language strings
Diffstat (limited to 'modules/core/cs_set_restricted.cpp')
-rw-r--r-- | modules/core/cs_set_restricted.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/cs_set_restricted.cpp b/modules/core/cs_set_restricted.cpp index 6632fef4f..cc149449c 100644 --- a/modules/core/cs_set_restricted.cpp +++ b/modules/core/cs_set_restricted.cpp @@ -31,14 +31,14 @@ class CommandCSSetRestricted : public Command ci->SetFlag(CI_RESTRICTED); if (ci->levels[CA_NOJOIN] < 0) ci->levels[CA_NOJOIN] = 0; - source.Reply(_("Restricted access option for %s is now \002\002."), ci->name.c_str()); + source.Reply(_("Restricted access option for %s is now \002on\002."), ci->name.c_str()); } else if (params[1].equals_ci("OFF")) { ci->UnsetFlag(CI_RESTRICTED); if (ci->levels[CA_NOJOIN] >= 0) ci->levels[CA_NOJOIN] = -2; - source.Reply(_("Restricted access option for %s is now \002\002."), ci->name.c_str()); + source.Reply(_("Restricted access option for %s is now \002off\002."), ci->name.c_str()); } else this->OnSyntaxError(source, "RESTRICTED"); |