changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_invite.c
index 7610aa656802c36dbaaa397ef8114d45f49a55d2..f7fcd62247bdf975e9958ac8ffdcea59a3e2a544 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0] - nick / *auth
 */
@@ -27,7 +29,7 @@ struct neonserv_cmd_invite_timeout {
 
 static struct neonserv_cmd_invite_timeout *first_timeout = NULL, *last_timeout = NULL;
 
-static CMD_BIND(neonserv_cmd_invite) {
+CMD_BIND(neonserv_cmd_invite) {
     if(neonserv_cmd_invite_is_timeout(argv[0], chan->name)) {
         reply(getTextBot(), user, "NS_INVITE_TIMEOUT", argv[0], chan->name);
         return;