From 48033e9b3a708f265c0bc2d62460a6cefa70dd45 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 5 May 2013 19:36:46 +0100 Subject: Convert XLine::Displayable to return a std::string. --- src/modules/m_shun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index e7dc3086d..6da24208a 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -56,9 +56,9 @@ public: return false; } - const char* Displayable() + const std::string& Displayable() { - return matchtext.c_str(); + return matchtext; } }; -- cgit v1.2.3