diff options
Diffstat (limited to 'src/core/servers-setup.c')
-rw-r--r-- | src/core/servers-setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index 4a048282..990d2d4b 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -323,6 +323,8 @@ server_create_conn(int chat_type, const char *dest, int port, rec = create_chatnet_conn(chatrec->name, port, password, nick); if (rec != NULL) return rec; + /* The chatnet has no url to connect to */ + return NULL; } chatrec = chatnet == NULL ? NULL : chatnet_find(chatnet); |