Different output for !bug command on the other channels. (#winehackers, #samba-technical)
[reactos.git] / irc / TechBot / TechBot.Console / Main.cs
index 323f234..8a29172 100644 (file)
@@ -182,6 +182,32 @@ namespace TechBot.Console
                        }\r
                }\r
 \r
+               private static string WineBugUrl\r
+               {\r
+                       get\r
+                       {\r
+                               string optionName = "WineBugUrl";\r
+                               string s = ConfigurationSettings.AppSettings[optionName];\r
+                               VerifyRequiredOption(optionName,\r
+                                                    s);\r
+                               return s;\r
+                       }\r
+               }\r
+\r
+\r
+               private static string SambaBugUrl\r
+               {\r
+                       get\r
+                       {\r
+                               string optionName = "SambaBugUrl";\r
+                               string s = ConfigurationSettings.AppSettings[optionName];\r
+                               VerifyRequiredOption(optionName,\r
+                                                    s);\r
+                               return s;\r
+                       }\r
+               }\r
+\r
+\r
                private static void RunIrcService()\r
                {\r
                        IrcService ircService = new IrcService(IRCServerHostName,\r
@@ -196,7 +222,9 @@ namespace TechBot.Console
                                                               HresultXml,\r
                                                               WmXml,\r
                                                               SvnCommand,\r
-                                                              BugUrl);\r
+                                                              BugUrl,\r
+                                                              WineBugUrl,\r
+                                                              SambaBugUrl);\r
                        ircService.Run();\r
                }\r
                \r
@@ -217,7 +245,9 @@ namespace TechBot.Console
                                                                    HresultXml,\r
                                                                    WmXml,\r
                                                                    SvnCommand,\r
-                                                                   BugUrl);\r
+                                                                   BugUrl,\r
+                                                                   WineBugUrl,\r
+                                                                   SambaBugUrl);\r
                        service.Run();\r
                        while (true)\r
                        {\r