1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

Fixed bug in notice display when no '!' is found in host

This commit is contained in:
Sebastien Helleu
2004-12-28 07:52:56 +00:00
parent 39b5f07d6f
commit 0f95a48854
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -714,8 +714,12 @@ irc_cmd_recv_notice (t_irc_server *server, char *host, char *arguments)
{
pos = strchr (host, '!');
if (pos)
{
pos[0] = '\0';
host2 = pos + 1;
host2 = pos + 1;
}
else
host2 = NULL;
}
pos = strchr (arguments, ' ');
+5 -1
View File
@@ -714,8 +714,12 @@ irc_cmd_recv_notice (t_irc_server *server, char *host, char *arguments)
{
pos = strchr (host, '!');
if (pos)
{
pos[0] = '\0';
host2 = pos + 1;
host2 = pos + 1;
}
else
host2 = NULL;
}
pos = strchr (arguments, ' ');