From 59c1262dc163db54edccd3231a633a287b68c78f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 19 Mar 2006 17:59:22 +0000 Subject: 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 --- src/modules/m_helpop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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"; } -- cgit v1.2.3