diff options
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r-- | src/core/netserver.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h index ab4976d..8ebd83d 100644 --- a/src/core/netserver.h +++ b/src/core/netserver.h @@ -29,13 +29,10 @@ public: void frame(float seconds); /// broadcast a message to all clients - void broadcast(std::ostringstream &osstream, int ignorefd=-1); + void broadcast(std::string const & message, int ignorefd=-1); /// send a message to a client - void send(NetClient * client, std::ostringstream &osstream); - - /// send a message to a client - void send(NetClient * client, std::string message); + void send(NetClient * client, std::string const & message); /// find the client corresponding to a player NetClient *find_client(Player const &player); |