Changeset 2244:63334cb25385

Show
Ignore:
Timestamp:
08/21/08 01:57:48 (3 months ago)
Author:
dunker@…
Branch:
default
Message:

allow OPER users to install remote plugins

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gozerplugs/plugs/install.py

    r2158 r2244  
    218218def handle_install(bot, ievent): 
    219219    """ install <server> <dir> <plugin> .. install plugin from server """ 
    220     if not bot.ownercheck(ievent): 
    221         return 
    222220    try: 
    223221        (server, dirr, plug) = ievent.args 
     
    267265def handle_installplug(bot, ievent): 
    268266    """ remotely install a plugin """ 
    269     if not bot.ownercheck(ievent): 
    270         return 
    271267    if not ievent.args: 
    272268        ievent.missing('<plugname>') 
     
    366362def handle_installlist(bot, ievent): 
    367363    """ install-list .. list the available remote installable plugs """ 
    368     if not bot.ownercheck(ievent): 
    369         return 
    370364    errors = [] 
    371365    result = [] 
     
    399393 
    400394def handle_installclean(bot, ievent): 
    401     if not bot.ownercheck(ievent): 
    402         return 
    403395    import glob 
    404396    removed = []