1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-30 07:00:27 +02:00

Fixed global variables in irc mod

This commit is contained in:
LeMagnesium
2015-01-24 18:58:13 +01:00
parent d8a923bf32
commit 25d7f6e339
2 changed files with 2 additions and 2 deletions

View File

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