From 88bc7c5eb2d13ac4493571404d768f8bf37be9d1 Mon Sep 17 00:00:00 2001 From: TotallyNotElite <1yourexperiment@protonmail.com> Date: Sun, 14 Oct 2018 17:25:14 +0200 Subject: [PATCH] Fix cc_cmd --- external/chirc | 2 +- src/irc.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/external/chirc b/external/chirc index 6c48836a..3d394bf5 160000 --- a/external/chirc +++ b/external/chirc @@ -1 +1 @@ -Subproject commit 6c48836a6078dcac02c002e51fe36d3f500b348f +Subproject commit 3d394bf5ba6246e5e25b7dbc2918ea4f7eaae371 diff --git a/src/irc.cpp b/src/irc.cpp index e29e1fe6..fb62c186 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -346,7 +346,7 @@ static CatCommand irc_send_cmd("irc_send_cmd", "Send cmd to IRC", }); static CatCommand irc_exec_all("irc_exec_all", "Send command to C&C channel", [](const CCommand &args) { - std::string msg("cc_cmd"); + std::string msg("cc_cmd$cmd"); msg.append(args.ArgS()); irc.privmsg(msg, true); }); @@ -354,7 +354,7 @@ static CatCommand irc_exec_all("irc_exec_all", "Send command to C&C channel", static CatCommand invite_all( "irc_invite_all", "Inivte all people in C&C channel", [](const CCommand &args) { - std::string msg("cc_cmdtf_party_request_join_user "); + std::string msg("cc_cmd$cmdtf_party_request_join_user "); msg.append(std::to_string(g_ISteamUser->GetSteamID().GetAccountID())); irc.privmsg(msg, true); });