- Add support for "!wm <value>" and "!wm <name>" commands.
[reactos.git] / irc / TechBot / TechBot.Library / IrcService.cs
index 374c475..587bd9b 100644 (file)
@@ -16,6 +16,7 @@ namespace TechBot.Library
                private string ntstatusXml;\r
                private string winerrorXml;\r
                private string hresultXml;\r
+               private string wmXml;\r
                private string svnCommand;\r
                private IrcClient client;\r
                private ArrayList channels = new ArrayList(); /* IrcChannel */\r
@@ -31,18 +32,20 @@ namespace TechBot.Library
                                  string ntstatusXml,\r
                                  string winerrorXml,\r
                                  string hresultXml,\r
+                                 string wmXml,\r
                                  string svnCommand)\r
                {\r
                        this.hostname = hostname;\r
                        this.port = port;\r
                        this.channelnames = channelnames;\r
-                   this.botname = botname;\r
-                   this.chmPath = chmPath;\r
-                   this.mainChm = mainChm;\r
-                   this.ntstatusXml = ntstatusXml;\r
-                   this.winerrorXml = winerrorXml;\r
-                   this.hresultXml = hresultXml;\r
-                   this.svnCommand = svnCommand;\r
+                       this.botname = botname;\r
+                       this.chmPath = chmPath;\r
+                       this.mainChm = mainChm;\r
+                       this.ntstatusXml = ntstatusXml;\r
+                       this.winerrorXml = winerrorXml;\r
+                       this.hresultXml = hresultXml;\r
+                       this.wmXml = wmXml;\r
+                       this.svnCommand = svnCommand;\r
                }\r
 \r
                public void Run()\r
@@ -53,6 +56,7 @@ namespace TechBot.Library
                                                     ntstatusXml,\r
                                                     winerrorXml,\r
                                                     hresultXml,\r
+                                                    wmXml,\r
                                                     svnCommand);\r
                        service.Run();\r
 \r