From 3af786d4c97e8ee99ea122a5c058d82e6222f295 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 8 Oct 2012 20:58:47 -0400 Subject: Fix fantasy !help & give it its own help header, not ChanServ's --- modules/extra/m_xmlrpc_main.cpp | 6 +----- modules/extra/webcpanel/webcpanel.cpp | 5 +---- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'modules/extra') 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()) diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp index 460efba3a..b6b2d5776 100644 --- a/modules/extra/webcpanel/webcpanel.cpp +++ b/modules/extra/webcpanel/webcpanel.cpp @@ -214,10 +214,7 @@ namespace WebPanel } my_reply(r); - CommandSource source(user, NULL, nc, &my_reply); - source.owner = bi; - source.service = bi; - + CommandSource source(user, NULL, nc, &my_reply, bi); cmd->Execute(source, params); } } -- cgit