]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/command_parse.cpp
Pick up a few error conditions we didnt before in the config reader, and also increme...
[user/henk/code/inspircd.git] / src / command_parse.cpp
index 10421a3461a9192f4333ee842de9646aea7459f9..b333084e75ab47a438ff908165d9e69553ee2d48 100644 (file)
@@ -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)