summaryrefslogtreecommitdiff
path: root/src/protocol/plexus2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/plexus2.c')
-rw-r--r--src/protocol/plexus2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol/plexus2.c b/src/protocol/plexus2.c
index 33437c263..12130acdd 100644
--- a/src/protocol/plexus2.c
+++ b/src/protocol/plexus2.c
@@ -1707,7 +1707,8 @@ plexus_cmd_jupe (char *jserver, char *who, char *reason)
snprintf (rbuf, sizeof (rbuf), "Juped by %s%s%s", who,
reason ? ": " : "", reason ? reason : "");
- plexus_cmd_squit (jserver, rbuf);
+ if (findserver(servlist, jserver))
+ plexus_cmd_squit (jserver, rbuf);
plexus_cmd_server (jserver, 2, rbuf);
new_server (me_server, jserver, rbuf, SERVER_JUPED, NULL);
}