changeset 755:bab7c4ace803

mod_smacks: Fix log statement
author Kim Alvefur <zash@zash.se>
date Sun, 29 Jul 2012 22:11:48 +0200 (2012-07-29)
parents 713c6791fbcc
children ceea444983c0
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	Sun Jul 29 21:38:19 2012 +0200
+++ b/mod_smacks/mod_smacks.lua	Sun Jul 29 22:11:48 2012 +0200
@@ -298,7 +298,7 @@
 			session.send(queue[i]);
 		end
 	else
-		log("warn", "Client %s@%s[%s] tried to resume stream for %s@%s[%s]",
+		module:log("warn", "Client %s@%s[%s] tried to resume stream for %s@%s[%s]",
 			session.username or "?", session.host or "?", session.type,
 			original_session.username or "?", original_session.host or "?", original_session.type);
 		session.send(st.stanza("failed", sm_attr)