diff options
author | Timo Sirainen <cras@irssi.org> | 2001-10-20 22:02:55 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-10-20 22:02:55 +0000 |
commit | e5abcdb76c17b9b64085d3e2a041c0ae1c2d6af7 (patch) | |
tree | 3901e7f83bbf4c35ba7b17be465af71d7d1ca6fb /src | |
parent | 097206878dedaba805d18e75ceb53a3726e75b36 (diff) | |
download | irssi-e5abcdb76c17b9b64085d3e2a041c0ae1c2d6af7.zip |
fix a fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1869 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/servers-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index 795baefa..38d34ecd 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -299,7 +299,7 @@ server_create_conn(int chat_type, const char *dest, int port, return rec; } - chatrec = chatnet_find(chatnet); + chatrec = chatnet == NULL ? NULL : chatnet_find(chatnet); if (chatrec != NULL) chatnet = chatrec->name; |