From 311602ed2a630cb7a7cd6f08e851085594278e1c Mon Sep 17 00:00:00 2001 From: pk910 Date: Mon, 12 Sep 2011 21:50:59 +0200 Subject: [PATCH] fixed start_bots query --- bot_NeonServ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_NeonServ.c b/bot_NeonServ.c index e3c990e..de1d56e 100644 --- a/bot_NeonServ.c +++ b/bot_NeonServ.c @@ -282,7 +282,7 @@ static void start_bots() { MYSQL_RES *res, *res2; MYSQL_ROW row; - printf_mysql_query("SELECT `nick`, `ident`, `realname`, `server`, `port`, `pass`, `whoisbot`, `id` FROM `bots` WHERE `botclass` = '%d' AND `active` = '1'", BOTID); + printf_mysql_query("SELECT `nick`, `ident`, `realname`, `server`, `port`, `pass`, `textbot`, `id` FROM `bots` WHERE `botclass` = '%d' AND `active` = '1'", BOTID); res = mysql_use(); while ((row = mysql_fetch_row(res)) != NULL) { -- 2.20.1