From 901a29507856b30d8995efb3ab132ba68eb35837 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 13 Aug 2007 12:17:00 +0000 Subject: 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 --- src/command_parse.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command_parse.cpp') 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) -- cgit v1.2.3