fix logic in nickserv_username_changed() signal handler, fix wrong comment in irc3module.py
This commit is contained in:
parent
e652a8156c
commit
12563c890d
|
@ -343,7 +343,7 @@ class Plugin(object):
|
||||||
invite=True
|
invite=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# mark membership as irc_channel_acl_ok=True and save
|
# mark membership as irc_acl_fix_needed=False and save
|
||||||
membership.irc_acl_fix_needed=False
|
membership.irc_acl_fix_needed=False
|
||||||
membership.save()
|
membership.save()
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,6 @@ def nickserv_username_changed(instance, original):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# ok, mark this membership as in need of fixing
|
# ok, mark this membership as in need of fixing
|
||||||
membership.irc_acl_fix_needed = False
|
membership.irc_acl_fix_needed = True
|
||||||
membership.save()
|
membership.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue