bugWeeChat - Bugs: bug #34246, Variable substitution in aliases...

 
 

bug #34246: Variable substitution in aliases commands

Submitted by:  Christopher O'Neill <deltafire>
Submitted on:  Wed 07 Sep 2011 04:25:59 PM UTC  
 
Category: core commandsSeverity: 3 - Normal
Item Group: commandStatus: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 0.3.5IRC nick: Deltafire

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 28 Jul 2012 06:29:07 AM UTC, comment #1:

Very much "expected behaviour" - it is documented in /help alias (as of v0.3.8 if not earlier).

SAL9000 <sal9000>
Wed 07 Sep 2011 04:25:59 PM UTC, original submission:

Variables such as $nick are expanded when using user-defined aliases, for example:

/alias wc /msg #weechat

/msg #weechat hello $nick
-> <Deltafire> hello $nick

/wc hello $nick
-> <Deltafire> hello Deltafire

Hard to say if this is a bug, but it was certainly not expected behaviour.

Christopher O'Neill <deltafire>

 

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

Attach File(s):
   
   
Comment:
   

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 sal9000 (Posted a comment)
  • -unavailable- added by flashcode (Updated the item)
  • -unavailable- added by deltafire (Submitted the item)
  •  

    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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 22 Sep 2011 03:35:10 PM UTCflashcodeRelease0.4.4-dev=>0.3.5

    Back to the top


    Powered by Savane 3.1-cleanup