mirror of
https://github.com/minetest-mods/irc.git
synced 2025-03-13 15:50:26 +01:00
Merge branch 'master' of https://github.com/minetest-mods/irc into logchat
This commit is contained in:
commit
91d7efdd6a
5
init.lua
5
init.lua
@ -34,7 +34,6 @@ end
|
||||
local old_require = require
|
||||
require = ie.require
|
||||
local lib = ie.require("irc")
|
||||
require = old_require
|
||||
|
||||
irc = {
|
||||
version = "0.2.0",
|
||||
@ -56,6 +55,10 @@ loadfile(modpath.."/hooks.lua")(ie)
|
||||
dofile(modpath.."/callback.lua")
|
||||
dofile(modpath.."/chatcmds.lua")
|
||||
dofile(modpath.."/botcmds.lua")
|
||||
|
||||
-- Restore old (safe) require
|
||||
require = old_require
|
||||
|
||||
if irc.config.enable_player_part then
|
||||
dofile(modpath.."/player_part.lua")
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user