Software /
code /
prosody-modules
File
mod_ircd/squishy @ 625:2c07bcf56a36 0.8-diverge
mod_smacks: Don't hibernate session on graceful stream close
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 19 Mar 2012 17:06:02 +0000 |
parent | 481:355b4ecbe2dd |
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"