mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-02 00:49:26 +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;
|
$lr = $r if not defined $lr;
|
||||||
|
|
||||||
if(defined $e) {
|
if(defined $e) {
|
||||||
$e =~ s/\\//g;
|
$e =~ s/\\([^\w])/$1/g;
|
||||||
$e =~ s/'/'\\''/g;
|
$e =~ s/'/'\\''/g;
|
||||||
$e =~ s/^'\\''/'/;
|
$e =~ s/^'\\''/'/;
|
||||||
$e =~ s/'\\''$/'/;
|
$e =~ s/'\\''$/'/;
|
||||||
|
Loading…
Reference in New Issue
Block a user