Changeset 96f7b07


Ignore:
Timestamp:
Jul 17, 2009, 11:53:34 PM (8 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
2be605a
Parents:
eb6cedc
Message:
Update IRC and Jabber for the new BarnOwl::$command().

Both modules relied on the fact that BarnOwl::$command() tokenized its
argument. In both cases, the fix is as simple as replacing '...' with
qw(...).
Location:
perl/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/IRC/lib/BarnOwl/Module/IRC.pm

    r48f7d12 r96f7b07  
    6060    register_commands();
    6161    register_handlers();
    62     BarnOwl::filter('irc type ^IRC$ or ( type ^admin$ and adminheader ^IRC$ )');
     62    BarnOwl::filter(qw{irc type ^IRC$ or ( type ^admin$ and adminheader ^IRC$ )});
    6363}
    6464
  • perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm

    rb73ce70 r96f7b07  
    321321
    322322sub register_keybindings {
    323     BarnOwl::bindkey("recv j command start-command jwrite ");
     323    BarnOwl::bindkey(qw(recv j command start-command jwrite));
    324324}
    325325
    326326sub register_filters {
    327     BarnOwl::filter('jabber type ^jabber$');
     327    BarnOwl::filter(qw(jabber type ^jabber$));
    328328}
    329329
Note: See TracChangeset for help on using the changeset viewer.