From a86b10b8831994a5f3ff970442714ceac7571656 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 10 Feb 2008 15:02:02 +0000 Subject: [PATCH] Really allow for removal of SWHOIS via specifying blank SWHOIS (thanks for pointing out the mistake, danieldg) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8877 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_swhois.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 3a0b2b0a7..7247f579b 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -38,12 +38,6 @@ class CommandSwhois : public Command return CMD_FAILURE; } - if (!*parameters[1]) - { - user->WriteServ("NOTICE %s :*** SWHOIS: Whois line must be specified", user->nick); - return CMD_FAILURE; - } - std::string line; for (int i = 1; i < pcnt; i++) { -- 2.39.5