mirror of
https://github.com/anope/anope.git
synced 2026-07-09 20:03:13 +02:00
Allow userless command sources
This commit is contained in:
@@ -51,7 +51,7 @@ class CommandNSSetLanguage : public Command
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶m) anope_override
|
||||
{
|
||||
this->Run(source, source.u->Account()->display, param[0]);
|
||||
this->Run(source, source.nc->display, param[0]);
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &) anope_override
|
||||
|
||||
Reference in New Issue
Block a user