Ignore:
Timestamp:
Sep 17, 2013, 9:41:55 PM (11 years ago)
Author:
James Wright <james2vegas@aim.com>
Children:
658421f
Parents:
441fd42
Message:
fix cmd_join in BarnOwl/Module/IRC.pm to use $chan, not $channel which
is not declared or defined in that sub
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/modules/IRC/lib/BarnOwl/Module/IRC.pm

    rbe43554 r5405fb1  
    644644    my $chan = shift @ARGV or die("Usage: $cmd channel\n");
    645645
    646     die "Channel name '$chan' contains a space.  As per RFC 2812, IRC channel names may not contain spaces.\n" unless index($channel, " ") == -1;
     646    die "Channel name '$chan' contains a space.  As per RFC 2812, IRC channel names may not contain spaces.\n" unless index($chan, " ") == -1;
    647647
    648648    $conn->conn->send_msg(join => $chan, @ARGV);
Note: See TracChangeset for help on using the changeset viewer.