Vysci / LFG-Bulletin-Board

Dungeon Request chat filtering
MIT License
15 stars 64 forks source link

Lua error with `AdditionalInfo` config option enabled #264

Closed juemrami closed 4 months ago

juemrami commented 5 months ago

Describe the bug indexing nil type error in GroupBulletinBoard.lua:826

Introduced in #240

To Reproduce

  1. Enable the "Add more info to chat on /who and when somebody comes online" option
  2. Add a random person on your friendlist to trigger the "has come online" message

Screenshots sample

Additional context just have to remove the req.class with class in call to GBB.Tool.GetClassIcon

txt="|Hplayer:"..name.."|h"
    ..(GBB.Tool.GetClassIcon(class) or "")
    .."|c"..GBB.Tool.ClassColor[class].colorStr .. name.."|r"
    ..symbol.."|h";

reposting from curseforge comment#664