about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authorChoupom <andycootlapin@hotmail.fr>2010-10-09 20:19:58 +0200
committeroy <Tom_Adams@web.de>2010-10-11 00:31:14 +0200
commit7aefbca742c20206ce18a64bc83322331ee67b39 (patch)
treece6874faa4220af59b79b241b9717e1fd3e19c1a /src/engine/client
parent5754812dea6598335f60858d125639c92ec67914 (diff)
downloadzcatch-7aefbca742c20206ce18a64bc83322331ee67b39.tar.gz
zcatch-7aefbca742c20206ce18a64bc83322331ee67b39.zip
made so we can add the reason for a kick/ban (fixes #123)
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 7c0c632e..44997ce0 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -1950,8 +1950,8 @@ void CClient::RegisterCommands()
 {
 	m_pConsole = Kernel()->RequestInterface<IConsole>();
 	// register server dummy commands for tab completion
-	m_pConsole->Register("kick", "i", CFGFLAG_SERVER, 0, 0, "Kick player with specified id");
-	m_pConsole->Register("ban", "s?i", CFGFLAG_SERVER, 0, 0, "Ban player with ip/id for x minutes");
+	m_pConsole->Register("kick", "i?s", CFGFLAG_SERVER, 0, 0, "Kick player with specified id for any reason");
+	m_pConsole->Register("ban", "s?is", CFGFLAG_SERVER, 0, 0, "Ban player with ip/id for x minutes for any reason");
 	m_pConsole->Register("unban", "s", CFGFLAG_SERVER, 0, 0, "Unban ip");
 	m_pConsole->Register("bans", "", CFGFLAG_SERVER, 0, 0, "Show banlist");
 	m_pConsole->Register("status", "", CFGFLAG_SERVER, 0, 0, "List players");