fix previous !fjoin commit not working

This commit is contained in:
jacob1 2015-10-03 16:27:22 -04:00
parent 4612c0dec5
commit 3f112b19bc

View File

@ -1228,7 +1228,7 @@ def fjoin(cli, nick, chan, rest):
noticed = False
fake = False
if not var.OPPED:
cli.notice(who, "Sorry, I'm not opped in {0}.".format(chan))
cli.notice(nick, "Sorry, I'm not opped in {0}.".format(chan))
cli.msg("ChanServ", "op " + botconfig.CHANNEL)
return
if not rest.strip():