summaryrefslogtreecommitdiffstats
path: root/source/cServer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cServer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/cServer.h b/source/cServer.h
index 718ac4c36..b2a46f78a 100644
--- a/source/cServer.h
+++ b/source/cServer.h
@@ -29,10 +29,13 @@ public: //tolua_export
void Shutdown();
void SendMessage( const char* a_Message, cPlayer* a_Player = 0, bool a_bExclude = false ); //tolua_export
+
+ void KickUser(const AString & iUserName, const AString & iReason);
+ void AuthenticateUser(const AString & iUserName); // Called by cAuthenticator to auth the specified user
static void ServerListenThread( void* a_Args );
- const char* GetServerID();
+ const AString & GetServerID(void) const;
private:
friend class cRoot; // so cRoot can create and destroy cServer
cServer();