diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-01-06 21:40:30 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-01-06 21:40:30 +0100 |
commit | c61586baaa5accc511ff170227201e64f3f0d007 (patch) | |
tree | 80ecc2800904c848889a3f50019e0735ed510e49 /src | |
parent | c795086e8f5aefec6bafed0b7b41108888dfc70d (diff) | |
download | weechat-c61586baaa5accc511ff170227201e64f3f0d007.zip |
Fix typo
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-server.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index c6fdb1280..4b4709826 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -716,7 +716,9 @@ irc_server_free_all () { /* for each server in memory, remove it */ while (irc_servers) + { irc_server_free (irc_servers); + } } /* @@ -2168,7 +2170,7 @@ irc_server_connect (struct t_irc_server *server, int disable_autojoin) } #ifndef HAVE_GNUTLS - if (weechat_config_boolean (IRC_SERVER_OPTION(server, IRC_SERVER_OPTION_SSL))) + if (weechat_config_boolean (IRC_SERVER_OPTION_BOOLEAN(server, IRC_SERVER_OPTION_SSL))) { weechat_printf (server->buffer, _("%s%s: cannot connect with SSL since WeeChat " @@ -2492,6 +2494,8 @@ irc_server_search (const char *server_name) if (strcmp (ptr_server->name, server_name) == 0) return ptr_server; } + + /* server not found */ return NULL; } |