]> code.citadel.org Git - citadel.git/commitdiff
* Added usersupp.lastcall to the parameters returned from the PASS/PAS2
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 16 Dec 2001 00:50:14 +0000 (00:50 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 16 Dec 2001 00:50:14 +0000 (00:50 +0000)
  commands in logged_in_response().

citadel/ChangeLog
citadel/techdoc/session.txt
citadel/user_ops.c

index 568a67f770c398aa8b14906dea4ef04e6e3211f6..3b6cf47ee585d35bafab53cb3d6bad789d6a4c0e 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 590.9  2001/12/16 00:50:14  error
+ * Added usersupp.lastcall to the parameters returned from the PASS/PAS2
+   commands in logged_in_response().
+
  Revision 590.8  2001/12/14 21:33:18  nbryant
  finally changed configure to complain if there's no database driver ;)
 
@@ -2967,4 +2971,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index 15f40d007f20d2cd694e2c064d28b99cd1e1596f..546244dc5bc0155d69585b69667fe8db800d38e6 100644 (file)
@@ -177,6 +177,7 @@ following parameters are returned:
  3 - Messages posted
  4 - Various flags (see citadel.h)
  5 - User number
+ 6 - Time of last call (UNIX timestamp)
  
  
  NEWU   (create NEW User account)
index f154425078d9b29f2ec4bec8c1b8ea9eb5e1228a..f8aefce0d3426c8df61d5e3f7fd6cdb694618d5f 100644 (file)
@@ -416,11 +416,11 @@ void session_startup(void)
 
 void logged_in_response(void)
 {
-       cprintf("%d %s|%d|%ld|%ld|%u|%ld\n",
+       cprintf("%d %s|%d|%ld|%ld|%u|%ld|%ld\n",
                OK, CC->usersupp.fullname, CC->usersupp.axlevel,
                CC->usersupp.timescalled, CC->usersupp.posted,
-               CC->usersupp.flags,
-               CC->usersupp.usernum);
+               CC->usersupp.flags, CC->usersupp.usernum,
+               CC->usersupp.lastcall);
 }