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