summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/inbound.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index 88d1e1c3..d5c47b8f 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1030,6 +1030,7 @@ check_autojoin_channels (server *serv)
 
 		free (serv->autojoin);
 		serv->autojoin = NULL;
+		i++;
 	}
 
 	/* this is really only for re-connects when you