1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 15:13:13 +02:00

- Services coders: Added support for ESVID. Instead of a number you can

now store a string (of max NICKLEN size) as service stamp. See
  protoctl.txt and serverprotocol.html in doc/technical for more
  information.
  Patch from nenotopia (#3966).
This commit is contained in:
Bram Matthys
2011-12-25 14:26:53 +01:00
parent e8244902f8
commit d272d2d6a0
11 changed files with 61 additions and 43 deletions
+9 -1
View File
@@ -802,7 +802,15 @@ struct User {
Link *silence; /* chain of silence pointer blocks */
Link *dccallow; /* chain of dccallowed entries */
char *away; /* pointer to away message */
u_int32_t servicestamp; /* Services' time stamp variable */
/*
* svid: a value that is assigned by services to this user record.
* in previous versions of Unreal, this was strictly a timestamp value,
* which is less useful in the modern world of IRC where nicks are grouped to
* accounts, so it is now a string.
*/
char svid[NICKLEN + 1];
signed char refcnt; /* Number of times this block is referenced */
unsigned short joined; /* number of channels joined */
char username[USERLEN + 1];