diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index c76046727..4e59ab2b8 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -160,7 +160,7 @@ class HelpopException : public ModuleException std::string err; public: HelpopException(std::string message) : err(message) { } - virtual char* GetReason() { return (char*)err.c_str(); } + virtual const char* GetReason() { return err.c_str(); } }; class ModuleHelpop : public Module |