Changeset 9c7a701 for perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
- Timestamp:
- Feb 15, 2008, 12:56:49 AM (13 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 18a54ee
- Parents:
- a6a4155
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r879e7e94 r9c7a701 116 116 BarnOwl::error("Connection for $jid undefined -- error in reload?"); 117 117 } 118 119 my $status = $client->Process(0);120 if ( !defined($status) ) {121 BarnOwl::error("Jabber account $jid disconnected!");122 do_logout($jid);123 }124 118 if ($::shutdown) { 125 119 do_logout($jid); 126 return;120 next; 127 121 } 128 122 if ($vars{status_changed}) { … … 387 381 $conn->renameConnection($jidStr, $fullJid); 388 382 queue_admin_msg("Connected to jabber as $fullJid"); 383 # The remove_dispatch() method is called from the 384 # ConnectionManager's removeConnection() method. 385 BarnOwl::add_dispatch($client->getSocket()->fileno(), sub { $client->OwlProcess() }); 389 386 } 390 387 }
Note: See TracChangeset
for help on using the changeset viewer.