mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Throw an error when a chatnet has no available url
If you type /connect <CN> and the chatnet <CN> has no url available let's just throw an error instead of trying to process <CN> as a url.
This commit is contained in:
parent
795b7de808
commit
6745dd6159
6 changed files with 15 additions and 2 deletions
|
|
@ -41,7 +41,8 @@ enum {
|
|||
CMDERR_INVALID_TIME, /* invalid time specification */
|
||||
CMDERR_INVALID_CHARSET, /* invalid charset specification */
|
||||
CMDERR_EVAL_MAX_RECURSE, /* eval hit recursion limit */
|
||||
CMDERR_PROGRAM_NOT_FOUND /* program not found */
|
||||
CMDERR_PROGRAM_NOT_FOUND, /* program not found */
|
||||
CMDERR_NO_SERVER_DEFINED, /* no server has been defined for a given chatnet */
|
||||
};
|
||||
|
||||
/* Return the full command for `alias' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue