changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_access.c
index 6c082e5c2e3e08393b9cd07cdb372d1ccf9abd90..aa11b00c2a9b1d244316d0cd3c0b217ae9377fbb 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0] - nick / *auth
 */
@@ -12,7 +14,7 @@ struct neonserv_cmd_access_cache {
     char *nick;
 };
 
-static CMD_BIND(neonserv_cmd_access) {
+CMD_BIND(neonserv_cmd_access) {
     if(argc == 0) {
         if(!(user->flags & USERFLAG_ISAUTHED)) {
             struct neonserv_cmd_access_cache *cache = malloc(sizeof(*cache));