changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_addban.c
index 91da9f8e0e59a86cafe32b51032bba222d2031d7..b799c4b0a99af4660e686f1b60155bde481561e2 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0]    nick|*auth|*!*@mask
 * argv[1-*]  reason
@@ -14,7 +16,7 @@ struct neonserv_cmd_addban_cache {
     char *reason;
 };
 
-static CMD_BIND(neonserv_cmd_addban) {
+CMD_BIND(neonserv_cmd_addban) {
     struct neonserv_cmd_addban_cache *cache = malloc(sizeof(*cache));
     if (!cache) {
         perror("malloc() failed");