mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Ensuring nick is set when not included in opt args for cmd_join
This commit is contained in:
parent
3f18d933ca
commit
7c6755b62c
@ -1643,9 +1643,10 @@ cmd_join(gchar **args, struct cmd_help_t help)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// otherwise use account preference
|
||||
} else {
|
||||
// In the case that a nick wasn't provided by the optional args...
|
||||
if (nick == NULL) {
|
||||
nick = account->muc_nick;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user