summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-28 05:28:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-28 05:28:25 +0000
commit08c23ce6d4c21f7cee9be2248d0fec15c153a23a (patch)
treeee41bc4ea0c8fc9d53b0b67dcdd8c40f79b5edc4 /src/irc/core/irc-servers.h
parenta6ee439c263f9560c6b7711dd4a4d8e8c24f11aa (diff)
downloadirssi-08c23ce6d4c21f7cee9be2248d0fec15c153a23a.zip
Don't change the "wanted nick" when receiving NICK event from server, unless
we did the /NICK change. This is useful with the new irc servers changing your nick to your UID instead of killing you, at reconnect time you'd get "invalid nick" when irssi would try setting the UID as your nick.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2351 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-servers.h')
-rw-r--r--src/irc/core/irc-servers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers.h b/src/irc/core/irc-servers.h
index 0ef53a48..370dd0d1 100644
--- a/src/irc/core/irc-servers.h
+++ b/src/irc/core/irc-servers.h
@@ -43,6 +43,8 @@ struct _IRC_SERVER_REC {
REDIRECT_REC *redirect_next;
REDIRECT_REC *redirect_continue;
+ char *last_nick; /* last /NICK, kept even if it resulted as not valid change */
+
char *real_address; /* address the irc server gives */
char *usermode; /* The whole mode string .. */
char *wanted_usermode; /* The usermode we want to use, doesn't include the modes given us by the server (eg. +r) */