summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 21:27:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 21:27:37 +0000
commit4dfc2e1e51f9dd83540f53b5473c041d1ca1d84b (patch)
treefc82b90420717050aed141141b09c32c74c122a5 /src
parent9ab4ee2ea02372ffc1790a14124328e9b4c00ccc (diff)
Whoops!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_censor.cpp8
1 files 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;
}
}