summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-29 14:50:08 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-29 14:50:08 +0200
commit19f0c09aa783cc3b945c880d509c1da8bc8e0275 (patch)
tree06930b6a8adcbcd3f90e297e2bb705bd13908f37 /src/users.cpp
parent19295ade368e9691b9d4f3152520284c7ad67b13 (diff)
Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 24b2928ae..c57b6fc14 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -51,7 +51,7 @@ const char* User::FormatModes(bool showparameters)
if (mh && IsModeSet(mh))
{
data.push_back(n + 65);
- if (showparameters && mh->GetNumParams(true))
+ if (showparameters && mh->NeedsParam(true))
{
std::string p = mh->GetUserParameter(this);
if (p.length())