1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 20:13:13 +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
+3 -3
View File
@@ -56,7 +56,7 @@ class CommandOSSet : public Command
source.Reply(_("Services are now in \002read-write\002 mode."));
}
else
source.Reply(_("Setting for READONLY must be \002\002 or \002\002."));
source.Reply(_("Setting for READONLY must be \002on\002 or \002off\002."));
return MOD_CONT;
}
@@ -94,7 +94,7 @@ class CommandOSSet : public Command
ircdproto->SendGlobops(OperServ, GetString(NULL, _("%s is no longer a Super-Admin")).c_str(), u->nick.c_str());
}
else
source.Reply(_("Setting for SuperAdmin must be \002\002 or \002\002 (must be enabled in services.conf)"));
source.Reply(_("Setting for SuperAdmin must be \002on\002 or \002off\002 (must be enabled in services.conf)"));
return MOD_CONT;
}
@@ -163,7 +163,7 @@ class CommandOSSet : public Command
source.Reply(_("Services are now in \002expire\002 mode."));
}
else
source.Reply(_("Setting for NOEXPIRE must be \002\002 or \002\002."));
source.Reply(_("Setting for NOEXPIRE must be \002on\002 or \002off\002."));
return MOD_CONT;
}