]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/command_parse.cpp
Clean up the FileReader class and all of the modules that use it.
[user/henk/code/inspircd.git] / src / command_parse.cpp
index a7fd810a320fdd28d90a6c157bc3726e0bb9f2a6..d386337f2e9567b7ea235f868821db42eaf53ef1 100644 (file)
@@ -296,7 +296,7 @@ bool CommandParser::ProcessCommand(LocalUser *user, std::string &cmd)
                if (!user->HasPermission(command))
                {
                        user->WriteNumeric(ERR_NOPRIVILEGES, "%s :Permission Denied - Oper type %s does not have access to command %s",
-                               user->nick.c_str(), user->oper->NameStr(), command.c_str());
+                               user->nick.c_str(), user->oper->name.c_str(), command.c_str());
                        return do_more;
                }
        }