function downloadActiveIps()
 {
     $ipList = "SELECT ip FROM gban_ip WHERE active = 1";
     $this->db->sql_query($ipList);
     $bannedIpArray = $this->db->get_array();
     $bannedIps = array();
     for ($i = 0; $i < count($bannedIpArray); $i++) {
         $bannedIp = new Ip();
         // Remove new line characters from steam id
         $bannedIp->setIp($bannedIpArray[$i]['ip']);
         array_push($bannedIps, $bannedIp);
         // Add the banned user object to the array
     }
     return $bannedIps;
 }