summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 15:02:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 15:02:02 +0000
commita86b10b8831994a5f3ff970442714ceac7571656 (patch)
treefb1f12dc43aa3812b681a318ac629dabb8989e0f /src
parent11c08b9aed1792705e5d82b343fae6ce56910338 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_swhois.cpp6
1 files changed, 0 insertions, 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++)
{