1
0
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:
Kristofer M White 2014-03-05 19:55:02 +00:00
parent 3f18d933ca
commit 7c6755b62c

View File

@ -1643,9 +1643,10 @@ cmd_join(gchar **args, struct cmd_help_t help)
} }
} }
} }
}
// otherwise use account preference // In the case that a nick wasn't provided by the optional args...
} else { if (nick == NULL) {
nick = account->muc_nick; nick = account->muc_nick;
} }