Browse Source

"modlist" now displays Name instead of UUID (defaults to UUID if no Name is found).

pull/3/head
JustinAJ 10 years ago
parent
commit
6d5ce419e1
  1. 2
      RenX.ModSystem/RenX_ModSystem.cpp

2
RenX.ModSystem/RenX_ModSystem.cpp

@ -854,7 +854,7 @@ void ModListIRCCommand::trigger(IRC_Bot *source, const Jupiter::ReadableString &
section = pluginInstance.modsFile.getSection(--i); section = pluginInstance.modsFile.getSection(--i);
if (section->get(STRING_LITERAL_AS_REFERENCE("Group")).equalsi(group->name)) if (section->get(STRING_LITERAL_AS_REFERENCE("Group")).equalsi(group->name))
{ {
msg += section->getName(); msg += section->get(STRING_LITERAL_AS_REFERENCE("Name"), section->getName());
msg += STRING_LITERAL_AS_REFERENCE(", "); msg += STRING_LITERAL_AS_REFERENCE(", ");
} }
} }

Loading…
Cancel
Save