Skip to content

Commit

Permalink
server: add global KOD feature
Browse files Browse the repository at this point in the history
  • Loading branch information
grawity committed Feb 26, 2017
1 parent b8459d6 commit 0630ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.php
Expand Up @@ -28,7 +28,7 @@ function get_host_pwent($host) {

function get_host_kodmsg($host) {
Config::parse(__DIR__."/accounts.conf");
return Config::get("auth.kod.$host");
return Config::get("auth.kod.$host", Config::get("auth.kod.all"));
}

function check_authorization($host) {
Expand Down

0 comments on commit 0630ee9

Please sign in to comment.