mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 05:06:21 +00:00
Ensuring nick is set when not included in opt args for cmd_join
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user