Previously, the global command table was being filled with entries from other tables due to some funky globalization of the ctable instance variable. Fixed that and yanked the conditionals on a few of the logged out commands that check for logged in status.

This commit is contained in:
Greg Taylor 2009-01-12 18:01:35 +00:00
parent 0b533b984d
commit e6d3d9395d
2 changed files with 6 additions and 12 deletions

View file

@ -15,11 +15,6 @@ def cmd_connect(command):
session = command.session
# Check whether command is being issued in-game.
if str(session.get_pobject()) != 'None':
session.msg("Connect command unavailable in-game")
return
# Argument check.
# Fail gracefully if no argument is provided
if not command.command_argument:
@ -55,11 +50,6 @@ def cmd_create(command):
Handle the creation of new accounts.
"""
session = command.session
# Check whether command is being issued ingame.
if str(session.get_pobject()) != 'None':
session.msg("Create command unavailable in-game")
return
# Argument check.
# Fail gracefully if no argument is provided