Fix cc_cmd

This commit is contained in:
TotallyNotElite 2018-10-14 17:25:14 +02:00
parent 9f68cd19b0
commit 88bc7c5eb2
2 changed files with 3 additions and 3 deletions

2
external/chirc vendored

@ -1 +1 @@
Subproject commit 6c48836a6078dcac02c002e51fe36d3f500b348f
Subproject commit 3d394bf5ba6246e5e25b7dbc2918ea4f7eaae371

View File

@ -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);
});