summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:59:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-11 15:59:59 +0000
commit3f1d51e64ad58c9f2430863aa50707700b353c41 (patch)
treeffb774d0d3cb0331617c39e7395bbcb5002fbfe3 /src/modules/m_helpop.cpp
parent4706227c0e6e814ea0b8244d9745b04588d87be6 (diff)
deprecated covariant return type flux capacitor flopcircuit removal with reference pointer.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3662 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp2
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