(nick, user, host)
return u("{0}!{1}@{2}").format(nick or u(""), user or u(""), host or u(""))
Join the parts of a prefix

    :param nick str: nickname
    :param user str: username
    :param host str: hostname

    :returns str: a string in the form of <nick>!<user>@<host>
Join the parts of a prefix
Join the parts of a prefix
def joinprefix(nick, user, host):
    """Join the parts of a prefix

    :param nick str: nickname
    :param user str: username
    :param host str: hostname

    :returns str: a string in the form of <nick>!<user>@<host>
    """

    return u("{0}!{1}@{2}").format(nick or u(""), user or u(""), host or u(""))
def joinprefix ( nick , user , host ) : return u ( "{0}!{1}@{2}" ) . format ( nick or u ( "" ) , user or u ( "" ) , host or u ( "" ) )