mirror of
https://github.com/anope/anope.git
synced 2026-06-25 19:56:39 +02:00
This reference to see if nickcores go away during command execution is no longer necessary
This commit is contained in:
@@ -280,10 +280,7 @@ void RunCommand(CommandSource &source, const Anope::string &message)
|
||||
return;
|
||||
}
|
||||
|
||||
Reference<NickCore> nc_reference(source.nc);
|
||||
c->Execute(source, params);
|
||||
if (!nc_reference)
|
||||
source.nc = NULL;
|
||||
FOREACH_MOD(I_OnPostCommand, OnPostCommand(source, c, params));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user