1
0
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:
mokkori
2013-02-18 17:41:00 +01:00
committed by Adam
parent 1dbd7b406f
commit e090eaea65
+3
View File
@@ -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);
}