fixed another bug and also made !fjoin just !join
This commit is contained in:
parent
5340ff6b74
commit
fb56c98898
@ -311,7 +311,7 @@ def join(cli, nick, chan, rest):
|
|||||||
def fjoin(cli, nick, chan, rest):
|
def fjoin(cli, nick, chan, rest):
|
||||||
noticed = False
|
noticed = False
|
||||||
if not rest.strip():
|
if not rest.strip():
|
||||||
return
|
join(cli, nick, chan, "")
|
||||||
|
|
||||||
for a in re.split("\s+",rest):
|
for a in re.split("\s+",rest):
|
||||||
a = a.strip()
|
a = a.strip()
|
||||||
@ -1349,6 +1349,7 @@ def frole(cli, nick, chan, rest):
|
|||||||
cli.msg(chan, "Could not be done.")
|
cli.msg(chan, "Could not be done.")
|
||||||
cli.msg(chan, "The target needs to be in this channel or a fake name.")
|
cli.msg(chan, "The target needs to be in this channel or a fake name.")
|
||||||
return
|
return
|
||||||
|
if not is_fake_nick(who):
|
||||||
who = var.USERS[ull.index(who.lower())]
|
who = var.USERS[ull.index(who.lower())]
|
||||||
if who == botconfig.NICK or not who:
|
if who == botconfig.NICK or not who:
|
||||||
cli.msg(chan, "No.")
|
cli.msg(chan, "No.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user