summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-05-16 18:48:21 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-05-16 18:48:21 -0500
commit370838c75da4cc56fded4ccaf6a81c7ede85aee4 (patch)
tree378696a12d6edb3d9b9f2095c95bc3277cb0769c /src
parentf4c8e92f8e66181326e580b0f6c4ba0e522be7ad (diff)
Fix umode -r on nick change being denied by permission check
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_services_account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 61026c08f..1a6faaa53 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -154,7 +154,7 @@ class ModuleServicesAccount : public Module
std::vector<std::string> modechange;
modechange.push_back(user->nick);
modechange.push_back("-r");
- ServerInstance->SendMode(modechange, user);
+ ServerInstance->SendMode(modechange, ServerInstance->FakeClient);
}
}