mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-22 15:48:52 -05: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)
|
||||
{
|
||||
/* 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++;
|
||||
|
||||
text = word_eol[4];
|
||||
|
Loading…
Reference in New Issue
Block a user