diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-05-21 17:09:56 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-05-21 17:09:56 -0700 |
commit | 4710844dcae83f54acd89d84a9c8dad607dfa17d (patch) | |
tree | f0f10444087fcf5b5c63c7ed1a672cb6ff550f5a /src/modules/m_shun.cpp | |
parent | 994787e907cee7f6ed1b8f0ddbec95900a0f470a (diff) | |
parent | 48033e9b3a708f265c0bc2d62460a6cefa70dd45 (diff) |
Merge pull request #522 from SaberUK/master+xline-displayable
Convert XLine::Displayable to return a std::string.
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } }; |