diff options
| author | 2022-06-16 15:39:09 +0000 | |
|---|---|---|
| committer | 2022-06-16 15:39:09 +0000 | |
| commit | 4579f8b555dca0d0e717651b03d5f87988a0745c (patch) | |
| tree | 97c4961afd78b243518f135b60a6bc0ee059e856 /include | |
| parent | only SetGotId when webirc spoofed username doesn't have ~ (diff) | |
| download | solanum-jess/webirc-ident.tar.gz solanum-jess/webirc-ident.tar.bz2 solanum-jess/webirc-ident.zip | |
don't override webirc spoofed username in USER jess/webirc-ident
Diffstat (limited to 'include')
| -rw-r--r-- | include/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/client.h b/include/client.h index 6a50f533..ec2b17f3 100644 --- a/include/client.h +++ b/include/client.h @@ -419,6 +419,7 @@ struct ListClient #define FLAGS_EXEMPTSHIDE 0x04000000 #define FLAGS_EXEMPTJUPE 0x08000000 #define FLAGS_IDENTIFIED 0x10000000 /* owns their current nick */ +#define FLAGS_USER_SPOOFING 0x00000080 /* username has already been set, so ignore it in USER */ /* flags for local clients, this needs stuff moved from above to here at some point */ @@ -545,6 +546,8 @@ struct ListClient #define SetExemptResv(x) ((x)->flags |= FLAGS_EXEMPTRESV) #define IsIPSpoof(x) ((x)->flags & FLAGS_IP_SPOOFING) #define SetIPSpoof(x) ((x)->flags |= FLAGS_IP_SPOOFING) +#define IsUserSpoof(x) ((x)->flags & FLAGS_USER_SPOOFING) +#define SetUserSpoof(x) ((x)->flags |= FLAGS_USER_SPOOFING) #define IsExtendChans(x) ((x)->flags & FLAGS_EXTENDCHANS) #define SetExtendChans(x) ((x)->flags |= FLAGS_EXTENDCHANS) |
