Changeset 452
- Timestamp:
- 07/09/12 15:40:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bot/trunk/lib/Sophie/Bot/Term.pm
r302 r452 18 18 sub show_reply { 19 19 my ($self, $heap, $reply) = @_; 20 print "$_\n" foreach (@{$reply->{message}}); 20 if ($reply->{error}) { 21 print $reply->{error} . "\n"; 22 } else { 23 print "$_\n" foreach (@{$reply->{message}}); 24 } 21 25 } 22 26
Note: See TracChangeset
for help on using the changeset viewer.