1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-12-25 08:58:51 -05:00

Implemented IRCConnection.onMessage()

This commit is contained in:
Sebastian Kaspari 2010-03-02 19:48:12 +01:00
parent db5ac3a467
commit a7999d549a

View File

@ -162,6 +162,9 @@ public class IRCConnection extends PircBot
protected void onMessage(String target, String sender, String login, String hostname, String message) protected void onMessage(String target, String sender, String login, String hostname, String message)
{ {
debug("Message", target + " " + sender + " " + message); debug("Message", target + " " + sender + " " + message);
server.getChannel(target).addMessage("<" + sender + ">" + message);
service.sendBroadcast(new Intent(Broadcast.CHANNEL_MESSAGE));
} }
/** /**