From 5399fc818cf821c75f9f19fd00bf7905ba7fe7e3 Mon Sep 17 00:00:00 2001 From: href Date: Fri, 3 Sep 2021 04:04:21 +0200 Subject: various fixes, web client wip, pubsub events --- lib/lsg_irc/link_plugin/youtube.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lsg_irc/link_plugin/youtube.ex') diff --git a/lib/lsg_irc/link_plugin/youtube.ex b/lib/lsg_irc/link_plugin/youtube.ex index fd0f1b4..536cab6 100644 --- a/lib/lsg_irc/link_plugin/youtube.ex +++ b/lib/lsg_irc/link_plugin/youtube.ex @@ -54,8 +54,8 @@ defmodule LSG.IRC.LinkPlugin.YouTube do |> Timex.format("{relative}", :relative) |> elem(1) - line = if Keyword.get(opts, :invidious, "yewtu.be") do - ["-> https://#{}host}/watch?v=#{video_id}"] + line = if host = Keyword.get(opts, :invidious, "yewtu.be") do + ["-> https://#{host}/watch?v=#{video_id}"] else [] end -- cgit v1.2.3