From 5bce1e0ec20636c1d51cffe776e6f31afd4a8f95 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Thu, 15 Jan 2009 05:23:29 +0000 Subject: [PATCH] Don't error when @name without an argument. --- src/commands/objmanip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/objmanip.py b/src/commands/objmanip.py index bfc028b0b8..720c1cb0a7 100644 --- a/src/commands/objmanip.py +++ b/src/commands/objmanip.py @@ -477,7 +477,7 @@ def cmd_name(command): session = command.session pobject = session.get_pobject() - if not command.command_string: + if not command.command_argument: session.msg("What do you want to name?") return