Only add the 'do_not_allow' if target user ($args[0]) is set.
Fixes #6095.
Merge pull request #6108 from barrykooij/fix/6095

Only add the 'do_not_allow' if target user ($args[0]) is set.