diff options
| author | Adam <Adam@anope.org> | 2016-11-09 18:35:15 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-11-09 18:35:15 -0500 |
| commit | be17c8118762c7c928239a026359e4fa0fd36f00 (patch) | |
| tree | 41d21cac0d392d82541227f470ceaf67d1d7e4d4 /modules/botserv | |
| parent | 32b311b183443e11d26f13cd425e12406ffbfa76 (diff) | |
Change default database to sqlite, begin 2.0 db_flatfile support
Diffstat (limited to 'modules/botserv')
| -rw-r--r-- | modules/botserv/badwords.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/botserv/badwords.cpp b/modules/botserv/badwords.cpp index 998ccc7f8..1348c8aff 100644 --- a/modules/botserv/badwords.cpp +++ b/modules/botserv/badwords.cpp @@ -39,7 +39,7 @@ class BadWordImpl : public BadWord void SetWord(const Anope::string &w) override; BadWordType GetType() override; - void SetType(const BadWordType &t) override; + void SetType(BadWordType t) override; }; class BadWordsType : public Serialize::Type<BadWordImpl> @@ -82,7 +82,7 @@ BadWordType BadWordImpl::GetType() return Get(&BadWordsType::type); } -void BadWordImpl::SetType(const BadWordType &t) +void BadWordImpl::SetType(BadWordType t) { Set(&BadWordsType::type, t); } |
