diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-19 17:59:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-19 17:59:22 +0000 |
commit | 59c1262dc163db54edccd3231a633a287b68c78f (patch) | |
tree | 41f53f0a619fe8ade9707826a8c5887884e10c3f | |
parent | 33701bf0ece871b68cd02df9e5adcf7d2d63df56 (diff) |
Someone didnt know how to check for no parameters (*looks at Craig*)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3734 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_helpop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 4e59ab2b8..5b0c0bbe0 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -107,7 +107,7 @@ bool do_helpop(char **parameters, int pcnt, userrec *src) char a[MAXBUF]; int nlines = 0; - if (!parameters) + if (!pcnt) { search = "start"; } |