gameServer/Actions.hs
changeset 4960 3b54b1c9b768
parent 4959 09f4978b4fb0
child 4962 705c6186ad9d
equal deleted inserted replaced
4959:09f4978b4fb0 4960:3b54b1c9b768
   414     where
   414     where
   415           st irnc = (length $ allRooms irnc, length $ allClients irnc)
   415           st irnc = (length $ allRooms irnc, length $ allClients irnc)
   416 
   416 
   417 processAction (RestartServer force) = do
   417 processAction (RestartServer force) = do
   418     if force then do
   418     if force then do
   419         io $ throwIO ShutdownException
   419         throw ShutdownException
   420         else
   420         else
   421         processAction $ ModifyServerInfo (\s -> s{restartPending=True})
   421         processAction $ ModifyServerInfo (\s -> s{restartPending=True})