Changeset 42


Ignore:
Timestamp:
02/14/09 18:53:10 (3 years ago)
Author:
notopic
Message:

missed a shrinkspaces point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • QuoteEngine/QuoteEngine.tcl

    r41 r42  
    534534 
    535535proc quote_auto { nick host handle channel text } { 
    536         global quote_automatic 
     536        global quote_automatic quote_shrinkspaces 
    537537        if {$quote_automatic == 0} { 
    538538                return 
     
    603603                set quote [lindex $row 3] 
    604604 
     605                catch { 
     606                        if {$quote_shrinkspaces == 1} { 
     607                                regsub -all "  +" $quote " " quote 
     608                        } 
     609                        set quote [stripcodes bcruag $quote] 
     610                } 
     611 
    605612                putlog "RANDOM QUOTE: $quote ($id)" 
    606613                puthelp "PRIVMSG $channel :\[\002$id\002\] $quote" 
Note: See TracChangeset for help on using the changeset viewer.