about summary refs log tree commit diff
path: root/src/game/server/hooks.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 21:17:25 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-21 21:17:25 +0000
commit6ffd661c78b44b64a60044f3cb1b9494fd315e5d (patch)
tree5a41576fe6afb5fa9cab8f5369bcda84f91c5ffb /src/game/server/hooks.cpp
parent2f801d47cfeeb4d6f545c8a907e31624433732b2 (diff)
downloadzcatch-6ffd661c78b44b64a60044f3cb1b9494fd315e5d.tar.gz
zcatch-6ffd661c78b44b64a60044f3cb1b9494fd315e5d.zip
fixed so the name of the player that calls the vote is in the chat. fixed so that the time remaining on the vote is displayed. reworked the vote box a bit so it's nicer
Diffstat (limited to 'src/game/server/hooks.cpp')
-rw-r--r--src/game/server/hooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp
index 951e6e67..dd3cd1ce 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -224,7 +224,7 @@ void mods_message(int msgtype, int client_id)
 			{
 				if(str_comp_nocase(msg->value, option->command) == 0)
 				{
-					str_format(chatmsg, sizeof(chatmsg), "Vote called to change server option '%s'", option->command);
+					str_format(chatmsg, sizeof(chatmsg), "%s called vote to change server option '%s'", server_clientname(client_id), option->command);
 					str_format(desc, sizeof(desc), "%s", option->command);
 					str_format(cmd, sizeof(cmd), "%s", option->command);
 					break;