Update chanusers on JOIN.
This commit is contained in:
1 parent
e061a2ca8c
commit
fd87d75692
2 files changed
+3
-1
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
||||
|
||||
3.0 Indev
|
||||
==================================================================
|
||||
* Update chanusers on JOIN.
|
||||
* Properly parse NICK and update chanusers.
|
||||
* Added --enable-ssl to ./install for the future SSL support.
|
||||
* Added chanstatus-based permissions. This works via
|
||||
|
||||
+2
-1
@@ -318,7 +318,8 @@ sub cjoin
|
||||
API::Std::event_run("on_ucjoin", ($svr, substr($ex[2], 1)));
|
||||
}
|
||||
else {
|
||||
# It isn't. Trigger on_rcjoin.
|
||||
# It isn't. Update chanusers and trigger on_rcjoin.
|
||||
$chanusers{$svr}{substr($ex[2], 1)}{$src{nick}} = 1;
|
||||
API::Std::event_run("on_rcjoin", ($svr, %src, substr($ex[2], 1)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user