1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 16:16:39 +02:00

Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt

This commit is contained in:
Adam
2011-02-26 17:54:03 -05:00
parent 28d17a40ce
commit f234a2bfab
107 changed files with 619 additions and 630 deletions
+3 -3
View File
@@ -40,19 +40,19 @@ class CommandCSDrop : public Command
if (ci->HasFlag(CI_FORBIDDEN) && !u->Account()->HasCommand("chanserv/drop"))
{
source.Reply(LanguageString::CHAN_X_FORBIDDEN, chan.c_str());
source.Reply(_(CHAN_X_FORBIDDEN), chan.c_str());
return MOD_CONT;
}
if (ci->HasFlag(CI_SUSPENDED) && !u->Account()->HasCommand("chanserv/drop"))
{
source.Reply(LanguageString::CHAN_X_FORBIDDEN, chan.c_str());
source.Reply(_(CHAN_X_FORBIDDEN), chan.c_str());
return MOD_CONT;
}
if ((ci->HasFlag(CI_SECUREFOUNDER) ? !IsFounder(u, ci) : !check_access(u, ci, CA_FOUNDER)) && !u->Account()->HasCommand("chanserv/drop"))
{
source.Reply(LanguageString::ACCESS_DENIED);
source.Reply(_(ACCESS_DENIED));
return MOD_CONT;
}