- Timestamp:
- Dec 24, 2006, 6:23:29 PM (18 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- bfbf590
- Parents:
- 72bcca3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/jabber.pl
r5c9c27d rd0b3a40 39 39 my $jidStr = shift; 40 40 41 my $client = Net::Jabber::Client->new(42 owl::getvar('debug') eq 'on'43 ? (debuglevel => ? 1 : 0,44 debugfile => 'jabber.log')45 : ()46 41 my %args = (); 42 if(owl::getvar('debug') eq 'on') { 43 $args{debuglevel} = 1; 44 $args{debugfile} = 'jabber.log'; 45 } 46 my $client = Net::Jabber::Client->new(%args); 47 47 48 48 $self->{Client}->{$jidStr} = $client; … … 363 363 } 364 364 else { 365 $ { $conn->getRosterFromJidStr($jidStr) }->fetch();365 $conn->getRosterFromJidStr($jidStr)->fetch(); 366 366 $client->PresenceSend( priority => 1 ); 367 367 queue_admin_msg("Connected to jabber as $jidStr");
Note: See TracChangeset
for help on using the changeset viewer.