From aa8b3b67297cc88758d53432513eab51cb066073 Mon Sep 17 00:00:00 2001
From: jesusalva <cpntb1@ymail.com>
Date: Mon, 26 Feb 2018 16:51:54 -0300
Subject: Do not let outdated clients join

---
 npc/functions/clientversion.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'npc/functions')

diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 9d502be3d..5286a9cf3 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -14,7 +14,9 @@ function	script	checkclientversion	{
     next;
     mes col("Not all features will work.", 9);
     next;
-    mes col("Please install the new client from http://www.evolonline.org/ or http://manaplus.org/", 9);
+    mes col("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/]", 9);
     next;
+    // Force user to disconnect
+    atcommand "@kick "+strcharinfo(0);
     return;
 }
-- 
cgit v1.2.3-70-g09d2