Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update global cache instead of a local copy

Rather than waste the cache everytime the configuration is read, update the
global copy so that other states can use it
  • Loading branch information...
commit ee0bb4ddef3617156bd04ace7297e6c4bb80c566 1 parent 6bb77f4
@an0maly an0maly authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  radicalweed.pl
View
2  radicalweed.pl
@@ -46,7 +46,7 @@
$channel =~ s/^#//;
# give them op if they are in the (reread) config
- my %config = read_config();
+ %config = read_config();
if( exists $config{server}{$server_addr}{channel}{$channel}{ops}{$nick} ) {
print "$server_addr: Gave op to $nick in #$channel.\n";
$irc->yield( mode => "#$channel" => '+o' => $nick );
Please sign in to comment.
Something went wrong with that request. Please try again.