projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
644a340
)
removed ban timeout check (need to do it on another way...)
author
pk910
<philipp@zoelle1.de>
Fri, 9 Sep 2011 05:40:16 +0000
(07:40 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 9 Sep 2011 05:40:16 +0000
(07:40 +0200)
bot_NeonServ.c
patch
|
blob
|
history
diff --git
a/bot_NeonServ.c
b/bot_NeonServ.c
index c2aed7842234b7c4929d6aff61eb1024ba4808b2..bb832f76ae0562e63bf953140e79fb2d6f857c5d 100644
(file)
--- a/
bot_NeonServ.c
+++ b/
bot_NeonServ.c
@@
-335,17
+335,7
@@
void init_NeonServ() {
}
void loop_NeonServ() {
}
void loop_NeonServ() {
- //check channel bans
- check_mysql();
- MYSQL_RES *res;
- MYSQL_ROW row;
- printf_mysql_query("SELECT `ban_mask`, `ban_id` FROM `bans` WHERE `ban_timeout` != '0' AND `ban_timeout` <= UNIX_TIMESTAMP()");
- res = mysql_use();
- while ((row = mysql_fetch_row(res)) != NULL) {
- printf_mysql_query("DELETE FROM `bans` WHERE `ban_id` = '%s'", row[1]);
- //TODO: remove the ban from the channel
- }
- mysql_free();
+
}
void free_NeonServ() {
}
void free_NeonServ() {