aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-03 13:58:34 +0100
committerGravatar Sadie Powell2021-07-03 13:58:34 +0100
commit4350050a82df2c90db4a2ca4fe3ae75a8a343e08 (patch)
tree0c2d4f450b8ab975ef17b04de0dbeb78946ca5bf /src/modules/m_censor.cpp
parentUpdate the IRCCloud example config for the latest host changes. (diff)
Fix some "targ" usages which were missed in the earlier commit.
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r--src/modules/m_censor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index e369f71a9..27ffbbd69 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -63,11 +63,11 @@ class ModuleCensor : public Module
case MessageTarget::TYPE_CHANNEL:
{
- Channel* targchan = target.Get<Channel>();
- if (!targchan->IsModeSet(cc))
+ Channel* targetchan = target.Get<Channel>();
+ if (!targetchan->IsModeSet(cc))
return MOD_RES_PASSTHRU;
- ModResult result = CheckExemption::Call(exemptionprov, user, targchan, "censor");
+ ModResult result = CheckExemption::Call(exemptionprov, user, targetchan, "censor");
if (result == MOD_RES_ALLOW)
return MOD_RES_PASSTHRU;
break;