Proto::IRC::umodes renamed to Proto::IRC::botinfo{svr}{modes}.
This commit is contained in:
1 parent
9b0e692a8f
commit
e61fdee14c
3 files changed
+4
-3
No files matched your search
+2
-2
@@ -223,10 +223,10 @@ hook_add('on_umode', 'core.irc.state.umode', sub {
|
||||
else {
|
||||
# Adjust our modes.
|
||||
if ($op) {
|
||||
$Proto::IRC::umodes{$svr} .= $_;
|
||||
$Proto::IRC::botinfo{$svr}{modes} .= $_;
|
||||
}
|
||||
else {
|
||||
$Proto::IRC::umodes{$svr} =~ s/($_)//xsm;
|
||||
$Proto::IRC::botinfo{$svr}{modes} =~ s/($_)//xsm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user