From 3a3a3f1db1f34cfce643bfc9a9fa4423b669ef6a Mon Sep 17 00:00:00 2001 From: Tom Quackenbush Date: Wed, 29 Jun 2016 21:23:54 +0000 Subject: [PATCH] mod_pottymouth: bring back bloom_gen_server stop() to avoid error messages --- .DS_Store | Bin 0 -> 6148 bytes mod_pottymouth/src/bloom_gen_server.erl | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..04767b967bcfeca655a83489f10aee9f1f045125 GIT binary patch literal 6148 zcmeHKJ8r^25S>XVkRl;U%DnfQ6L;Oex%6>*G0ZZ+1CTcoguqPC+`D( zlQSyqcir*pv$caI(x?CxpaN8Y3Q&Q&708x4eY?973s3A2dY0#x9s6wt|fyI$dyvbT<2&U$Tuf50v04{nCNQ?PhD k26{Wj!P@b{lOnI!9`|cvALw+%oet#BfayY`0*_YU9}2k_q5uE@ literal 0 HcmV?d00001 diff --git a/mod_pottymouth/src/bloom_gen_server.erl b/mod_pottymouth/src/bloom_gen_server.erl index cd7155e..b61ef2e 100644 --- a/mod_pottymouth/src/bloom_gen_server.erl +++ b/mod_pottymouth/src/bloom_gen_server.erl @@ -21,8 +21,8 @@ member({Lang, Word} = _MessageToken) -> start({Lang, BlacklistFile} = _Opts) -> gen_server:start_link({local, serverName(Lang)}, ?MODULE, [BlacklistFile], []). -stop() -> - ok. +stop(_Host) -> + ok. init([BlacklistFile]) -> ?INFO_MSG("Building bloom", []),