mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
Updating FactoidModuleLauncher.pm to correct slash intrapolation (esp on newlines)
This commit is contained in:
parent
aead7b17da
commit
45152f74b4
@ -100,7 +100,7 @@ sub execute_module {
|
||||
$lr = $r if not defined $lr;
|
||||
|
||||
if(defined $e) {
|
||||
$e =~ s/\\//g;
|
||||
$e =~ s/\\([^\w])/$1/g;
|
||||
$e =~ s/'/'\\''/g;
|
||||
$e =~ s/^'\\''/'/;
|
||||
$e =~ s/'\\''$/'/;
|
||||
|
Loading…
Reference in New Issue
Block a user