diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-12-30 18:58:31 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-12-30 18:58:31 +0100 |
commit | 0c061aff64625799160dadfb09ade008a38eb6c5 (patch) | |
tree | 261af81d4d5262009661d21e7956309bd3d2dea2 /src/modules/m_check.cpp | |
parent | 03c5ffbdc3850fee20887885bcddd9d0738c8537 (diff) |
Clean up User::FormatModes(), rename to GetModeLetters()
Prefix the returned string with '+'
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index f4123466e..2cb45ad43 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -169,7 +169,7 @@ class CommandCheck : public Command context.Write("nuh", targuser->GetFullHost()); context.Write("realnuh", targuser->GetFullRealHost()); context.Write("realname", targuser->fullname); - context.Write("modes", std::string("+") + targuser->FormatModes()); + context.Write("modes", targuser->GetModeLetters()); context.Write("snomasks", GetSnomasks(targuser)); context.Write("server", targuser->server->GetName()); context.Write("uid", targuser->uuid); |