mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Merge pull request #1299 from GLolol/network-specific-history
Make irc.state.history network specific
This commit is contained in:
commit
afb0cf042f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user