diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-04 14:30:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-04 14:30:08 +0000 |
commit | 3759fe0ba2420bd564abb4b034582ea0866907aa (patch) | |
tree | 23b261f13410ad3fefcd74c3ee06bf21a7bc95fe /include | |
parent | c78863d6037864781670723e66be8f3fb5c68450 (diff) |
Where others charge, we give for free. Have fun and use wisely. With great power comes great responsbility.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6867 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/users.h | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 7655517ea..51eb5a19b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -75,7 +75,7 @@ enum MessageType { * ipv4 servers, so this value will be ten times as * high on ipv6 servers. */ -#define NATIVE_API_VERSION 11020 +#define NATIVE_API_VERSION 11021 #ifdef IPV6 #define API_VERSION (NATIVE_API_VERSION * 10) #else diff --git a/include/users.h b/include/users.h index 0b5bc467f..84bde46b9 100644 --- a/include/users.h +++ b/include/users.h @@ -247,6 +247,16 @@ typedef std::vector<ConnectClass> ClassVector; typedef std::map<chanrec*, char> UserChanList; typedef UserChanList::iterator UCListIter; +class userrec; + +class VisData +{ + public: + VisData(); + virtual ~VisData(); + virtual bool VisibleTo(userrec* user); +}; + /** 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 @@ -308,6 +318,8 @@ class userrec : public connection */ UserResolver* res_reverse; + VisData* Visibility; + /** Stored reverse lookup from res_forward */ std::string stored_host; |