mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
Fixed name of lua's global environment table
This commit is contained in:
parent
0358441e0c
commit
e272716ae6
@ -185,7 +185,7 @@ function meta:think()
|
|||||||
self.lastThought = socket.gettime()
|
self.lastThought = socket.gettime()
|
||||||
end
|
end
|
||||||
|
|
||||||
local handlers = rawget(G_, "handlers")
|
local handlers = rawget(_G, "handlers")
|
||||||
|
|
||||||
function meta:handle(msg)
|
function meta:handle(msg)
|
||||||
local handler = irc.handlers[msg.command]
|
local handler = irc.handlers[msg.command]
|
||||||
|
Loading…
Reference in New Issue
Block a user