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;
|
session *ctx;
|
||||||
|
|
||||||
/* Split channel and network, either may be empty */
|
/* Split channel and network, either may be empty */
|
||||||
if ((serv = strchr (chan, '/')))
|
if ((serv = strrchr (chan, '/')))
|
||||||
{
|
{
|
||||||
*serv = '\0';
|
*serv = '\0';
|
||||||
serv++;
|
serv++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user