Correction to previous commit

This commit is contained in:
Ciaran Gultnieks 2010-01-07 21:01:07 +00:00
parent deeaafe712
commit 14421d9db3

View File

@ -440,7 +440,7 @@ function jabber_public_notice($notice)
// XXX: should we send out non-local messages if public,localonly
// = false? I think not
if ($public && $notice->is_local == LOCAL_PUBLIC) {
if ($public && $notice->is_local == Notice::LOCAL_PUBLIC) {
$profile = Profile::staticGet($notice->profile_id);
if (!$profile) {