From 766ef68519f7fc333476baf8a6d8914af9024612 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Dec 2005 19:55:00 +0000 Subject: Tested and working locally git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2256 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_swhois.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 99527cfcb..3b150cd7d 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -32,7 +32,7 @@ void handle_swhois(char **parameters, int pcnt, userrec *user) if (dest) { std::string line = ""; - for (int i = 1; i < pcnt - 1; i++) + for (int i = 1; i < pcnt; i++) { if (i != 1) line = line + " "; @@ -57,7 +57,7 @@ class ModuleSWhois : public Module : Module::Module(Me) { Srv = Me; - Srv->AddCommand("SWHOIS",handle_swhois,2,'o',"m_swhois.so"); + Srv->AddCommand("SWHOIS",handle_swhois,'o',2,"m_swhois.so"); } // :kenny.chatspike.net 320 Brain Azhrarn :is getting paid to play games. -- cgit v1.2.3