Rename relay say() method.

It's not neccessarily two-way, but it does go into the relay's channel.
This commit is contained in:
Steve Dougherty 2013-01-20 01:03:04 -05:00
parent 822c2b2ff7
commit 52d1c14f91
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class Communicator:
if identifier == protocol.identifier:
continue
instance = self.protocolInstances[identifier]
instance.twoWaySay(message)
instance.sayToChannel(message)
#Global scope: all protocol instances will need this.
communicator = Communicator()
@ -108,7 +108,7 @@ class IRCRelayer(irc.IRCClient):
log.msg("[%s] Connection lost, unregistering."%self.network)
communicator.unregister(self)
def twoWaySay(self, message, args=None):
def sayToChannel(self, message):
self.say(self.channel, message)
def joined(self, channel):