From 01b71ef43f9413c5f0ee2fc3e484ef6e7bdeb1f6 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 9 Apr 2013 18:36:49 +0200 Subject: Move most whois related code from the core into cmd_whois --- include/inspircd.h | 4 ---- include/users.h | 14 -------------- 2 files changed, 18 deletions(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index fa00902a4..df2ad1095 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -796,10 +796,6 @@ class CoreExport InspIRCd */ void SendWhoisLine(User* user, User* dest, int numeric, const char* format, ...) CUSTOM_PRINTF(5, 6); - /** Handle /WHOIS - */ - void DoWhois(User* user, User* dest,unsigned long signon, unsigned long idle, const char* nick); - /** Called to check whether a channel restriction mode applies to a user * @param User that is attempting some action * @param Channel that the action is being performed on diff --git a/include/users.h b/include/users.h index b9807a158..2cebc749d 100644 --- a/include/users.h +++ b/include/users.h @@ -657,20 +657,6 @@ class CoreExport User : public Extensible */ void SendAll(const char* command, const char* text, ...) CUSTOM_PRINTF(3, 4); - /** Compile a channel list for this user. Used internally by WHOIS - * @param source The user to prepare the channel list for - * @param spy Whether to return the spy channel list rather than the normal one - * @return This user's channel list - */ - std::string ChannelList(User* source, bool spy); - - /** Split the channel list in cl which came from dest, and spool it to this user - * Used internally by WHOIS - * @param dest The user the original channel list came from - * @param cl The channel list as a string obtained from User::ChannelList() - */ - void SplitChanList(User* dest, const std::string &cl); - /** Remove this user from all channels they are on, and delete any that are now empty. * This is used by QUIT, and will not send part messages! */ -- cgit v1.2.3