projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed spamlimit setting mysql query
[NeonServV5.git]
/
src
/
modules
/
NeonSpam.mod
/
cmd_neonspam_set.c
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;
}
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
sprintf(retBuf, "%d", amount);
chan->spam_settings->spam_amount = amount;
} else