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

@ -451,7 +451,7 @@ class ObjectDB(TypedObject):
# do text encoding conversion
raw_string = to_unicode(raw_string)
raw_string = self.nicks.nickreplace(raw_string,
categories=("inputline", "channels"), include_player=True)
categories=("inputline", "channel"), include_player=True)
return cmdhandler.cmdhandler(_GA(self, "typeclass"), raw_string, callertype="object", sessid=sessid)
def msg(self, text=None, from_obj=None, sessid=0, **kwargs):