summaryrefslogtreecommitdiff
path: root/src/modules/m_randquote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r--src/modules/m_randquote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 7dfd44da3..430adf9ef 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -69,7 +69,7 @@ class RandquoteException : public ModuleException
public:
RandquoteException(std::string message) : err(message) { }
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return (char*)err.c_str();
}