clix/roster.lua

changeset 59
46cb6e772e31
parent 58
d5d9f7dffc1f
child 61
7d62bff46601
equal deleted inserted replaced
58:d5d9f7dffc1f 59:46cb6e772e31
84 print("No such contact"); 84 print("No such contact");
85 return; 85 return;
86 end 86 end
87 87
88 for k,v in pairs(item) do 88 for k,v in pairs(item) do
89 print(k,type(v) == "table" and table.concat(v) or v) 89 print(k,type(v) == "table" and table.concat(v, ", ") or v)
90 end 90 end
91 end; 91 end;
92 } 92 }
93 local function on_incoming(stdin, text) 93 local function on_incoming(stdin, text)
94 local cmd = text:match("^(%a*)"); 94 local cmd = text:match("^(%a*)");

mercurial