summaryrefslogtreecommitdiffstats
path: root/includes/chats.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/chats.php')
-rw-r--r--includes/chats.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/chats.php b/includes/chats.php
index 5bfd61f..d9616fd 100644
--- a/includes/chats.php
+++ b/includes/chats.php
@@ -160,6 +160,7 @@ function getChannelList($channel = 1) {
chatUsers.dateEntered,
TIME_TO_SEC(TIMEDIFF(NOW(), chatUsers.dateLastActive)) as secFromLastActive,
+ TIME_TO_SEC(TIMEDIFF(NOW(), chatUsers.dateEntered)) as secFromEntered,
TIME_TO_SEC(TIMEDIFF(NOW(), users.dateChatGaggedUntil)) as secSinceGagged,
chatUsers.isAdmin,