summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 19:09:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 19:09:42 +0000
commit194838af39aa5fc823571afe9d61b2453573a32d (patch)
treeb532e27e75d95dcfa56d83ef70924e71ea247464 /include/users.h
parent2cd3b57fe08b6cdae5d99021252898dedd3a0650 (diff)
Changed the type of struct whowas records are stored in (no need to waste a big heavy userrec)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 2241a6e28..681f5d4b4 100644
--- a/include/users.h
+++ b/include/users.h
@@ -310,5 +310,18 @@ class userrec : public connection
};
+/** A lightweight userrec used by WHOWAS
+ */
+class WhoWasUser
+{
+ public:
+ char nick[NICKMAX];
+ char ident[16];
+ char dhost[160];
+ char host[160];
+ char fullname[128];
+ char server[256];
+ time_t signon;
+};
#endif