From 370838c75da4cc56fded4ccaf6a81c7ede85aee4 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sun, 16 May 2010 18:48:21 -0500 Subject: Fix umode -r on nick change being denied by permission check --- src/modules/m_services_account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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 modechange; modechange.push_back(user->nick); modechange.push_back("-r"); - ServerInstance->SendMode(modechange, user); + ServerInstance->SendMode(modechange, ServerInstance->FakeClient); } } -- cgit v1.2.3