(svn r3070) - it doesn't matter where the '.' is found for the IP, if it is found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron
--- a/console_cmds.c Wed Oct 19 19:44:01 2005 +0000
+++ b/console_cmds.c Wed Oct 19 20:00:05 2005 +0000
@@ -414,7 +414,7 @@
if (argc != 2) return false;
- index = (strrchr(argv[1], '.') == '\0') ? atoi(argv[1]) : 0;
+ index = (strchr(argv[1], '.') == NULL) ? atoi(argv[1]) : 0;
index--;
for (i = 0; i < lengthof(_network_ban_list); i++) {