diff libpurple/protocols/irc/irc.h @ 22956:f1dfc0d70d19

Fix irc nick collision handling, as requested by that demanding user elb. Now we append the extra digit, unless the server responds with a shorter nick than we requested, in which case we just change the last digit as before.
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 15 May 2008 15:22:04 +0000
parents ef4ac2a83e1c
children dc359ea9eb9a
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.h	Thu May 15 13:26:55 2008 +0000
+++ b/libpurple/protocols/irc/irc.h	Thu May 15 15:22:04 2008 +0000
@@ -88,6 +88,8 @@
 	time_t recv_time;
 
 	char *mode_chars;
+	char *reqnick;
+	gboolean nickused;
 };
 
 struct irc_buddy {