Fix condition
authorunc0rr
Fri, 28 Mar 2014 21:20:25 +0400
changeset 10217 1a1da2342c5b
parent 10216 6928a323097f
child 10218 1d7112ccb3e9
Fix condition
gameServer/HWProtoInRoomState.hs
--- a/gameServer/HWProtoInRoomState.hs	Fri Mar 28 11:02:06 2014 +0400
+++ b/gameServer/HWProtoInRoomState.hs	Fri Mar 28 21:20:25 2014 +0400
@@ -388,7 +388,7 @@
     let kickId = fromJust maybeClientId
     let sameRoom = clientRoom rnc thisClientId == clientRoom rnc kickId
 
-    if isNothing $ masterID rm then
+    if isJust $ masterID rm then
         return []
         else
         if isJust maybeClientId && sameRoom then