From 6f433bac2f161d30bba4aaa2a7822b8d856ad8ed Mon Sep 17 00:00:00 2001 From: MallocNull Date: Mon, 27 Oct 2014 14:21:44 -0500 Subject: [PATCH] minor major --- bot/bot/bot.csproj | 3 +++ www/auto.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bot/bot/bot.csproj b/bot/bot/bot.csproj index 7ead100..23edd6c 100644 --- a/bot/bot/bot.csproj +++ b/bot/bot/bot.csproj @@ -31,6 +31,9 @@ prompt 4 + + bot.Bot + dll\log4net.dll diff --git a/www/auto.php b/www/auto.php index 335f568..0123b46 100644 --- a/www/auto.php +++ b/www/auto.php @@ -7,7 +7,7 @@ if($_GET['del']) { if($_POST["editId"]) { // TODO update this - mysql_query("UPDATE `responses` SET `conditions`='". mysql_real_escape_string($c) ."', `respid`=". $_POST['resptype'] .", `parameters`='". mysql_real_escape_string($_POST['parameters']) ."', `cooldown`=". (($_POST['cdd']==0)?-1:$_POST['cooldown']) ." WHERE `id`=". $_POST['editId']) or die(mysql_error()); + mysql_query("UPDATE `autonomous` SET `conditions`='". mysql_real_escape_string($c) ."', `respid`=". $_POST['resptype'] .", `parameters`='". mysql_real_escape_string($_POST['parameters']) ."', `cooldown`=". (($_POST['cdd']==0)?-1:$_POST['cooldown']) ." WHERE `id`=". $_POST['editId']) or die(mysql_error()); mysql_query("UPDATE `updater` SET `autonomous`=1 WHERE `id`=1"); header("Location: auto.php"); }