Made addcom aliases case-insensitive. Resolves #428. Also fixed a bug with channel aliases that made them not work correctly with the new Attribute changes.

This commit is contained in:
Griatch 2014-02-16 23:29:19 +01:00
parent 5e942749e9
commit 9770786486
4 changed files with 10 additions and 11 deletions

View file

@ -191,7 +191,7 @@ class ServerSession(Session):
puppet = self.player.get_puppet(self.sessid)
if puppet:
text = puppet.nicks.nickreplace(text,
categories=("inputline", "channels"), include_player=True)
categories=("inputline", "channel"), include_player=True)
else:
text = self.player.nicks.nickreplace(text,
categories=("inputline", "channels"), include_player=False)