mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +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()
|
||||
end
|
||||
|
||||
local handlers = rawget(G_, "handlers")
|
||||
local handlers = rawget(_G, "handlers")
|
||||
|
||||
function meta:handle(msg)
|
||||
local handler = irc.handlers[msg.command]
|
||||
|
Loading…
Reference in New Issue
Block a user