Update hook prototypes (typechecking). Fix build. Forgot.. in 3.4 these return int now...

This commit is contained in:
Bram Matthys 2015-09-22 10:43:26 +02:00
parent bd7aebc81e
commit 2f112c3efa

View file

@ -815,8 +815,8 @@ int hooktype_stats(aClient *sptr, char *str);
int hooktype_local_join(aClient *cptr, aClient *sptr, aChannel *chptr, char *parv[]);
int hooktype_configtest(ConfigFile *cfptr, ConfigEntry *ce, int section, int *errors);
int hooktype_configrun(ConfigFile *cfptr, ConfigEntry *ce, int section);
char *hooktype_usermsg(aClient *sptr, aClient *to, char *text, int notice);
char *hooktype_chanmsg(aClient *sptr, aChannel *chptr, char *text, int notice);
int hooktype_usermsg(aClient *sptr, aClient *to, char *text, int notice);
int hooktype_chanmsg(aClient *sptr, aChannel *chptr, char *text, int notice);
int hooktype_local_part(aClient *cptr, aClient *sptr, aChannel *chptr, char *comment);
int hooktype_local_kick(aClient *cptr, aClient *sptr, aClient *victim, aChannel *chptr, char *comment);
int hooktype_local_chanmode(aClient *cptr, aClient *sptr, aChannel *chptr, char *modebuf, char *parabuf, time_t sendts, int samode);