DELTA 799 0 645
SVN  ‡>Š„ …} €„To a Channel
        my $network = $self->network;
        my $channel = $self->channel;
        my $filter = "irc-$network-channel-$channel";
        my $ftext = qq{type ^irc\$ and network ^$network\$ and channel ^$channel\$};
        BarnOwl::filter("$filter $ftext");
        return $filter;
    }
}

sub server {shift->{server}}
sub network {shift->{network}}
sub channel {shift->{channel}}

# display
sub context {shift->{network};}
sub subcontext {shift->{recipient};}

sub long_sender {shift->{from} || ""};


1;
ENDREP
DELTA 799 1930 2161
SVN  £ §SEˆd X ³ 3 ‚E€d -„n‚ ƒ.†± ƒM‰F€` }p® †Ym …–A€‚[ FŒ  …<€‚IRC

=head1 DESCRIPTION

This module implements IRC2'irc:nick', {default => $ENV{USER}});
    BarnOwl::new_variable_string('irc:user', {default => $ENV{USER}});
    BarnOwl::new_variable_string('irc:name', {default => ""});
    BarnOwl::new_variable_bool('irc:spew', {default => 0()    BarnOwl::new_command('irc-join' => \&cmd_join:nick');
    my $username = BarnOwl::getvar('irc:user');
    my $ircname = BarnOwl::getvar('irc:,
            "port=i"     => \$port,
        # handle multiple recipients?_private($to) ?
          (isprivate  => 'true') : (channel => $to),
        replycmd    => "irc-msg $to",
        replysendercmd => "irc-msg $to"
       );
    BarnOwl::queue_message($msg);
}

sub cmd_join {
    my $cmd = shift;
    my $conn = get_connection(\@_);
    my $chan = shift or die("Usage: $cmd channel\n");
    $conn->join($chan);
}

my $key = shift;
    die("No such ircnet: $key\n") unless exists $ircnets{$key};
    return $ircnets{$key};
}

# Determines if the given message recipient is a username, as opposed to
# a channel that starts with # or &.
sub is_private {
    return shift !~ /^[\#\&]/;
}

1;
ENDREP
DELTA 799 658 1155
SVN  ’H™/ŠU ‚	 €Z ‚‚8€D „…e€% EŠ§ sŒ€…G J†@ ƒ $€$ Exporter);
__PACKAGE__->mk_accessors(qw(alias channels));
our @EXPORT_OK = qw(&is_private376 => sub { goto &on_connect });
    $self->add_global_handler(['msg', 'notice', 'public', 'caction'],
            sub { goto &on_msg });
    $self->add_global_handler(cping => sub { goto &on_pin($recipient) = $evt->to;
    my $body = strip_irc_formatting([$evt->args]->[0]);
    $body = BarnOwl::Style::boldify($evt->nick.' '.$body) if $evt->type eq 'caction'recipient,
        body        => $body$evt->type eq 'notice' ?
          (notice     => 'true') : (),
        is_private($recipient) ?
          (isprivate  => 'true') : (channel => $recipient),
        replycmd    => 'irc-msg ' .
            (is_private($recipient) ? $evt->nick : $recipient),
        replysendercmd => 'irc-msg ' . $evt->nick,
       );
    BarnOwl::queue_message($msg);
}

sub on_ping {
    my ($self, $evt) = @_;
    $self->ctcp_reply($evt->nick, join (' ', ($evt->args)));
}

sub on_event {
    my ($self, $evt) = @_;
    BarnOwl::admin_message("IRC",
            "Unhandled IRC event of type " . $evt->type . ":\n"
            . strip_irc_formatting(join("\n", $evt->args)))
        if BarnOwl::getvar('irc:spew') eq 'on';
}

# Determines if the given message recipient is a username, as opposed to
# a channel that starts with # or &.
sub is_private {
    return shift !~ /^[\#\&]/;
}

1;
ENDREP
id: 87.0.r808/3244
type: file
pred: 87.0.r805/2780
count: 2
text: 808 0 539 1285 8f539795d72cc98039cac71c0d62ae5b
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Message/IRC.pm
copyroot: 0 /

PLAIN
K 6
IRC.pm
V 19
file 87.0.r808/3244
END
ENDREP
id: 86.0.r808/3488
type: dir
pred: 86.0.r805/3023
count: 2
text: 808 3435 40 40 3703569f91b03894ed7984c2688f3fcf
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Message
copyroot: 0 /

id: 8b.0.r808/3671
type: file
pred: 8b.0.r805/3206
count: 2
text: 808 562 1205 5075 d965bb152240d73e6843fb2c61299bac
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
copyroot: 0 /

id: 8a.0.r808/3864
type: file
pred: 8a.0.r805/3400
count: 2
text: 808 1794 1424 3223 430d067ba977aea4d772241fa5f4e164
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm
copyroot: 0 /

PLAIN
K 13
Connection.pm
V 19
file 8a.0.r808/3864
END
ENDREP
id: 89.0.r808/4130
type: dir
pred: 89.0.r805/3665
count: 2
text: 808 4069 48 48 bb9fd06d6d2d7118e5e49c66fd6245f5
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module/IRC
copyroot: 0 /

PLAIN
K 3
IRC
V 18
dir 89.0.r808/4130
K 6
IRC.pm
V 19
file 8b.0.r808/3671
END
ENDREP
id: 88.0.r808/4401
type: dir
pred: 88.0.r805/3936
count: 2
text: 808 4316 72 72 813f7425b7581bc75c31df14b3cc032c
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module
copyroot: 0 /

PLAIN
K 7
Message
V 18
dir 86.0.r808/3488
K 6
Module
V 18
dir 88.0.r808/4401
END
ENDREP
id: 85.0.r808/4671
type: dir
pred: 85.0.r805/4206
count: 2
text: 808 4583 75 75 52a8b3e296e1de32aa0cdb6d0d679ca0
cpath: /trunk/owl/perl/modules/IRC/lib/BarnOwl
copyroot: 0 /

PLAIN
K 7
BarnOwl
V 18
dir 85.0.r808/4671
END
ENDREP
id: 84.0.r808/4899
type: dir
pred: 84.0.r805/4434
count: 2
text: 808 4846 40 40 d794e15039d92e374e82c0adb02ab7f8
cpath: /trunk/owl/perl/modules/IRC/lib
copyroot: 0 /

PLAIN
K 11
Makefile.PL
V 19
file 83.0.r799/5757
K 3
lib
V 18
dir 84.0.r808/4899
END
ENDREP
id: 82.0.r808/5157
type: dir
pred: 82.0.r805/4692
count: 2
text: 808 5066 78 78 6b64bceccde5b5142387ee15242eeda8
cpath: /trunk/owl/perl/modules/IRC
copyroot: 0 /

PLAIN
K 3
IRC
V 18
dir 82.0.r808/5157
K 6
Jabber
V 18
dir 7b.0.r764/5231
END
ENDREP
id: 4c.0.r808/5404
type: dir
pred: 4c.0.r805/4939
count: 85
text: 808 5320 71 71 130825d248754e7104f66f432df2e484
cpath: /trunk/owl/perl/modules
copyroot: 0 /

PLAIN
K 3
lib
V 17
dir 4b.0.r742/899
K 7
modules
V 18
dir 4c.0.r808/5404
END
ENDREP
id: 4a.0.r808/5648
type: dir
pred: 4a.0.r805/5183
count: 100
text: 808 5564 71 71 be2e1b7c2d6561dd10ada9299d0ff221
cpath: /trunk/owl/perl
copyroot: 0 /

PLAIN
K 4
BUGS
V 20
file 5u.0.r689/48450
K 9
ChangeLog
V 18
file h.0.r393/2438
K 11
Makefile.in
V 18
file i.0.r759/1066
K 4
NEWS
V 16
file j.0.r5/8251
K 6
README
V 18
file 5r.0.r710/316
K 4
TODO
V 18
file 5s.0.r619/324
K 5
aim.c
V 19
file 22.0.r321/7423
K 9
athstatic
V 18
file 1x.0.r533/117
K 7
buddy.c
V 20
file 3o.0.r234/19726
K 11
buddylist.c
V 20
file 3d.0.r238/12168
K 5
cmd.c
V 18
file k.0.r405/7146
K 11
codelist.pl
V 19
file l.0.r212/11814
K 10
commands.c
V 18
file m.0.r789/3245
K 11
config.h.in
V 18
file n.0.r707/3406
K 12
configure.in
V 17
file p.0.r760/683
K 9
context.c
V 18
file q.0.r209/8754
K 6
debian
V 17
dir 63.0.r772/647
K 6
dict.c
V 18
file r.0.r738/5748
K 3
doc
V 18
dir 1n.0.r589/1227
K 9
editwin.c
V 16
file s.0.r733/68
K 14
encapsulate.pl
V 20
file 3l.0.r225/44724
K 10
errqueue.c
V 20
file 3p.0.r242/19206
K 8
examples
V 17
dir 1s.0.r226/477
K 8
filter.c
V 19
file t.0.r752/15504
K 15
filterelement.c
V 16
file u.0.r600/52
K 8
fmtext.c
V 18
file v.0.r711/1132
K 11
functions.c
V 18
file w.0.r789/3456
K 8
global.c
V 17
file x.0.r801/173
K 6
help.c
V 17
file y.0.r712/145
K 9
history.c
V 17
file z.0.r283/439
K 10
install.sh
V 19
file 21.0.r122/7916
K 12
keybinding.c
V 18
file 10.0.r640/656
K 8
keymap.c
V 19
file 11.0.r209/8965
K 10
keypress.c
V 18
file 12.0.r359/996
K 6
keys.c
V 17
file 13.0.r773/90
K 7
libfaim
V 16
dir 23.0.r716/87
K 6
list.c
V 17
file 14.0.r635/59
K 9
logging.c
V 19
file 15.0.r730/9209
K 9
mainwin.c
V 20
file 16.0.r693/11667
K 9
message.c
V 18
file 17.0.r766/223
K 13
messagelist.c
V 18
file 18.0.r558/539
K 13
mkinstalldirs
V 19
file 3v.0.r346/1232
K 11
muxevents.c
V 18
file 3w.0.r359/781
K 9
obarray.c
V 18
file 62.0.r739/564
K 5
owl.c
V 18
file 19.0.r778/580
K 5
owl.h
V 19
file 1a.0.r760/1103
K 6
pair.c
V 18
file 1z.0.r102/270
K 4
perl
V 18
dir 4a.0.r808/5648
K 12
perlconfig.c
V 20
file 3n.0.r752/15935
K 11
perlglue.xs
V 19
file 1v.0.r741/9323
K 11
perlwrap.pm
V 17
file 3m.0.r754/65
K 9
popexec.c
V 19
file 3x.0.r364/1658
K 8
popwin.c
V 18
file 1b.0.r373/263
K 7
regex.c
V 19
file 1c.0.r597/1404
K 10
stubgen.pl
V 17
file 1d.0.r5/8659
K 7
style.c
V 19
file 3f.0.r280/1095
K 11
stylefunc.c
V 17
file 3g.0.r783/77
K 10
svkversion
V 18
file 6d.0.r660/834
K 1
t
V 18
dir 7y.0.r738/6796
K 6
test.h
V 19
file 3y.0.r738/5953
K 8
tester.c
V 19
file 1e.0.r738/6378
K 6
text.c
V 18
file 1f.0.r575/729
K 7
timer.c
V 20
file 3e.0.r143/11961
K 6
util.c
V 18
file 1g.0.r778/370
K 10
variable.c
V 20
file 1h.0.r752/15717
K 6
view.c
V 19
file 1i.0.r586/9731
K 9
viewwin.c
V 19
file 1j.0.r362/1349
K 12
zbuddylist.c
V 18
file 3u.0.r330/561
K 8
zcrypt.c
V 20
file 1y.0.r219/11682
K 8
zephyr.c
V 20
file 1k.0.r746/22139
K 8
zwrite.c
V 17
file 1l.0.r744/99
END
ENDREP
id: g.0.r808/8511
type: dir
pred: g.0.r805/8045
count: 711
text: 808 5801 2697 2697 b5b546d70edac0c9d6333c48db3cdb7c
props: 789 6386 508 0 58ef94c2ac4d517e30ce5d5b3ba5faaa
cpath: /trunk/owl
copyroot: 0 /

PLAIN
K 7
CVSROOT
V 16
dir 4.0.r112/895
K 11
conf.alexmv
V 18
dir 5z.0.r790/1571
K 12
conf.asedeno
V 18
dir 3z.0.r617/2908
K 3
owl
V 17
dir g.0.r808/8511
END
ENDREP
PLAIN
K 9
svk:merge
V 181
bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19588
fe09232e-8620-0410-8e36-e6b4839e121d:/trunk:598
END
ENDREP
id: 1.0.r808/9100
type: dir
pred: 1.0.r807/15835
count: 744
text: 808 8716 152 152 46f8dd3a035eaf3a4d54979451def93e
props: 808 8881 206 0 fb63802d68de5c3dce8ab7f057f7c25c
cpath: /trunk
copyroot: 0 /

PLAIN
K 9
svk:merge
V 237
06e3988a-d725-0410-af47-c5dd11e74598:/local/barnowl:1380
8baf6839-b125-0410-9df9-922793c80423:/local/barnowl:17717
8baf6839-b125-0410-9df9-922793c80423:/local/owl:15641
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/branches/par:19594
END
ENDREP
id: 8c.0.r808/9575
type: dir
pred: 8c.0.r807/16906
count: 1
text: 807 16580 38 38 9a49407fbce2ef55e8975863f943229d
props: 808 9300 262 0 5656af03ddc5b7d91ca963208c25b9d2
cpath: /branches/par
copyroot: 0 /

PLAIN
K 9
svk:merge
V 181
bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19588
fe09232e-8620-0410-8e36-e6b4839e121d:/trunk:598
K 19
svnmerge-integrated
V 12
/trunk:1-764
END
ENDREP
id: 1.1u.r808/10043
type: dir
pred: 1.1u.r765/15581
count: 703
text: 765 15201 153 153 9ca5583f9d8893390a4d57740ffdaa5b
props: 808 9781 249 0 88c7e962569415e7d9081946e32d2144
cpath: /branches/barnowl_sqlite
copyroot: 736 /branches/barnowl_sqlite

PLAIN
K 9
svk:merge
V 181
bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19588
fe09232e-8620-0410-8e36-e6b4839e121d:/trunk:598
K 19
svnmerge-integrated
V 12
/trunk:1-802
END
ENDREP
id: 1.1t.r808/10552
type: dir
pred: 1.1t.r804/3626
count: 724
text: 804 3458 155 155 eb8430528f778462644023538ad3692e
props: 808 10290 249 0 bf644fc3d2802313f8fa1447368b629e
cpath: /branches/barnowl_unicode
copyroot: 734 /branches/barnowl_unicode

PLAIN
K 14
barnowl_sqlite
V 19
dir 1.1u.r808/10043
K 15
barnowl_unicode
V 19
dir 1.1t.r808/10552
K 7
owl-1_2
V 15
dir 1.4.r116/49
K 7
owl-2_0
V 18
dir 1.5.r306/13541
K 14
owl-2_0-branch
V 18
dir 1.1f.r317/6751
K 3
par
V 18
dir 8c.0.r808/9575
K 12
perl-message
V 19
dir 1.1m.r603/14387
END
ENDREP
id: 2.0.r808/11096
type: dir
pred: 2.0.r807/17388
count: 61
text: 808 10800 283 283 9891de6ea868f7ab2c217d44212de7bb
cpath: /branches
copyroot: 0 /

PLAIN
K 8
branches
V 18
dir 2.0.r808/11096
K 4
tags
V 16
dir 3.0.r391/435
K 5
trunk
V 17
dir 1.0.r808/9100
END
ENDREP
PLAIN
K 9
svk:merge
V 232
6122c8b4-0e12-0410-9533-8bcd7c66c992:/local/dirty-owl-hacks:27173
6aa88b72-b502-0410-8cb4-a5dd0230fb79:/owl-local:1356
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/barnowl:22510
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h:18636
END
ENDREP
id: 0.0.r808/11633
type: dir
pred: 0.0.r807/17925
count: 808
text: 808 11245 105 105 76d8543005460068adb519d823b8a76b
props: 808 11363 257 0 cbc3dae1493a52ca6471d7df002ee47d
cpath: /
copyroot: 0 /

87.0.t807-1 modify true false /trunk/owl/perl/modules/IRC/lib/BarnOwl/Message/IRC.pm

8a.0.t807-1 modify true false /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm

8b.0.t807-1 modify true false /trunk/owl/perl/modules/IRC/lib/BarnOwl/Module/IRC.pm

1.0.t807-1 modify false true /trunk

8c.0.t807-1 modify false true /branches/par

1.1u.t807-1 modify false true /branches/barnowl_sqlite

1.1t.t807-1 modify false true /branches/barnowl_unicode

0.0.t807-1 modify false true /


11633 11831
