Don't run weechat-button-log-functions twice for the same url

Signed-off-by: Moritz Ulrich <ulrich.moritz@googlemail.com>