- Timestamp:
- Oct 10, 2009, 9:24:18 PM (17 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 69c3878
- Parents:
- 737b8f1 (diff), 1fdca1b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- perl
- Files:
-
- 3 edited
-
modules/IRC/lib/BarnOwl/Module/IRC.pm (modified) (1 diff)
-
lib/BarnOwl.pm (modified) (1 diff)
-
modules/Jabber/lib/BarnOwl/Module/Jabber.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
r744769e r0c4a190 399 399 $body =~ tr/\n\r/ /; 400 400 if ($body =~ /^\/me (.*)/) { 401 $conn->conn->me($to, $1);401 $conn->conn->me($to, Encode::encode('utf-8', $1)); 402 402 $body = '* '.$conn->nick.' '.$1; 403 403 } else { 404 $conn->conn->privmsg($to, $body);404 $conn->conn->privmsg($to, Encode::encode('utf-8', $body)); 405 405 } 406 406 my $msg = BarnOwl::Message->new( -
perl/lib/BarnOwl.pm
rde3f641 r77c87b2 435 435 sub default_zephyr_signature 436 436 { 437 if (my $zsig = getvar('zsig')) { 438 return $zsig; 437 my $zsig = getvar('zsig'); 438 if (!$zsig && (my $zsigproc = getvar('zsigproc'))) { 439 $zsig = `$zsigproc`; 440 } elsif (!defined($zsig = get_zephyr_variable('zwrite-signature'))) { 441 $zsig = ((getpwuid($<))[6]); 442 $zsig =~ s/,.*//; 439 443 } 440 if (my $zsigproc = getvar('zsigproc')) { 441 return `$zsigproc`; 442 } 443 my $zwrite_signature = get_zephyr_variable('zwrite-signature'); 444 if (defined($zwrite_signature)) { 445 return $zwrite_signature; 446 } 447 my $name = ((getpwuid($<))[6]); 448 $name =~ s/,.*//; 449 return $name; 444 chomp($zsig); 445 return $zsig; 450 446 } 451 447 -
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
r5118b32 r26cde20 321 321 . "add <jid> Adds <jid> to your roster.\n\n" 322 322 . "unsub <jid> Unsubscribe from <jid>'s presence.\n\n" 323 . "remove <jid> Removes <jid> toyour roster. (implicit unsub)\n\n"323 . "remove <jid> Removes <jid> from your roster. (implicit unsub)\n\n" 324 324 . "auth <jid> Authorizes <jid> to subscribe to your presence.\n\n" 325 325 . "deauth <jid> De-authorizes <jid>'s subscription to your presence.\n\n"
Note: See TracChangeset
for help on using the changeset viewer.
