[Otfbot-svn] r126 - trunk

allo at BerliOS allo
Do Jun 28 19:25:43 CEST 2007


Author: allo
Date: 2007-06-28 19:25:42 +0200 (Thu, 28 Jun 2007)
New Revision: 126

Modified:
   trunk/otfbot.py
Log:
stay away from parted channels on restart


Modified: trunk/otfbot.py
===================================================================
--- trunk/otfbot.py	2007-06-25 21:57:46 UTC (rev 125)
+++ trunk/otfbot.py	2007-06-28 17:25:42 UTC (rev 126)
@@ -423,6 +423,7 @@
 		del self.users[channel]
 		self.channels.remove(channel)
 		self._apirunner("left",{"channel":channel})
+		self.setConfig("enabled", "false", "main", self.network, channel) #disable the channel for the next start of the bot
 
 	def privmsg(self, user, channel, msg):
 		""" called by twisted,




Mehr Informationen über die Mailingliste Otfbot-dev