1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 08:33:12 +02:00

# 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
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-05-16 17:08:23 +00:00
parent 3808a70cd9
commit 3b8d876270
4 changed files with 9 additions and 3 deletions
+1
View File
@@ -7,6 +7,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
04/20 F Fixed index of backtrace(). [#499]
04/29 F Added is_on_chan() check for fantasy kick commands. [#501]
05/13 F Fixed memleak in moduleGetConfigDirective(). [#504]
05/16 F Suspended nicks and chans won't expire from now on. [ #00]
Anope Version 1.7.14
--------------------
+1 -1
View File
@@ -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)"));
+2 -1
View File
@@ -1145,7 +1145,8 @@ void expire_nicks()
}
if (NSExpire && now - na->last_seen >= NSExpire
&& !(na->status & (NS_VERBOTEN | NS_NO_EXPIRE))) {
&& !(na->status & (NS_VERBOTEN | NS_NO_EXPIRE))
&& !(na->nc->flags & (NI_SUSPENDED))) {
alog("Expiring nickname %s (group: %s) (e-mail: %s)",
na->nick, na->nc->display,
(na->nc->email ? na->nc->email : "none"));
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
VERSION_BUILD="1030"
VERSION_BUILD="1032"
# $Log$
#
# BUILD : 1.7.14 (1032)
# BUGS :
# NOTES : suspended nicks/chans won't expire
#
# BUILD : 1.7.14 (1031)
# BUGS : 504
# NOTES : fixed memleak, thx to trystan