mirror of
https://github.com/anope/anope.git
synced 2026-06-26 14: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:
@@ -60,9 +60,9 @@ class CommandCSAppendTopic : public Command
|
||||
Channel *c = ci->c;
|
||||
|
||||
if (!c)
|
||||
u->SendMessage(ChanServ, LanguageString::CHAN_X_NOT_IN_USE, ci->name.c_str());
|
||||
source.Reply(_(CHAN_X_NOT_IN_USE), ci->name.c_str());
|
||||
else if (!check_access(u, ci, CA_TOPIC))
|
||||
u->SendMessage(ChanServ, LanguageString::ACCESS_DENIED);
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else
|
||||
{
|
||||
Anope::string topic;
|
||||
|
||||
Reference in New Issue
Block a user