commit d932bcb427024dd403bac57a8ba8f42e60164b4b
parent 003fc8f52ac68fe4aede760ddb7e1e2ae9a95d6b
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Thu, 7 Jun 2012 11:39:40 +0200
EXIT command to leave
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/wikifirc b/wikifirc
@@ -79,6 +79,9 @@ if __name__ == "__main__":
if user != admin:
continue
new_user = ' '.join(fields)
+ if new_user == 'EXIT':
+ break
+ # register it as a user
for namespace in user_namespaces:
register(pages, namespace + new_user)
continue