mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-25 20:29:23 +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
|
||||
try:
|
||||
do('op')
|
||||
if 'h' in irc.state.supported['prefix']:
|
||||
if 'h' in irc.state.supported.get('prefix', ''):
|
||||
do('halfop')
|
||||
except Continue:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user