mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-09 20:52:45 +01:00
Better handle channels with / in them with doat command
/doat #foo/bar/freenode would work for example.
This commit is contained in:
parent
2965fbcc87
commit
ad359d7a04
@ -1464,7 +1464,7 @@ cmd_doat (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
session *ctx;
|
||||
|
||||
/* Split channel and network, either may be empty */
|
||||
if ((serv = strchr (chan, '/')))
|
||||
if ((serv = strrchr (chan, '/')))
|
||||
{
|
||||
*serv = '\0';
|
||||
serv++;
|
||||
|
Loading…
Reference in New Issue
Block a user