mirror of
https://github.com/anope/anope.git
synced 2026-06-28 05:36:38 +02:00
Properly store our clients internal channel status's and burst them if needed.
Also made Flag::HasFlag use test() instead of operator[] to catch errors, and fixed an out of bounds access to a Flags bitset causing crashes on some systems.
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ void BotInfo::Join(Channel *c, bool update_ts)
|
||||
}
|
||||
if (!update_ts)
|
||||
ircdproto->SendJoin(this, c->name, c->creation_time);
|
||||
else
|
||||
else if (Me && Me->IsSynced())
|
||||
{
|
||||
ircdproto->SendJoin(this, cc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user