examples/lua.rc
author Myhailo Danylenko <isbear@ukrpost.net>
Tue, 07 Aug 2012 02:43:46 +0300
changeset 125 3e2421384d7a
parent 93 0a10228296c1
child 127 9157566033e8
permissions -rw-r--r--
Examples updates (shortenurl) * some updates to marking (freezes now) * added defunct readonly * added shortenulr


# initialization file to load
set lua_init_filename    = ~/.mcabber/mcabberrc.lua

# lua function name to be called on hooks invocation
set lua_hook_function    = hook_handler

# enable lua-loudmouth debug output to be shown in log
set lua_lm_debug         = 1

# show notifications for pep events
set lua_pep_notification = enable

# XXX jobs file
set lua_jobs_file        = ~/.mcabber/saved_jobs.lua

# XXX url file
set lua_url_file         = ~/.mcabber/urls.log

# XXX additional path to allow non-system loading of lua-lm
set lua_extra_include    = ~/.mcabber

# send evil presence
set lua_evil_mode        = 0

# 0 ignore, 1 print to log, 2 print to buddy's buffer
set lua_evil_sensibility = 1

# filter evil stanzas
set lua_filter_evil      = 0

# automatically send shortened urls to current user
set lua_shorten_post_url = 1

module load lua