1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 18:23:12 +02:00

Move can_send() function from core to m_message.

This commit is contained in:
Bram Matthys
2019-06-22 16:03:06 +02:00
parent bf4d96e991
commit 05202dd2a4
5 changed files with 99 additions and 96 deletions
+1 -1
View File
@@ -181,7 +181,6 @@ extern int add_silence(aClient *, char *, int);
extern int del_silence(aClient *, char *);
extern void send_user_joins(aClient *, aClient *);
extern void clean_channelname(char *);
extern int can_send(aClient *cptr, aChannel *chptr, char **msgtext, char **errmsg, int notice);
extern long get_access(aClient *, aChannel *);
extern int is_chan_op(aClient *, aChannel *);
extern int has_voice(aClient *, aChannel *);
@@ -678,6 +677,7 @@ extern MODVAR char *(*charsys_get_current_languages)(void);
extern MODVAR void (*broadcast_sinfo)(aClient *acptr, aClient *to, aClient *except);
extern MODVAR void (*parse_message_tags)(aClient *cptr, char **str, MessageTag **mtag_list);
extern MODVAR char *(*mtags_to_string)(MessageTag *m, aClient *acptr);
extern MODVAR int (*can_send)(aClient *cptr, aChannel *chptr, char **msgtext, char **errmsg, int notice);
/* /Efuncs */
extern MODVAR aMotdFile opermotd, svsmotd, motd, botmotd, smotd, rules;
+1
View File
@@ -1204,6 +1204,7 @@ _UNREAL_ERROR(_hook_error_incompatible, "Incompatible hook function. Check argum
#define EFUNC_MTAGS_TO_STRING 62
#define EFUNC_TKL_CHARTOTYPE 63
#define EFUNC_TKL_TYPE_STRING 64
#define EFUNC_CAN_SEND 65
/* Module flags */
#define MODFLAG_NONE 0x0000