Changeset 158
- Timestamp:
- 03/10/08 02:00:20 (9 months ago)
- Files:
-
- trunk/Phergie/Plugin/Acronym.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Plugin/Acronym.php
r156 r158 173 173 } while (($this->limit == 0 || count($matches) < $this->limit) && $count == 1); 174 174 175 $text = 'Possible matches for ' . $acronym . ': ' . implode(', ', $matches); 176 $this->doPrivmsg($target, $text); 175 if (count($matches) > 0) { 176 $text = 'Possible matches for ' . $acronym . ': ' . implode(', ', $matches); 177 $this->doPrivmsg($target, $text); 178 } 177 179 } 178 180 }