Start implementing prefixes

This commit is contained in:
2020-07-09 19:43:47 +01:00
parent f50a40d207
commit a1e045793c
3 changed files with 31 additions and 15 deletions

View File

@@ -19,6 +19,8 @@ def parsemeta(numName, c):
# in which case, do not do this
if c["type"] in ["msg", "notice", "action", "topic", "mode"]:
userinfo.editUser(c["net"], c["muser"])
if c["type"] == "mode":
userinfo.updateMode(c)
elif c["type"] == "nick":
userinfo.renameUser(c["net"], c["nick"], c["muser"], c["user"], c["user"]+"!"+c["ident"]+"@"+c["host"])
elif c["type"] == "kick":