Show also client host info
authorunc0rr
Sun, 04 Jan 2009 12:44:54 +0000
changeset 1578 f02806f66e00
parent 1577 e3e37c730dc0
child 1579 2f581b1f289e
Show also client host info
netserver/HWProto.hs
netserver/Miscutils.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]
--- 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"