gameServer/HWProtoNEState.hs
changeset 4932 f11d80bac7ed
parent 4904 0eab727d4717
child 4942 1c85a8e6e11c
--- a/gameServer/HWProtoNEState.hs	Sun Feb 06 18:59:53 2011 +0300
+++ b/gameServer/HWProtoNEState.hs	Sun Feb 06 21:50:29 2011 +0300
@@ -1,10 +1,8 @@
 {-# LANGUAGE OverloadedStrings #-}
 module HWProtoNEState where
 
-import qualified Data.IntMap as IntMap
 import Data.Maybe
 import Data.List
-import Data.Word
 import Control.Monad.Reader
 import qualified Data.ByteString.Char8 as B
 --------------------------------------
@@ -45,7 +43,7 @@
     where
         parsedProto = case B.readInt protoNum of
                            Just (i, t) | B.null t -> fromIntegral i
-                           otherwise -> 0
+                           _ -> 0
 
 
 handleCmd_NotEntered ["PASSWORD", passwd] = do