Changeset

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
parents 993:8b14cdfe0213
children 995:716a2b9cc18d
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 })
 		);