Chayapak 2024-10-18 10:33:44 +07:00
parent 5ac244e3d2
commit 3a0676d7c7

View file

@ -112,7 +112,7 @@ public class IRCPlugin extends ListenerAdapter {
if (user == null) return;
final String name = user.getRealName();
final String name = user.getRealName().isBlank() ? user.getNick() : user.getRealName();
final String message = event.getMessage();
if (message.startsWith(commandPrefix)) {