Permalink
Browse files

Verbose console logging upon op state changes

  • Loading branch information...
1 parent 9410a9f commit 55f7f0eb763e7365e5de4a5648f70dfa6a8c2285 @an0maly an0maly committed Apr 8, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 radicalweed.pl
View
@@ -90,10 +90,12 @@
if( $what eq '+o' ) {
# I just received op privileges
$opstate{$server_addr}{$channel}{state} = 1;
+ print "$server_addr: Received operator privileges in #$channel\n";
}
elsif( $what eq '-o' ) {
$opstate{$server_addr}{$channel}{state} = 0;
+ print "$server_addr: Lost operator privileges in #$channel\n";
}

0 comments on commit 55f7f0e

Please sign in to comment.