diff --git a/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java b/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java index a1845c64b..a6e26aeae 100644 --- a/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java +++ b/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java @@ -507,15 +507,30 @@ public void banParticipant(ChatRoomIrcImpl chatroom, ChatRoomMember member, // TODO Implement this. } + /** + * Kick channel member. + * + * @param chatroom channel to kick from + * @param member member to kick + * @param reason kick message to deliver + */ public void kickParticipant(ChatRoomIrcImpl chatroom, ChatRoomMember member, String reason) { - this.irc.kick(chatroom.getIdentifier(), member.getContactAddress()); + this.irc.kick(chatroom.getIdentifier(), member.getContactAddress(), + reason); } + /** + * Issue invite command to IRC server. + * + * @param memberId member to invite + * @param chatroom channel to invite to + */ public void invite(String memberId, ChatRoomIrcImpl chatroom) { - // TODO Implement this. + this.irc.rawMessage("INVITE " + memberId + " " + + chatroom.getIdentifier()); } /**