1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 20:45:42 +02:00

Fixed bug with erroneous nickname when connecting to server (bug #19812), fixed display bugs in IRC error messages

This commit is contained in:
Sebastien Helleu
2007-05-09 11:00:11 +00:00
parent 860e9a08f3
commit 054abdff85
26 changed files with 2290 additions and 1846 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-05-04
ChangeLog - 2007-05-09
Version 0.2.5 (under dev!):
* fixed bug with erroneous nickname when connecting to server (bug #19812)
* fixed display bugs in IRC error messages
* added protocol priority for gnutls (patch #5915)
* added channel admin mode '!' for some IRC servers
* fixed bug with iso2022jp locale (bug #18719)
+139 -113
View File
File diff suppressed because it is too large Load Diff
+139 -113
View File
File diff suppressed because it is too large Load Diff
+142 -113
View File
File diff suppressed because it is too large Load Diff
+206 -187
View File
File diff suppressed because it is too large Load Diff
+134 -113
View File
File diff suppressed because it is too large Load Diff
+134 -113
View File
File diff suppressed because it is too large Load Diff
+131 -113
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -428,7 +428,7 @@ t_irc_command irc_commands[] =
{ "431", N_("no nickname given"), "", "",
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error },
{ "432", N_("erroneous nickname"), "", "",
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error },
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_432 },
{ "433", N_("nickname already in use"), "", "",
NULL, 0, 0, 0, 1, NULL, NULL, irc_cmd_recv_433 },
{ "436", N_("nickname collision"), "", "",
+113 -50
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -771,8 +771,6 @@ server_parse_message (char *message, char **host, char **command, char **args)
pos2++;
while (pos2[0] == ' ')
pos2++;
if (pos2[0] == ':')
pos2++;
*args = strdup (pos2);
}
}
+1
View File
@@ -604,6 +604,7 @@ extern int irc_cmd_recv_366 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_367 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_368 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_378 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_432 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_433 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_438 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_671 (t_irc_server *, char *, char *, char *);
+2 -4
View File
@@ -234,11 +234,9 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
pos2++;
while (pos2[0] == ' ')
pos2++;
if (pos2[0] == ':')
*pos_args = pos2 + 1;
else
*pos_args = pos2;
if (pos2[0] != ':')
{
*pos_args = pos2;
if ((pos2[0] == '#') || (pos2[0] == '&')
|| (pos2[0] == '+') || (pos2[0] == '!'))
{
+3 -1
View File
@@ -1,10 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2007-05-04
ChangeLog - 2007-05-09
Version 0.2.5 (under dev!):
* fixed bug with erroneous nickname when connecting to server (bug #19812)
* fixed display bugs in IRC error messages
* added protocol priority for gnutls (patch #5915)
* added channel admin mode '!' for some IRC servers
* fixed bug with iso2022jp locale (bug #18719)
+139 -113
View File
File diff suppressed because it is too large Load Diff
+139 -113
View File
File diff suppressed because it is too large Load Diff
+142 -113
View File
File diff suppressed because it is too large Load Diff
+206 -187
View File
File diff suppressed because it is too large Load Diff
+134 -113
View File
File diff suppressed because it is too large Load Diff
+134 -113
View File
File diff suppressed because it is too large Load Diff
+131 -113
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -428,7 +428,7 @@ t_irc_command irc_commands[] =
{ "431", N_("no nickname given"), "", "",
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error },
{ "432", N_("erroneous nickname"), "", "",
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_error },
NULL, 0, 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_432 },
{ "433", N_("nickname already in use"), "", "",
NULL, 0, 0, 0, 1, NULL, NULL, irc_cmd_recv_433 },
{ "436", N_("nickname collision"), "", "",
File diff suppressed because it is too large Load Diff
-2
View File
@@ -771,8 +771,6 @@ server_parse_message (char *message, char **host, char **command, char **args)
pos2++;
while (pos2[0] == ' ')
pos2++;
if (pos2[0] == ':')
pos2++;
*args = strdup (pos2);
}
}
+1
View File
@@ -604,6 +604,7 @@ extern int irc_cmd_recv_366 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_367 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_368 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_378 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_432 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_433 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_438 (t_irc_server *, char *, char *, char *);
extern int irc_cmd_recv_671 (t_irc_server *, char *, char *, char *);
@@ -234,11 +234,9 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command,
pos2++;
while (pos2[0] == ' ')
pos2++;
if (pos2[0] == ':')
*pos_args = pos2 + 1;
else
*pos_args = pos2;
if (pos2[0] != ':')
{
*pos_args = pos2;
if ((pos2[0] == '#') || (pos2[0] == '&')
|| (pos2[0] == '+') || (pos2[0] == '!'))
{