mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
/kick factoids can now be piped
This commit is contained in:
parent
7b903854a3
commit
45dcefc752
@ -373,6 +373,7 @@ sub handle_result {
|
||||
# FIXME: do this better
|
||||
if ($result =~ m{^(/say |/me )}i) {
|
||||
} elsif ($result =~ m{^/msg ([^ ]+) }i) {
|
||||
} elsif ($result =~ m{^/kick }i) {
|
||||
} else {
|
||||
$result = "$stuff->{prepend}$result";
|
||||
$self->{pbot}->{logger}->log("Prepending [$stuff->{prepend}] to result [$result]\n");
|
||||
|
Loading…
Reference in New Issue
Block a user