mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-29 05:26:19 +01:00
Fire IRCMessageEvent for @msg commands
This commit is contained in:
parent
d07f6be1e2
commit
47045d974e
@ -3118,7 +3118,7 @@ public final class PurpleBot {
|
||||
.targetChatResponseTokenizer(user.getNick(), pName, msg, responseTemplate));
|
||||
}
|
||||
plugin.logDebug("Tokenized message: " + t);
|
||||
player.sendMessage(t);
|
||||
plugin.broadcastToPlayer(t, channelName, "irc.message.chat", player);
|
||||
ircPrivateMsgMap.put(pName, user.getNick());
|
||||
if (logPrivateChat) {
|
||||
plugin.logInfo("Private message from IRC: " + user.getNick() + " -> " + pName + ": " + msg);
|
||||
|
Loading…
Reference in New Issue
Block a user