1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots

This commit is contained in:
Sébastien Helleu
2014-05-06 21:50:08 +02:00
parent 37ad9e3684
commit a54566df2e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -139,6 +139,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* scripts: fix crash when a signal is received with type "int" and NULL pointer
in signal_data
* trigger: add trigger plugin: new command /trigger and file trigger.conf
* xfer: fix problem with option xfer.file.auto_accept_nicks when the server
name contains dots
* xfer: fix freeze/problems when sending empty files with DCC (closes #53)
* xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25)
* xfer: remove bind on xfer.network.own_ip (closes #5)
+1 -1
View File
@@ -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)