From: pdbogen Date: Sat, 13 Aug 2011 04:33:52 +0000 (+0000) Subject: Propagate the flag indicating whether URL trapping is enabled. X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=8821a2bd70948b840c807b1781d0c7b969dff3fa;p=destult.git Propagate the flag indicating whether URL trapping is enabled. git-svn-id: https://www.cernu.us/~pdbogen/svn/destult2@116 088b83a4-0077-4247-935c-42ec02c2848b --- diff --git a/irc.pl b/irc.pl index c94fe56..661f22b 100644 --- a/irc.pl +++ b/irc.pl @@ -202,7 +202,7 @@ sub on_public { $msg =~ s/(\x3)[0-9]{0,2}//g; $msg =~ s/\x02//g; $cmd = ( split( / /, $msg, 2 ) )[0]; - $kernel->post( "core", "core_public", $who, $msg, $self->{ "ssid" }, $dest->[0], "send_public_to", ($bridged==0) ); + $kernel->post( "core", "core_public", $who, $msg, $self->{ "ssid" }, $dest->[0], "send_public_to", ($bridged==0), $self->{ "trapEnabled" } ); } sub on_private {