aboutsummaryrefslogtreecommitdiff
path: root/src/IRCLine.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-26 11:01:09 +0100
committerGravatar jesopo2019-06-26 11:01:09 +0100
commitbb749b111f75d894431b04da6307c86549ad4b50 (patch)
tree1d1851ab99b6edf65ed4115c1f13897540610e8d /src/IRCLine.py
parentSwitch all 'hook.kwargs.get(' calls to 'hook.get_kwarg(' (diff)
signature
Refactor EventManager to only hold hooks on a root object
Diffstat (limited to 'src/IRCLine.py')
-rw-r--r--src/IRCLine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCLine.py b/src/IRCLine.py
index 47a93261..5676cd8c 100644
--- a/src/IRCLine.py
+++ b/src/IRCLine.py
@@ -138,7 +138,7 @@ class ParsedLine(object):
return valid, overflow
class SentLine(IRCObject.Object):
- def __init__(self, events: "EventManager.EventHook",
+ def __init__(self, events: "EventManager.Events",
send_time: datetime.datetime, hostmask: str, line: ParsedLine):
self.events = events
self.send_time = send_time