diff --git a/scripts/yiff.pl b/scripts/yiff.pl index 30a82f6..aaa0a5d 100644 --- a/scripts/yiff.pl +++ b/scripts/yiff.pl @@ -74,7 +74,8 @@ sub yiff { $yiff =~ s/\$channel/$channel/g; weechat::command($buffer, "/me $yiff"); } else { - weechat::print($buffer, "Cannot open '$dbfile' ". + weechat::print($buffer, weechat::prefix('error'). + "Cannot open '$dbfile' ". "(make sure the db directory and file exists)"); return weechat::WEECHAT_RC_ERROR; }