gameServer/HWProtoInRoomState.hs
changeset 13705 aa1d71ca6c19
parent 13704 54eb4c774ef5
child 13706 dec29ef3ef76
--- a/gameServer/HWProtoInRoomState.hs	Sun Aug 26 14:59:05 2018 +0200
+++ b/gameServer/HWProtoInRoomState.hs	Sun Aug 26 15:10:34 2018 +0200
@@ -439,7 +439,7 @@
                  [ModifyRoom (\r -> r{greeting = msg}),
                   AnswerClients [sendChan cl]
                       ["CHAT", nickServer,
-                          if msg == "" then
+                          if B.null msg then
                               loc "Greeting message cleared."
                           else
                               loc "Greeting message set."