Net::REPL::Client: Allow read/print portions to be overridden separately.
[thrasher.git] / perl / lib / Thrasher / Protocol / Purple / ICQ.pm
blob3c1d5f61998270eb65111f68bee4baac9e37c7e4
1 package Thrasher::Protocol::Purple::ICQ;
2 use strict;
3 use warnings;
5 =head1 NAME
7 Thrasher::Protocol::Purple::AIM - protocol for connection to AOL
8 Instant Messenger using libpurple
10 =cut
12 use base "Thrasher::Protocol::Purple";
14 use Thrasher::Log qw(log debug);
15 use CGI qw(escapeHTML);
17 sub prpl {
18 return "prpl-icq";
21 sub process_remote_username {
22 my $self = shift;
23 my $s = shift;
24 $s =~ tr/[A-Z]/[a-z]/;
25 $s =~ s/ //g;
26 return $s;
29 sub name { "ICQ" }
30 sub identifier { "icq" }
31 sub gateway_prompt { "Enter ICQ identifier:" }
32 sub gateway_desc { "Enter ICQ identifier:" }