fix params to cb

This commit is contained in:
Chris Marsh 2017-07-18 09:46:49 -07:00
parent 52290c488c
commit 6168a36201

View file

@ -28,8 +28,8 @@ static void handleDiscordReady() {
printf("\nDiscord: ready\n");
}
static void handleDiscordDisconnected() {
printf("\nDiscord: disconnected\n");
static void handleDiscordDisconnected(int errcode, const char* message) {
printf("\nDiscord: disconnected (%d: %s)\n", errcode, message);
}
static void handleDiscordWantsPresence() {