Add ban() to API::IRC. Also, bantype is now a required config value.
This commit is contained in:
1 parent
f97b55a56c
commit
7dbebdeca9
4 files changed
+40
-3
No files matched your search
@@ -143,7 +143,7 @@ if (conf_get('die')) {
|
||||
}
|
||||
|
||||
# Check for required configuration values.
|
||||
my @REQCVALS = qw(locale expire_logs server fantasy_pf ratelimit database:format);
|
||||
my @REQCVALS = qw(locale expire_logs server fantasy_pf ratelimit database:format bantype);
|
||||
foreach my $REQCVAL (@REQCVALS) {
|
||||
if (!conf_get($REQCVAL)) {
|
||||
my $err = 2;
|
||||
|
||||
Reference in new issue
Block a user