diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 19:55:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-07 19:55:00 +0000 |
commit | 766ef68519f7fc333476baf8a6d8914af9024612 (patch) | |
tree | f2058d363041b165ab4b6c67967bdee35930edb0 /src | |
parent | 94706c2d812c04c783ecf441acc6c8d7b786aadb (diff) |
Tested and working locally
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2256 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_swhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |