From 4dfc2e1e51f9dd83540f53b5473c041d1ca1d84b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Dec 2006 21:27:37 +0000 Subject: Whoops! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_censor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index bd8485e42..a108f45c6 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -33,17 +33,17 @@ class CensorUser : public ModeHandler { if (adding) { - if (!dest->IsModeSet('G')) + if (!channel->IsModeSet('G')) { - dest->SetMode('G',true); + channel->SetMode('G',true); return MODEACTION_ALLOW; } } else { - if (dest->IsModeSet('G')) + if (channel->IsModeSet('G')) { - dest->SetMode('G',false); + channel->SetMode('G',false); return MODEACTION_ALLOW; } } -- cgit v1.2.3