Skip to content

Commit

Permalink
Fix sender not receiving helpop message (#5769)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evidentsinger14 authored Apr 28, 2024
1 parent c60ed56 commit 6a2527c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ private void sendMessage(final IMessageRecipient from, final String[] args) thro
final HelpopMessageSendEvent sendEvent = new HelpopMessageSendEvent(from, recipients, message);
ess.getServer().getPluginManager().callEvent(sendEvent);

from.sendTl("helpOp", from.getDisplayName(), message);

for (IUser recipient : sendEvent.getRecipients()) {
recipient.sendTl("helpOp", from.getDisplayName(), message);
}
Expand Down

0 comments on commit 6a2527c

Please sign in to comment.