summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/proto-irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 9b375d92..00767b89 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -194,7 +194,7 @@ irc_join_list (server *serv, GSList *favorites)
 
 		g_string_append (chanlist, fav->name);
 
-		if (fav->key)					/* strlen() is required since key can be '' for session->channelkey */
+		if (fav->key)
 		{
 			g_string_append (keylist, fav->key);
 			send_keys = 1;