changed Makefile; build all commands as an own file
[NeonServV5.git] / cmd_neonserv_addtimeban.c
index 09eeefb0235df44cda1737ed4587dffe6224249e..8a8d567776d4980fedaf20f37fee3f09ea1c91e3 100644 (file)
@@ -1,4 +1,6 @@
 
+#include "cmd_neonserv.h"
+
 /*
 * argv[0]    nick|*auth|*!*@mask
 * argv[1]    time
@@ -16,7 +18,7 @@ struct neonserv_cmd_addtimeban_cache {
     char *reason;
 };
 
-static CMD_BIND(neonserv_cmd_addtimeban) {
+CMD_BIND(neonserv_cmd_addtimeban) {
     int duration = strToTime(user, argv[1]);
     if(duration < 30) {
         reply(getTextBot(), user, "NS_TIMEBAN_DURATION_TOO_SHORT", 30);