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()

on the android relay client, all the buffer-specific commands will fail without this patch.


(sorry btw for bombarding you with PRs)