Browse Source

ensure invite blocklist is up to date

Byron Jones 6 years ago
parent
commit
a6ad936ffb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logbot-irc

+ 1 - 0
logbot-irc

@@ -124,6 +124,7 @@ sub irc_connect {
 sub block_invite {
     my ($source, $channel) = @_;
     my $who = source_to_nick($source);
+    $config = reload_config($config);
 
     foreach my $blocked (@{ $config->{blocked} }) {
         if (substr($blocked, 0, 1) eq '#') {