summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/settings.h')
-rw-r--r--plugins/StopSpamPlus/src/settings.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/plugins/StopSpamPlus/src/settings.h b/plugins/StopSpamPlus/src/settings.h
deleted file mode 100644
index 42a7f2125d..0000000000
--- a/plugins/StopSpamPlus/src/settings.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-struct Settings
-{
- Settings();
-
- CMOption<bool> InfTalkProtection, AddPermanent, HandleAuthReq, AnswNotCaseSens, RemTmpAll, HistLog;
- CMOption<wchar_t*> Question, AuthRepl, Answer, Congratulation, AnswSplitString;
- CMOption<char*> DisabledProtoList;
- CMOption<uint32_t> MaxQuestCount;
-
- const wchar_t* getQuestion();
- const wchar_t* getReply();
- const wchar_t* getCongrats();
-
- bool ProtoDisabled(const char *proto)
- {
- std::string temp(proto); temp += ' ';
- return strstr(DisabledProtoList, temp.c_str()) != nullptr;
- }
-};
-
-extern Settings g_sets;