Software Freedom Law Center

Changeset 139

Show
Ignore:
Timestamp:
06/07/08 15:23:57 (4 months ago)
Author:
landon
Message:

Added a check for a NoneType? being given instead of an IRCEvent

Files:

Legend:

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

    r138 r139  
    33def authenticate_name(bot, ievent): 
    44    """ Not authentication, just checks that the name exists """ 
    5     bot.say("Landon","Username?"
    6     rlog(99,"Debug","Testing for auth reload") 
     5    bot.say("Landon","Username?",how='msg',fromm="fromme",who="me!"
     6    #rlog(99,"Debug","Testing for auth reload") 
    77    username = waitforuser(bot, ievent.userhost, 30) 
     8    if (username == None): 
     9        ievent.reply("I'm sorry Dave, I'm afraid you gave me a NoneType") 
    810    return username.txt 

SFLC Main Page

[frdm] Support SFLC