diff options
Diffstat (limited to 'src/modules/m_gateway.cpp')
| -rw-r--r-- | src/modules/m_gateway.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp index c223254cc..8631b91a5 100644 --- a/src/modules/m_gateway.cpp +++ b/src/modules/m_gateway.cpp @@ -164,20 +164,20 @@ public: } uint32_t addr = sa.in4.sin_addr.s_addr; - user->WriteNotice(INSP_FORMAT("*** HEXIP: {} encodes to {:02x}{:02x}{:02x}{:02x}.", + user->WriteNotice("*** HEXIP: {} encodes to {:02x}{:02x}{:02x}{:02x}.", sa.addr(), (addr & 0xFF), ((addr >> 8) & 0xFF), ((addr >> 16) & 0xFF), - ((addr >> 24) & 0xFF))); + ((addr >> 24) & 0xFF)); return CmdResult::SUCCESS; } if (ParseIP(parameters[0], sa)) { - user->WriteNotice(INSP_FORMAT("*** HEXIP: {} decodes to {}.", parameters[0], sa.addr())); + user->WriteNotice("*** HEXIP: {} decodes to {}.", parameters[0], sa.addr()); return CmdResult::SUCCESS; } - user->WriteNotice(INSP_FORMAT("*** HEXIP: {} is not a valid raw or hex encoded IPv4 address.", - parameters[0])); + user->WriteNotice("*** HEXIP: {} is not a valid raw or hex encoded IPv4 address.", + parameters[0]); return CmdResult::FAILURE; } |
