summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-18 19:48:54 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-18 19:48:54 +0200
commit02298c8e76655b95de42e2b5ad69571dff40bbf7 (patch)
tree718f9f19a7b20777a3c5929c0abe9b6faf1d6fe5 /src/common/inbound.c
parent73badc67ff32778c0803912569f615fd529c52a3 (diff)
Fix prototype, return value is used by joindelay_tag
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index b35e3f52..3025ebf7 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1066,7 +1066,7 @@ inbound_nameslist_end (server *serv, char *chan)
 	return FALSE;
 }
 
-static void
+static gboolean
 check_autojoin_channels (server *serv)
 {
 	int i = 0;
@@ -1078,7 +1078,7 @@ check_autojoin_channels (server *serv)
 	/* shouldn't really happen, the io tag is destroyed in server.c */
 	if (!is_server (serv))
 	{
-		return;
+		return FALSE;
 	}
 
 	/* If there's a session (i.e. this is a reconnect), autojoin to everything that was open previously. */
@@ -1141,6 +1141,7 @@ check_autojoin_channels (server *serv)
 
 	serv->joindelay_tag = 0;
 	fe_server_event (serv, FE_SE_LOGGEDIN, i);
+	return FALSE;
 }
 
 void