tBKwtWS пре 6 година
родитељ
комит
3e1d3fdc13
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      rotbot/events/on_privnotice.py

+ 1 - 1
rotbot/events/on_privnotice.py

@@ -7,7 +7,7 @@ def process_event(self, connection, event):
     log.info(event) # Log to console.
 
     # Ignore server connect messages.
-    if source == None:
+    if event.source == None:
         return
 
     # Get and update resources.