# HG changeset patch # User Wuzzy # Date 1520274406 -3600 # Node ID dce9f0b84a18ca5b369637f633f8b554c4b6a245 # Parent 23a498a2b5b8ab8347f0f2ec90827f670aa0cc06 Change misleading server error message about nicknames diff -r 23a498a2b5b8 -r dce9f0b84a18 gameServer/HWProtoNEState.hs --- a/gameServer/HWProtoNEState.hs Mon Mar 05 19:21:58 2018 +0100 +++ b/gameServer/HWProtoNEState.hs Mon Mar 05 19:26:46 2018 +0100 @@ -34,7 +34,7 @@ handleCmd_NotEntered ["NICK", newNick] = do (ci, irnc) <- ask let cl = irnc `client` ci - if not . B.null $ nick cl then return [ProtocolError $ loc "Nickname already taken."] + if not . B.null $ nick cl then return [ProtocolError $ loc "Nickname already provided."] else if illegalName newNick then return [ByeClient $ loc "Illegal nickname! Nicknames must be between 1-40 characters long, must not have a trailing or leading space and must not have any of these characters: $()*+?[]^{|}"] else