Software /
code /
clix
Changeset
155:65dc066a256a
clix.vcard: Use alternate method of enabling plugin
Dunno if this is better, but I've had this like this uncommitted for so
long.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 10 Apr 2021 00:49:46 +0200 |
parents | 154:e7f579d82b76 |
children | 156:3369ae4ff520 |
files | clix/vcard.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/clix/vcard.lua Sat Apr 10 00:28:56 2021 +0200 +++ b/clix/vcard.lua Sat Apr 10 00:49:46 2021 +0200 @@ -10,7 +10,6 @@ return 0; end local function on_connect(conn) - conn:add_plugin("vcard"); if not opts.set then -- get conn:get_vcard(arg[1], function(vCard) print(vCard and vcard_to_text(vCard) or "No vCard returned") @@ -22,5 +21,5 @@ function() conn:close() end) end end - clix_connect(opts, on_connect); + clix_connect(opts, on_connect, { "vcard" }); end