This commit is contained in:
Michael Yoo 2013-02-09 20:44:00 +10:30
commit d0057b6595
2 changed files with 1 additions and 6 deletions

View File

@ -2,11 +2,6 @@ language: php
php:
- 5.4
- 5.5
matrix:
allow_failures:
- php: 5.5
before_script:
- sudo pecl install channel://pecl.php.net/pthreads-0.0.42

View File

@ -138,7 +138,7 @@ class BanAPI{
$output .= "Player \"$user\" added to white-list\n";
break;
case "reload":
$this->whitelist = $this->load(FILE_PATH."white-list.txt", CONFIG_LIST);
$this->whitelist = new Config(FILE_PATH."white-list.txt", CONFIG_LIST);
break;
case "list":
$output .= "White-list: ".implode(", ", $this->whitelist->getAll(true))."\n";