summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index 25e52404c..fd9d25549 100644
--- a/src/users.c
+++ b/src/users.c
@@ -227,7 +227,7 @@ User::~User()
delete [] srealname;
}
- send_event(EVENT_USER_LOGOFF, 1, this->nick);
+ FOREACH_MOD(I_OnUserLogoff, OnUserLogoff(this->nick));
if (debug >= 2)
alog("debug: User::~User() called");