#include "../nick/nick.h"
#include "../localuser/localuserchannel.h"
+#include "../control/control.h"
+#include "../lib/sstring.h"
+#include "../lib/irc_string.h"
+#include "../channel/channel.h"
+#include "../core/schedule.h"
+#include "../core/hooks.h"
+#include "../localuser/localuser.h"
+#include "../lib/irc_string.h"
+#include "../core/config.h"
+
+
#include "huser.h"
#include "hversions.h"
+
/* configuration */
/* These should always be equal */
-#define HELPMOD_VERSION_INTERNAL HELPMOD_VERSION_2_15
-#define HELPMOD_VERSION "2.15"
+#define HELPMOD_VERSION_INTERNAL HELPMOD_VERSION_2_17
+#define HELPMOD_VERSION "2.17"
#define HELPMOD_USER_TIMEOUT 1200
#define HELPMOD_BAN_DURATION (2 * HDEF_h)
-extern int HELPMOD_ACCOUNT_EXPIRATION[6];
+extern int HELPMOD_ACCOUNT_EXPIRATION[];
extern nick *helpmodnick;
void hcommit_modes(void);
-void helpmod_reply(huser *target, channel* returntype, const char *message, ... );
+void helpmod_reply(huser *target, channel* returntype, const char *message, ... ) __attribute__ ((format (printf, 3, 4)));
-void helpmod_message_channel_long(hchannel *hchan, const char *message, ...);
-void helpmod_message_channel(hchannel *hchan, const char *message, ...);
+void helpmod_message_channel_long(hchannel *hchan, const char *message, ...) __attribute__ ((format (printf, 2, 3)));
+void helpmod_message_channel(hchannel *hchan, const char *message, ...) __attribute__ ((format (printf, 2, 3)));
-void helpmod_kick(hchannel *hchan, huser *target, const char *reason, ...);
+void helpmod_kick(hchannel *hchan, huser *target, const char *reason, ...) __attribute__ ((format (printf, 3, 4)));
void helpmod_invite(hchannel *, huser *);