diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-18 19:34:34 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-18 19:34:34 +0000 |
commit | 42592c0083505777e8fb8e4bf09182528229a787 (patch) | |
tree | e2a45450245f06260cc0fe08824e44aea6bb3415 /src | |
parent | 9ee588b23fd915255d2cea0c537e6938297dbe5b (diff) |
Remove unneededd IS_LOCAL casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12292 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_sslinfo.cpp | 4 |
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; } } |