you or the last user you sent a page to, whichever is more recent.
$Log$
+ Revision 573.104 2001/03/02 03:18:33 ajc
+ * client: the "Page who?" prompt now defaults to the last user who paged
+ you or the last user you sent a page to, whichever is more recent.
+
Revision 573.103 2001/02/28 05:49:04 ajc
* Removed the moderation questions.
* Added extra ignores of SIGPIPE to the code (before every client socket
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
extern char temp[];
void getline(char *, int);
+char last_paged[SIZ] = "";
+
void chatmode(void)
{
char wbuf[SIZ];
*/
void page_user()
{
- static char last_paged[32] = "";
char buf[SIZ], touser[SIZ], msg[SIZ];
FILE *pagefp;
void chatmode(void);
void page_user(void);
void quiet_mode(void);
+
+extern char last_paged[];
#include "routines2.h"
#include "tools.h"
#include "rooms.h"
+#include "client_chat.h"
#ifndef HAVE_SNPRINTF
#include "snprintf.h"
#endif
flags = extract_int(&buf[4], 2);
extract(sender, &buf[4], 3);
extract(node, &buf[4], 4);
+ strcpy(last_paged, sender);
stamp = localtime(×tamp);
6 Bastille <tdf@area51.v-wave.com>
+ 7 Walden Leverich <waldenl@techsoftinc.com>