diff options
| author | 2016-08-22 16:55:07 +0200 | |
|---|---|---|
| committer | 2016-08-22 16:55:07 +0200 | |
| commit | dfea56312886797f3e611cf3f1b72e43a8a365fa (patch) | |
| tree | e41dfda22f477e815449d75c805e9565a66665c9 /src/modules/m_cban.cpp | |
| parent | Switch to irc::equals() from irc::string in modules that use it for comparing... (diff) | |
| download | inspircd++-dfea56312886797f3e611cf3f1b72e43a8a365fa.tar.gz inspircd++-dfea56312886797f3e611cf3f1b72e43a8a365fa.tar.bz2 inspircd++-dfea56312886797f3e611cf3f1b72e43a8a365fa.zip | |
m_cban Remove now unnecessary field CBan::displaytext
Diffstat (limited to 'src/modules/m_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 7985affd4..42cff2850 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -28,7 +28,6 @@ class CBan : public XLine { private: - std::string displaytext; std::string matchtext; public: @@ -36,7 +35,6 @@ public: : XLine(s_time, d, src, re, "CBAN") , matchtext(ch) { - this->displaytext = ch; } // XXX I shouldn't have to define this @@ -52,7 +50,7 @@ public: const std::string& Displayable() { - return displaytext; + return matchtext; } }; |
