Handle set_nick event-action with .nick-property
This commit is contained in:
parent
088d905196
commit
c2fb6aa6c1
|
@ -1,5 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# TODO: Implement action for set_nick event
|
||||
import datetime
|
||||
import logging
|
||||
from collections import MutableMapping
|
||||
|
@ -36,7 +35,7 @@ class Clients(MutableMapping):
|
|||
event.identifier, Client(event.identifier)
|
||||
)
|
||||
if event.action == 'set_nick':
|
||||
# omit, not implemented, nick action for now
|
||||
client.nick = event.arg
|
||||
continue
|
||||
if event.arg_is_client:
|
||||
# if arg is client, replace identifier with Client-obj
|
||||
|
|
Loading…
Reference in New Issue