From 4b1b346107d00eccaa16b80e94f26633168f8a35 Mon Sep 17 00:00:00 2001 From: Jim Hull Date: Mon, 12 Sep 2011 23:03:20 -0700 Subject: [PATCH] update module description with something more useful. Additionally added explanation at the top of the header. --- modules/extra/away.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/extra/away.cpp b/modules/extra/away.cpp index 697aca6dcc..18101a0e00 100644 --- a/modules/extra/away.cpp +++ b/modules/extra/away.cpp @@ -7,6 +7,11 @@ * * Quiet Away and message logger * Author: imaginos + * + * I originally wrote this module for when I had multiple clients connected to ZNC. I would leave work and forget to close my client, arriving at home + * and re-attaching there someone may have messaged me in commute and I wouldn't know it until I would arrive back at work the next day. I wrote it such that + * my xchat client would monitor desktop activity and ping the module to let it know I was active. Within a few minutes of inactivity the pinging stops and + * the away module sets the user as away and logging commences. */ #define REQUIRESSL @@ -475,5 +480,5 @@ void CAwayJob::RunJob() } } -NETWORKMODULEDEFS(CAway, "You don't need this module, ZNC works ok without it") +NETWORKMODULEDEFS(CAway, "Adds auto-away functionality with logging, and subsequent notification of messages when reconnecting" );