From e090eaea65efdac33539d80317a9370c04681301 Mon Sep 17 00:00:00 2001 From: mokkori Date: Mon, 18 Feb 2013 17:41:00 +0100 Subject: Bug: Remove server from internal list if it exists on /os jupe on Unreal. Not doing so leads to duplicated entries which cause side-effects such as sending a global to the same server more than once. --- src/protocol/unreal32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index fc6f85817..2dc4f96f6 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1830,7 +1830,10 @@ void unreal_cmd_jupe(char *jserver, char *who, char *reason) reason ? ": " : "", reason ? reason : ""); if (findserver(servlist, jserver)) + { unreal_cmd_squit(jserver, rbuf); + do_squit(who, 1, &jserver); + } unreal_cmd_server(jserver, 2, rbuf); new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } -- cgit