changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_voiceall.c
index 0377310b6afded3c97e5a5727a0a634f6503bf7b..e4de009e458edc3df0f95931c5b6e60e430ccdc9 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0]    (optional) nick mask
 */
@@ -12,7 +14,7 @@ struct neonserv_cmd_voiceall_cache {
     char *nickmask;
 };
 
-static CMD_BIND(neonserv_cmd_voiceall) {
+CMD_BIND(neonserv_cmd_voiceall) {
     struct neonserv_cmd_voiceall_cache *cache = malloc(sizeof(*cache));
     if (!cache) {
         perror("malloc() failed");