Change to irc.state.copy()

This commit is contained in:
Jeremy Fincher 2003-04-09 18:02:00 +00:00
parent 896ce38514
commit f6c46bc004

View File

@ -105,7 +105,7 @@ class Relay(callbacks.Privmsg):
def inFilter(self, irc, msg):
if not isinstance(irc, irclib.Irc):
irc = irc.getRealIrc()
self.ircstates[irc] = copy.copy(irc.state)
self.ircstates[irc] = irc.state.copy()
return msg
def startrelay(self, irc, msg, args):