diff options
| author | 2019-02-17 15:58:31 +0100 | |
|---|---|---|
| committer | 2019-02-18 09:15:56 +0000 | |
| commit | 21e7efdadfa685ac1ddcb0a0a515502bc873302b (patch) | |
| tree | 885e629a2eb4e60cc308e4f97668c5db2f718cf0 /src/mode.cpp | |
| parent | Fix an off-by-one error in User::GetModeLetters(). (diff) | |
Various text improvements: consistency, syntax, help and doc updates/fixes.
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 50dd05d2d..6f17d3896 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -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. |
