Software Freedom Law Center

Changeset 142

Show
Ignore:
Timestamp:
06/08/08 17:00:06 (6 months ago)
Author:
landon
Message:

Fixed a problem where I was using the incorrect variable to get the nick of the
person talking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/antimatter/luke/myplugs/libtracker/auth.py

    r141 r142  
    33def authenticate_name(bot, ievent): 
    44    """ Not authentication, just checks that the name exists """ 
    5     bot.say(ievent.name,"Username?",how='msg') 
     5    bot.say(ievent.nick,"Username?",how='msg') 
    66    #rlog(99,"Debug","Testing for auth reload") 
    77    username = waitforuser(bot, ievent.userhost, 30) 
    88    if (username == None): 
    9         bot.say(ievent.name,"You have failed to provide a username, do you want to try again? (y/n)") 
     9        bot.say(ievent.nick,"You have failed to provide a username, do you want to try again? (y/n)") 
    1010        response = waitforuser(bot, ievent.userhost, 10) 
    1111        if (not response == None): 

SFLC Main Page

[frdm] Support SFLC