summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-06-01 21:51:00 -0400
committerAdam <Adam@anope.org>2013-06-01 21:56:52 -0400
commit9956da18e3186591b5347e63081756390f4f35d5 (patch)
tree61992e9d8b370cec2785db1ea281175359088cc3 /src/bots.cpp
parentb56e71ab14b020a3a01f1fbd183382083156aaf4 (diff)
Move OnJoinChannel event to trigger after the user has completely joined and document it more about what you should and shouldnt do in it
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index 74cf0d9e4..e2c346837 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -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);
}