archive

- Random tools & helpful resources for IRC
git clone git://git.acid.vegas/archive.git
Log | Files | Refs | Archive

commit 404e60cc66119867eeefda5db99a58485e9c16d6
parent c1f704f2284fb0d11c67b648b0e8da82dd2535f2
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 28 Jun 2023 21:00:56 -0400

Fixed .access command

Diffstat:
Mbots/phalanx.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bots/phalanx.py b/bots/phalanx.py
@@ -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 == '+':