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/netserver.h')
-rw-r--r--src/core/netserver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h
index d8635e4..a739e28 100644
--- a/src/core/netserver.h
+++ b/src/core/netserver.h
@@ -70,9 +70,10 @@ public:
/// find the client corresponding to a player
NetClient *find_client(Player const *player);
+ /// send a message on a specified channel
+ void send_message(NetClient *client, const Message::Channel channel, const std::string & message);
+
protected:
- /// send a message
- void send_message(NetClient *client, const char *channel, std::string const & message);
/// send a server frame marker
void send_frame_marker(NetClient *client, unsigned long timestamp);