mirror of
https://github.com/progval/irctest.git
synced 2025-04-05 14:59:49 +00:00
Fix support of Unreal 5
This commit is contained in:
@ -101,10 +101,7 @@ set {{
|
|||||||
}}
|
}}
|
||||||
modes-on-join "+H 100:1d"; // Enables CHATHISTORY
|
modes-on-join "+H 100:1d"; // Enables CHATHISTORY
|
||||||
|
|
||||||
// Remove RPL_WHOISSPECIAL used to advertise security groups
|
{set_extras}
|
||||||
whois-details {{
|
|
||||||
security-groups {{ everyone none; self none; oper none; }}
|
|
||||||
}}
|
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
@ -193,8 +190,20 @@ class UnrealircdController(BaseServerController, DirectoryBasedController):
|
|||||||
loadmodule "cloak_md5";
|
loadmodule "cloak_md5";
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
set_extras = textwrap.indent(
|
||||||
|
textwrap.dedent(
|
||||||
|
"""
|
||||||
|
// Remove RPL_WHOISSPECIAL used to advertise security groups
|
||||||
|
whois-details {
|
||||||
|
security-groups { everyone none; self none; oper none; }
|
||||||
|
}
|
||||||
|
"""
|
||||||
|
),
|
||||||
|
" ",
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
extras = ""
|
extras = ""
|
||||||
|
set_extras = ""
|
||||||
|
|
||||||
with self.open_file("empty.txt") as fd:
|
with self.open_file("empty.txt") as fd:
|
||||||
fd.write("\n")
|
fd.write("\n")
|
||||||
@ -215,6 +224,7 @@ class UnrealircdController(BaseServerController, DirectoryBasedController):
|
|||||||
pem_path=self.pem_path,
|
pem_path=self.pem_path,
|
||||||
empty_file=os.path.join(self.directory, "empty.txt"),
|
empty_file=os.path.join(self.directory, "empty.txt"),
|
||||||
extras=extras,
|
extras=extras,
|
||||||
|
set_extras=set_extras,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user