Changeset 1741


Ignore:
Timestamp:
2000-12-05T13:39:53+13:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a little bug that was causing pluginfo.pl to print some dodgy looking
stuff for plugins inheriting from ConvertToPlug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToPlug.pm

    r1705 r1741  
    5252sub print_usage {
    5353    my ($plugin_name) = @_;
     54   
     55    # for when this function is called directly by pluginfo.pl
     56    if (ref ($plugin_name)) {
     57    $plugin_name = ref ($plugin_name);
     58    }
    5459
    5560    print STDERR "\n  usage: plugin $plugin_name [options]\n\n";
Note: See TracChangeset for help on using the changeset viewer.