Try to gain op when bot thinks it isn't opped
This commit is contained in:
parent
999a612da8
commit
37c0c075fa
@ -426,6 +426,7 @@ def join(cli, nick, chann_, rest):
|
|||||||
|
|
||||||
if not var.OPPED:
|
if not var.OPPED:
|
||||||
cli.notice(nick, "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
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user