mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Whoops!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
9ab4ee2ea0
commit
4dfc2e1e51
@ -33,17 +33,17 @@ class CensorUser : public ModeHandler
|
|||||||
{
|
{
|
||||||
if (adding)
|
if (adding)
|
||||||
{
|
{
|
||||||
if (!dest->IsModeSet('G'))
|
if (!channel->IsModeSet('G'))
|
||||||
{
|
{
|
||||||
dest->SetMode('G',true);
|
channel->SetMode('G',true);
|
||||||
return MODEACTION_ALLOW;
|
return MODEACTION_ALLOW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (dest->IsModeSet('G'))
|
if (channel->IsModeSet('G'))
|
||||||
{
|
{
|
||||||
dest->SetMode('G',false);
|
channel->SetMode('G',false);
|
||||||
return MODEACTION_ALLOW;
|
return MODEACTION_ALLOW;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user