mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Attempt to fix nicknames for channels not working
This commit is contained in:
parent
e6f857a536
commit
112c5fcd07
1 changed files with 3 additions and 0 deletions
|
|
@ -799,6 +799,9 @@ class NickHandler(AttributeHandler):
|
|||
kwargs (any, optional): These are passed on to `AttributeHandler.get`.
|
||||
|
||||
"""
|
||||
if category == "channel":
|
||||
key += " $1"
|
||||
replacement += " $1"
|
||||
nick_regex, nick_template = initialize_nick_templates(key, replacement)
|
||||
super(NickHandler, self).add(key, (nick_regex, nick_template, key, replacement), category=category, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue