aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar steering72532026-07-12 11:12:00 -0600
committerGravatar steering72532026-08-02 00:11:26 -0600
commitbe8b2e6d85aaefeb3065fc50ae6720e02118b9da (patch)
tree4b37cbc730d5225a67f3e74a618b36b1adc969c7 /src
parentm_sslinfo - fix /WEBIRC without secure (diff)
/LUSERS - respond with the same args as every other ircd.
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_lusers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_lusers.cpp b/src/coremods/core_lusers.cpp
index 79f441bf7..5217d630e 100644
--- a/src/coremods/core_lusers.cpp
+++ b/src/coremods/core_lusers.cpp
@@ -130,8 +130,8 @@ CmdResult CommandLusers::Handle(User* user, const Params& parameters)
user->WriteNumeric(RPL_LUSERCHANNELS, ServerInstance->Channels.GetChans().size(), "channels formed");
user->WriteNumeric(RPL_LUSERME, INSP_FORMAT("I have {} clients and {} servers", ServerInstance->Users.LocalUserCount(), counters.local_servers));
- user->WriteNumeric(RPL_LOCALUSERS, INSP_FORMAT("Current local users: {} Max: {}", ServerInstance->Users.LocalUserCount(), counters.max_local));
- user->WriteNumeric(RPL_GLOBALUSERS, INSP_FORMAT("Current global users: {} Max: {}", ServerInstance->Users.GlobalUserCount(), counters.max_global));
+ user->WriteNumeric(RPL_LOCALUSERS, ServerInstance->Users.LocalUserCount(), counters.max_local, INSP_FORMAT("Current local users: {} Max: {}", ServerInstance->Users.LocalUserCount(), counters.max_local));
+ user->WriteNumeric(RPL_GLOBALUSERS, ServerInstance->Users.GlobalUserCount(), counters.max_global, INSP_FORMAT("Current global users: {} Max: {}", ServerInstance->Users.GlobalUserCount(), counters.max_global));
user->WriteNumeric(RPL_STATSCONN, INSP_FORMAT("Highest connection count: {} ({} clients) ({} connections received)", counters.max_conns, counters.max_local, ServerInstance->Stats.Connects));
return CmdResult::SUCCESS;
}