diff options
| author | 2016-08-29 14:50:08 +0200 | |
|---|---|---|
| committer | 2016-08-29 14:50:08 +0200 | |
| commit | 19f0c09aa783cc3b945c880d509c1da8bc8e0275 (patch) | |
| tree | 06930b6a8adcbcd3f90e297e2bb705bd13908f37 /src/users.cpp | |
| parent | Unregister modes before unhooking extensions when unloading a module (diff) | |
Convert ModeHandler::GetNumParams() to NeedsParam() that returns a bool
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
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()) |
