Add ban() to API::IRC. Also, bantype is now a required config value.

This commit is contained in:
Elijah Perrault committed 2011-02-15 22:58:15 -07:00
1 parent f97b55a56c
commit 7dbebdeca9
4 files changed
+40 -3

No files matched your search

+1 -1
View File
@@ -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;