Software Freedom Law Center

Changeset 137

Show
Ignore:
Timestamp:
06/06/08 21:02:22 (2 months ago)
Author:
landon
Message:

Restructuring plugin layout as per dunk_'s suggestion

Files:

Legend:

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

    r136 r137  
    44def authenticate_name(bot, ievent): 
    55    """ Not authentication, just checks that the name exists """ 
    6     ievent.reply("Enter your username:", nick=ievent.nick
     6    bot.say("Landon","Username?"
    77    username = waitforuser(bot, ievent.userhost, 30) 
    88    return username.txt 
  • trunk/antimatter/luke/myplugs/libtracker/tracker.py

    r130 r137  
    22 
    33from gozerbot.commands import cmnds 
    4 #from tracker.auth import authenticate_name 
     4import myplugs.libtracker.auth as auth 
    55 
    66def start_tracker(bot, ievent): 
    77    ievent.reply("whoo?") 
    8     #user = auth.authenticate_name(bot, ievent) 
     8    user = auth.authenticate_name(bot, ievent) 
     9    ievent.reply(user) 
    910 
    1011cmnds.add('tracker', start_tracker, 'USER') 
  • trunk/antimatter/luke/myplugs/libtracker/__init__.py

    r132 r137  
     1__all__ = ['auth', 'tracker'] 

SFLC Main Page

[frdm] Support SFLC