]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/mode.cpp
Various text improvements: consistency, syntax, help and doc updates/fixes.
[user/henk/code/inspircd.git] / src / mode.cpp
index 50dd05d2dbbde849c30ec6f6d52589cdb0fe3d2c..6f17d3896efba500d4111aaeeededf8c09da2442 100644 (file)
@@ -592,13 +592,13 @@ void ModeParser::AddMode(ModeHandler* mh)
 
                PrefixMode* otherpm = FindPrefix(pm->GetPrefix());
                if (otherpm)
-                       throw ModuleException(InspIRCd::Format("Mode prefix for %s already by used by %s from %s: %c",
+                       throw ModuleException(InspIRCd::Format("Mode prefix for %s already used by %s from %s: %c",
                                mh->name.c_str(), otherpm->name.c_str(), otherpm->creator->ModuleSourceFile.c_str(), pm->GetPrefix()));
        }
 
        ModeHandler*& slot = modehandlers[mh->GetModeType()][mh->GetModeChar()-65];
        if (slot)
-               throw ModuleException(InspIRCd::Format("Mode letter for %s already by used by %s from %s: %c",
+               throw ModuleException(InspIRCd::Format("Mode letter for %s already used by %s from %s: %c",
                        mh->name.c_str(), slot->name.c_str(), slot->creator->ModuleSourceFile.c_str(), mh->GetModeChar()));
 
        // The mode needs an id if it is either a user mode, a simple mode (flag) or a parameter mode.