protected OnCtcpRequest ( |
||
user | The User who sent the text | |
chan | The Channel where it was sent (can be null) | |
request | string | The request type (such as VERSION) |
args | string | The text which was sent in addition to the request |
return | void |
protected virtual void OnCtcpRequest(IrcUser user, IrcChannel chan, string request, string args)
{
if (request.ToUpper() == "VERSION" && Version != "")
CommandHandler.CtcpReply(user.Nick, "VERSION", Version);
}