summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-15 08:49:28 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-15 08:49:28 +0200
commit81990ce53b90aa3351ef5981ce2a74c54a1f85f5 (patch)
tree9a856dfe83c8735111a2366aed9f8e9e20a64f64
parent12cdb7704c58af2d2e2d7f54a9fa288e59825d3f (diff)
Change prototype
-rw-r--r--src/common/inbound.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index fabd020e..ec625c03 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1142,7 +1142,7 @@ check_autojoin_channels (server *serv)
 }
 #endif
 
-static gboolean
+static void
 check_autojoin_channels (server *serv)
 {
 	int i = 0;
@@ -1150,7 +1150,7 @@ check_autojoin_channels (server *serv)
 	/* shouldn't really happen, the io tag is destroyed in server.c */
 	if (!is_server (serv))
 	{
-		return FALSE;
+		return;
 	}
 
 	/* send auto join list */
@@ -1171,8 +1171,6 @@ check_autojoin_channels (server *serv)
 
 	serv->joindelay_tag = 0;
 	fe_server_event (serv, FE_SE_LOGGEDIN, i);
-
-	return FALSE;
 }
 
 void