diff options
| author | Choupom <andycootlapin@hotmail.fr> | 2010-10-09 20:19:58 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-11 00:31:14 +0200 |
| commit | 7aefbca742c20206ce18a64bc83322331ee67b39 (patch) | |
| tree | ce6874faa4220af59b79b241b9717e1fd3e19c1a /src/engine/client/client.cpp | |
| parent | 5754812dea6598335f60858d125639c92ec67914 (diff) | |
| download | zcatch-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/client.cpp')
| -rw-r--r-- | src/engine/client/client.cpp | 4 |
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"); |