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:
parent
446dfe9509
commit
0cf3b42e14
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ class CmdNick(MuxCommand):
|
||||||
switches = self.switches
|
switches = self.switches
|
||||||
|
|
||||||
nicks = Nick.objects.filter(db_obj=caller.dbobj).exclude(db_type="channel")
|
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"
|
string = "{wDefined Nicks:{n"
|
||||||
cols = [["Type"],["Nickname"],["Translates-to"] ]
|
cols = [["Type"],["Nickname"],["Translates-to"] ]
|
||||||
for nick in nicks:
|
for nick in nicks:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue