forked from Firepup650/FireBot
Fix DMs
This commit is contained in:
parent
9db8107b7e
commit
444b9ab2a6
1 changed files with 2 additions and 0 deletions
|
@ -308,6 +308,8 @@ def main():
|
||||||
if len(name) > nicklen:
|
if len(name) > nicklen:
|
||||||
log(f"Name too long ({len(name)} > {nicklen})", server)
|
log(f"Name too long ({len(name)} > {nicklen})", server)
|
||||||
continue
|
continue
|
||||||
|
elif chan == botnick:
|
||||||
|
pass # TODO: Somehow combine into other checks
|
||||||
elif chan not in channels:
|
elif chan not in channels:
|
||||||
log(f"Channel not in channels ({chan} not in {channels})", server)
|
log(f"Channel not in channels ({chan} not in {channels})", server)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue