diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2020-10-06 21:45:26 -0600 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2020-10-06 21:45:26 -0600 |
commit | b78e9d4af214d09227fd528a95acb54508a5d5bc (patch) | |
tree | d68780ba023742c2cc85f9c745a258e31d83c935 | |
parent | e81dcaec7f8d3032b1931c8aa24cc945dac4c3a3 (diff) |
Add the User::exempt flag to m_check.
-rw-r--r-- | src/modules/m_check.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index cd336c865..8a8857c55 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -221,6 +221,8 @@ class CommandCheck : public Command std::string classname = loctarg->GetClass()->name; if (!classname.empty()) context.Write("connectclass", classname); + + context.Write("exempt", loctarg->exempt ? "yes" : "no"); } else context.Write("onip", targuser->GetIPString()); |