aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sethost.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-22 14:29:12 +0000
committerGravatar Sadie Powell2025-03-22 14:37:15 +0000
commit30d0f2827215f635f4cdefed8300c1c085ae953c (patch)
tree7fc4837accfb8d7bed95449eeb816e84bfa87ea6 /modules/sethost.cpp
parentAllow reloading the geolocation database with a module rehash. (diff)
parentAllow using the long duration format in the xline message. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/sethost.cpp')
-rw-r--r--modules/sethost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sethost.cpp b/modules/sethost.cpp
index 4682a04f9..b9a22fb49 100644
--- a/modules/sethost.cpp
+++ b/modules/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, FMT::format("<hostname:charmap> can not contain character 0x{:02X} ({})", chr, chr));
+ throw ModuleException(this, "<hostname:charmap> can not contain character 0x{:02X} ({})", chr, chr);
newhostmap.set(static_cast<unsigned char>(chr));
}
std::swap(newhostmap, cmd.hostmap);