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