Fix missing ban reason dropped during merge

This commit is contained in:
ppeb
2025-03-02 23:45:45 -06:00
parent df1c6a83fc
commit ea56689f08
4 changed files with 9 additions and 6 deletions

View File

@@ -98,7 +98,7 @@ func handleBanImpl(w http.ResponseWriter, r *http.Request) (*database.User, bool
ErrorCode: 22002,
MessageRMC: map[byte]string{
gpcm.LangEnglish: "" +
"You have been banned from Retro WFC\n" +
"You have been banned from WiiLink WFC\n" +
"Reason: " + req.Reason + "\n" +
"Error Code: %[1]d\n" +
"Support Info: NG%08[2]x",

View File

@@ -76,7 +76,7 @@ func handleKickImpl(w http.ResponseWriter, r *http.Request) (*database.User, boo
MessageRMC: map[byte]string{
gpcm.LangEnglish: "" +
"You have been kicked from\n" +
"Retro WFC by a moderator.\n" +
"WiiLink WFC by a moderator.\n" +
"Reason: " + req.Reason + "\n" +
"Error Code: %[1]d",
},