From 37b3535543b81c3d75c8f62b83d422f0d2fbced0 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 May 2013 19:36:37 -0400 Subject: Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module --- src/nickalias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nickalias.cpp') diff --git a/src/nickalias.cpp b/src/nickalias.cpp index 327340a1d..1595987e4 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -51,7 +51,7 @@ NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Serial NickAlias::~NickAlias() { - FOREACH_MOD(I_OnDelNick, OnDelNick(this)); + FOREACH_MOD(OnDelNick, (this)); /* Accept nicks that have no core, because of database load functions */ if (this->nc) -- cgit