diff options
author | Timo Sirainen <cras@irssi.org> | 2004-03-03 16:57:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-03-03 16:57:53 +0000 |
commit | ca20209ce2520affc9eea3583beaaee1562843c4 (patch) | |
tree | 4f3aeefd15728177884ca26c76c539fc51a6bd35 /src/core | |
parent | 1757418c613b011a9a7f75bdb3f4b4b7ceb8754f (diff) | |
download | irssi-ca20209ce2520affc9eea3583beaaee1562843c4.zip |
reverted the username/realname keeping with /reconnect. it was broken.
fixing it properly would need to keep track of if the username/realname
came from /ircnet -username or /server add -username or what..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3228 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/servers-reconnect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/servers-reconnect.c b/src/core/servers-reconnect.c index 9b164a39..a1856546 100644 --- a/src/core/servers-reconnect.c +++ b/src/core/servers-reconnect.c @@ -175,6 +175,8 @@ server_connect_copy_skeleton(SERVER_CONNECT_REC *src, int connect_info) dest->chatnet = g_strdup(src->chatnet); dest->nick = g_strdup(src->nick); + dest->username = g_strdup(src->username); + dest->realname = g_strdup(src->realname); if (src->own_ip4 != NULL) { dest->own_ip4 = g_new(IPADDR, 1); |