mirror of
https://github.com/anope/anope.git
synced 2026-07-03 06:53:14 +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:
@@ -117,7 +117,7 @@ class MyXMLRPCEvent : public XMLRPCEvent
|
||||
else
|
||||
{
|
||||
XMLRPCIdentifyRequest *req = new XMLRPCIdentifyRequest(me, request, client, iface, username, password);
|
||||
FOREACH_MOD(I_OnCheckAuthentication, OnCheckAuthentication(NULL, req));
|
||||
FOREACH_MOD(OnCheckAuthentication, (NULL, req));
|
||||
req->Dispatch();
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user