# HG changeset patch # User unc0rr # Date 1231073094 0 # Node ID f02806f66e007a16231634e585ff513bfe1f6e36 # Parent e3e37c730dc0e442100723cb24a0a860dd1be023 Show also client host info diff -r e3e37c730dc0 -r f02806f66e00 netserver/HWProto.hs --- a/netserver/HWProto.hs Sat Jan 03 20:48:37 2009 +0000 +++ b/netserver/HWProto.hs Sun Jan 04 12:44:54 2009 +0000 @@ -45,7 +45,7 @@ answerConnected = answerClientOnly ["CONNECTED", "Hedgewars server http://www.hedgewars.org/"] answerNotOwner = answerClientOnly ["ERROR", "You do not own this team"] answerCannotCreateRoom = answerClientOnly ["WARNING", "Cannot create more rooms"] -answerInfo client = answerClientOnly ["INFO", nick client, proto2ver $ protocol client] +answerInfo client = answerClientOnly ["INFO", nick client, host client, proto2ver $ protocol client] answerAbandoned = answerOthersRoom ["BYE", "Room abandoned"] answerChatString nick msg = answerOthersRoom ["CHAT_STRING", nick, msg] diff -r e3e37c730dc0 -r f02806f66e00 netserver/Miscutils.hs --- a/netserver/Miscutils.hs Sat Jan 03 20:48:37 2009 +0000 +++ b/netserver/Miscutils.hs Sun Jan 04 12:44:54 2009 +0000 @@ -186,4 +186,4 @@ proto2ver 17 = "0.9.7-dev" proto2ver 19 = "0.9.7" proto2ver 20 = "0.9.8-dev" -proto2ver _ = "Unknown" \ No newline at end of file +proto2ver _ = "Unknown"