diff options
| author | 2023-06-25 17:18:08 +0100 | |
|---|---|---|
| committer | 2023-06-25 17:18:08 +0100 | |
| commit | 1f5551c1e80c613906a5bade6f08592c8c18d1ca (patch) | |
| tree | faa40c3766c7a4b5a90a54319a1aadbca2da930b /src/users.cpp | |
| parent | Update vendored fmtlib. (diff) | |
Inline various User methods.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/users.cpp b/src/users.cpp index a7d5fa4a0..4fbe51321 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -599,26 +599,6 @@ const std::string& User::GetBanIdent() const return uniqueusername ? ident : wildcard; } -const std::string& User::GetHost(bool uncloak) const -{ - return uncloak ? GetRealHost() : GetDisplayedHost(); -} - -const std::string& User::GetDisplayedHost() const -{ - return displayhost.empty() ? realhost : displayhost; -} - -const std::string& User::GetRealHost() const -{ - return realhost; -} - -const std::string& User::GetRealName() const -{ - return realname; -} - irc::sockets::cidr_mask User::GetCIDRMask() const { unsigned char range = 0; |
