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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ our %RAWC = (
|
||||
);
|
||||
|
||||
# Variables for various functions.
|
||||
our (%got_001, %botinfo, %botchans, %csprefix, %chanusers, %chanmodes, %cap, %umodes);
|
||||
our (%got_001, %botinfo, %botchans, %csprefix, %chanusers, %chanmodes, %cap);
|
||||
|
||||
# Events.
|
||||
API::Std::event_add('on_capack');
|
||||
|
||||
Reference in new issue
Block a user