Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "undefined" in perma ban reject message #714

Closed
PC1up opened this issue Nov 26, 2022 · 1 comment
Closed

[BUG] "undefined" in perma ban reject message #714

PC1up opened this issue Nov 26, 2022 · 1 comment

Comments

@PC1up
Copy link
Contributor

PC1up commented Nov 26, 2022

txAdmin/FXServer versions:
txAdmin v5.0.0-beta5 | fxServer 5848

Describe the bug
If a player is permanently banned and tries to join, the ban message reads:

You have been permanently banned from this server.
undefined Ban Date: Nov 26, 2022, 12:33:25 PM
[...]

everything after the ban date reads as it's supposed to be. (-> Screenshot below)

This issue does not occur with temporary bans

To Reproduce
Steps to reproduce the behavior:

  1. Ban someone permanently
  2. Let them try to rejoin
  3. See "undefined" infront of "Ban Date"

Expected behavior
It's probably not supposed to be there. As I can see from the temp ban screen txAdmin might try to display the "Your ban will expire in ..." thing which is not possible in perma bans.

Screenshots
image

Additional context
The same issue occurs with any other language selected, as seen in this screenshot with german selected:
image

@tabarra
Copy link
Owner

tabarra commented Nov 26, 2022

Fixed, thanks.

@tabarra tabarra closed this as completed Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants