diff options
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r-- | src/modules/m_randquote.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index b254fb541..7354420a9 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -36,7 +36,7 @@ std::string suffix = ""; class cmd_randquote : public command_t { public: - cmd_randquote (InspIRCd* Instance) : command_t(Instance,"RANDQUOTE", 0, 0) + cmd_randquote (InspIRCd* Instance) : command_t(Instance,"RANDQUOTE", 0, 0) { this->source = "m_randquote.so"; } @@ -66,13 +66,13 @@ class cmd_randquote : public command_t class RandquoteException : public ModuleException { private: - std::string err; + const std::string err; public: - RandquoteException(std::string message) : err(message) { } + RandquoteException(const std::string &message) : err(message) { } virtual const char* GetReason() { - return (char*)err.c_str(); + return err.c_str(); } }; |