1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-16 15:15:27 +01:00

Add an IRC mod wich works... (very rare, like Mithril...)

This commit is contained in:
BUISSON-DEBON Quentin
2015-08-19 01:24:48 +02:00
parent 8c637bac28
commit 43faf2b5bc
9 changed files with 27 additions and 61 deletions

View File

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