def _gotping(self, pieces):
self.conn.send("PONG %s" % (pieces[1]))
self._checknick()
- def _goterror(self, pieces): #TODO handle more gracefully
+ def _goterror(self, pieces):
curs = self.parent.db.cursor()
curs.execute("UPDATE bots SET connected = 0")
curs.close()
def parsemsg(self, user, target, msg):
+ if user.glevel <= -2: return # short circuit if user is IGNORED
chan = None
chanparam = None # was the channel specified as part of the command?
if len(msg) == 0: