File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- ## Interface : 100005
1
+ ## Interface : 100100
2
2
## Title : Elephant
3
3
## Title-zhCN : Elephant 聊天记录器
4
4
## Notes : A friendly companion that remembers the chat.
Original file line number Diff line number Diff line change @@ -130,9 +130,12 @@ function Elephant:MaybeInitDefaultLogStructures()
130
130
end
131
131
end
132
132
133
- for name_id , general_chat_struct in pairs (Elephant :DefaultConfiguration ().generalchatchannelnames ) do
133
+ for name_id , name in pairs (Elephant :DefaultConfiguration ().generalchatchannelnames ) do
134
134
if not Elephant :LogsDb ().logs [name_id ] then
135
- CreateNewLogStructure (name_id , general_chat_struct .name )
135
+ CreateNewLogStructure (name_id , name )
136
+ elseif not Elephant :LogsDb ().logs [name_id ].name then
137
+ -- Fix for a bug where names would not be populated properly
138
+ Elephant :LogsDb ().logs [name_id ].name = name
136
139
end
137
140
end
138
141
end
You can’t perform that action at this time.
0 commit comments