X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=2f1df535a27a10ac8d4b107647dc202efd6a87c0;hb=219d0fa1a64c5c2c155942ebc52543dd956519b1;hp=4d7994e8ef995eb6527e454514b111301fcd4a59;hpb=6fcbfc072387752ec345d7589e986b9959f350fc;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 4d7994e8e..2f1df535a 100644 --- a/include/users.h +++ b/include/users.h @@ -1,11 +1,11 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2019-2020 Matt Schatz * Copyright (C) 2019 linuxdaemon - * Copyright (C) 2019 Matt Schatz * Copyright (C) 2013 Daniel Vassdal * Copyright (C) 2012-2016, 2018 Attila Molnar - * Copyright (C) 2012-2013, 2016-2019 Sadie Powell + * Copyright (C) 2012-2013, 2016-2020 Sadie Powell * Copyright (C) 2012, 2018-2019 Robby * Copyright (C) 2012 DjSlash * Copyright (C) 2012 ChrisTX @@ -70,7 +70,7 @@ enum UserType { USERTYPE_SERVER = 3 }; -/** Holds information relevent to <connect allow> and <connect deny> tags in the config file. +/** Holds information relevant to <connect allow> and <connect deny> tags in the config file. */ struct CoreExport ConnectClass : public refcountbase { @@ -361,13 +361,13 @@ class CoreExport User : public Extensible /** If this is set to true, then all socket operations for the user * are dropped into the bit-bucket. - * This value is set by QuitUser, and is not needed seperately from that call. + * This value is set by QuitUser, and is not needed separately from that call. * Please note that setting this value alone will NOT cause the user to quit. */ unsigned int quitting:1; /** What type of user is this? */ - const UserType usertype:2; + const unsigned int usertype:2; /** Get client IP string from sockaddr, using static internal buffer * @return The IP string