mirror of
https://github.com/anope/anope.git
synced 2026-07-03 01:33:12 +02:00
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
This commit is contained in:
@@ -45,7 +45,7 @@ class AsynchCommandMutex : public CommandMutex
|
||||
|
||||
if (!command->permission.empty() && !u->Account()->HasCommand(command->permission))
|
||||
{
|
||||
u->SendMessage(bi, LanguageString::ACCESS_DENIED);
|
||||
u->SendMessage(bi, _(ACCESS_DENIED));
|
||||
Log(LOG_COMMAND, "denied", bi) << "Access denied for user " << u->GetMask() << " with command " << command;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user