summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-01-16 09:02:35 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-01-16 09:02:35 +0000
commitb5bf30483b3928165ac743a4589cd6803c84ca5c (patch)
treeaf66d226d286c9f776d71bcd0c0ee25086aadd07
parentdfec1723a8d78dc081e174153ba1820435ccac33 (diff)
BUILD : 1.7.21 (1351) BUGS : 831 NOTES : Fixed a bug in next_server() which skipped over all servers right away when passing -1 as param
git-svn-id: svn://svn.anope.org/anope/trunk@1351 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1066 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes11
-rw-r--r--src/servers.c2
-rw-r--r--version.log6
3 files changed, 13 insertions, 6 deletions
diff --git a/Changes b/Changes
index c6d43f071..f034f6166 100644
--- a/Changes
+++ b/Changes
@@ -1,9 +1,12 @@
Anope Version S V N
--------------------
-01/15 F BOT_NOT_ASSIGNED language string error [#828]
-01/15 F listchans now shows if a channel is suspended [#825]
-01/15 F listnicks now shows if a nickname is suspended [#825]
-01/15 F Re-assigned access to OS CHANLIST to Services Opers [#827]
+01/15 F BOT_NOT_ASSIGNED language string error. [#828]
+01/15 F listchans now shows if a channel is suspended. [#825]
+01/15 F listnicks now shows if a nickname is suspended. [#825]
+01/15 F Re-assigned access to OS CHANLIST to Services Opers. [#827]
+
+Provided by Jan Milants <jan_renee@msn.com> - 2008
+01/16 F Server traversion with next_server() failed to list all servers. [#831]
Anope Version 1.7.21
--------------------
diff --git a/src/servers.c b/src/servers.c
index 9ac0ed91d..dc87826ce 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -98,7 +98,7 @@ Server *next_server(int flags)
}
} while (server_cur);
}
- } while (server_cur && ((flags > -1) || (server_cur->flags != flags)));
+ } while (server_cur && ((flags > -1) && (server_cur->flags != flags)));
return server_cur;
}
diff --git a/version.log b/version.log
index b9a4f0c30..f5ba825dd 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1350"
+VERSION_BUILD="1351"
# $Log$
#
+# BUILD : 1.7.21 (1351)
+# BUGS : 831
+# NOTES : Fixed a bug in next_server() which skipped over all servers right away when passing -1 as param
+#
# BUILD : 1.7.21 (1350)
# BUGS : 828
# NOTES : Forgot to update the other language files