Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r--src/core/gameserver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h
index 7a2f4a6..172fb94 100644
--- a/src/core/gameserver.h
+++ b/src/core/gameserver.h
@@ -52,6 +52,9 @@ public:
/// a player sends a chat message to the public channel
void say(Player *player, std::string const &args);
+ /// kick a player from the server
+ void kick(Player *player, std::string const &reason);
+
/// broadcast a message to all players
void broadcast(std::string const & message, Player *ignore_player = 0);