X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=c57b6fc14d3e2f6580ab536ee1d92d01512fe3c4;hb=19f0c09aa783cc3b945c880d509c1da8bc8e0275;hp=24b2928ae052e55503013aa696782be294604bcd;hpb=19295ade368e9691b9d4f3152520284c7ad67b13;p=user%2Fhenk%2Fcode%2Finspircd.git 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())