summaryrefslogtreecommitdiff
path: root/src/connectionhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r--src/connectionhandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h
index e89d9f74..c00abfc6 100644
--- a/src/connectionhandler.h
+++ b/src/connectionhandler.h
@@ -138,6 +138,12 @@ class ConnectionHandler
*/
void makeUsersLeaveChannel(const short channelId);
+ /**
+ * tells a list of user about an event in a chatchannel about a player.
+ */
+ void warnUsersAboutPlayerEventInChat(const short channelId,
+ const std::string& userName,
+ const char eventId);
private:
std::map<unsigned int, MessageHandler*> handlers;