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
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
* Proto::IRC::umodes renamed to Proto::IRC::botinfo{svr}{modes}.
|
||||||
* Fixed a bug where incoming PART's from ourselves were not parsed.
|
* Fixed a bug where incoming PART's from ourselves were not parsed.
|
||||||
* Our usermodes are now tracked in Proto::IRC::umodes.
|
* Our usermodes are now tracked in Proto::IRC::umodes.
|
||||||
* Added events on_cmode and on_umode.
|
* Added events on_cmode and on_umode.
|
||||||
|
|||||||
+2
-2
@@ -223,10 +223,10 @@ hook_add('on_umode', 'core.irc.state.umode', sub {
|
|||||||
else {
|
else {
|
||||||
# Adjust our modes.
|
# Adjust our modes.
|
||||||
if ($op) {
|
if ($op) {
|
||||||
$Proto::IRC::umodes{$svr} .= $_;
|
$Proto::IRC::botinfo{$svr}{modes} .= $_;
|
||||||
}
|
}
|
||||||
else {
|
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.
|
# Variables for various functions.
|
||||||
our (%got_001, %botinfo, %botchans, %csprefix, %chanusers, %chanmodes, %cap, %umodes);
|
our (%got_001, %botinfo, %botchans, %csprefix, %chanusers, %chanmodes, %cap);
|
||||||
|
|
||||||
# Events.
|
# Events.
|
||||||
API::Std::event_add('on_capack');
|
API::Std::event_add('on_capack');
|
||||||
|
|||||||
Reference in new issue
Block a user