GreenWall

GreenWall

1M Downloads

Remove pre-8.0 gw.SendLocal code

mrogaski opened this issue ยท 0 comments

commented

Remove the backward compatibility from the beat fix for gw.SendLocal.

    local payload = strsub(strjoin('#', opcode, message), 1, 255)
    gw.Debug(GW_LOG_DEBUG, 'message=%s', payload)
    if semver(gw.build['version']) >= semver('8.0.1') then
        C_ChatInfo.SendAddonMessage('GreenWall', payload, 'GUILD')
    else
        -- TODO: Remove in 8.0.1
        SendAddonMessage('GreenWall', payload, 'GUILD')
    end