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
1 changed files with 1 additions and 1 deletions

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]