diff options
| author | 2023-06-05 14:22:22 +0100 | |
|---|---|---|
| committer | 2023-06-05 14:22:42 +0100 | |
| commit | a4b95340b734fe2a25a7beb1676026626e847d50 (patch) | |
| tree | f446156a0ffa1018f12f9273bd3a90814f154270 /src/xline.cpp | |
| parent | Allow users to override SVSHOLDs for nicks in their nick group. (diff) | |
Make XLine::Displayable const.
Diffstat (limited to 'src/xline.cpp')
| -rw-r--r-- | src/xline.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index e9fa2a256..27274e740 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -716,27 +716,27 @@ void XLine::DisplayExpiry() Duration::ToString(ServerInstance->Time() - set_time), reason); } -const std::string& ELine::Displayable() +const std::string& ELine::Displayable() const { return matchtext; } -const std::string& KLine::Displayable() +const std::string& KLine::Displayable() const { return matchtext; } -const std::string& GLine::Displayable() +const std::string& GLine::Displayable() const { return matchtext; } -const std::string& ZLine::Displayable() +const std::string& ZLine::Displayable() const { return ipaddr; } -const std::string& QLine::Displayable() +const std::string& QLine::Displayable() const { return nick; } |
