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/ns_set_kill.cpp | |
parent | 9f46972f19060d2ede624bdec52b9091042e3735 (diff) |
Added some access checks to cs_mode and fixed some language strings
Diffstat (limited to 'modules/core/ns_set_kill.cpp')
-rw-r--r-- | modules/core/ns_set_kill.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/ns_set_kill.cpp b/modules/core/ns_set_kill.cpp index 2aa9de7aa..c09228992 100644 --- a/modules/core/ns_set_kill.cpp +++ b/modules/core/ns_set_kill.cpp @@ -36,14 +36,14 @@ class CommandNSSetKill : public Command nc->SetFlag(NI_KILLPROTECT); nc->UnsetFlag(NI_KILL_QUICK); nc->UnsetFlag(NI_KILL_IMMED); - source.Reply(_("Protection is now \002\002 for \002%s\002."), nc->display.c_str()); + source.Reply(_("Protection is now \002on\002 for \002%s\002."), nc->display.c_str()); } else if (param.equals_ci("QUICK")) { nc->SetFlag(NI_KILLPROTECT); nc->SetFlag(NI_KILL_QUICK); nc->UnsetFlag(NI_KILL_IMMED); - source.Reply(_("Protection is now \002\002 for \002%s\002, with a reduced delay."), nc->display.c_str()); + source.Reply(_("Protection is now \002on\002 for \002%s\002, with a reduced delay."), nc->display.c_str()); } else if (param.equals_ci("IMMED")) { @@ -52,7 +52,7 @@ class CommandNSSetKill : public Command nc->SetFlag(NI_KILLPROTECT); nc->SetFlag(NI_KILL_IMMED); nc->UnsetFlag(NI_KILL_QUICK); - source.Reply(_("Protection is now \002\002 for \002%s\002, with no delay."), nc->display.c_str()); + source.Reply(_("Protection is now \002on\002 for \002%s\002, with no delay."), nc->display.c_str()); } else source.Reply(_("The \002IMMED\002 option is not available on this network.")); @@ -62,7 +62,7 @@ class CommandNSSetKill : public Command nc->UnsetFlag(NI_KILLPROTECT); nc->UnsetFlag(NI_KILL_QUICK); nc->UnsetFlag(NI_KILL_IMMED); - source.Reply(_("Protection is now \002\002 for \002%s\002."), nc->display.c_str()); + source.Reply(_("Protection is now \002off\002 for \002%s\002."), nc->display.c_str()); } else this->OnSyntaxError(source, "KILL"); |