# HG changeset patch # User Matthew Wild # Date 1244305036 -3600 # Node ID 0698d0d39b35b0436a8dd5d696d9d8e4d9ce57a4 # Parent 9c736b993e076dedee92cfef3a384d7900cdffd5 modulemanager: Don't require xmlns to be non-nil diff -r 9c736b993e07 -r 0698d0d39b35 core/modulemanager.lua --- a/core/modulemanager.lua Sat Jun 06 17:15:26 2009 +0100 +++ b/core/modulemanager.lua Sat Jun 06 17:17:16 2009 +0100 @@ -377,7 +377,7 @@ if not handler and type(name) == "function" then -- If only 2 options then they specified no xmlns xmlns, name, handler, priority = nil, xmlns, name, handler; - elseif not (handler and name and xmlns) then + elseif not (handler and name) then self:log("warn", "Error: Insufficient parameters to module:hook_stanza()"); return; end