--- a/gameServer/OfficialServer/extdbinterface.hs Wed Mar 03 06:29:01 2010 +0000
+++ b/gameServer/OfficialServer/extdbinterface.hs Wed Mar 03 06:30:51 2010 +0000
@@ -29,15 +29,15 @@
execute statement [SqlString $ clNick]
passAndRole <- fetchRow statement
finish statement
- let response =
- if isJust passAndRole then
+ let response =
+ if isJust passAndRole then
(
clUid,
HasAccount
(fromSql $ head $ fromJust $ passAndRole)
((fromSql $ last $ fromJust $ passAndRole) == (Just (3 :: Int)))
)
- else
+ else
(clUid, Guest)
putStrLn (show response)
hFlush stdout