mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 18:44:33 +01:00
factmove
no longer can create factoid keywords with spaces
This commit is contained in:
parent
51b1b25b16
commit
767c0e7532
@ -592,7 +592,7 @@ sub factmove {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($from, $nick, $user, $host, $arguments) = @_;
|
my ($from, $nick, $user, $host, $arguments) = @_;
|
||||||
$arguments = validate_string($arguments);
|
$arguments = validate_string($arguments);
|
||||||
my ($src_channel, $source, $target_channel, $target) = split /\s+/, $arguments, 4 if $arguments;
|
my ($src_channel, $source, $target_channel, $target) = split /\s+/, $arguments, 5 if length $arguments;
|
||||||
|
|
||||||
my $usage = "Usage: factmove <source channel> <source factoid> <target channel/factoid> [target factoid]";
|
my $usage = "Usage: factmove <source channel> <source factoid> <target channel/factoid> [target factoid]";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user