summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_cban.cpp4
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;
}
};