use buffer passed by callback

when a user types in a command, the associated buffer is not necessarily
the same as returned by weechat.current_buffer (e.g. relay client)
Merge branch 'current-buffer'