From 0cf3b42e14fb6e595fddf369d7ec53e91244af98 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 14 Oct 2012 16:42:04 +0200 Subject: [PATCH] Removed a hard-coded "nicks" alias from CmdNicks for easier overloading. Use nick/list to get the same functionality (or overload func to add it again). Resolves Issue 291. --- src/commands/default/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/default/general.py b/src/commands/default/general.py index e366eb567c..f7bb218ffb 100644 --- a/src/commands/default/general.py +++ b/src/commands/default/general.py @@ -167,7 +167,7 @@ class CmdNick(MuxCommand): switches = self.switches nicks = Nick.objects.filter(db_obj=caller.dbobj).exclude(db_type="channel") - if 'list' in switches or self.cmdstring == "nicks": + if 'list' in switches: string = "{wDefined Nicks:{n" cols = [["Type"],["Nickname"],["Translates-to"] ] for nick in nicks: