From 234c7cd851229d94eb8c26a8a68ca6967f20aff8 Mon Sep 17 00:00:00 2001 From: peavey Date: Tue, 5 Jun 2007 07:49:33 +0000 Subject: Fix typos found by Zaba. Thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 4 ++-- src/modules/m_operlevels.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } } -- cgit v1.2.3