projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea3424
)
fixed spamlimit setting mysql query
author
pk910
<philipp@zoelle1.de>
Tue, 23 Oct 2012 16:23:41 +0000
(18:23 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 23 Oct 2012 16:23:41 +0000
(18:23 +0200)
src/modules/NeonSpam.mod/cmd_neonspam_set.c
patch
|
blob
|
history
diff --git
a/src/modules/NeonSpam.mod/cmd_neonspam_set.c
b/src/modules/NeonSpam.mod/cmd_neonspam_set.c
index 9681d63db5b5522ce4a4e2e39bf2e5fbb717365c..f97637626198604e551ef1e8fe842419e18ae2bf 100644
(file)
--- a/
src/modules/NeonSpam.mod/cmd_neonspam_set.c
+++ b/
src/modules/NeonSpam.mod/cmd_neonspam_set.c
@@
-502,7
+502,7
@@
static char* neonspam_cmd_set_spamlimit(struct ClientSocket *client, struct Clie
reply(textclient, user, "SS_SET_SPAMLIMIT", amount, 2, 10);
return NULL;
}
- printf_mysql_query("UPDATE `channels` SET `channel_
maxrepea
t` = '%d' WHERE `channel_id` = '%d' ", amount, chan->channel_id);
+ printf_mysql_query("UPDATE `channels` SET `channel_
spam_limi
t` = '%d' WHERE `channel_id` = '%d' ", amount, chan->channel_id);
sprintf(retBuf, "%d", amount);
chan->spam_settings->spam_amount = amount;
} else