diff options
author | Adam <Adam@anope.org> | 2013-06-01 21:51:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-06-01 21:56:52 -0400 |
commit | 9956da18e3186591b5347e63081756390f4f35d5 (patch) | |
tree | 61992e9d8b370cec2785db1ea281175359088cc3 /include/channels.h | |
parent | b56e71ab14b020a3a01f1fbd183382083156aaf4 (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 'include/channels.h')
-rw-r--r-- | include/channels.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h index 15b66e928..bdc273415 100644 --- a/include/channels.h +++ b/include/channels.h @@ -102,9 +102,10 @@ class CoreExport Channel : public Base, public Extensible /** Join a user internally to the channel * @param u The user + * @param status The status to give the user, if any * @return The UserContainer for the user */ - ChanUserContainer* JoinUser(User *u); + ChanUserContainer* JoinUser(User *u, const ChannelStatus *status); /** Remove a user internally from the channel * @param u The user |