summaryrefslogtreecommitdiffstats
path: root/modules/event.pl
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-01-26 08:26:14 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-01-26 08:26:14 +0000
commitd07473ba85ec8ab030162e68244575f2c87e0389 (patch)
tree8c142752204c09a79310f5ce0a526e879c0690f6 /modules/event.pl
parentba0006ae95cf173b49aff9c92f27ebbc61b62c5b (diff)
Delete everything having to do with chanops priviledges, no one has ever used it
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;