소스 검색

nonetype notice

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.