changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_bind.c
index 35b4d12006d32d1e18313cff2db759967777afd8..3c80478cb8c8ef66d79dc5c54bc911ccf31dd973 100644 (file)
@@ -1,11 +1,13 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0]   command name
 * argv[1]   command function
 * argv[2-*] parameters (optional)
 */
 
-static CMD_BIND(neonserv_cmd_bind) {
+CMD_BIND(neonserv_cmd_bind) {
     MYSQL_RES *res;
     MYSQL_ROW row;
     printf_mysql_query("SELECT `function` FROM `bot_binds` WHERE `botclass` = '%d' AND `command` = '%s'", client->botid, escape_string(argv[0]));