summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 07:49:33 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-05 07:49:33 +0000
commit234c7cd851229d94eb8c26a8a68ca6967f20aff8 (patch)
tree7651702adc36fd7174c41b8ad8e8bd80748681aa
parent7cbbb97f42ecfc77b93d4e6e8152f4e2600f00a7 (diff)
Fix typos found by Zaba. Thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/command_parse.cpp4
-rw-r--r--src/modules/m_operlevels.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 54117331f..ab935559d 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -327,12 +327,12 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd)
{
if (!user->IsModeSet(cm->second->flags_needed))
{
- user->WriteServ("481 %s :Permission Denied- You do not have the required operator privileges",user->nick);
+ user->WriteServ("481 %s :Permission Denied - You do not have the required operator privileges",user->nick);
return;
}
if (!user->HasPermission(command))
{
- user->WriteServ("481 %s :Permission Denied- Oper type %s does not have access to command %s",user->nick,user->oper,command.c_str());
+ user->WriteServ("481 %s :Permission Denied - Oper type %s does not have access to command %s",user->nick,user->oper,command.c_str());
return;
}
}
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 6e337a914..918d444ac 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -88,7 +88,7 @@ class ModuleOperLevels : public Module
{
ServerInstance->WriteOpers("Oper %s (level %d) attempted to /kill a higher oper: %s (level %d): Reason: %s",source->nick,source_level,dest->nick,dest_level,reason.c_str());
dest->WriteServ("NOTICE %s :Oper %s attempted to /kill you!",dest->nick,source->nick);
- source->WriteServ("481 %s :Permission Denied- Oper %s is a higher level than you",source->nick,dest->nick);
+ source->WriteServ("481 %s :Permission Denied - Oper %s is a higher level than you",source->nick,dest->nick);
return 1;
}
}