Skip to content

github.tcl #3

@ZioNeL

Description

@ZioNeL

linker cannot be set via dcc:

[01:20:35] Usage: .github linker set
[01:20:52] .github linker set #ZNC /ZioNeL/znc.tcl
[01:20:52] Error: repository has to be a valid GitHub repository in the form of "/username/repository"

In order to fix this the following change must be made:
From:
} elseif {![regexp -- {^/[a-zA-Z0-9]+/[a-zA-Z0-9]+$} $repo]} { ;# FixMe: make sure this is correct
putdcc $idx "Error: repository has to be a valid GitHub repository in the form of "/username/repository""

To:

} elseif {![regexp -- {^/[a-zA-Z0-9]+/[a-zA-Z0-9]-.+$} $repo]} { ;# FixMe: make sure this is correct
putdcc $idx "Error: repository has to be a valid GitHub repository in the form of "/username/repository""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions