summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_helpop.cpp2
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";
}