diff options
Diffstat (limited to 'src/chanserv.c')
-rw-r--r-- | src/chanserv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c index 2f22e6bc8..6531eacec 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1700,7 +1700,9 @@ void expire_chans() for (ci = chanlists[i]; ci; ci = next) { next = ci->next; if (!ci->c && now - ci->last_used >= CSExpire - && !(ci->flags & (CI_VERBOTEN | CI_NO_EXPIRE | CI_SUSPENDED))) { + && !(ci-> + flags & (CI_VERBOTEN | CI_NO_EXPIRE | CI_SUSPENDED))) + { send_event(EVENT_CHAN_EXPIRE, 1, ci->name); alog("Expiring channel %s (founder: %s)", ci->name, (ci->founder ? ci->founder->display : "(none)")); |