--- a/examples/xep0163.lua Mon Mar 16 04:43:24 2009 +0200
+++ b/examples/xep0163.lua Mon Mar 16 05:31:24 2009 +0200
@@ -117,7 +117,7 @@
function ( conn, mess )
local e = mess:child ( 'event' )
if e and e:attribute ( 'xmlns' ) == 'http://jabber.org/protocol/pubsub#event' then
- local enable = yesno ( main.option ( 'lua_pep_notification' ) )
+ local enable = main.yesno ( main.option ( 'lua_pep_notification' ) )
if enable == false then
return true
end
@@ -256,7 +256,7 @@
main.command ( 'tune',
function ( args )
- local enable = yesno ( args )
+ local enable = main.yesno ( args )
if enable == nil then
if tune_enabled then
print ( "Tune notifications enabled" )