diff mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 4645:25ce28711fac

mod_pubsub_text_interface: Move quick response out of unknown command text Same as previous commit.
author Kim Alvefur <zash@zash.se>
date Fri, 13 Aug 2021 01:06:15 +0200
parents bbf9e36db3a9
children d7652471ae3e
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Fri Aug 13 00:57:33 2021 +0200
+++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Fri Aug 13 01:06:15 2021 +0200
@@ -81,7 +81,7 @@
 			reply:body("OK");
 		end
 	else
-		reply:body("Unknown command. `help` to list commands.");
+		reply:body("Unknown command. `help` to list commands."):up();
 		reply:tag("response", { xmlns = xmlns_quick_resp, value = "help", }):up();
 	end
 	reply:reset();