summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-05-16 17:08:23 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-05-16 17:08:23 +0000
commit3b8d876270dfee2964e3d8b49125c5ee8e8f0ebd (patch)
treefc19e11972732e14afe5e3a69b1989b7ff8eb6ad /src/chanserv.c
parent3808a70cd97bcc515d2f06b91adf639180a6eb34 (diff)
# BUILD : 1.7.14 (1032) # BUGS : # NOTE : suspended nicks/chans won't expire
git-svn-id: svn://svn.anope.org/anope/trunk@1032 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@756 5417fbe8-f217-4b02-8779-1006273d7864
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)"));