summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 20:38:26 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 20:38:26 +0000
commitecb76110fda5f1b126ae718ae44df2f9312d46c4 (patch)
treeb3215028ba22065efff2ca76d88553d9812e9cce /include/users.h
parente7f08977f2686ceebb7a27ab56dd686a5b976e77 (diff)
A few more typedefs defined and put into use.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3866 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index a5cba44b6..81ab1c844 100644
--- a/include/users.h
+++ b/include/users.h
@@ -109,6 +109,10 @@ typedef std::vector<Invited> InvitedList;
*/
typedef std::vector<ConnectClass> ClassVector;
+/** Typedef for the list of user-channel records for a user
+ */
+typedef std::vector<ucrec*> UserChanList;
+
/** Holds all information about a user
* This class stores all information about a user connected to the irc server. Everything about a
* connection is stored here primarily, from the user's socket ID (file descriptor) through to the
@@ -160,7 +164,7 @@ class userrec : public connection
*/
char modebits;
- std::vector<ucrec*> chans;
+ UserChanList chans;
/** The server the user is connected to.
*/