projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c37b06
)
stanza_router: That'll teach me to not commit at this time of night. Or not.
author
Matthew Wild
<mwild1@gmail.com>
Fri, 16 Jan 2009 04:57:23 +0000
(
04:57
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 16 Jan 2009 04:57:23 +0000
(
04:57
+0000)
core/stanza_router.lua
patch
|
blob
|
history
diff --git
a/core/stanza_router.lua
b/core/stanza_router.lua
index e94d3c340e998712bc6baa01dddf6a13dcd74d31..9533123e6eaa8b21f82bf30a993b6cf81ae9911d 100644
(file)
--- a/
core/stanza_router.lua
+++ b/
core/stanza_router.lua
@@
-56,7
+56,7
@@
local function checked_error_reply(origin, stanza)
end
function core_process_stanza(origin, stanza)
- (origin.log or log)("debug", "Received[%s]: %s", origin.type, top_tag())
+ (origin.log or log)("debug", "Received[%s]: %s", origin.type,
stanza:
top_tag())
if not stanza.attr.xmlns then stanza.attr.xmlns = "jabber:client"; end -- FIXME Hack. This should be removed when we fix namespace handling.
-- TODO verify validity of stanza (as well as JID validity)