summaryrefslogtreecommitdiff
path: root/src/servers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.c')
-rw-r--r--src/servers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.c b/src/servers.c
index 18a809762..993a212c1 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -437,7 +437,7 @@ void do_squit(const char *source, int ac, const char **av)
alog("SQUIT for nonexistent server (%s)!!", av[0]);
return;
}
- send_event(EVENT_SERVER_SQUIT, 1, s->name);
+ FOREACH_MOD(I_OnServerQuit, OnServerQuit(s));
/* If this is a juped server, send a nice global to inform the online
* opers that we received it.