mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-15 07:32:30 +01:00
Fix messages on networks that have chantypes the same as nick prefixes
Closes #763
This commit is contained in:
parent
bfa199be79
commit
9f8073ab77
@ -1197,7 +1197,8 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[],
|
|||||||
if (*to)
|
if (*to)
|
||||||
{
|
{
|
||||||
/* Handle limited channel messages, for now no special event */
|
/* Handle limited channel messages, for now no special event */
|
||||||
if (strchr (serv->nick_prefixes, to[0]) != NULL)
|
if (strchr (serv->chantypes, to[0]) == NULL
|
||||||
|
&& strchr (serv->nick_prefixes, to[0]) != NULL)
|
||||||
to++;
|
to++;
|
||||||
|
|
||||||
text = word_eol[4];
|
text = word_eol[4];
|
||||||
|
Loading…
Reference in New Issue
Block a user