Fix bot joining deadchat

This commit is contained in:
Vgr E. Barry 2015-10-30 22:43:01 -04:00
parent bcf6feafb3
commit 5217fa6fee

View File

@ -1148,7 +1148,7 @@ def join(cli, nick, chan, rest):
cli.msg(chan, "\u0002{0}\u0002 votes for the \u0002{1}\u0002 game mode.".format(nick, gamemode))
else: # join deadchat
if chan == nick:
if chan == nick and nick != botconfig.NICK:
join_deadchat(cli, nick)
def join_player(cli, player, chan, who = None, forced = False):