From ec61c983ac04f22ac0700c2c83c1b382d72b47fc Mon Sep 17 00:00:00 2001
From: jorj <jorj@jorj.org>
Date: Wed, 23 Dec 2009 16:45:03 -0500
Subject: added comment to remind us to fix binary output breaking the terminal
 later

---
 plugins/mod_saslauth.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'plugins')

diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 19ed972f..0d3fdd83 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -121,7 +121,7 @@ local function sasl_handler(session, stanza)
 	local text = stanza[1];
 	if text then
 		text = base64.decode(text);
-		log("debug", "%s", text);
+		log("debug", "%s", text); -- FIXME: binary output will screw up the terminal
 		if not text then
 			session.sasl_handler = nil;
 			session.send(build_reply("failure", "incorrect-encoding"));
-- 
cgit v1.2.3