From 5f6bf286847550f386324e1e2db6c909cbd9f318 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 4 Mar 2024 13:18:04 +0000 Subject: Rename some of the Module member variables. --- src/mode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mode.cpp') diff --git a/src/mode.cpp b/src/mode.cpp index a10893a4c..afa6a4e31 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -576,7 +576,7 @@ void ModeParser::AddMode(ModeHandler* mh) if (otherpm) { throw ModuleException(mh->creator, INSP_FORMAT("Mode prefix for {} already used by {} from {}: {}", - mh->name, otherpm->name, otherpm->creator->ModuleSourceFile, pm->GetPrefix())); + mh->name, otherpm->name, otherpm->creator->ModuleFile, pm->GetPrefix())); } } @@ -584,7 +584,7 @@ void ModeParser::AddMode(ModeHandler* mh) if (slot) { throw ModuleException(mh->creator, INSP_FORMAT("Mode letter for {} already used by {} from {}: {}", - mh->name, slot->name, slot->creator->ModuleSourceFile, mh->GetModeChar())); + mh->name, slot->name, slot->creator->ModuleFile, mh->GetModeChar())); } // The mode needs an id if it is either a user mode, a simple mode (flag) or a parameter mode. @@ -598,7 +598,7 @@ void ModeParser::AddMode(ModeHandler* mh) { ModeHandler* othermh = res.first->second; throw ModuleException(mh->creator, INSP_FORMAT("Mode name {} already used by {} from {}", - mh->name, othermh->GetModeChar(), othermh->creator->ModuleSourceFile)); + mh->name, othermh->GetModeChar(), othermh->creator->ModuleFile)); } // Everything is fine, add the mode -- cgit v1.3.1-10-gc9f91