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

Commit 5f595cc

Browse files
committed
services/autocloak: don't autocloak people bursting with an account name
1 parent d6bfea0 commit 5f595cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/services/autocloak.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ def rehash():
6060
def handleCloak(cod, line):
6161
#Check user's IP in the autocloak list
6262
if line.args[6] in cod.config["autocloak"]["list"]:
63+
#If they are authed, they probably have a vhost or are getting re-bursted
64+
#so it would be a Bad Idea to cloak them
65+
if line.args[-2] != "*":
66+
return
67+
6368
cloaksuffix = cod.config["autocloak"]["list"][line.args[6]]
6469
ident = line.args[4]
6570

0 commit comments

Comments
 (0)