thrasherbird.pl: Item disco target config was missing.
[thrasher.git] / perl / lib / Thrasher / Protocol / Purple / ICQ.pm
blobfdf633ae74eb6d6c327afdccc225e54825f24e8f
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_message {
22 my ($self, $body_text) = @_;
24 return escapeHTML($body_text);
27 sub process_remote_username {
28 my $self = shift;
29 my $s = shift;
30 $s =~ tr/[A-Z]/[a-z]/;
31 $s =~ s/ //g;
32 return $s;
35 sub name { "ICQ" }
36 sub identifier { "icq" }
37 sub gateway_prompt { "Enter ICQ identifier:" }
38 sub gateway_desc { "Enter ICQ identifier:" }