examples/muc.lua
changeset 111 5bcdb71ef2f2
parent 99 ed4676536ed9
child 121 75a7d595817c
equal deleted inserted replaced
110:bd9f24178d67 111:5bcdb71ef2f2
     8 		if not connection then
     8 		if not connection then
     9 			print "You are not online!"
     9 			print "You are not online!"
    10 			return
    10 			return
    11 		end
    11 		end
    12 		local who
    12 		local who
    13 		if args then
    13 		if args and args ~= "" then
    14 			who = args
    14 			who = args
    15 		else
    15 		else
    16 			who = main.current_buddy ()
    16 			who = main.current_buddy ()
    17 		end
    17 		end
    18 		local conn = lm.connection.bless ( connection )
    18 		local conn = lm.connection.bless ( connection )