aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/pop3_server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/pop3_server.rb')
-rw-r--r--lib/mauve/pop3_server.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/mauve/pop3_server.rb b/lib/mauve/pop3_server.rb
index 861b719..971adae 100644
--- a/lib/mauve/pop3_server.rb
+++ b/lib/mauve/pop3_server.rb
@@ -76,10 +76,17 @@ module Mauve
super
end
+ #
+ # Since Server.start doesn't return below, we can't check when the thread was last polled.
+ #
+ def last_polled_at
+ Time.now
+ end
+
private
#
- # This tarts the server, and keeps it going.
+ # This starts the server, and keeps it going.
#
def main_loop
unless @server and @server.running?