projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.2.0 ***
[NeonServV5.git]
/
src
/
UserNode.h
diff --git
a/src/UserNode.h
b/src/UserNode.h
index 051a1539696ad12460cabf4c6c2e4adad485d334..688fb3842c2f3c288455e08c5e2a15aeef7d9aa2 100644
(file)
--- a/
src/UserNode.h
+++ b/
src/UserNode.h
@@
-1,4
+1,4
@@
-/* UserNode.h - NeonServ v5.
0
+/* UserNode.h - NeonServ v5.
2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-41,14
+41,14
@@
struct UserNode {
char realname[REALLEN+1];
char auth[AUTHLEN+1];
unsigned int flags;
char realname[REALLEN+1];
char auth[AUTHLEN+1];
unsigned int flags;
- time_t created;
+ time_t created
, last_who
;
struct ChanUser *channel;
struct language *language;
struct UserNode *next;
};
struct ChanUser *channel;
struct language *language;
struct UserNode *next;
};
-#define isNetworkService(USER) (USER->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP))
+#define isNetworkService(USER) (USER->flags & (USERFLAG_ISBOT | USERFLAG_ISIRCOP
| USERFLAG_ISSERVER
))
#define isBot(USER) (USER->flags & (USERFLAG_ISBOT))
void init_UserNode();
#define isBot(USER) (USER->flags & (USERFLAG_ISBOT))
void init_UserNode();