changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_unbind.c
index db91274d96f0d8f775d97224a6ae058c4d298c7c..bc67b83b2a63da79ece5b9edb5657141a2703231 100644 (file)
@@ -1,9 +1,11 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0]   command name
 */
 
-static CMD_BIND(neonserv_cmd_unbind) {
+CMD_BIND(neonserv_cmd_unbind) {
     MYSQL_RES *res;
     MYSQL_ROW row;
     printf_mysql_query("SELECT `id` FROM `bot_binds` WHERE `botclass` = '%d' AND `command` = '%s'", client->botid, escape_string(argv[0]));