From 8116ad9b2885b69680bd3bed6b784d434b223a5b Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 9 Aug 2011 04:38:35 -0400 Subject: Added forgotten founder checks to cs_access, fixed fantasy replies to come from the right service, and fixed the accessgroup operators to acount for founder/superadmin --- modules/extra/m_statusupdate.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/extra') diff --git a/modules/extra/m_statusupdate.cpp b/modules/extra/m_statusupdate.cpp index 2b23492ec..6f98c1345 100644 --- a/modules/extra/m_statusupdate.cpp +++ b/modules/extra/m_statusupdate.cpp @@ -41,10 +41,9 @@ class StatusUpdate : public Module if (access->Matches(user, user->Account())) { for (int i = 0; modeInfo[i].priv != CA_SIZE; ++i) - if (access->HasPriv(modeInfo[i].priv)) - ci->c->SetMode(NULL, modeInfo[i].name, user->nick); - else + if (!access->HasPriv(modeInfo[i].priv)) ci->c->RemoveMode(NULL, modeInfo[i].name, user->nick); + chan_set_correct_modes(user, ci->c, 1); } } } -- cgit