@@ -147,10 +147,18 @@ - (void)sendNotice: (OFString*)notice toChannel: (IRCChannel*)channel { [self sendLineWithFormat: @"NOTICE %@ :%@", channel.name, notice]; } + +- (void)kickUser: (IRCUser*)user + fromChannel: (IRCChannel*)channel + withReason: (OFString*)reason +{ + [self sendLineWithFormat: @"KICK %@ %@ :%@", + channel.name, user.nickname, reason]; +} - (void)handleConnection { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFString *line;