diff options
| author | 2009-05-03 11:56:03 +0000 | |
|---|---|---|
| committer | 2009-05-03 11:56:03 +0000 | |
| commit | a1a5c322ce3310cdb439bf4b05182ae8d31a93ea (patch) | |
| tree | 766385490129a313d42271ca0ac18a05f4712f96 /src/modules/m_rline.cpp | |
| parent | Change making callerid significantly less expensive for quitting large amount... (diff) | |
| download | inspircd++-a1a5c322ce3310cdb439bf4b05182ae8d31a93ea.tar.gz inspircd++-a1a5c322ce3310cdb439bf4b05182ae8d31a93ea.tar.bz2 inspircd++-a1a5c322ce3310cdb439bf4b05182ae8d31a93ea.zip | |
Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_rline.cpp')
| -rw-r--r-- | src/modules/m_rline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 3895705e0..2394efaa3 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -57,6 +57,9 @@ class RLine : public XLine bool Matches(User *u) { + if (u->exempt) + return false; + std::string compare = u->nick + "!" + u->ident + "@" + u->host + " " + u->fullname; return regex->Matches(compare); } |
