Ignore:
Timestamp:
Oct 7, 2009, 11:22:48 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
fe184d4
Parents:
9eb9479
Message:
Don't check zephyr_getsender unless we're looking at a Zephyr.
File:
1 edited

Legend:

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

    r9eb9479 r176434d  
    175175    my $m = shift;
    176176    ($class, $instance, $opcode) = map{BarnOwl::getvar("twitter:$_")} qw(class instance opcode);
    177     if($m->sender eq BarnOwl::zephyr_getsender()
     177    if($m->type eq 'zephyr'
     178       && $m->sender eq BarnOwl::zephyr_getsender()
    178179       && match($m->class, $class)
    179180       && match($m->instance, $instance)
Note: See TracChangeset for help on using the changeset viewer.