summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/m_ldap_authentication.cpp2
-rw-r--r--modules/extra/m_xmlrpc_main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/m_ldap_authentication.cpp b/modules/extra/m_ldap_authentication.cpp
index 08f070bb8..935ba76d5 100644
--- a/modules/extra/m_ldap_authentication.cpp
+++ b/modules/extra/m_ldap_authentication.cpp
@@ -235,7 +235,7 @@ class NSIdentifyLDAP : public Module
if (!email_attribute.empty())
/* Don't complain to users about how they need to update their email, we will do it for them */
- Config->GetBlock("nickserv")->Set("forceemail", "false");
+ config->GetBlock("nickserv")->Set("forceemail", "false");
}
EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector<Anope::string> &params) anope_override
diff --git a/modules/extra/m_xmlrpc_main.cpp b/modules/extra/m_xmlrpc_main.cpp
index b6b47c6f4..b697a2c8c 100644
--- a/modules/extra/m_xmlrpc_main.cpp
+++ b/modules/extra/m_xmlrpc_main.cpp
@@ -99,7 +99,7 @@ class MyXMLRPCEvent : public XMLRPCEvent
reply(out);
CommandSource source(user, NULL, na ? *na->nc : NULL, &reply, bi);
- RunCommand(source, command);
+ Command::Run(source, command);
if (!out.empty())
request.reply("return", iface->Sanitize(out));