mirror of
https://github.com/anope/anope.git
synced 2026-07-07 15:23:13 +02:00
Allow userless command sources
This commit is contained in:
@@ -105,7 +105,7 @@ class CommandNSSetMisc : public Command
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
this->Run(source, source.u->Account()->display, !params.empty() ? params[0] : "");
|
||||
this->Run(source, source.nc->display, !params.empty() ? params[0] : "");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user