Bundle server with src in the on_rcjoin event.
This commit is contained in:
1 parent
e154175571
commit
a831e0c4ab
2 files changed
+3
-1
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
||||
|
||||
3.0 Indev
|
||||
===============================================================================
|
||||
* Bundle server with \%src in the on_rcjoin event.
|
||||
* logchan is now joined automatically.
|
||||
* Changed on_notice arguments to: \%src, $target, @msg
|
||||
* Clean up shutdown.
|
||||
|
||||
+2
-1
@@ -309,7 +309,8 @@ sub cjoin
|
||||
else {
|
||||
# It isn't. Update chanusers and trigger on_rcjoin.
|
||||
$chanusers{$svr}{lc(substr $ex[2], 1)}{$src{nick}} = 1;
|
||||
API::Std::event_run("on_rcjoin", ($svr, \%src, $chan));
|
||||
$src{svr} = $svr;
|
||||
API::Std::event_run("on_rcjoin", (\%src, $chan));
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in new issue
Block a user