aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler/message.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-10 13:14:15 +0000
committerGravatar jesopo2019-03-10 13:14:25 +0000
commit5d7f017c9cacc122ef569a4c58ca2f2496c35e90 (patch)
tree297659e0c5c471d17f080c425b0417b90cf4f055 /modules/line_handler/message.py
parentpreprocess.send.* event don't have IRCChannel objects on them (diff)
Enum values shouldn't be all upper case
Diffstat (limited to 'modules/line_handler/message.py')
-rw-r--r--modules/line_handler/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler/message.py b/modules/line_handler/message.py
index 7bc2e27e..38fb45fc 100644
--- a/modules/line_handler/message.py
+++ b/modules/line_handler/message.py
@@ -1,7 +1,7 @@
from src import utils
def _from_self(server, direction, prefix):
- if direction == utils.Direction.SEND:
+ if direction == utils.Direction.Send:
if server.has_capability("echo-message"):
return None
else: