summaryrefslogtreecommitdiffstats
path: root/includes/chats.php
diff options
context:
space:
mode:
authorSnap <snapwilliam@gmail.com>2015-04-28 15:53:05 -0700
committerSnap <snapwilliam@gmail.com>2015-04-28 15:53:05 -0700
commite90a8d192446fce277dc3efe4f2913d5fecca0dc (patch)
treef091064290aa73a2b54ec83262b09725f74d7ff8 /includes/chats.php
parent79d3c716e38084beab01d34a5f49a5aee7e72526 (diff)
downloadpathery-e90a8d192446fce277dc3efe4f2913d5fecca0dc.tar.xz
Chat improvements.
Fixed "&P" or ";P" bug. Reduced size of chat-request size considerably with use of header_remove();
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,