From 94a601fb3b67e72e075af28174094117cd09f5f2 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:50:43 +0000 Subject: Rip out VisData in preparation for replacing it with more flexible hooks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11640 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 14f98f701..5338deb4c 100644 --- a/include/users.h +++ b/include/users.h @@ -218,27 +218,6 @@ typedef UserChanList::iterator UCListIter; */ class User; -/** Visibility data for a user. - * If a user has a non-null instance of this class in their User, - * then it is used to determine if this user is visible to other users - * or not. - */ -class CoreExport VisData -{ - public: - /** Create a visdata - */ - VisData(); - /** Destroy a visdata - */ - virtual ~VisData(); - /** Is this user visible to some other user? - * @param user The other user to compare to - * @return true True if the user is visible to the other user, false if not - */ - virtual bool VisibleTo(User* 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 @@ -300,10 +279,6 @@ class CoreExport User : public EventHandler */ ConnectClass *MyClass; - /** User visibility state, see definition of VisData. - */ - VisData* Visibility; - /** Hostname of connection. * This should be valid as per RFC1035. */ -- cgit v1.2.3