summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2020-10-06 21:45:26 -0600
committerMatt Schatz <genius3000@g3k.solutions>2020-10-06 21:45:26 -0600
commitb78e9d4af214d09227fd528a95acb54508a5d5bc (patch)
treed68780ba023742c2cc85f9c745a258e31d83c935 /src/modules/m_check.cpp
parente81dcaec7f8d3032b1931c8aa24cc945dac4c3a3 (diff)
Add the User::exempt flag to m_check.
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
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());