From e955beb8f5781dc6b4c218e602ea952f9db88c1b Mon Sep 17 00:00:00 2001 From: LightCat Date: Mon, 15 Oct 2018 11:37:32 +0200 Subject: [PATCH] forgot this woops --- src/irc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/irc.cpp b/src/irc.cpp index 25771de8..989e53df 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -276,7 +276,11 @@ int GetMaxParty() if (peer.second.can_party) partyable++; } + return partyable; } +CatCommand debug_maxparty("debug_partysize", "Debug party size", [](){ + logging::Info("%d", GetMaxParty()); +}); static HookedFunction paint(HookedFunctions_types::HF_Paint, "IRC", 16, []() { if (!restarting) {