mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +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
|
# FIXME: do this better
|
||||||
if ($result =~ m{^(/say |/me )}i) {
|
if ($result =~ m{^(/say |/me )}i) {
|
||||||
} elsif ($result =~ m{^/msg ([^ ]+) }i) {
|
} elsif ($result =~ m{^/msg ([^ ]+) }i) {
|
||||||
|
} elsif ($result =~ m{^/kick }i) {
|
||||||
} else {
|
} else {
|
||||||
$result = "$stuff->{prepend}$result";
|
$result = "$stuff->{prepend}$result";
|
||||||
$self->{pbot}->{logger}->log("Prepending [$stuff->{prepend}] to result [$result]\n");
|
$self->{pbot}->{logger}->log("Prepending [$stuff->{prepend}] to result [$result]\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user