Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-09 21:45:18 +0000
committerStijn Buys <ingar@osirion.org>2008-11-09 21:45:18 +0000
commita1eb1b4dc4d81df724ee43fc4e895dd22e81760f (patch)
tree5d53a557540147e1e981c5cd3c6be8ccc8448381 /src/core
parent568e868ef43cc79ad277ec5ab2c3e08647725131 (diff)
working jumpgates
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gameserver.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index bbe32dd..47f5715 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -23,7 +23,7 @@ Player *console_find_player(std::string const & target)
{
Player *targetplayer = server()->find_player(target);
if (!targetplayer) {
- con_print << "^BPlayer " + target + "^B not found.";
+ con_print << "^BPlayer " + target + "^B not found";
}
return targetplayer;
}
@@ -56,13 +56,13 @@ void func_mute(std::string const &args)
return;
if (targetplayer->mute()) {
- con_print << "^BPlayer " + targetplayer->name() + "^B has already been muted.";
+ con_print << "^BPlayer " + targetplayer->name() + "^B has already been muted";
return;
}
targetplayer->player_mute = true;
- server()->broadcast("^B" + targetplayer->name() + "^B has been muted.", targetplayer);
- targetplayer->send("^BYou have been muted.");
+ server()->broadcast("^B" + targetplayer->name() + "^B has been muted", targetplayer);
+ targetplayer->send("^WYou have been muted");
}
void func_unmute(std::string const &args)
@@ -72,13 +72,13 @@ void func_unmute(std::string const &args)
return;
if (!targetplayer->mute()) {
- con_print << "^BPlayer " + targetplayer->name() + "^B has not been muted.";
+ con_print << "^BPlayer " + targetplayer->name() + "^B has not been muted";
return;
}
targetplayer->player_mute = false;
- server()->broadcast("^B" +targetplayer->name() + "^B has been unmuted.", targetplayer);
- targetplayer->send("^BYou have been unmuted.");
+ server()->broadcast("^B" +targetplayer->name() + "^B has been unmuted", targetplayer);
+ targetplayer->send("^WYou have been unmuted");
}
void func_kick(std::string const &args)
@@ -267,7 +267,7 @@ void GameServer::say(Player *player, std::string const &message)
return;
if (player->mute()) {
- player->send("^BYou have been muted.");
+ player->send("^WYou have been muted");
return;
}
@@ -285,7 +285,7 @@ void GameServer::private_message(Player *player, std::string const &args)
return;
if (player->mute()) {
- player->send("^BYou have been muted.");
+ player->send("^WYou have been muted");
return;
}
@@ -297,7 +297,7 @@ void GameServer::private_message(Player *player, std::string const &args)
core::Player *targetplayer = core::server()->find_player(target);
if (!targetplayer) {
- player->send("^BPlayer " + target + "^B not found.");
+ player->send("^BPlayer " + target + "^B not found");
return;
}
@@ -311,7 +311,7 @@ void GameServer::private_message(Player *player, std::string const &args)
void GameServer::kick(Player *player, std::string const &reason)
{
if (!server_network) {
- con_print << "Not running a networked server." << std::endl;
+ con_print << "Not running a networked server" << std::endl;
return;
}
@@ -321,7 +321,7 @@ void GameServer::kick(Player *player, std::string const &reason)
player->send("^WYou have been kicked: " + reason);
server_network->send_disconnect(client);
} else {
- con_print << "Network client not found." << std::endl;
+ con_print << "Network client not found" << std::endl;
}
}