diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:50:43 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:50:43 +0000 |
commit | 94a601fb3b67e72e075af28174094117cd09f5f2 (patch) | |
tree | c667c935abf679c40ca25d5e960ddc497bdedd07 /src/commands/cmd_whois.cpp | |
parent | c32734fb23bb7c811076d1f4acc819020533e89c (diff) |
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
Diffstat (limited to 'src/commands/cmd_whois.cpp')
-rw-r--r-- | src/commands/cmd_whois.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp index c58f88f80..b2f322351 100644 --- a/src/commands/cmd_whois.cpp +++ b/src/commands/cmd_whois.cpp @@ -17,13 +17,6 @@ void do_whois(InspIRCd* ServerInstance, User* user, User* dest,unsigned long signon, unsigned long idle, const char* nick) { - if ((dest->Visibility && !dest->Visibility->VisibleTo(user)) || dest->registered != REG_ALL) - { - ServerInstance->SendWhoisLine(user, dest, 401, "%s %s :No such nick/channel",user->nick.c_str(), *nick ? nick : "*"); - ServerInstance->SendWhoisLine(user, dest, 318, "%s %s :End of /WHOIS list.",user->nick.c_str(), *nick ? nick : "*"); - return; - } - ServerInstance->SendWhoisLine(user, dest, 311, "%s %s %s %s * :%s",user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str(), dest->dhost.c_str(), dest->fullname.c_str()); if (user == dest || user->HasPrivPermission("users/auspex")) { |