summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_sslinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index 0fddd8bf2..e69f878d1 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -173,7 +173,7 @@ class ModuleSSLInfo : public Module
if (ifo->oper_block->getBool("sslonly") && !cert)
{
user->WriteNumeric(491, "%s :This oper login requires an SSL connection.", user->nick.c_str());
- IS_LOCAL(user)->CommandFloodPenalty += 10000;
+ user->CommandFloodPenalty += 10000;
return MOD_RES_DENY;
}
@@ -181,7 +181,7 @@ class ModuleSSLInfo : public Module
if (ifo->oper_block->readString("fingerprint", fingerprint) && (!cert || cert->GetFingerprint() != fingerprint))
{
user->WriteNumeric(491, "%s :This oper login requires a matching SSL fingerprint.",user->nick.c_str());
- IS_LOCAL(user)->CommandFloodPenalty += 10000;
+ user->CommandFloodPenalty += 10000;
return MOD_RES_DENY;
}
}