1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Fixed name of lua's global environment table

This commit is contained in:
LeMagnesium 2015-08-05 11:13:55 +02:00
parent 0358441e0c
commit e272716ae6

View File

@ -185,7 +185,7 @@ function meta:think()
self.lastThought = socket.gettime()
end
local handlers = rawget(G_, "handlers")
local handlers = rawget(_G, "handlers")
function meta:handle(msg)
local handler = irc.handlers[msg.command]