tBKwtWS 6 years ago
parent
commit
4f21f6bdcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rotbot/events/common.py

+ 1 - 1
rotbot/events/common.py

@@ -17,7 +17,7 @@ class Inform():
 
 
     def operators(self, connection, message):
     def operators(self, connection, message):
         log.info('Informing operators: %s' % message)
         log.info('Informing operators: %s' % message)
-        if self.home_channel in self.channels:
+        if self.network.home_channel in self.channels:
             for user in self.channels[self.network.home_channel].owners():
             for user in self.channels[self.network.home_channel].owners():
                 connection.privmsg(user, message)
                 connection.privmsg(user, message)
             for user in self.channels[self.network.home_channel].admins():
             for user in self.channels[self.network.home_channel].admins():