diff options
| author | 2025-03-22 14:29:12 +0000 | |
|---|---|---|
| committer | 2025-03-22 14:37:15 +0000 | |
| commit | 30d0f2827215f635f4cdefed8300c1c085ae953c (patch) | |
| tree | 7fc4837accfb8d7bed95449eeb816e84bfa87ea6 /modules/codepage.cpp | |
| parent | Allow reloading the geolocation database with a module rehash. (diff) | |
| parent | Allow using the long duration format in the xline message. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/codepage.cpp')
| -rw-r--r-- | modules/codepage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/codepage.cpp b/modules/codepage.cpp index c51557aa8..f39aba5be 100644 --- a/modules/codepage.cpp +++ b/modules/codepage.cpp @@ -387,12 +387,12 @@ public: break; case Codepage::AllowCharacterResult::NOT_VALID: - throw ModuleException(this, FMT::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, FMT::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()); } } } |
