Commit d995ef12 authored by qinsoon's avatar qinsoon

internal name use _ instead of $ for . (so .dot is happy with this name)

parent 2e59dbeb
......@@ -1164,7 +1164,7 @@ impl Decodable for MuEntityHeader {
}
pub fn name_check(name: MuName) -> MuName {
let name = name.replace('.', "$");
let name = name.replace('.', "_");
if name.starts_with("@") || name.starts_with("%") {
let (_, name) = name.split_at(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment