Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Bugfix from cato

allo2635244489e8
diff --git a/addon/yacy-xchat-plugin.py b/addon/yacy-xchat-plugin.py
index 72a11d6ec..e0a04cf66 100644
--- a/addon/yacy-xchat-plugin.py
+++ b/addon/yacy-xchat-plugin.py
@@ -14,5 +14,6 @@ def yacy_ppm(word, word_eol, userdata):
for line in urllib.urlopen("http://"+user+":"+password+"@"+host+"/xml/status_p.xml").readlines():
if re.compile("<ppm>").search(line):
xchat.command("me 's YaCy is crawling at "+line.strip().strip("<ppm/>")+" pages per minute.")
+ return xchat.EAT_ALL
xchat.hook_command("YACY_SHOW",yacy_ppm,help="/yacy_show - shows the current ppm")