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

De-duplicate code. Make sendto_serv_butone_nickcmd() use sendto_one_nickcmd(). Fixes bug reported by Adam.

This commit is contained in:
Bram Matthys
2015-09-12 11:16:02 +02:00
parent af88bc7e19
commit 69a121278f
3 changed files with 23 additions and 44 deletions
+1 -3
View File
@@ -255,9 +255,7 @@ extern void *MyMallocEx(size_t size);
extern int advanced_check(char *userhost, int ipstat);
extern int send_queued(aClient *);
extern void sendto_connectnotice(aClient *sptr, int disconnect, char *comment);
extern void sendto_serv_butone_nickcmd(aClient *one, aClient *sptr, char *nick, int hopcount,
long lastnick, char *username, char *realhost, char *server, char *svid, char *info, char *umodes,
char *virthost);
extern void sendto_serv_butone_nickcmd(aClient *one, aClient *sptr, char *umodes);
extern void sendto_message_one(aClient *to, aClient *from, char *sender,
char *cmd, char *nick, char *msg);
#define PREFIX_ALL 0