diff options
| author | Adam <Adam@anope.org> | 2012-10-08 20:58:47 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-08 20:58:47 -0400 |
| commit | 3af786d4c97e8ee99ea122a5c058d82e6222f295 (patch) | |
| tree | 750c5de0ec2c001b6366fd5137478e6944cdc296 /modules/extra | |
| parent | e57b470e83fac205a354138b1daccec654214e39 (diff) | |
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/extra')
| -rw-r--r-- | modules/extra/m_xmlrpc_main.cpp | 6 | ||||
| -rw-r--r-- | modules/extra/webcpanel/webcpanel.cpp | 5 |
2 files changed, 2 insertions, 9 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()) 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); } } |
