aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjorj <jorj@jorj.org>2009-12-23 16:45:03 -0500
committerjorj <jorj@jorj.org>2009-12-23 16:45:03 -0500
commitec61c983ac04f22ac0700c2c83c1b382d72b47fc (patch)
treedfb30fc3815d041e9039b2048fb82f87d9c6c7cf
parentebc2fcb9e2a38726852b3b51f2c363d2d39be218 (diff)
downloadprosody-ec61c983ac04f22ac0700c2c83c1b382d72b47fc.tar.gz
prosody-ec61c983ac04f22ac0700c2c83c1b382d72b47fc.zip
added comment to remind us to fix binary output breaking the terminal
later
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
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"));