summaryrefslogtreecommitdiff
path: root/src/core/servers-setup.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-06 23:24:12 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-06 23:24:12 +0000
commit8478a63c368eeea56a7d799dde12e551ab491a4e (patch)
treed1779e9730f15cd08255659dc6ca6526b65b70a9 /src/core/servers-setup.c
parentecb334b6cc9b332d589034d10f848d68b5170442 (diff)
downloadirssi-8478a63c368eeea56a7d799dde12e551ab491a4e.zip
/SET default_nick -> /SET nick
/FORMAT own_me -> /FORMAT own_action git-svn-id: http://svn.irssi.org/repos/irssi/trunk@654 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers-setup.c')
-rw-r--r--src/core/servers-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 17300930..980c7f2e 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -105,7 +105,7 @@ static void server_setup_fill(SERVER_CONNECT_REC *conn,
conn->address = g_strdup(address);
conn->port = port > 0 ? port : 6667;
- if (!conn->nick) conn->nick = g_strdup(settings_get_str("default_nick"));
+ if (!conn->nick) conn->nick = g_strdup(settings_get_str("nick"));
conn->username = g_strdup(settings_get_str("user_name"));
conn->realname = g_strdup(settings_get_str("real_name"));
@@ -425,7 +425,7 @@ void servers_setup_init(void)
{
settings_add_str("server", "hostname", "");
- settings_add_str("server", "default_nick", NULL);
+ settings_add_str("server", "nick", NULL);
settings_add_str("server", "user_name", NULL);
settings_add_str("server", "real_name", NULL);