summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-10-09 18:14:16 -0700
committerPixel <pixel@nobis-crew.org>2008-10-09 18:14:16 -0700
commit3a4c10272436374bb0992e7a225fb1f4a716cc5d (patch)
treea3bbec001c663bc92b47338ac65c4f9101b811b5 /include
parent04977e4a8df1ca6993d749f914c94980708e0217 (diff)
Having Lua interfering with the MailHandler now, and switching the MailProcessing to a background task.
Diffstat (limited to 'include')
-rw-r--r--include/MailServer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/MailServer.h b/include/MailServer.h
index 296ba50..f3444b6 100644
--- a/include/MailServer.h
+++ b/include/MailServer.h
@@ -32,8 +32,8 @@ class MailHandler : public Base {
public:
MailHandler();
virtual ~MailHandler();
- virtual bool doProcessMail(Handle * in, const String & from, std::vector<String> tos) = 0;
- static bool ProcessMail(Handle * in, const String & from, std::vector<String> tos);
+ virtual Task * doProcessMail(Handle * in, const String & from, std::vector<String> tos) = 0;
+ static Task * ProcessMail(Handle * in, const String & from, std::vector<String> tos);
void OnTop();
private:
static MailHandler * head;