Skip to content

botonchan errors if channel record missing #936

Description

@vanosg

Found by: Nikopol

    #foo        :   2 members, enforcing "+tn"
    #bar       :   1 member, enforcing "+tn"
.tcl botonchan #goo
Tcl error: illegal channel: #goo

Would it be worth considering making botonchan return a -1, instead of an error in this case? I think such a change could still be considered backwards compatible. In any case, docs should be updated to reflect the requirement to use a channel with a valid channel record for it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions