]> jfr.im git - erebus.git/blobdiff - bot.py
Putting header on files
[erebus.git] / bot.py
diff --git a/bot.py b/bot.py
index 513f25722284543c144f4a80c13c76085c3b0fad..68cd8aeb0416522f2f78b6c40ef865d711c86b1e 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 
+# Erebus IRC bot - Author: John Runyon
+# "Bot" and "BotConnection" classes (handling a specific "arm")
+
 #TODO: error checking
 
 import socket, sys
@@ -15,7 +18,8 @@ class Bot(object):
 
                self.conn = BotConnection(self, bind, server, port)
        def connect(self):
-               if self.conn.connect():
+               
+if self.conn.connect():
                        self.parent.newfd(self, self.conn.socket.fileno())
 
        def getdata(self):