Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit d237bfa

Browse files
committed
services/autocloak: don't desync the vhost
1 parent 23da576 commit d237bfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/services/autocloak.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def handleCloak(cod, line):
7777

7878
host = "%s.%s" % (unique.upper(), cloaksuffix)
7979

80+
cod.clients[line.args[7]].host = host
81+
8082
cod.sendLine(":%s CHGHOST %s %s" % (client.uid, line.args[7], host))
8183
cod.notice(line.args[7], "Your vhost has been uniquely randomized as a part of a policy set by your BNC host and network staff. If your desired vhost doesn't show up, please re-activate it using /msg HostServ ON", client)
8284

0 commit comments

Comments
 (0)