aboutsummaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-03-04 13:18:04 +0000
committerGravatar Sadie Powell2024-03-04 13:18:04 +0000
commit5f6bf286847550f386324e1e2db6c909cbd9f318 (patch)
tree61a50d4fff21106742f4ca6be30d92eae0191875 /src/mode.cpp
parentMerge branch 'insp3' into master. (diff)
Rename some of the Module member variables.
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp6
1 files changed, 3 insertions, 3 deletions
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