diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-03-20 10:30:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 10:30:01 +0100 |
commit | 7d99ff05cd9f15c4fbdfc54de58abdc2bc5b7778 (patch) | |
tree | 1fce3ca38105d832ef11b1cd95b364e95015005c /src/irc/flood | |
parent | 6ffbd0ab546218145a82befe0871e6ccafabe9db (diff) | |
parent | 6e6a96d8c1eb8a51404d34809382e54eea46a9f7 (diff) | |
download | irssi-7d99ff05cd9f15c4fbdfc54de58abdc2bc5b7778.zip |
Merge pull request #803 from ailin-nemui/bug-796-test
Postpone server cleanup until after unref
Diffstat (limited to 'src/irc/flood')
-rw-r--r-- | src/irc/flood/flood.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c index 0944a6eb..b528f707 100644 --- a/src/irc/flood/flood.c +++ b/src/irc/flood/flood.c @@ -324,7 +324,7 @@ void irc_flood_init(void) read_settings(); signal_add("setup changed", (SIGNAL_FUNC) read_settings); signal_add_first("server connected", (SIGNAL_FUNC) flood_init_server); - signal_add("server disconnected", (SIGNAL_FUNC) flood_deinit_server); + signal_add("server destroyed", (SIGNAL_FUNC) flood_deinit_server); autoignore_init(); settings_check(); @@ -344,5 +344,5 @@ void irc_flood_deinit(void) signal_remove("setup changed", (SIGNAL_FUNC) read_settings); signal_remove("server connected", (SIGNAL_FUNC) flood_init_server); - signal_remove("server disconnected", (SIGNAL_FUNC) flood_deinit_server); + signal_remove("server destroyed", (SIGNAL_FUNC) flood_deinit_server); } |