barnowl_perlaim
Last change
on this file since 7a1c90d 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:
439 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 | $connection->proto_send(reqid => $reqid, protobit => "self_information", protodata => { |
---|
8 | screenname => $screenname, |
---|
9 | evil => 0, |
---|
10 | flags => 0x20, |
---|
11 | onsince => time(), |
---|
12 | idle => 0, |
---|
13 | session_length => 0, |
---|
14 | ip => 0 |
---|
15 | }); |
---|
16 | |
---|
17 | }; |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.