fixed Bot database handling
[PHP-P10.git] / BotLoader / Bot.class.php
index b617193cfac36a748d9b2b4aee7a88e597c0d5ac..303163d40d8832b5add7fc5344dc0d078a022468 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 class Bot {
+       private $db_section = NULL;
        
        public function load($uplink, $oldDatas = null) {
        
@@ -44,7 +45,14 @@ class Bot {
        public function readDB($value) {
        
        }
-
+       
+       public function getDBSection() {
+               return $this->db_section;
+       }
+       
+       public function setDBSection($section) {
+               $this->db_section = $section;
+       }
 }
 
 ?>
\ No newline at end of file