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-11 14:32:23 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-11 14:32:23 +0000
commite673e607dce91586ab1f09d01b571a9ae65e73c5 (patch)
treea2e7b2a50c9d17da84adbaafc77c2ac0d7c01fb6 /src/game/server/hooks.cpp
parent96e65f599a437dd15059f6ed533883c702917551 (diff)
downloadzcatch-e673e607dce91586ab1f09d01b571a9ae65e73c5.tar.gz
zcatch-e673e607dce91586ab1f09d01b571a9ae65e73c5.zip
fixed so that emoticon 0 works
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 194fa6e1..f4ef4686 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -353,7 +353,7 @@ void mods_message(int msgtype, int client_id)
 	{
 		NETMSG_CL_EMOTICON *msg = (NETMSG_CL_EMOTICON *)rawmsg;
 		
-		if(config.sv_spamprotection && p->last_emote+time_freq()*5 > time_get())
+		if(config.sv_spamprotection && p->last_emote+time_freq()*3 > time_get())
 			return;
 			
 		p->last_emote = time_get();