Parent Directory | Revision Log | Patch
revision 37 by dpavlin, Sun Jun 25 17:40:59 2006 UTC | revision 38 by dpavlin, Sun Jun 25 17:48:33 2006 UTC | |
---|---|---|
# | Line 363 C<me> if not specified will be C<0> (not | Line 363 C<me> if not specified will be C<0> (not |
363 | sub save_message { | sub save_message { |
364 | my $a = {@_}; | my $a = {@_}; |
365 | $a->{me} ||= 0; | $a->{me} ||= 0; |
366 | $a->{time} ||= strftime($TIMESTAMP,localtime()); | |
367 | ||
368 | ||
369 | $a->{time} ? $a->{time} . " " : strftime($TIMESTAMP,localtime()), | $a->{time}, " ", |
370 | $a->{channel}, " ", | $a->{channel}, " ", |
371 | $a->{me} ? "***" . $a->{nick} : "<" . $a->{nick} . ">", | $a->{me} ? "***" . $a->{nick} : "<" . $a->{nick} . ">", |
372 | " " . $a->{msg} . "\n"; | " " . $a->{msg} . "\n"; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |