summaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index c1c6a36c9..aa3a4471d 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -54,6 +54,10 @@ bb.utils._context["NotHandled"] = NotHandled
bb.utils._context["Handled"] = Handled
def fire_class_handlers(event, d):
+ import bb.msg
+ if isinstance(event, bb.msg.MsgBase):
+ return
+
for handler in _handlers:
h = _handlers[handler]
event.data = d