From 5b12684030f3f76116e2ed58b906ccf4c8a9c378 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 29 Mar 2007 09:37:27 +0000 Subject: 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 --- src/modules/m_check.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; } }; -- cgit v1.2.3