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))