summaryrefslogtreecommitdiff
path: root/modules/m_xmlrpc_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_xmlrpc_main.cpp')
-rw-r--r--modules/m_xmlrpc_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/m_xmlrpc_main.cpp b/modules/m_xmlrpc_main.cpp
index 3969cab59..57b599ce4 100644
--- a/modules/m_xmlrpc_main.cpp
+++ b/modules/m_xmlrpc_main.cpp
@@ -108,7 +108,8 @@ class MyXMLRPCEvent : public XMLRPCEvent
}
reply(out);
- CommandSource source(user, NULL, na ? *na->nc : NULL, &reply, bi);
+ User *u = User::Find(user, true);
+ CommandSource source(user, u, na ? *na->nc : NULL, &reply, bi);
Command::Run(source, command);
if (!out.empty())