diff options
Diffstat (limited to 'modules/extra/m_xmlrpc_main.cpp')
-rw-r--r-- | modules/extra/m_xmlrpc_main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/extra/m_xmlrpc_main.cpp b/modules/extra/m_xmlrpc_main.cpp index cd7b68967..90c8fdc5d 100644 --- a/modules/extra/m_xmlrpc_main.cpp +++ b/modules/extra/m_xmlrpc_main.cpp @@ -86,11 +86,7 @@ class MyXMLRPCEvent : public XMLRPCEvent } reply(out); - CommandSource source(user, NULL, na ? *na->nc : NULL, &reply); - source.c = NULL; - source.owner = bi; - source.service = bi; - + CommandSource source(user, NULL, na ? *na->nc : NULL, &reply, bi); RunCommand(source, command); if (!out.empty()) |