Remove legacy conditional from irker service code

This commit is contained in:
Grzegorz Bizon 2016-07-08 11:06:54 +02:00
parent c6f9a1c273
commit 4c388fb865
1 changed files with 0 additions and 8 deletions

View File

@ -112,14 +112,6 @@ class IrkerService < Service
# 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