barnowl_perlaim
Last change
on this file since 3dcccba was
7a1c90d,
checked in by Geoffrey Thomas <geofft@mit.edu>, 16 years ago
|
Skeleton AIM module, and Net::OSCAR 1.925
|
-
Property mode set to
100644
|
File size:
448 bytes
|
Line | |
---|
1 | package Net::OSCAR::ServerCallbacks; |
---|
2 | use strict; |
---|
3 | use warnings; |
---|
4 | use vars qw($SESSIONS $SCREENNAMES %COOKIES $screenname $connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); |
---|
5 | sub { |
---|
6 | |
---|
7 | if($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.