From 19f0c09aa783cc3b945c880d509c1da8bc8e0275 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 29 Aug 2016 14:50:08 +0200 Subject: Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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()) -- cgit v1.2.3