Diff

mod_smacks/mod_smacks.lua @ 994:487cd02aada0

mod_smacks: Complain a little louder about clients trying to resume after resource binding
author Kim Alvefur <zash@zash.se>
date Sun, 05 May 2013 11:23:50 +0200
parent 988:c15cea87036f
child 1024:d7655e634c30
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Tue Apr 30 20:46:02 2013 +0500
+++ b/mod_smacks/mod_smacks.lua	Sun May 05 11:23:50 2013 +0200
@@ -261,7 +261,7 @@
 
 module:hook_stanza(xmlns_sm, "resume", function (session, stanza)
 	if session.full_jid then
-		session.log("debug", "Tried to resume after resource binding");
+		session.log("warn", "Tried to resume after resource binding");
 		session.send(st.stanza("failed", sm_attr)
 			:tag("unexpected-request", { xmlns = xmlns_errors })
 		);