diff options
Diffstat (limited to 'src/modules/m_customprefix.cpp')
-rw-r--r-- | src/modules/m_customprefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index f0b6d88e3..107c6d684 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -69,7 +69,7 @@ class ModuleCustomPrefix : public Module } catch (ModuleException& e) { - throw ModuleException(e.err + " (while creating mode from " + tag->getTagLocation() + ")"); + throw ModuleException(e.GetReason() + " (while creating mode from " + tag->getTagLocation() + ")"); } } } |