This commit is contained in:
parent
5ac244e3d2
commit
3a0676d7c7
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue