initialize a variable
This commit is contained in:
parent
71a9e85db3
commit
dea8edf380
1 changed files with 2 additions and 1 deletions
|
@ -503,7 +503,8 @@ void ui::process_message(const config& msg, const bool whisper) {
|
|||
if (!show_message) return;
|
||||
}
|
||||
|
||||
bool ignored, is_friend = false;
|
||||
bool ignored = false;
|
||||
bool is_friend = false;
|
||||
if (preferences::get_prefs()->child("relationship")) {
|
||||
const config& cignore = *preferences::get_prefs()->child("relationship");
|
||||
ignored = (cignore[sender] == "ignored");
|
||||
|
|
Loading…
Add table
Reference in a new issue