aboutsummaryrefslogtreecommitdiffstats
path: root/include/struct.h
diff options
context:
space:
mode:
authorGravatar Bram Matthys2011-12-25 14:26:53 +0100
committerGravatar Bram Matthys2011-12-25 14:26:53 +0100
commitd272d2d6a04cc2d613b5717bd702e2fbbe274c51 (patch)
tree6af20822ca1d3b0b009a77ba500cfaeb81f6f359 /include/struct.h
parent- Tweak: send actual channel name and not user supplied channel in KICK, repo... (diff)
downloadunrealircd-d272d2d6a04cc2d613b5717bd702e2fbbe274c51.tar.gz
unrealircd-d272d2d6a04cc2d613b5717bd702e2fbbe274c51.tar.bz2
unrealircd-d272d2d6a04cc2d613b5717bd702e2fbbe274c51.zip
- 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).
Diffstat (limited to 'include/struct.h')
-rw-r--r--include/struct.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/struct.h b/include/struct.h
index 6a5e4795f..e685bd4ca 100644
--- a/include/struct.h
+++ b/include/struct.h
@@ -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];