From: Aaron Schulz Date: Mon, 13 Oct 2008 17:27:44 +0000 (+0000) Subject: Allow no prefix here X-Git-Tag: 1.31.0-rc.0~44759 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=20e9f00c8249eae8f2b2a65e7dacddcd67df92bb;p=lhc%2Fweb%2Fwiklou.git Allow no prefix here --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index ba52b9f823..a9e10e3d71 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -218,7 +218,7 @@ class RecentChange $address = $address ? $address : $wgRC2UDPAddress; $prefix = $prefix ? $prefix : $wgRC2UDPPrefix; # Notify external application via UDP - if( $address && $prefix ) { + if( $address ) { $conn = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP ); if( $conn ) { $line = $prefix . $line;