mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-16 15:39:21 +01:00
AutoMode: Fix crash on servers without ISUPPORT PREFIX
This commit is contained in:
parent
94c7c7dfa3
commit
1d4a43ed1b
@ -144,7 +144,7 @@ class AutoMode(callbacks.Plugin):
|
|||||||
break
|
break
|
||||||
try:
|
try:
|
||||||
do('op')
|
do('op')
|
||||||
if 'h' in irc.state.supported['prefix']:
|
if 'h' in irc.state.supported.get('prefix', ''):
|
||||||
do('halfop')
|
do('halfop')
|
||||||
except Continue:
|
except Continue:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user