1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

"record": vanish nick if no message is left

This commit is contained in:
urlbot
2015-07-11 13:01:22 +02:00
parent c89bf8e9ed
commit 739a811786

View File

@@ -322,7 +322,8 @@ class bot(ClientXMPP):
if 'user_records' not in blob:
blob['user_records'] = {}
blob['user_records'][arg_user_key] = []
if arg_user_key in blob['user_records']:
blob['user_records'].pop(arg_user_key)
conf_save(blob)
set_conf('persistent_locked', False)