diff options
| author | 2009-09-14 22:08:02 +0000 | |
|---|---|---|
| committer | 2009-09-14 22:08:02 +0000 | |
| commit | 48527b630db96ec1bf780ed1ce6185cb9f22ebd4 (patch) | |
| tree | 04e472fcb3f78e1a9f47da0b5e9e9e4bf86006b1 /src/command_parse.cpp | |
| parent | Other half of r11694, that I forgot to commit the first time (diff) | |
Properly spacify opertypes in error messages. Patch by dKingston
git-svn-id: http://svn.inspircd.org/repository/branches/1_2_stable@11725 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index bf025be7c..f7d57daf9 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -359,7 +359,7 @@ bool CommandParser::ProcessCommand(User *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.c_str(),command.c_str()); + user->WriteNumeric(ERR_NOPRIVILEGES, "%s :Permission Denied - Oper type %s does not have access to command %s",user->nick.c_str(),irc::Spacify(user->oper.c_str()),command.c_str()); return do_more; } } |
