Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion script/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,19 @@ function (con, args)
end

c.unban(chan, string.lower(args.character))
u.send(con, "SYS", {channel=args.channel, message=args.character.." has been removed from the channel ban list."})

local modList = c.getModList(chan)

for index, value in ipairs(modList) do
local found, connection = u.getConnection(string.lower(value))

if found ~= true then
u.send(connection, "SYS", {
channel = args.channel
message = args.character.." has been removed from the channel ban list."
})
end
end
return const.FERR_OK
end

Expand Down