netserver/HWProto.hs
changeset 1609 eff63adf62a3
parent 1599 65b5d3cd3e01
child 1614 cf8704215703
--- a/netserver/HWProto.hs	Thu Jan 08 15:56:14 2009 +0000
+++ b/netserver/HWProto.hs	Thu Jan 08 18:00:20 2009 +0000
@@ -173,7 +173,7 @@
 	if (null $ nick client) || (protocol client == 0) then
 		[]
 	else
-		(answerClientOnly $ ["LOBBY:JOINED"] ++ (map nick $ clients)) ++
+		(answerClientOnly $ ["LOBBY:JOINED"] ++ (filter (not . null) $ map nick $ clients)) ++
 		(answerOthersRoom ["LOBBY:JOINED", nick client]) ++
 		(answerServerMessage client clients)