diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 17:05:12 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 17:05:12 +0200 |
commit | 80e88c163dbd77b06b61d4fd734d51249cc0e172 (patch) | |
tree | 2ee3fa3fea938c56f3c7d4fc31bea02eaa664d7e /src/modules/m_rline.cpp | |
parent | c1b376cd396f56e4d0eb3eafc04ff169e509ffc7 (diff) |
Move member variables from User to LocalUser
- idle_lastmsg
- dns_done
- quitting_sendq
- exempt
- lastping
Diffstat (limited to 'src/modules/m_rline.cpp')
-rw-r--r-- | src/modules/m_rline.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index a234c02c6..68e3594a5 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -61,7 +61,8 @@ class RLine : public XLine bool Matches(User *u) { - if (u->exempt) + LocalUser* lu = IS_LOCAL(u); + if (lu && lu->exempt) return false; std::string compare = u->nick + "!" + u->ident + "@" + u->host + " " + u->fullname; @@ -117,7 +118,7 @@ class RLineFactory : public XLineFactory RLineFactory(dynamic_reference<RegexFactory>& rx) : XLineFactory("R"), rxfactory(rx) { } - + /** Generate a RLine */ XLine* Generate(time_t set_time, long duration, std::string source, std::string reason, std::string xline_specific_mask) |