Skip to content
代码片段 群组 项目
提交 4c388fb8 编辑于 作者: Grzegorz Bizon's avatar Grzegorz Bizon
浏览文件

Remove legacy conditional from irker service code

上级 c6f9a1c2
No related branches found
No related tags found
无相关合并请求
......@@ -112,14 +112,6 @@ def consider_uri(uri)
# Authorize both irc://domain.com/#chan and irc://domain.com/chan
if uri.is_a?(URI) && uri.scheme[/^ircs?\z/] && !uri.path.nil?
# Do not authorize irc://domain.com/
if uri.fragment.nil? && uri.path.length > 1
else
# Authorize irc://domain.com/smthg#chan
# The irker daemon will deal with it by concatenating smthg and
# chan, thus sending messages on #smthgchan
end
uri.to_s
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册