mirror of
https://github.com/anope/anope.git
synced 2026-07-06 09:53: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:
@@ -45,7 +45,7 @@ class CommandNSDrop : public Command
|
||||
source.Reply(_("You may not drop other Services Operators' nicknames."));
|
||||
else
|
||||
{
|
||||
FOREACH_MOD(I_OnNickDrop, OnNickDrop(source, na));
|
||||
FOREACH_MOD(OnNickDrop, (source, na));
|
||||
|
||||
Log(!is_mine ? LOG_ADMIN : LOG_COMMAND, source, this) << "to drop nickname " << na->nick << " (group: " << na->nc->display << ") (email: " << (!na->nc->email.empty() ? na->nc->email : "none") << ")";
|
||||
delete na;
|
||||
|
||||
Reference in New Issue
Block a user