mirror of
https://github.com/anope/anope.git
synced 2026-07-06 21:23:13 +02:00
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
This commit is contained in:
@@ -82,7 +82,7 @@ class CommandNSIdentify : public Command
|
||||
else
|
||||
{
|
||||
NSIdentifyRequest *req = new NSIdentifyRequest(owner, source, this, na ? na->nc->display : nick, pass);
|
||||
FOREACH_MOD(I_OnCheckAuthentication, OnCheckAuthentication(u, req));
|
||||
FOREACH_MOD(OnCheckAuthentication, (u, req));
|
||||
req->Dispatch();
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user