]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Change the OnNamesListItem() hook to return ModResult
[user/henk/code/inspircd.git] / include / channels.h
index 628f34f9f995a46bb6dee2b81092f77cbf4c9957..736ca2e98f602e36370712900e9f52970eee621b 100644 (file)
@@ -289,8 +289,9 @@ class CoreExport Channel : public Extensible, public InviteBase<Channel>
 
        /** Spool the NAMES list for this channel to the given user
         * @param user The user to spool the NAMES list to
+        * @param isinside If true, the user is inside the channel, if not then false
         */
-       void UserList(User *user);
+       void UserList(User* user, bool isinside = true);
 
        /** Get the value of a users prefix on this channel.
         * @param user The user to look up