1
mirror of git://git.acid.vegas/archive.git synced 2024-11-21 15:46:39 +00:00

Fixed .access command

This commit is contained in:
Dionysus 2023-06-28 21:00:56 -04:00
parent c1f704f228
commit 404e60cc66
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -131,7 +131,7 @@ class clone:
msg = ' '.join(args[3:])[1:]
args = msg.split()
if is_admin(ident):
if args[0] == '.access' and len(args) == 2:
if args[0] == '.access' and self.identity['nick'] == 'phalanx' and len(args) == 2:
action = args[1][:1]
host = args[1][1:]
if action == '+':