summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-26 16:51:54 -0300
committerjesusalva <cpntb1@ymail.com>2018-02-26 16:51:54 -0300
commitaa8b3b67297cc88758d53432513eab51cb066073 (patch)
tree5782605c376fa6caa8fa521acf9e58937bdb4ebc
parent4b2c427c89f2a954b0da1952be6b549754b2569b (diff)
downloadserverdata-aa8b3b67297cc88758d53432513eab51cb066073.tar.gz
serverdata-aa8b3b67297cc88758d53432513eab51cb066073.tar.bz2
serverdata-aa8b3b67297cc88758d53432513eab51cb066073.tar.xz
serverdata-aa8b3b67297cc88758d53432513eab51cb066073.zip
Do not let outdated clients join
-rw-r--r--npc/functions/clientversion.txt4
1 files changed, 3 insertions, 1 deletions
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;
}