1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 08:52:18 -05:00

Implemented IRCConnection.onOp()

This commit is contained in:
Sebastian Kaspari 2010-03-02 19:52:49 +01:00
parent de26ddb967
commit 8432a6ad4d

View File

@ -201,9 +201,12 @@ public class IRCConnection extends PircBot
* On Op
*/
@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));
}
/**