- Timestamp:
- Jan 23, 2007, 6:36:41 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:
- 4d17916
- Parents:
- 0a3f04d
- git-author:
- Nelson Elhage <nelhage@mit.edu> (01/23/07 18:36:21)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (01/23/07 18:36:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/jabber.pl
r0a3f04d r0ad0e97 346 346 jabberlogin => \&cmd_login, 347 347 { summary => "Log into jabber", }, 348 { usage => "jabberlogin JID " }348 { usage => "jabberlogin JID [PASSWORD]" } 349 349 ); 350 350 BarnOwl::new_command( … … 399 399 my $jid = new Net::XMPP::JID; 400 400 $jid->SetJID(shift); 401 401 my $password = undef; 402 $password = shift if @_; 403 402 404 my $uid = $jid->GetUserID(); 403 405 my $componentname = $jid->GetServer(); … … 419 421 420 422 $vars{jlogin_jid} = $jidStr; 421 $vars{jlogin_ havepass} = 0;423 $vars{jlogin_password} = $password; 422 424 $vars{jlogin_connhash} = { 423 425 hostname => $server, … … 431 433 }; 432 434 433 return do_login( '');435 return do_login($password); 434 436 } 435 437
Note: See TracChangeset
for help on using the changeset viewer.