]> jfr.im git - irc/quakenet/newserv.git/blobdiff - localuser/localuserchannel.h
GLINES: fix null pointer deref in trustgline / trustungline
[irc/quakenet/newserv.git] / localuser / localuserchannel.h
index 61c808130ebcb8fd895275e098f0cbad6f168eba..14d534373e1711a4981b35aeb553bf4d431084c7 100644 (file)
@@ -39,9 +39,9 @@ int localsetmodes(nick *np, channel *cp, nick *target, short modes);
 void localsettopic(nick *np, channel *cp, char *topic);
 void localkickuser(nick *np, channel *cp, nick *target, const char *message);
 void localusermodechange(nick *np, channel *cp, char *modes);
-void sendmessagetochannel(nick *source, channel *cp, char *format, ... );
-void sendopnoticetochannel(nick *source, channel *cp, char *format, ... );
-void localinvite(nick *source, channel *cp, nick *target);
+void sendmessagetochannel(nick *source, channel *cp, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void sendopnoticetochannel(nick *source, channel *cp, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void localinvite(nick *source, chanindex *cip, nick *target);
 
 void localsetmodeinit (modechanges *changes, channel *cp, nick *np);
 void localdosetmode_nick (modechanges *changes, nick *target, short modes);