- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r879e7e94 r6b580b0 116 116 BarnOwl::error("Connection for $jid undefined -- error in reload?"); 117 117 } 118 118 # We keep this in the mainloop hook for keep-alives 119 119 my $status = $client->Process(0); 120 120 if ( !defined($status) ) { … … 124 124 if ($::shutdown) { 125 125 do_logout($jid); 126 return; 127 } 126 next; 127 } 128 128 129 if ($vars{status_changed}) { 129 130 my $p = new Net::Jabber::Presence; … … 387 388 $conn->renameConnection($jidStr, $fullJid); 388 389 queue_admin_msg("Connected to jabber as $fullJid"); 390 # The remove_dispatch() method is called from the 391 # ConnectionManager's removeConnection() method. 392 $client->{fileno} = $client->getSocket()->fileno(); 393 #queue_admin_msg("Connected to jabber as $fullJid ($client->{fileno})"); 394 BarnOwl::add_dispatch($client->{fileno}, sub { $client->OwlProcess() }); 389 395 } 390 396 }
Note: See TracChangeset
for help on using the changeset viewer.