yiff.pl: add error prefix to print statement
This commit is contained in:
parent
967d0b1ea9
commit
98fae55006
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user