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

Fix SQUIT being sent back to where it came from.

Reported by Ariadne Conill in https://bugs.unrealircd.org/view.php?id=5906

This patch applies cleanly against 5.2.0-rc1 and 5.0.9.x.

Needs more testing, though, as fiddling with SQUIT code and the
various directions and far/near server distinctions can be tricky.
This commit is contained in:
Bram Matthys
2021-06-07 10:18:43 +02:00
parent 5237ebaabc
commit 36097fbdce
3 changed files with 14 additions and 12 deletions
+1
View File
@@ -285,6 +285,7 @@ extern char *myctime(time_t);
extern char *short_date(time_t, char *buf);
extern char *long_date(time_t);
extern void exit_client(Client *client, MessageTag *recv_mtags, char *comment);
extern void exit_client_ex(Client *client, Client *origin, MessageTag *recv_mtags, char *comment);
extern void initstats(), tstats(Client *, char *);
extern char *check_string(char *);
extern char *make_nick_user_host(char *, char *, char *);