inverted if() in RealtimePlugin check for tag

This commit is contained in:
Evan Prodromou 2011-09-18 12:52:00 -04:00
parent 915dd9c9b5
commit 06f19d523a

View File

@ -475,7 +475,7 @@ class RealtimePlugin extends Plugin
break;
case 'tag':
$tag = $action->trimmed('tag');
if (empty($tag)) {
if (!empty($tag)) {
$arg1 = $tag;
} else {
$this->log(LOG_NOTICE, "Unexpected 'tag' action without tag argument");