Software /
code /
verse
Changeset
214:78ae20c875cd
squishy: Add a convenience function for plugins
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Aug 2011 19:26:53 +0200 |
parents | 213:aa3088108021 |
children | 215:f86e0b0a0be3 |
files | squishy |
diffstat | 1 files changed, 28 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/squishy Sun Aug 28 23:34:59 2011 +0200 +++ b/squishy Tue Aug 30 19:26:53 2011 +0200 @@ -25,32 +25,36 @@ Module "util.jid" "util/jid.lua" Module "util.events" "util/events.lua" Module "util.dataforms" "util/dataforms.lua" +Module "util.caps" "util/caps.lua" -- Verse plugins -Module "verse.plugins.tls" "plugins/tls.lua" -Module "verse.plugins.sasl" "plugins/sasl.lua" -Module "verse.plugins.bind" "plugins/bind.lua" -Module "verse.plugins.legacy" "plugins/legacy.lua" -Module "verse.plugins.pubsub" "plugins/pubsub.lua" -Module "verse.plugins.version" "plugins/version.lua" -Module "verse.plugins.ping" "plugins/ping.lua" -Module "verse.plugins.session" "plugins/session.lua" -Module "verse.plugins.compression" "plugins/compression.lua" -Module "verse.plugins.blocking" "plugins/blocking.lua" -Module "verse.plugins.proxy65" "plugins/proxy65.lua" -Module "verse.plugins.jingle" "plugins/jingle.lua" -Module "verse.plugins.jingle_ft" "plugins/jingle_ft.lua" -Module "verse.plugins.jingle_s5b" "plugins/jingle_s5b.lua" -Module "verse.plugins.presence" "plugins/presence.lua" -Module "verse.plugins.disco" "plugins/disco.lua" -Module "verse.plugins.pep" "plugins/pep.lua" -Module "verse.plugins.adhoc" "plugins/adhoc.lua" -Module "verse.plugins.private" "plugins/private.lua" -Module "verse.plugins.groupchat" "plugins/groupchat.lua" -Module "verse.plugins.uptime" "plugins/uptime.lua" -Module "verse.plugins.smacks" "plugins/smacks.lua" -Module "verse.plugins.keepalive" "plugins/keepalive.lua" -Module "verse.plugins.roster" "plugins/roster.lua" +local function Plugin(name) + Module("verse.plugins."..name)("plugins/"..name..".lua") +end +Plugin "tls" +Plugin "sasl" +Plugin "bind" +Plugin "legacy" +Plugin "pubsub" +Plugin "version" +Plugin "ping" +Plugin "session" +Plugin "compression" +Plugin "blocking" +Plugin "proxy65" +Plugin "jingle" +Plugin "jingle_ft" +Plugin "jingle_s5b" +Plugin "presence" +Plugin "disco" +Plugin "pep" +Plugin "adhoc" +Plugin "private" +Plugin "groupchat" +Plugin "uptime" +Plugin "smacks" +Plugin "keepalive" +Plugin "roster" Module "net.httpclient_listener" "net/httpclient_listener.lua" Module "net.connlisteners" "net/connlisteners.lua"