bugWeeChat - Bugs: bug #37427, leading whitespaces stripped from...


bug #37427: leading whitespaces stripped from script commands

Submitted by:  R1cochet <r1cochet>
Submitted on:  Sun 23 Sep 2012 12:39:43 PM UTC  
Category: scriptsSeverity: 3 - Normal
Item Group: irc protocolStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 0.3.9IRC nick: R1cochet

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 23 Sep 2012 12:39:43 PM UTC, original submission:

When sending a command from inside a script the leading whitespaces are stripped.

ex: $text = " Hello World!";
weechat::command($buffer, "/msg $nick $text");

expected output:
<Nick> Hello World!

<Nick> Hello World!

R1cochet <r1cochet>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by r1cochet (Submitted the item)
  • -unavailable- added by r1cochet (R1cochet on freenode.#weechat)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 09:31:25 AM UTCflashcodeRelease2.2-dev=>0.3.9
    Sun 23 Sep 2012 12:39:43 PM UTCr1cochetCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1