mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Correction to make sure the key isn't changed to prevent delcom failure
This commit is contained in:
parent
112c5fcd07
commit
f76ea7e576
1 changed files with 3 additions and 3 deletions
|
|
@ -800,9 +800,9 @@ class NickHandler(AttributeHandler):
|
|||
|
||||
"""
|
||||
if category == "channel":
|
||||
key += " $1"
|
||||
replacement += " $1"
|
||||
nick_regex, nick_template = initialize_nick_templates(key, replacement)
|
||||
nick_regex, nick_template = initialize_nick_templates(key + " $1", replacement + " $1")
|
||||
else:
|
||||
nick_regex, nick_template = initialize_nick_templates(key, replacement)
|
||||
super(NickHandler, self).add(key, (nick_regex, nick_template, key, replacement), category=category, **kwargs)
|
||||
|
||||
def remove(self, key, category="inputline", **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue