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("").search(line): xchat.command("me 's YaCy is crawling at "+line.strip().strip("")+" pages per minute.") + return xchat.EAT_ALL xchat.hook_command("YACY_SHOW",yacy_ppm,help="/yacy_show - shows the current ppm")