]> jfr.im git - irc/quakenet/newserv.git/blobdiff - helpmod2/helpmod.h
GLINES: fix null pointer deref in trustgline / trustungline
[irc/quakenet/newserv.git] / helpmod2 / helpmod.h
index b40dee57eab7e0d34ea8a0da5ae8227bef60422d..8b56ade4e3b9d8ec44cb91d4e8e8304b900df390 100644 (file)
@@ -51,12 +51,12 @@ extern time_t helpmod_startup_time;
 
 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 *);