summaryrefslogtreecommitdiffstats
path: root/modules/event.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/event.pl')
-rw-r--r--modules/event.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/event.pl b/modules/event.pl
index ab4fb1a..95df7f4 100644
--- a/modules/event.pl
+++ b/modules/event.pl
@@ -335,12 +335,6 @@ sub on_mode
my @ex = @{$line};
if ( $ex[0] eq '+o' ) {
$::sc{$chan}{users}{lc $ex[1]}{op}=1;
- if (lc $ex[1] eq lc $::settings->{nick}) {
- $::oq->doQueue($conn, $chan);
- if ( $::channels->{channel}->{$chan}->{op} eq "when" ) {
- $conn->schedule(600, sub {$conn->mode($chan, "-o $::settings->{nick}");});
- }
- }
}
elsif ( $ex[0] eq '-o' ) {
$::sc{$chan}{users}{lc $ex[1]}{op}=0;