diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_helpop.cpp | 1 | ||||
-rw-r--r-- | src/modules/m_randquote.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index f5fce322b..22bd3619b 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -192,6 +192,7 @@ class HelpopException : public ModuleException std::string err; public: HelpopException(std::string message) : err(message) { } + ~HelpopException() throw() { }; virtual const char* GetReason() { return err.c_str(); } }; diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 7354420a9..35fb02085 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -70,6 +70,8 @@ class RandquoteException : public ModuleException public: RandquoteException(const std::string &message) : err(message) { } + ~RandquoteException() throw () { } + virtual const char* GetReason() { return err.c_str(); |