Fix bug with using muser attribute when absent
This commit is contained in:
@@ -18,7 +18,8 @@ def parsemeta(numName, c):
|
||||
# need to check if this was received from a relay
|
||||
# in which case, do not do this
|
||||
if c["type"] in ["msg", "notice", "action", "topic", "mode"]:
|
||||
userinfo.editUser(c["net"], c["muser"])
|
||||
if "muser" in c.keys():
|
||||
userinfo.editUser(c["net"], c["muser"])
|
||||
#if c["type"] == "mode":
|
||||
# userinfo.updateMode(c)
|
||||
elif c["type"] == "nick":
|
||||
|
||||
Reference in New Issue
Block a user