From f19d1605b4b313c27d9931582c3153313a571492 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Sun, 7 Jun 2026 06:59:35 +0800 Subject: [PATCH] fix #2156 --- examples/client.lua | 4 ++-- examples/login/client.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/client.lua b/examples/client.lua index ad1131ec..9b1f09d1 100644 --- a/examples/client.lua +++ b/examples/client.lua @@ -1,8 +1,8 @@ package.cpath = "luaclib/?.so" package.path = "lualib/?.lua;examples/?.lua" -if _VERSION ~= "Lua 5.4" then - error "Use lua 5.4" +if _VERSION ~= "Lua 5.5" then + error "Use lua 5.5" end local socket = require "client.socket" diff --git a/examples/login/client.lua b/examples/login/client.lua index b369a736..0cbbca7a 100644 --- a/examples/login/client.lua +++ b/examples/login/client.lua @@ -3,8 +3,8 @@ package.cpath = "luaclib/?.so" local socket = require "client.socket" local crypt = require "client.crypt" -if _VERSION ~= "Lua 5.4" then - error "Use lua 5.4" +if _VERSION ~= "Lua 5.5" then + error "Use lua 5.5" end local fd = assert(socket.connect("127.0.0.1", 8001))