steamid to irc

This commit is contained in:
TotallyNotElite 2019-03-17 13:41:02 +01:00
parent 020e395276
commit 8366c9f57f
2 changed files with 2 additions and 2 deletions

2
external/chirc vendored

@ -1 +1 @@
Subproject commit 0a95f463d295362153709d0ec1e69292aaeff470
Subproject commit b0d733994fd582e0056c1adf2147e9bb2b2e0cab

View File

@ -256,7 +256,7 @@ void updateData()
std::string nick("Anon");
if (!*anon)
nick = g_ISteamFriends->GetPersonaName();
irc.UpdateData(nick, nick, *channel, *commandandcontrol_channel, *commandandcontrol_password, *address, *port, *hacks::shared::catbot::catbotmode);
irc.UpdateData(nick, nick, *channel, *commandandcontrol_channel, *commandandcontrol_password, *address, *port, *hacks::shared::catbot::catbotmode, g_ISteamUser->GetSteamID().GetAccountID());
}
bool sendmsg(std::string &msg, bool loopback)