source
should be on Response as well as Responses
This commit is contained in:
parent
b00ecf6e86
commit
b4f9cc02b9
1 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@ class Responses(IMatchResponse):
|
|||
class Response(Responses):
|
||||
def __init__(self,
|
||||
command: str,
|
||||
params: List[TYPE_PARAM]=[]):
|
||||
super().__init__([command], params)
|
||||
params: List[TYPE_PARAM]=[],
|
||||
source: Optional[IMatchResponseHostmask]=None):
|
||||
super().__init__([command], params, source=source)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"Response({self._commands[0]}: {self._params!r})"
|
||||
|
|
Loading…
Reference in a new issue