3
0
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:
Pragmatic Software 2017-11-20 16:11:18 -08:00
parent 51b1b25b16
commit 767c0e7532

View File

@ -592,7 +592,7 @@ sub factmove {
my $self = shift;
my ($from, $nick, $user, $host, $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]";