Browse Source

fix

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
c970f01bd6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      irc/watcher_logic.py

+ 2
- 2
irc/watcher_logic.py View File

@@ -57,13 +57,13 @@ def process(rc):
chans.add("#wikipedia-en-afc")
elif rc.flags == "delete" and r_delete.match(comment):
p = r_deleted_page.findall(rc.comment)[0][0]
p = r_deleted_page.findall(rc.comment)[0]
tasks.start_task("afc_statistics", action="process_delete", page=p)
tasks.start_task("afc_copyvios", action="process_delete", page=p)
chans.add("#wikipedia-en-afc")
elif rc.flags == "restore" and r_restore.match(comment):
p = r_restored_page.findall(rc.comment)[0][0]
p = r_restored_page.findall(rc.comment)[0]
tasks.start_task("afc_statistics", action="process_restore", page=p)
tasks.start_task("afc_copyvios", action="process_restore", page=p)
chans.add("#wikipedia-en-afc")


Loading…
Cancel
Save