Thresher 1.2 Class Documentation | |
Sender.Kill Method
Forcefully disconnect a user form the IRC server. This can only be used
by Operators.
[Visual Basic]Public Sub Kill( _
ByVal
nick As
String, _
ByVal
reason As
String _
)
Parameters
- nick
- User to kill
- reason
- The reason for disconnecting the user.
Remarks
Possible Errors
- ERR_NOPRIVILEGES
- ERR_NEEDMOREPARAMS
- ERR_NOSUCHNICK
- ERR_CANTKILLSERVER
Exceptions
Exception Type | Condition |
---|
ArgumentException | If the nick is not valid or the reason is null. |
See Also
Sender Class | Sharkbite.Irc Namespace | OnKill