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.

This commit is contained in:
Griatch 2012-10-14 16:42:04 +02:00
parent 446dfe9509
commit 0cf3b42e14

View file

@ -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: