summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-21 23:20:48 -0400
committerAdam <Adam@anope.org>2010-10-21 23:20:48 -0400
commit791c2b89a5b09d3e3e3785669b29438ffec26295 (patch)
tree60a4647572e80d5f037fe2d9e49338a34cc0d6ea /include
parent4f317a242104b623d2e5257bc672fd56c0240a0e (diff)
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
Diffstat (limited to 'include')
-rw-r--r--include/logger.h4
-rw-r--r--include/mail.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/include/logger.h b/include/logger.h
index 518e2114f..6d134c227 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -78,11 +78,11 @@ class CoreExport LogInfo
std::list<Anope::string> Servers;
std::list<Anope::string> Users;
std::list<Anope::string> Channels;
- bool Normal;
+ std::list<Anope::string> Normal;
bool RawIO;
bool Debug;
- LogInfo(int logage, bool inhabit, bool normal, bool rawio, bool debug);
+ LogInfo(int logage, bool inhabit, bool rawio, bool debug);
~LogInfo();
diff --git a/include/mail.h b/include/mail.h
index 826f48253..c62bfb3be 100644
--- a/include/mail.h
+++ b/include/mail.h
@@ -15,12 +15,11 @@ class MailThread : public Thread
Anope::string Addr;
Anope::string Subject;
Anope::string Message;
+ bool DontQuoteAddresses;
bool Success;
public:
- MailThread(const Anope::string &mailto, const Anope::string &addr, const Anope::string &subject, const Anope::string &message) : Thread(), MailTo(mailto), Addr(addr), Subject(subject), Message(message), Success(false)
- {
- }
+ MailThread(const Anope::string &mailto, const Anope::string &addr, const Anope::string &subject, const Anope::string &message);
~MailThread();