From 42592c0083505777e8fb8e4bf09182528229a787 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 18 Jan 2010 19:34:34 +0000 Subject: Remove unneededd IS_LOCAL casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12292 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sslinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3