changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_voice.c
index 611c352ff5d05efddec1b09e46b31305b3ce7887..45a78a921f501940b82dc85143534b7dafef49ac 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0-*]    nicks
 */
@@ -12,7 +14,7 @@ struct neonserv_cmd_voice_cache {
     char *nicks;
 };
 
-static CMD_BIND(neonserv_cmd_voice) {
+CMD_BIND(neonserv_cmd_voice) {
     struct neonserv_cmd_voice_cache *cache = malloc(sizeof(*cache));
     if (!cache) {
         perror("malloc() failed");