diff -r 0f96e3157b7f -r 9880bb697149 irc.py --- a/irc.py Thu Jan 15 20:48:57 2015 +0200 +++ b/irc.py Mon Jan 19 16:42:36 2015 -0500 @@ -128,13 +128,13 @@ if words[1] == "001": self.flags |= CLIF_CONNECTED - for channel in self.channels: - self.write ("JOIN %s %s" % (channel.get_value ('name'), channel.get_value ('password', default=''))) - umode = self.cfg.get_value ('umode', '') if umode != '': self.write ('MODE %s %s' % (self.mynick, self.cfg.get_value ('umode', ''))) + + for channel in self.channels: + self.write ("JOIN %s %s" % (channel.get_value ('name'), channel.get_value ('password', default=''))) elif words[1] == "PRIVMSG": self.handle_privmsg (line) elif words[1] == 'QUIT':