Fix of a typo in previous commit.
This commit is contained in:
parent
d2448c3eb6
commit
769e2a8744
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ class ObjectDB(TypedObject):
|
||||||
nicks = self.db_attributes.filter(db_category__in=("nick_inputline", "nick_channel"))
|
nicks = self.db_attributes.filter(db_category__in=("nick_inputline", "nick_channel"))
|
||||||
if self.has_player:
|
if self.has_player:
|
||||||
# attach player nicks as well, but after the object-level nicks
|
# attach player nicks as well, but after the object-level nicks
|
||||||
nicks = list(nicks) + list(pself.player.db_attributes.filter(db_category__in=("nick_inputline", "nick_channel")))
|
nicks = list(nicks) + list(self.player.db_attributes.filter(db_category__in=("nick_inputline", "nick_channel")))
|
||||||
for nick in nicks:
|
for nick in nicks:
|
||||||
if nick.db_key in raw_list:
|
if nick.db_key in raw_list:
|
||||||
raw_string = raw_string.replace(nick.db_key, nick.db_strvalue, 1)
|
raw_string = raw_string.replace(nick.db_key, nick.db_strvalue, 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue