added NeonFun Bot with UNO Game
[NeonServV5.git] / src / modules / global.mod / cmd_global_setbot.c
index 212ffa4ec0d9eda76dbf6a48fe311be15d9d462f..8b58b726cf4c4ddb4e1bf5fa35aa936109742e14 100644 (file)
@@ -469,7 +469,7 @@ static int global_cmd_setbot_prefered(struct UserNode *user, MYSQL_ROW bot, char
                 break;
             }
         }
-        printf_mysql_query("UPDATE `bots` SET `prefered` = '%d' WHERE `id` = '%s'", val, bot[15]);
+        printf_mysql_query("UPDATE `bots` SET `textbot` = '%d' WHERE `id` = '%s'", val, bot[15]);
         ret = 1;
     }
     reply(getTextBot(), user, "\002PREFERED   \002 %s", get_language_string(user, (val ? "NS_SET_ON" : "NS_SET_OFF")));