diff options
| author | 2009-01-21 20:47:24 +0000 | |
|---|---|---|
| committer | 2009-01-21 20:47:24 +0000 | |
| commit | 1575db9f523316cceb1af576d054c93735401923 (patch) | |
| tree | 37c4aa3f6779c65526efca61fc76992795447c8d | |
| parent | aa3a61f1d07be3c892a4b9574f980065bc8a72ea (diff) | |
bot will now deop itself via mode instead of chanserv, and no longer prints "Deop timer called\!" when it does so
| -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}");}); } } } |
