1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:36:38 +02:00

Added some access checks to cs_mode and fixed some language strings

This commit is contained in:
Adam
2011-03-12 02:40:08 -05:00
parent 9f46972f19
commit 95469fde30
16 changed files with 87 additions and 34 deletions
+2 -2
View File
@@ -30,12 +30,12 @@ class CommandCSSetTopicLock : public Command
if (params[1].equals_ci("ON"))
{
ci->SetFlag(CI_TOPICLOCK);
source.Reply(_("Topic lock option for %s is now \002\002."), ci->name.c_str());
source.Reply(_("Topic lock option for %s is now \002on\002."), ci->name.c_str());
}
else if (params[1].equals_ci("OFF"))
{
ci->UnsetFlag(CI_TOPICLOCK);
source.Reply(_("Topic lock option for %s is now \002\002."), ci->name.c_str());
source.Reply(_("Topic lock option for %s is now \002off\002."), ci->name.c_str());
}
else
this->OnSyntaxError(source, "TOPICLOCK");