diff options
| author | 2024-06-07 14:12:59 +0100 | |
|---|---|---|
| committer | 2024-06-07 14:12:59 +0100 | |
| commit | b918f4906a21d6f37de5c7d503c8da1770df966d (patch) | |
| tree | cb061bf6249cc9a0ce86fcc646a157edd058db76 /src/modules/m_sethost.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Always use fmtlib directly.
Diffstat (limited to 'src/modules/m_sethost.cpp')
| -rw-r--r-- | src/modules/m_sethost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index ad8a8dfee..1cd6343bc 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -83,7 +83,7 @@ public: { // A hostname can not contain NUL, LF, CR, or SPACE. if (chr == 0x00 || chr == 0x0A || chr == 0x0D || chr == 0x20) - throw ModuleException(this, INSP_FORMAT("<hostname:charmap> can not contain character 0x{:02X} ({})", chr, chr)); + throw ModuleException(this, fmt::format("<hostname:charmap> can not contain character 0x{:02X} ({})", chr, chr)); newhostmap.set(static_cast<unsigned char>(chr)); } std::swap(newhostmap, cmd.hostmap); |
