mirror of
https://github.com/anope/anope.git
synced 2026-07-03 00:23:12 +02:00
Move OnJoinChannel event to trigger after the user has completely joined and document it more about what you should and shouldnt do in it
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ void BotInfo::Join(Channel *c, ChannelStatus *status)
|
||||
if (c->FindUser(this) != NULL)
|
||||
return;
|
||||
|
||||
c->JoinUser(this);
|
||||
c->JoinUser(this, status);
|
||||
if (IRCD)
|
||||
IRCD->SendJoin(this, c, status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user