diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h index e3b38a2db..37f0eb431 100644 --- a/include/channels.h +++ b/include/channels.h @@ -166,7 +166,7 @@ class CoreExport Channel : public Extensible, public InviteBase<Channel> * * @return This function returns pointer to a map of User pointers (CUList*). */ - const UserMembList* GetUsers() const { return &userlist; } + const UserMembList& GetUsers() const { return userlist; } /** Returns true if the user given is on the given channel. * @param user The user to look for |