Remove last debug print. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 0ed6c8f1961744fb9842de6145cbff3cfd89f6a5 | |
parent 1991e30bb04997c29cd53e6fcc902d4fe43f8dfd | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 29 Aug 2023 20:46:05 +0200 | |
Remove last debug print. | |
Diffstat: | |
M modules/idlerpg/idlerpg-channel-se… | 6 ------ | |
1 file changed, 0 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/modules/idlerpg/idlerpg-channel-service.py b/modules/idlerpg/idler… | |
@@ -84,9 +84,7 @@ def main(args): | |
server = largs[3] | |
channel = largs[4] | |
serverpath = "%s/%s" % (ircpath, server) | |
- print("serverpath = %s" % (serverpath)) | |
chanpath = "%s/%s" % (serverpath, channel) | |
- print("chanpath = %s" % (chanpath)) | |
chaninpath = "%s/in" % (chanpath) | |
say(chaninpath, "/names %s\n" % (channel)) | |
@@ -101,7 +99,6 @@ def main(args): | |
user = user[1:] | |
if user not in users: | |
users.append(user) | |
- print("users = %s" % (users)) | |
if len(users) == 0: | |
return 1 | |
@@ -112,13 +109,11 @@ def main(args): | |
shields = readin_dictfile("%s/shields.txt" % (basepath)) | |
weapons = readin_dictfile("%s/weapons.txt" % (basepath)) | |
quests = readin_dictfile("%s/quests.txt" % (basepath)) | |
- print(quests) | |
hackers = readin_dictfile("%s/hackers.txt" % (basepath)) | |
for hacker in hackers.keys(): | |
hackers[hacker][0] = int(hackers[hacker][0]) | |
hackers[hacker][5] = int(hackers[hacker][5]) | |
- print(hackers) | |
admins = readin_dictfile("%s/admins.txt" % (basepath)) | |
def random_hacker(): | |
@@ -198,7 +193,6 @@ def main(args): | |
# Build a hacker for newly appeared irc user | |
if user not in list(hackers.keys()) and user != ircuser: | |
hackers[user] = random_hacker() | |
- print(hackers) | |
inotifywm = pyinotify.WatchManager() | |
inotifywm.add_watch("%s/out" % (chanpath), pyinotify.IN_MODIFY) |