Identify TechBot to allow private messages

svn path=/trunk/; revision=20578
This commit is contained in:
Casper Hornstrup 2006-01-05 15:29:08 +00:00
parent 6f136848b2
commit f881f51fdf
7 changed files with 45 additions and 6 deletions

View file

@ -74,6 +74,18 @@ namespace TechBot.Console
}
}
private static string IRCBotPassword
{
get
{
string optionName = "IRCBotPassword";
string s = ConfigurationSettings.AppSettings[optionName];
VerifyRequiredOption(optionName,
s);
return s;
}
}
private static string ChmPath
{
get
@ -176,6 +188,7 @@ namespace TechBot.Console
IRCServerHostPort,
IRCChannelNames,
IRCBotName,
IRCBotPassword,
ChmPath,
MainChm,
NtstatusXml,