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 28624a5be..2f22e6bc8 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -1700,7 +1700,7 @@ 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->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)"));