Add support for kicking a user.
FossilOrigin-Name: 4e0ae8ca4e99ea1eaefd15503ca0d2402814a1a10d4ad3267b0b9e2442ed2aa2
This commit is contained in:
parent
842476ea96
commit
50a00bbe98
2 changed files with 13 additions and 2 deletions
|
@ -150,6 +150,14 @@
|
|||
[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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue