diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-03-18 20:18:58 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-03-19 14:04:53 +0100 |
commit | 6745dd6159afc6ff220d09d7adc1923218fa756b (patch) | |
tree | ed7c3222c31506efef15053e39ce4b03b9fd3317 /src/fe-common/core/module-formats.c | |
parent | 795b7de80891d51adfb912798ca954431cbf702b (diff) | |
download | irssi-6745dd6159afc6ff220d09d7adc1923218fa756b.zip |
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.
Diffstat (limited to 'src/fe-common/core/module-formats.c')
-rw-r--r-- | src/fe-common/core/module-formats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c index e6d32b6d..b897b0c6 100644 --- a/src/fe-common/core/module-formats.c +++ b/src/fe-common/core/module-formats.c @@ -223,6 +223,7 @@ FORMAT_REC fecommon_core_formats[] = { { "invalid_charset", "Invalid charset: $0", 1, { 0 } }, { "eval_max_recurse", "/eval hit maximum recursion limit", 0 }, { "program_not_found", "Could not find file or file is not executable", 0 }, + { "no_server_defined", "No servers defined for this network, see /help server for how to add one", 0 }, /* ---- */ { NULL, "Themes", 0 }, |