summaryrefslogtreecommitdiff
path: root/plugins/simple_notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/simple_notify.py')
-rw-r--r--plugins/simple_notify.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/simple_notify.py b/plugins/simple_notify.py
index 00355fcd..c0c204fd 100644
--- a/plugins/simple_notify.py
+++ b/plugins/simple_notify.py
@@ -112,6 +112,10 @@ class Plugin(BasePlugin):
self.do_notify(message, fro)
def on_muc_msg(self, message, tab):
+ # Dont notify if message is from yourself
+ if message['from'].resource == tab.own_nick:
+ return
+
fro = message['from'].full
muc = message['from'].bare
whitelist=self.config.get('muc_list', '').split(',')