changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_kick.c
index 0a97087985da3081f1a403084847d2bfcdc35e95..373881ceb18994201e07bead95163ec878beb4fb 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_kick_cache {
     char *reason;
 };
 
-static CMD_BIND(neonserv_cmd_kick) {
+CMD_BIND(neonserv_cmd_kick) {
     struct neonserv_cmd_kick_cache *cache = malloc(sizeof(*cache));
     if (!cache) {
         perror("malloc() failed");