Changeset

156:3369ae4ff520

clix.raw: Increase priority of print hook to avoid conflict with iq handler Fixes that sometimes it would quit without printing the iq response.
author Kim Alvefur <zash@zash.se>
date Sat, 10 Apr 2021 01:00:00 +0200
parents 155:65dc066a256a
children 157:aa0f11fb166c
files clix/raw.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clix/raw.lua	Sat Apr 10 00:49:46 2021 +0200
+++ b/clix/raw.lua	Sat Apr 10 01:00:00 2021 +0200
@@ -26,7 +26,7 @@
 			end
 			return print(stanza);
 		end
-		conn:hook("stanza", stprint)
+		conn:hook("stanza", stprint, 1)
 		if opts.interactive then
 			local stdin = {
 				getfd = function () return 0; end;