source: perl/modules/AIM/lib/Net/OSCAR/ServerCallbacks/1/set_extended_status.pm @ 3dcccba

barnowl_perlaim
Last change on this file since 3dcccba was 7a1c90d, checked in by Geoffrey Thomas <geofft@mit.edu>, 14 years ago
Skeleton AIM module, and Net::OSCAR 1.925
  • Property mode set to 100644
File size: 448 bytes
Line 
1package Net::OSCAR::ServerCallbacks;
2use strict;
3use warnings;
4use vars qw($SESSIONS $SCREENNAMES %COOKIES $screenname $connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
5sub {
6
7if($data{status_message}) {
8        $SESSIONS->{$screenname}->{status}->{extstatus} = $data{status_message}->{message};
9} elsif($data{stealth}) {
10        $SESSIONS->{$screenname}->{status}->{stealth} = $data{stealth}->{state} & 0x100;
11}
12
13};
14
Note: See TracBrowser for help on using the repository browser.