From 7b0b86c9f7841217d4156503fbe004fdea54caeb Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 11 May 2013 02:40:08 +0200 Subject: Nuke nickserv password field and some cosmetics --- src/common/servlist.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/common/servlist.c') diff --git a/src/common/servlist.c b/src/common/servlist.c index 9386bf16..f30dcf48 100644 --- a/src/common/servlist.c +++ b/src/common/servlist.c @@ -925,7 +925,6 @@ servlist_cleanup (void) { net = list->data; free_and_clear (net->pass); - free_and_clear (net->nickserv); } } @@ -951,7 +950,6 @@ servlist_net_remove (ircnet *net) free (net->autojoin); if (net->command) free (net->command); - free_and_clear (net->nickserv); if (net->comment) free (net->comment); if (net->encoding) @@ -1110,9 +1108,6 @@ servlist_load (void) case 'S': /* new server/hostname for this network */ servlist_server_add (net, buf + 2); break; - case 'B': - net->nickserv = strdup (buf + 2); - break; case 'L': net->logintype = atoi (buf + 2); break; @@ -1225,8 +1220,6 @@ servlist_save (void) fprintf (fp, "P=%s\n", net->pass); if (net->autojoin) fprintf (fp, "J=%s\n", net->autojoin); - if (net->nickserv) - fprintf (fp, "B=%s\n", net->nickserv); if (net->logintype) fprintf (fp, "L=%d\n", net->logintype); if (net->encoding && g_ascii_strcasecmp (net->encoding, "System") && -- cgit 1.4.1