mirror of
https://github.com/anope/anope.git
synced 2026-07-07 11:23:13 +02:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user