We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99633ae commit b40e3eeCopy full SHA for b40e3ee
auth.cpp
@@ -250,7 +250,7 @@ bool KeyAuth::api::chatsend(std::string message, std::string channel)
250
return json[("success")];
251
}
252
253
-void KeyAuth::api::changeusername(std::string newusername)
+void KeyAuth::api::changeUsername(std::string newusername)
254
{
255
checkInit();
256
@@ -1143,7 +1143,7 @@ std::string KeyAuth::api::fetchonline()
1143
1144
std::string onlineusers;
1145
1146
- int y = atoi(api::data.numOnlineUsers.c_str());
+ int y = atoi(api::app_data.numOnlineUsers.c_str());
1147
for (int i = 0; i < y; i++)
1148
1149
onlineusers.append(json[XorStr("users")][i][XorStr("credential")]); onlineusers.append(XorStr("\n"));
0 commit comments