diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-04 16:23:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-04 16:23:40 +0000 |
commit | 6dadb437999760fc10757cf4b9faba4702b1c011 (patch) | |
tree | ee778b2e052c21193cab19dfa7687561675f818a /include | |
parent | 5714b1868e06417990fad07ce669b12703324c46 (diff) |
Add <auditorium showops> which determines if auditorium works like ircnet +a (anonymous channels) or like unrealircd +u.
The old behaviour is similar to anonymous channels, only showing the current user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6875 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 4 | ||||
-rw-r--r-- | include/modules.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h index 305ff9974..0e60e305f 100644 --- a/include/channels.h +++ b/include/channels.h @@ -436,8 +436,10 @@ class chanrec : public Extensible /** Spool the NAMES list for this channel to the given user * @param user The user to spool the NAMES list to + * @param ulist The user list to send, NULL to use the + * channel's default names list of everyone */ - void UserList(userrec *user); + void UserList(userrec *user, CUList* ulist = NULL); /** Get the number of invisible users on this channel * @return Number of invisible users diff --git a/include/modules.h b/include/modules.h index 51eb5a19b..78bb103fa 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1338,7 +1338,7 @@ class Module : public Extensible * and if you do you must return 1. If you do not handle the names list, * return 0. */ - virtual int OnUserList(userrec* user, chanrec* Ptr); + virtual int OnUserList(userrec* user, chanrec* Ptr, CUList* &userlist); /** Called whenever a line of WHOIS output is sent to a user. * You may change the numeric and the text of the output by changing |