diff options
Diffstat (limited to 'twitch-rb-editchannel.patch')
-rw-r--r-- | twitch-rb-editchannel.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/twitch-rb-editchannel.patch b/twitch-rb-editchannel.patch new file mode 100644 index 0000000..520b251 --- /dev/null +++ b/twitch-rb-editchannel.patch @@ -0,0 +1,15 @@ +--- a/lib/twitch.rb ++++ b/lib/twitch.rb +@@ -77,9 +77,9 @@ class Twitch + get(url) + end + +- def editChannel(status, game) ++ def editChannel(channel, status, game) + return false if !@access_token +- path = "/channels/dustinlakin/?oauth_token=#{@access_token}" ++ path = "/channels/#{channel}/?oauth_token=#{@access_token}" + url = @base_url + path + data = { + :channel =>{ + |