Changeset 57cf4f9 for perlwrap.pm


Ignore:
Timestamp:
Aug 21, 2008, 6:18:51 PM (16 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
d5dcd7c
Parents:
7a45a72
Message:
Make owl_function_reply call methods to get the replycmd.

For backwards compatibility, we add default sub replycmd and sub
replysendercmd to BarnOwl::Message, which just return the value of the
property.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlwrap.pm

    r167044b r57cf4f9  
    361361sub login_host  { return undef; }
    362362sub login_tty   { return undef; }
     363
     364# This is for back-compat with old messages that set these properties
     365# New protocol implementations are encourages to user override these
     366# methods.
     367sub replycmd         { return shift->{replycmd}};
     368sub replysendercmd   { return shift->{replysendercmd}};
    363369
    364370sub pretty_sender    { return shift->sender; }
Note: See TracChangeset for help on using the changeset viewer.