mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-08 12:43:24 -04:00
simplifying logic, fixed "misspelled" "i"
This commit is contained in:
parent
ca7bfe518f
commit
fb86608563
1 changed files with 2 additions and 6 deletions
|
@ -530,13 +530,9 @@ sub plugin_output {
|
||||||
$said->{forwarding} = undef; #unset forwarding, we will never forward to someone with this.
|
$said->{forwarding} = undef; #unset forwarding, we will never forward to someone with this.
|
||||||
$text = "I can't forward that to another user because of the contents, it might trigger an exploit that would get both me and you in trouble.";
|
$text = "I can't forward that to another user because of the contents, it might trigger an exploit that would get both me and you in trouble.";
|
||||||
}
|
}
|
||||||
elsif ($said->{channel} eq "*irc_msg")
|
elsif ($said->{channel} ne "*irc_msg") #we don't care about it if they're doing it to themselves in /msg
|
||||||
{
|
{
|
||||||
#we don't care about it if they're doing it to themselves in /msg
|
$text = "I can't do that, if I did both you and I could get in trouble.";
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$text = "I can't do that, if i did both you and i could get in trouble.";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#this forwards messages to priv_msg for users
|
#this forwards messages to priv_msg for users
|
||||||
|
|
Loading…
Add table
Reference in a new issue