mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 17:02:21 -05:00
Implemented IRCConnection.onOp()
This commit is contained in:
parent
de26ddb967
commit
8432a6ad4d
@ -201,9 +201,12 @@ public class IRCConnection extends PircBot
|
|||||||
* On Op
|
* On Op
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void onOp(String channel, String sourceNick, String sourceLogin, String sourceHostname, String recipient)
|
protected void onOp(String target, String sourceNick, String sourceLogin, String sourceHostname, String recipient)
|
||||||
{
|
{
|
||||||
debug("Op", channel + " " + recipient + "(" + sourceNick + ")");
|
debug("Op", target + " " + recipient + "(" + sourceNick + ")");
|
||||||
|
|
||||||
|
server.getChannel(target).addMessage(sourceNick + " oped " + recipient);
|
||||||
|
service.sendBroadcast(new Intent(Broadcast.CHANNEL_MESSAGE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user