Added null check for jidp in cmd_sub to handle jid_create returning NULL. Crash occurred when processing malformed JID inputs like @example.com. Ensures robust handling of invalid JIDs. Fixes #22
This reverts commit 9b55f2dec0. Sorting the includes creates some problems.
9b55f2dec0
Regards https://github.com/profanity-im/profanity/issues/1396