mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +02:00
xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots
This commit is contained in:
@@ -527,7 +527,7 @@ xfer_nick_auto_accepted (const char *server, const char *nick)
|
||||
{
|
||||
for (i = 0; i < num_nicks; i++)
|
||||
{
|
||||
pos = strchr (nicks[i], '.');
|
||||
pos = strrchr (nicks[i], '.');
|
||||
if (pos)
|
||||
{
|
||||
if ((weechat_strncasecmp (server, nicks[i], pos - nicks[i]) == 0)
|
||||
|
||||
Reference in New Issue
Block a user