Changeset e0fba58 for perl/modules/IRC/lib
- Timestamp:
- Mar 11, 2009, 6:22:41 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 82dd923
- Parents:
- 19aeff4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
rf17bb2c0 re0fba58 147 147 148 148 BarnOwl::new_command( 149 'irc-msg' => mk_irc_command( \&cmd_msg , OPTIONAL_CHANNEL),149 'irc-msg' => mk_irc_command( \&cmd_msg ), 150 150 { 151 151 summary => 'Send an IRC message', … … 380 380 my $cmd = shift; 381 381 my $conn = shift; 382 my $to = shift || shift or die("Usage: $cmd NICK\n");382 my $to = shift or die("Usage: $cmd [NICK|CHANNEL]\n"); 383 383 # handle multiple recipients? 384 384 if(@_) {
Note: See TracChangeset
for help on using the changeset viewer.