summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-29 09:37:27 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-29 09:37:27 +0000
commit5b12684030f3f76116e2ed58b906ccf4c8a9c378 (patch)
tree2bdec365e13a88e2895141815bded2f79229569d /src/modules/m_check.cpp
parentce4a4abaf25344a2ac0f56e13770bd49ab776aed (diff)
Add snomasks to /check on a user (QA, please test), also return CMD_LOCALONLY as we do NOT want to route check.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6716 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 44ad82a63..5304347c2 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -62,6 +62,7 @@ class cmd_check : public command_t
user->WriteServ(checkstr + " realnuh " + targuser->GetFullRealHost());
user->WriteServ(checkstr + " realname " + targuser->fullname);
user->WriteServ(checkstr + " modes +" + targuser->FormatModes());
+ user->WriteServ(checkstr + " snomasks +" + targuser->FormatNoticeMasks());
user->WriteServ(checkstr + " server " + targuser->server);
if (targuser->awaymsg[0] != 0)
{
@@ -148,7 +149,7 @@ class cmd_check : public command_t
user->WriteServ(checkstr + " END " + std::string(parameters[0]));
- return CMD_SUCCESS;
+ return CMD_LOCALONLY;
}
};