Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-16 14:31:02 +0000
committerStijn Buys <ingar@osirion.org>2008-02-16 14:31:02 +0000
commitd198b7b8d9ff713d891f35ab173d1f428f610e7d (patch)
tree6a1f76ee5788ee3dfac858e2c8233207637c01bc /src/core/netserver.h
parentd6ee7ec642cc6b3097c8d321a1a00630e24027d1 (diff)
code cleanup
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r--src/core/netserver.h7
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);