changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_adduser.c
index ffd222418c5eb1f58cf85a60c9931984c02e8e3a..c63c176aeb6f090eb1a7edcfcada09b03dfc932b 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0] - nick / *auth
 * argv[1] - chan access
@@ -16,7 +18,7 @@ struct neonserv_cmd_adduser_cache {
     char *nick;
 };
 
-static CMD_BIND(neonserv_cmd_adduser) {
+CMD_BIND(neonserv_cmd_adduser) {
     int caccess;
     MYSQL_RES *res;
     MYSQL_ROW row;