X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonSpam.mod%2Fcmd_neonspam_set.c;h=f97637626198604e551ef1e8fe842419e18ae2bf;hb=bc2ce8e4b8c64a6ea849cb78a8cf0d0e9e4da7a3;hp=9681d63db5b5522ce4a4e2e39bf2e5fbb717365c;hpb=aea3424fb9e06bd33cae2f2de4c6b4b657466988;p=NeonServV5.git diff --git a/src/modules/NeonSpam.mod/cmd_neonspam_set.c b/src/modules/NeonSpam.mod/cmd_neonspam_set.c index 9681d63..f976376 100644 --- 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_maxrepeat` = '%d' WHERE `channel_id` = '%d' ", amount, chan->channel_id); + printf_mysql_query("UPDATE `channels` SET `channel_spam_limit` = '%d' WHERE `channel_id` = '%d' ", amount, chan->channel_id); sprintf(retBuf, "%d", amount); chan->spam_settings->spam_amount = amount; } else