summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-14 22:06:47 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-14 22:06:47 +0000
commit6a4b9410c9d4b6ab243bee4cc4ed6380baf948d3 (patch)
tree118cba6da255121a90f03fb17ccb10bb03d17df4 /src/command_parse.cpp
parent3db2daca8fd8fcc06afd0eb10633a519b5e3e655 (diff)
Properly spacify opertypes in error messages. Patch by dKingston
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11724 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index e4eb57e80..92d4b8c24 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;
}
}