about summary refs log tree commit diff
path: root/src/game/server/gamecontext.cpp
diff options
context:
space:
mode:
authorTeetime <anton.tsoulos@yahoo.de>2011-10-14 00:31:49 +0200
committerTeetime <anton.tsoulos@yahoo.de>2011-10-14 00:31:49 +0200
commit8471bc0721196a45ade9f6af174eac8ab82d47bd (patch)
tree8a9b1fb5aa8d0d25004c129baa6d60186354c986 /src/game/server/gamecontext.cpp
parent74a5a7021597c4f752830171271aea36cb1ebcd7 (diff)
downloadzcatch-8471bc0721196a45ade9f6af174eac8ab82d47bd.tar.gz
zcatch-8471bc0721196a45ade9f6af174eac8ab82d47bd.zip
changed zCatch version...
Diffstat (limited to 'src/game/server/gamecontext.cpp')
-rw-r--r--src/game/server/gamecontext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp
index 85b352cd..c537cbde 100644
--- a/src/game/server/gamecontext.cpp
+++ b/src/game/server/gamecontext.cpp
@@ -691,8 +691,10 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
 		/* begin zCatch*/
 		if(!str_comp("/info", pMsg->m_pMessage) || !str_comp("/about", pMsg->m_pMessage))
 		{
+			char aBuf[128];
+			str_format(aBuf, sizeof(aBuf), "zCatch version %s by erd and Teetime. Type /cmdlist for all commands.", ZCATCH_VERSION);
 			SendChatTarget(ClientID, " ");
-			SendChatTarget(ClientID, "zCatch v.0.4.1 by erd and Teetime. Type /cmdlist for all commands.");
+			SendChatTarget(ClientID, aBuf);
 		}
 		else if(!str_comp("/cmdlist", pMsg->m_pMessage))
 		{