gameServer/Actions.hs
changeset 4962 705c6186ad9d
parent 4960 3b54b1c9b768
child 4973 53411a26df7e
equal deleted inserted replaced
4961:9075d7effdf2 4962:705c6186ad9d
   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         throw ShutdownException
   419         throw RestartException
   420         else
   420         else
   421         processAction $ ModifyServerInfo (\s -> s{restartPending=True})
   421         processAction $ ModifyServerInfo (\s -> s{restartPending=True})