tBKwtWS 6 лет назад
Родитель
Сommit
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.