Merge pull request #1299 from GLolol/network-specific-history

Make irc.state.history network specific
This commit is contained in:
Valentin Lorentz 2017-09-17 10:09:38 +02:00 committed by GitHub
commit afb0cf042f

View File

@ -160,9 +160,6 @@ class Owner(callbacks.Plugin):
'No servers are set for the %s network.' % network
self.log.debug('Creating new Irc for %s.', network)
newIrc = irclib.Irc(network)
for irc in world.ircs:
if irc != newIrc:
newIrc.state.history = irc.state.history
driver = drivers.newDriver(newIrc)
self._loadPlugins(newIrc)
return newIrc