Skip to content

Commit

Permalink
fix: use correct format specifier in /privacy
Browse files Browse the repository at this point in the history
Thanks to @H3rnand3zzz for noticing.
  • Loading branch information
jubalh committed Jul 27, 2023
1 parent fa80562 commit 3a9de7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ cons_privacy_setting(void)
cons_show("Client name (/account set <account> clientid) : Profanity %s", prof_version);
}
if (account->max_sessions > 0) {
cons_show("Max sessions alarm (/account set <account> session_alarm) : %s", account->max_sessions);
cons_show("Max sessions alarm (/account set <account> session_alarm) : %d", account->max_sessions);
} else {
cons_show("Max sessions alarm (/account set <account> session_alarm) : not set");
}
Expand Down

0 comments on commit 3a9de7d

Please sign in to comment.