mirror of https://github.com/Mikaela/Limnoria.git
plugins/Config: Also reload the ignoresdb when handling a SIGHUP.
This commit is contained in:
parent
a34a4fcd7f
commit
3a0d71c15a
|
@ -74,6 +74,7 @@ def getCapability(name):
|
||||||
|
|
||||||
def _reload():
|
def _reload():
|
||||||
ircdb.users.reload()
|
ircdb.users.reload()
|
||||||
|
ircdb.ignores.reload()
|
||||||
ircdb.channels.reload()
|
ircdb.channels.reload()
|
||||||
registry.open(world.registryFilename)
|
registry.open(world.registryFilename)
|
||||||
|
|
||||||
|
@ -177,7 +178,7 @@ class Config(callbacks.Plugin):
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
else:
|
else:
|
||||||
irc.errorNoCapability(capability)
|
irc.errorNoCapability(capability)
|
||||||
|
|
||||||
def channel(self, irc, msg, args, channel, group, value):
|
def channel(self, irc, msg, args, channel, group, value):
|
||||||
"""[<channel>] <name> [<value>]
|
"""[<channel>] <name> [<value>]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue