3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

MessageHistory: remove no-longer-necessary single-quote logic

This commit is contained in:
Pragmatic Software 2019-06-09 21:49:47 -07:00
parent 982d4b4b8d
commit e1abf1a1a7

View File

@ -149,7 +149,6 @@ sub list_also_known_as {
Getopt::Long::Configure ("bundling");
$arguments =~ s/(?<!\\)'/\\'/g;
my ($show_hostmasks, $show_gecos, $show_nickserv, $show_id, $show_relationship, $show_weak, $dont_use_aliases_table);
my ($ret, $args) = GetOptionsFromString($arguments,
'h' => \$show_hostmasks,
@ -242,7 +241,6 @@ sub recall_message {
foreach my $recall (@recalls) {
my ($recall_nick, $recall_history, $recall_channel, $recall_before, $recall_after, $recall_context, $recall_count);
$recall =~ s/(?<!\\)'/\\'/g;
my ($ret, $args) = GetOptionsFromString($recall,
'channel|c:s' => \$recall_channel,
'text|t|history|h:s' => \$recall_history,