repo: ngircd action: commit revision: path_from: revision_from: d2df7396a89b3e8de44379c305916bfee93ceb9b: path_to: revision_to:
commit d2df7396a89b3e8de44379c305916bfee93ceb9b Author: Alexander BartonDate: Tue Jan 24 02:43:55 2012 +0100 Conn_UpdateIdle(): Code cleanup diff --git a/src/ngircd/conn-func.c b/src/ngircd/conn-func.c
--- a/src/ngircd/conn-func.c
+++ b/src/ngircd/conn-func.c
@@ -30,11 +30,17 @@
#include "conn-func.h"
+/**
+ * Update "idle timestamp", the time of the last visible user action
+ * (e. g. like sending messages, joining or leaving channels).
+ *
+ * @param Idx Connection index.
+ */
GLOBAL void
-Conn_UpdateIdle( CONN_ID Idx )
+Conn_UpdateIdle(CONN_ID Idx)
{
- assert( Idx > NONE );
- My_Connections[Idx].lastprivmsg = time( NULL );
+ assert(Idx > NONE);
+ My_Connections[Idx].lastprivmsg = time(NULL);
}
-----END OF PAGE-----