Indenting fixes, still need to finish on commands_comsys, will pick it up later unless someone beats me to it.

This commit is contained in:
Greg Taylor 2007-05-11 15:43:06 +00:00
parent 65df59ff53
commit 44701530dc
3 changed files with 94 additions and 85 deletions

View file

@ -24,6 +24,12 @@ def get_com_who(channel, muted=False, disconnected=False):
def get_user_channels(player):
pass
def get_all_channels():
"""
Returns all channel objects.
"""
return CommChannel.objects.all()
def create_channel(cdat):
"""
Create a new channel. cdat is a dictionary that contains the following keys.