Changeset 99c1f46


Ignore:
Timestamp:
Dec 18, 2009, 10:28:47 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b752f1e
Parents:
f81176c
git-author:
Nelson Elhage <nelhage@mit.edu> (12/18/09 22:16:15)
git-committer:
Nelson Elhage <nelhage@mit.edu> (12/18/09 22:28:47)
Message:
IRC: Use 'private' when creating messages instead of 'isprivate'.

BarnOwl stores the attribute internally as 'isprivate', but exports it
to perl as 'private', and translates back when creating the C message
from perl. So, use 'private' in the perl object for consistency with
other perl code.
File:
1 edited

Legend:

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

    rf81176c r99c1f46  
    115115          (notice     => 'true') : (),
    116116        is_private($recipient) ?
    117           (isprivate  => 'true') : (channel => $recipient),
     117          (private  => 'true') : (channel => $recipient),
    118118        replycmd    => BarnOwl::quote('irc-msg', '-a', $self->alias,
    119119          (is_private($recipient) ? $evt->nick : $recipient)),
Note: See TracChangeset for help on using the changeset viewer.