set mode -x, i should put this in the config file

This commit is contained in:
Brian S. Stephan 2010-07-24 10:51:07 -05:00
parent 500f689774
commit 59d44640d7
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ import irclib
# handler for when the bot has connected to IRC
def on_connect(connection, event):
# user modes
# TODO: config file
connection.mode(nick, '-x')
# join the specified channel
# TODO: support multiple
if irclib.is_channel(channel):