From d198b7b8d9ff713d891f35ab173d1f428f610e7d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 16 Feb 2008 14:31:02 +0000 Subject: code cleanup --- src/core/netserver.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/core/netserver.h') 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); -- cgit v1.2.3