Mercurial > prosody-modules
view mod_ircd/squishy @ 491:5b3db688213d
mod_ircd: Fixed nick change logic (thanks mva), so that the self nick-change "flag" is removed properly, improved the logic to use verse's room_mt:change_nick (thanks Zash) yet to be pushed into main, added squished verse with the meta method included.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Fri, 02 Dec 2011 20:53:09 +0000 |
parents | 355b4ecbe2dd |
children |
line wrap: on
line source
Output "mod_ircd.lua" -- In theory, you should be able to leave all but verses groupchat and presence plugins local verse_path = GetOption("verse"); if not verse_path then if GetOption("use-http") then AutoFetchURL "http://code.matthewwild.co.uk/verse/raw-file/tip?" verse_path = ""; else Module "verse" end end if verse_path then if verse_path:match("verse%.lua$") then Module "verse" (verse_path) else Module "verse" (verse_path.."/init.lua") Module "verse.component" (verse_path.."/component.lua") Module "verse.plugins.groupchat" (verse_path.."/plugins/groupchat.lua") Module "verse.plugins.presence" (verse_path.."/plugins/presence.lua") end end Main "mod_ircd.in.lua"