From: Dan Boger Date: Wed, 27 Jan 2010 23:14:02 +0000 (-0800) Subject: Add the Search role, so that subscriptions will work again X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/763abb96238ae536e92ff472342f7e0c89bf2e65?hp=-c Add the Search role, so that subscriptions will work again --- 763abb96238ae536e92ff472342f7e0c89bf2e65 diff --git a/twirssi.pl b/twirssi.pl index b0e3106..c133378 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -518,13 +518,13 @@ sub cmd_login { { $twit = Net::Twitter->new( identica => 1, - traits => [ 'API::REST' ], + traits => [ 'API::REST', 'API::Search' ], source => "twirssi", ssl => !Irssi::settings_get_bool("twirssi_avoid_ssl"), ); } else { $twit = Net::Twitter->new( - traits => [ 'API::REST', 'OAuth' ], + traits => [ 'API::REST', 'OAuth', 'API::Search' ], consumer_key => 'BZVAvBma4GxdiRwXIvbnw', consumer_secret => '0T5kahwLyb34vciGZsgkA9lsjtGCQ05vxVE2APXM',