diff options
Diffstat (limited to 'modules/line_handler/user.py')
| -rw-r--r-- | modules/line_handler/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/line_handler/user.py b/modules/line_handler/user.py index fbe136a7..4153fc1b 100644 --- a/modules/line_handler/user.py +++ b/modules/line_handler/user.py @@ -18,11 +18,11 @@ def handle_311(event): def quit(events, event): nickname = None - if event["direction"] == utils.Direction.RECV: + if event["direction"] == utils.Direction.Recv: nickname = event["prefix"].nickname reason = event["args"].get(0) - if event["direction"] == utils.Direction.RECV: + if event["direction"] == utils.Direction.Recv: nickname = event["prefix"].nickname if (not event["server"].is_own_nickname(nickname) and not event["prefix"].hostmask == "*"): |
