Changeset 926c721 for perl/modules


Ignore:
Timestamp:
Sep 18, 2013, 1:46:31 PM (11 years ago)
Author:
Edward Z. Yang <ezyang@mit.edu>
Branches:
master, release-1.10
Children:
41064be
Parents:
441fd42
git-author:
James Wright <james2vegas@aim.com> (09/17/13 21:41:55)
git-committer:
Edward Z. Yang <ezyang@mit.edu> (09/18/13 13:46:31)
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 r926c721  
    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.