summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 790733a48..91432defe 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -1396,7 +1396,7 @@ void expire_chans()
&& !(ci->
flags & (CI_FORBIDDEN | CI_NO_EXPIRE | CI_SUSPENDED)))
{
- send_event(EVENT_CHAN_EXPIRE, 1, ci->name);
+ FOREACH_MOD(I_OnChanExpire, OnChanExpire(ci->name));
alog("Expiring channel %s (founder: %s)", ci->name,
(ci->founder ? ci->founder->display : "(none)"));
delchan(ci);