Skip to content

Commit

Permalink
Add missing staffRole back in
Browse files Browse the repository at this point in the history
  • Loading branch information
HotaruBlaze committed May 18, 2023
1 parent 3d41a22 commit 2cf12a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tes3mp/scripts/custom/IrcBridge/IrcBridge.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ IrcBridge.chatMessage = function(response)
end

if response.data["RoleColor"] ~= "" and response.data["RoleColor"] ~= "" then
local staffRole = "#" .. response.data["RoleColor"] .. "[" .. response.data["RoleName"] .. "]" .. color.Default
finalMessage = wherefrom .. " " .. staffRole .. " " .. response.data["User"] .. ": " .. response.data["Message"] .. "\n"
else
finalMessage = wherefrom .. " " .. response.data["User"] .. ": " .. response.data["Message"] .. "\n"
Expand Down

0 comments on commit 2cf12a8

Please sign in to comment.