Changeset 270


Ignore:
Timestamp:
09/17/03 11:49:27 (8 years ago)
Author:
jamesoff
Message:

return something for %OWNER{}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r269 r270  
    300300  #safe to do these here 
    301301  #try to get sensible names 
    302   set uhost [getchanhost $bMotionCache(randomUser)] 
    303   set ruser [bMotionGetRealName $bMotionCache(randomUser) $uhost] 
     302  #set uhost [getchanhost $bMotionCache(randomUser)] 
     303  set ruser [bMotionGetRealName $bMotionCache(randomUser)] 
    304304  set line [bMotionInsertString $line "%ruser" $ruser] 
    305305 
    306   set uhost [getchanhost $bMotionCache(remoteBot)] 
    307   putloglev 3 * "bMotion: remote bothost = $uhost" 
    308   set rbot [bMotionGetRealName $bMotionCache(remoteBot) $uhost] 
    309   putloglev 3 * "bMotion: remote bot nick = $rbot" 
     306  #set uhost [getchanhost $bMotionCache(remoteBot)] 
     307  #putloglev 3 * "bMotion: remote bothost = $uhost" 
     308  set rbot [bMotionGetRealName $bMotionCache(remoteBot)] 
     309  #putloglev 3 * "bMotion: remote bot nick = $rbot" 
    310310  set line [bMotionInsertString $line "%rbot" $rbot] 
    311311 
     
    719719 
    720720proc bMotionMakePossessive { text { altMode 0 }} { 
     721  if {$text == ""} { 
     722    return "someone's" 
     723  } 
     724 
    721725  if {$text == "me"} { 
    722726    if {$altMode == 1} { 
Note: See TracChangeset for help on using the changeset viewer.