X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommand_parse.cpp;h=d386337f2e9567b7ea235f868821db42eaf53ef1;hb=244a65e8556328642350575c4a94ee8fc1b676b4;hp=a7fd810a320fdd28d90a6c157bc3726e0bb9f2a6;hpb=a5fe50aca04ca554d313e7361c571c6a497a9c4e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/command_parse.cpp b/src/command_parse.cpp index a7fd810a3..d386337f2 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -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; } }