mirror of
https://github.com/anope/anope.git
synced 2026-07-09 05:43:13 +02:00
Fix saset language reply
This commit is contained in:
@@ -816,7 +816,10 @@ class CommandNSSetLanguage : public Command
|
||||
Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change the language of " << nc->display << " to " << param;
|
||||
|
||||
nc->language = param;
|
||||
source.Reply(_("Language changed to \002English\002."));
|
||||
if (source.GetAccount() == nc)
|
||||
source.Reply(_("Language changed to \002English\002."));
|
||||
else
|
||||
source.Reply(_("Language for \002%s\002 changed to \002%s\002."), nc->display.c_str(), Language::Translate(param.c_str(), _("English")));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶m) anope_override
|
||||
|
||||
Reference in New Issue
Block a user