remove some stuff that's been commented out for a while now

This commit is contained in:
Brian S. Stephan 2011-01-06 22:40:45 -06:00
parent 2f90304a47
commit 00d5502477
1 changed files with 0 additions and 13 deletions

View File

@ -50,10 +50,6 @@ class DrBotServerConnection(irclib.ServerConnection):
splitpos = text.rfind(' ', 0, splitspace)
splittext = text[0:splitpos] + ' ' + splitter
text = splitter + ' ' + text[splitpos+1:]
# unnecessary?
#try:
# splittext = unicode(splittext).encode('utf-8')
#except UnicodeDecodeError: pass
self.send_raw("PRIVMSG %s :%s" % (target, splittext))
times = times + 1
@ -61,16 +57,8 @@ class DrBotServerConnection(irclib.ServerConnection):
return
# done splitting
# unnecessary?
#try:
# text = unicode(text).encode('utf-8')
#except UnicodeDecodeError: pass
self.send_raw("PRIVMSG %s :%s" % (target, text))
else:
# unnecessary?
#try:
# text = unicode(text).encode('utf-8')
#except UnicodeDecodeError: pass
self.send_raw("PRIVMSG %s :%s" % (target, text))
class DrBotIRC(irclib.IRC):
@ -88,7 +76,6 @@ if len(sys.argv) != 2:
# read config file
config = ConfigParser({'debug': 'false'})
#config.read([os.path.expanduser('~/.dr.botzo.cfg'), 'dr.botzo.cfg'])
config.read(os.path.expanduser(sys.argv[1]))
# load necessary options