diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/event.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/event.pl b/modules/event.pl index 74f84cd..f808317 100644 --- a/modules/event.pl +++ b/modules/event.pl @@ -324,7 +324,7 @@ sub on_mode if (lc $ex[1] eq lc $::settings->{nick}) { $::oq->doQueue($conn, $chan); if ( $::channels->{channel}->{$chan}->{op} eq "when" ) { - $conn->schedule(600, sub { print "Deop timer called!\n"; $conn->privmsg('ChanServ', "op $chan -". $::settings->{nick})}); + $conn->schedule(600, sub {$conn->mode($chan, "-o $::settings->{nick}");}); } } } |
