]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_rline.cpp
Rename User::fullname to realname and make it private.
[user/henk/code/inspircd.git] / src / modules / m_rline.cpp
index 64228caf7fcc1b7d920f2c93af7d6b69c2cad96d..bf6a64d84ce3398ff62d4d13575d54489b172a4a 100644 (file)
@@ -63,8 +63,8 @@ class RLine : public XLine
                if (lu && lu->exempt)
                        return false;
 
-               const std::string host = u->nick + "!" + u->ident + "@" + u->GetRealHost() + " " + u->fullname;
-               const std::string ip = u->nick + "!" + u->ident + "@" + u->GetIPString() + " " + u->fullname;
+               const std::string host = u->nick + "!" + u->ident + "@" + u->GetRealHost() + " " + u->GetRealName();
+               const std::string ip = u->nick + "!" + u->ident + "@" + u->GetIPString() + " " + u->GetRealName();
                return (regex->Matches(host) || regex->Matches(ip));
        }