Skip to content

Commit

Permalink
gmotd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blooblahguy committed Jun 26, 2019
1 parent a3a6bef commit 9769ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gmotd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bdCore:hookEvent('loaded_bdcore', function()
end

c.persistent.bdAddons.gmotd = c.persistent.bdAddons.gmotd or {}
if (strlen(msg > 0) and guild and not c.persistent.bdAddons.gmotd[msg]) then
if (strlen(msg) > 0 and guild and not c.persistent.bdAddons.gmotd[msg]) then
gmotd.msg = msg
gmotd.text:SetText(msg)
gmotd.header:SetText(guild.." - Message of the Day")
Expand Down

0 comments on commit 9769ddd

Please sign in to comment.