- Moved commands outside TechBot.Library to TechBot.Commands.Common and TechBot.Comma...
[reactos.git] / irc / TechBot / TechBot.Library / Commands / Base / XmlLookupCommand.cs
index 547badb..e3a6aa0 100644 (file)
@@ -6,13 +6,12 @@ namespace TechBot.Library
 {
     public abstract class XmlLookupCommand : XmlCommand
     {
-        private string m_Text = null;
+        protected string m_Text = null;
 
-        [CommandParameter("text", "The value to check")]
-        public string Text
+        public virtual string Text
         {
-            get { return m_Text; }
-            set { m_Text = value; }
+            get { return Parameters; }
+            set { Parameters = value; }
         }
     }
 }