1
0
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:
Adam
2013-03-29 23:51:45 -05:00
parent f24e17f8b4
commit a52293336f
-3
View File
@@ -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));
}