diff options
Diffstat (limited to 'src/modules/m_codepage.cpp')
| -rw-r--r-- | src/modules/m_codepage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 5c187126a..9f45b91d0 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -389,12 +389,12 @@ public: break; case Codepage::AllowCharacterResult::NOT_VALID: - throw ModuleException(this, INSP_FORMAT("<cpchars> tag contains a forbidden character: {} at {}", - GetPrintable(pos), tag->source.str())); + throw ModuleException(this, "<cpchars> tag contains a forbidden character: {} at {}", + GetPrintable(pos), tag->source.str()); case Codepage::AllowCharacterResult::NOT_VALID_AT_FRONT: - throw ModuleException(this, INSP_FORMAT("<cpchars> tag contains a forbidden front character: {} at {}", - GetPrintable(pos), tag->source.str())); + throw ModuleException(this, "<cpchars> tag contains a forbidden front character: {} at {}", + GetPrintable(pos), tag->source.str()); } } } |
