Support private messages

svn path=/trunk/; revision=13610
This commit is contained in:
Casper Hornstrup 2005-02-16 22:38:49 +00:00
parent bdce06f005
commit d57dd016c4
6 changed files with 147 additions and 26 deletions

View file

@ -128,7 +128,10 @@ namespace TechBot.IRCLibrary
/// <param name="text">Text to send to the channel.</param>
public void Talk(string text)
{
owner.SendMessage(new IrcMessage(IRC.PRIVMSG, String.Format("#{0} :{1}", name, text)));
owner.SendMessage(new IrcMessage(IRC.PRIVMSG,
String.Format("#{0} :{1}",
name,
text)));
}
}
}