[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #27697] python's weechat.command function doesn't see

From: anonymous
Subject: [Weechat-dev] [bug #27697] python's weechat.command function doesn't seem checking the "buffer" argument
Date: Wed, 14 Oct 2009 00:02:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20090913 Shiretoko/3.5.3


                 Summary: python's weechat.command function doesn't seem
checking the "buffer" argument
                 Project: WeeChat
            Submitted by: None
            Submitted on: Wed 14 Oct 2009 12:02:52 AM UTC
                Category: script plugin
                Severity: 3 - Normal
              Item Group: command
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.0
                IRC nick: youshe



Here's a small code to test the behavior :

def handler_ping(data,buffer,date,tags,displayed,highlight,prefix,message):
        weechat.command(buffer,"/say pong")
        return weechat.WEECHAT_RC_OK


I'm B in buffer 2. C in buffer 3 sends me "ping", I can see an answer pong in
buffer 2 from weechat.commant "/say pong" and an answer pong in buffer 3 from
weechat.prnt "pong".

This bug may appear in other script languages and in core API, but I haven't
tested it.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]