mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 07:24:09 +01:00
Remove code duplication
This commit is contained in:
parent
2a012594e7
commit
6ddfce4cc3
@ -266,11 +266,10 @@ sub interpret {
|
||||
|
||||
if (exists $stuff->{pipe}) {
|
||||
$stuff->{pipe_rest} = "$rest | { $stuff->{pipe} }$stuff->{pipe_rest}";
|
||||
$stuff->{pipe} = $pipe;
|
||||
} else {
|
||||
$stuff->{pipe} = $pipe;
|
||||
$stuff->{pipe_rest} = $rest;
|
||||
}
|
||||
$stuff->{pipe} = $pipe;
|
||||
}
|
||||
|
||||
# unescape any escaped pipes
|
||||
|
Loading…
Reference in New Issue
Block a user