tBKwtWS hace 7 años
padre
commit
7586dad3e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      irc/events/on_join.py

+ 1 - 1
irc/events/on_join.py

@@ -35,7 +35,7 @@ def process_event(self, connection, event):
         return  # Do not greet myself.
     
     # Promote owners.
-    if event.source.nick in self.channels[self.homechannel].owners:
+    if event.source.nick in self.channels[self.homechannel].owners():
         connection.mode(event.target, "+vhoa " + event.source.nick + " " + event.source.nick + " " + event.source.nick + " " + event.source.nick)
     
     # Stop if greeting is not wanted.