diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-06 21:50:08 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-06 21:50:08 +0200 |
commit | a54566df2e37cc5fac70d8bbd5df72911a5c52e6 (patch) | |
tree | e82ca52e0b01b45871ab1cde592e89956ee6ca7b /src/plugins/xfer/xfer.c | |
parent | 37ad9e368490c4ef6f6d74dcc8911caad49f8e1a (diff) | |
download | weechat-a54566df2e37cc5fac70d8bbd5df72911a5c52e6.zip |
xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots
Diffstat (limited to 'src/plugins/xfer/xfer.c')
-rw-r--r-- | src/plugins/xfer/xfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 4d8ec2615..0839eafd9 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -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) |