mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-25 08:58:51 -05:00
Implemented IRCConnection.onMessage()
This commit is contained in:
parent
db5ac3a467
commit
a7999d549a
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user