Finally caved in and created a command table. It's just going to get too messy with @-commands doing straight module lookups, plus the dict is probably a little faster. Feel free to start moving non-privved @-commands to commands_general and vice-versa since we now have the ability to do so.

This commit is contained in:
Greg Taylor 2007-05-11 15:23:27 +00:00
parent 2fc06adcfa
commit ac32ab05c1
7 changed files with 174 additions and 43 deletions

View file

@ -10,7 +10,8 @@ import os
"""
Comsys command module. Pretty much every comsys command should go here for
now.
"""
"""
def cmd_addcom(cdat):
"""
addcom
@ -54,14 +55,6 @@ def cmd_clist(cdat):
"""
pass
def cmd_ccreate(cdat):
"""
@ccreate
Creates a channel.
"""
pass
def cmd_cdestroy(cdat):
"""
@cdestroy