From e2b1ad588d34c3d1d0e4e330acef7ca177b13daf Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 19:56:08 +0000 Subject: Move more stuff into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands.h | 1 - include/message.h | 1 - include/users.h | 4 ++++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/commands.h b/include/commands.h index 0a2e9fbd7..81e28fbaf 100644 --- a/include/commands.h +++ b/include/commands.h @@ -35,7 +35,6 @@ bool host_matches_everyone(const std::string &mask, userrec* user); bool ip_matches_everyone(const std::string &ip, userrec* user); bool nick_matches_everyone(const std::string &nick, userrec* user); int operstrcmp(const char* data,const char* input); -void split_chlist(userrec* user, userrec* dest, const std::string &cl); /* XXX Serious WTFness XXX * diff --git a/include/message.h b/include/message.h index f53f3d9d2..b1af53bbc 100644 --- a/include/message.h +++ b/include/message.h @@ -32,7 +32,6 @@ int isident(const char* n); int isnick(const char* n); const char* cmode(userrec *user, chanrec *chan); int cstatus(userrec *user, chanrec *chan); -std::string chlist(userrec *user, userrec* source); int cflags(userrec *user, chanrec *chan); #endif diff --git a/include/users.h b/include/users.h index d0ed021a6..1d8e918aa 100644 --- a/include/users.h +++ b/include/users.h @@ -646,6 +646,10 @@ class userrec : public connection void NoticeAll(char* text, ...); + std::string ChannelList(userrec* source); + + void SplitChanList(userrec* dest, const std::string &cl); + /** Default destructor */ virtual ~userrec(); -- cgit v1.2.3