Split user list from Channel into ChannelUserList
[clinton/bobotpp.git] / source / UserListItem.H
index 27f0662..f8b1e2c 100644 (file)
@@ -14,7 +14,8 @@
 
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+// 02110-1301, USA.
 
 // An UserListItem object is the object that is stored in the UserList.
 
 
 #include "Mask.H"
 
-class User;
-class Utils;
-class UserList;
 class Commands;
+class User;
 class UserCommands;
+class UserList;
 
 class UserListItem {
   // Mask on the user
@@ -70,10 +70,9 @@ public:
   bool isStillValid()
     { return expirationDate == -1 || std::time(NULL) <= expirationDate; }
 
-  friend class User;
-  friend class Utils;
   friend class Parser;
-  friend class Channel;
+  friend class ChannelUserList;
+  friend class User;
   friend class UserList;
   friend class Commands;
   friend class UserCommands;