Changeset 188b745


Ignore:
Timestamp:
May 8, 2009, 11:59:51 AM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
d658c29
Parents:
b56f2c3
Message:
Add a check for Net::Twitter version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/BarnOwl/Module/Twitter.pm

    rb56f2c3 r188b745  
    3333    BarnOwl::admin_message('Twitter Error', $msg);
    3434    die("Twitter Error: $msg\n");
     35}
     36
     37if($Net::Twitter::VERSION < 2.06) {
     38    fail("This version of BarnOwl Twitter requires Net::Twitter at least 2.06\n" .
     39         "Only $Net::Twitter::VERSION is currently installed.\n");
    3540}
    3641
Note: See TracChangeset for help on using the changeset viewer.