--- a/TODO Fri Oct 23 13:14:19 2009 +0300
+++ b/TODO Wed Nov 25 14:00:12 2009 +0200
@@ -27,4 +27,5 @@
change module name to just lua?
go through TODO and remove done :/
update build system
+check for resource freeing on unloading
--- a/examples/marking.lua Fri Oct 23 13:14:19 2009 +0300
+++ b/examples/marking.lua Wed Nov 25 14:00:12 2009 +0200
@@ -64,7 +64,7 @@
end
end, true, { 'clear', 'do' } )
-commands_help['marked'] = "[clear | do mcabber_command]\n\nOperates on marked buddies. Without arguments prints list of marked jids.\nCommand should contain %s in place, where jid should be inserted."
+commands_help['marked'] = "[clear | do mcabber_command]\n\nOperates on marked buddies. Without arguments prints list of marked jids.\nCommand should contain %%s in place, where jid should be inserted."
mark_ins_bound = false
--- a/examples/mcabberrc.lua Fri Oct 23 13:14:19 2009 +0300
+++ b/examples/mcabberrc.lua Wed Nov 25 14:00:12 2009 +0200
@@ -224,9 +224,11 @@
-- - hook-start
-- - hook-quit
function hook_handler ( args )
- for mod, cb in pairs ( hooks_d[args.hook] ) do
- if cb then
- cb ( args )
+ if [hooks_d[args.hook] then
+ for mod, cb in pairs ( hooks_d[args.hook] ) do
+ if cb then
+ cb ( args )
+ end
end
end
end