summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-13 12:17:00 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-13 12:17:00 +0000
commit901a29507856b30d8995efb3ab132ba68eb35837 (patch)
treecdabf02315c420928fe9abfe656e9a7c9aec88d9 /src/command_parse.cpp
parent670247683cae887bd2420762bf39b6d17e73c3ff (diff)
Commit some changes from third party patch. Thanks Avenger and HiroP. Patch review is not finished, there may be more changes to come.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 10421a346..b333084e7 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -325,6 +325,8 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd)
{
/* command is disabled! */
user->WriteServ("421 %s %s :This command has been disabled.",user->nick,command.c_str());
+ ServerInstance->SNO->WriteToSnoMask('d', "%s denied for %s (%s@%s)",
+ command.c_str(), user->nick, user->ident, user->host);
return;
}
if (items < cm->second->min_params)