mirror of
https://github.com/anope/anope.git
synced 2026-06-29 13:36:38 +02:00
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
This commit is contained in:
@@ -32,13 +32,13 @@ class CommandMSCheck : public Command
|
||||
NickAlias *na = findnick(recipient);
|
||||
if (!na)
|
||||
{
|
||||
source.Reply(LanguageString::NICK_X_NOT_REGISTERED, recipient.c_str());
|
||||
source.Reply(_(NICK_X_NOT_REGISTERED), recipient.c_str());
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
if (na->HasFlag(NS_FORBIDDEN))
|
||||
{
|
||||
source.Reply(LanguageString::NICK_X_FORBIDDEN, recipient.c_str());
|
||||
source.Reply(_(NICK_X_FORBIDDEN), recipient.c_str());
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user