From aa8ba0dc72391ddfaf0c31eee4a966970ff82270 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Fri, 15 Jun 2007 13:47:46 +0000 Subject: BUILD : 1.7.19 (1249) BUGS : 726 NOTES : Fixed some jupe stuff: when juping a currently non-existing server, it was still squitted and the globaloncycleup message was sent to newly juped servers git-svn-id: svn://svn.anope.org/anope/trunk@1249 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@968 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/unreal31.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/protocol/unreal31.c') diff --git a/src/protocol/unreal31.c b/src/protocol/unreal31.c index 7a8c2baf0..8ccb26ee2 100644 --- a/src/protocol/unreal31.c +++ b/src/protocol/unreal31.c @@ -1416,7 +1416,8 @@ void unreal_cmd_jupe(char *jserver, char *who, char *reason) snprintf(rbuf, sizeof(rbuf), "Juped by %s%s%s", who, reason ? ": " : "", reason ? reason : ""); - unreal_cmd_squit(jserver, rbuf); + if (findserver(servlist, jserver)) + unreal_cmd_squit(jserver, rbuf); unreal_cmd_server(jserver, 2, rbuf); new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } -- cgit