changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_setaccess.c
index c378ac90b72a07169bb134f2d6a2b3b4f9970ce4..37549d287927d8a5ac043ebba4172c399b21f985 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0] - nick / *auth
 * argv[1] - global access
@@ -15,7 +17,7 @@ struct neonserv_cmd_setaccess_cache {
     char *nick;
 };
 
-static CMD_BIND(neonserv_cmd_setaccess) {
+CMD_BIND(neonserv_cmd_setaccess) {
     int caccess;
     MYSQL_RES *res;
     MYSQL_ROW row;