diff options
author | mokkori <brezelzombie@live.de> | 2013-02-18 17:41:00 +0100 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-25 19:42:10 -0400 |
commit | e090eaea65efdac33539d80317a9370c04681301 (patch) | |
tree | 59705f4f25e2faf814001005f6fe221a3bb558b4 /src | |
parent | 1dbd7b406fdd0c50ad077a24065dada3a3a54085 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/unreal32.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |