diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-09 18:36:49 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-09 18:36:49 +0200 |
commit | 01b71ef43f9413c5f0ee2fc3e484ef6e7bdeb1f6 (patch) | |
tree | bc250ba58be29fb1c102fe56d0ac58459c26ee60 /include | |
parent | 8c4dfd8add09cddc83faa5007317b851ae21d529 (diff) |
Move most whois related code from the core into cmd_whois
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 4 | ||||
-rw-r--r-- | include/users.h | 14 |
2 files changed, 0 insertions, 18 deletions
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! */ |