X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=docs%2Fmodule-doc%2Fclassuserrec.html;h=0e698ae749dc5e3bba739f7e3a3fc8a1a7e4af70;hb=5a2675d174e661c55843b3795afe2d688e7197f9;hp=c241c89f9ace117e4b17c72023cf6529a710e4e3;hpb=cc61d20faae9a29422d34a367db9ac54d8de3d0e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index c241c89f9..0e698ae74 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -1,102 +1,110 @@ -userrec class Reference - +InspIRCd: userrec class Reference + - -
-Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
-

userrec Class Reference

Holds all information about a user This class stores all information about a user connected to the irc server. + +
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members
+

userrec Class Reference

Holds all information about a user This class stores all information about a user connected to the irc server. More...

#include <users.h>

+Inherits connection. +

List of all members. - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + +

Public Methods

 userrec ()
virtual ~userrec ()
virtual char * GetFullHost ()
 Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

virtual char * GetFullRealHost ()
 Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

virtual bool IsInvited (char *channel)
 Returns true if a user is invited to a channel.

virtual void InviteTo (char *channel)
 Adds a channel to a users invite list (invites them to a channel).

virtual void RemoveInvite (char *channel)
 Removes a channel from a users invite list.


Public Member Functions

 userrec ()
virtual ~userrec ()
virtual char * GetFullHost ()
 Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

virtual char * GetFullRealHost ()
 Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

virtual bool IsInvited (char *channel)
 Returns true if a user is invited to a channel.

virtual void InviteTo (char *channel)
 Adds a channel to a users invite list (invites them to a channel).

virtual void RemoveInvite (char *channel)
 Removes a channel from a users invite list.

bool HasPermission (char *command)
 Returns true or false for if a user can execute a privilaged oper command.


Public Attributes

char nick [NICKMAX]
 The users nickname.

unsigned long ip
 The users ip address in network order.

char ident [64]
 The users ident reply.

char host [256]
 The users hostname, or ip address in string form.

char dhost [256]
 The host displayed to non-opers (used for cloaking etc).

char fullname [128]
 The users full name.

int fd
 The users file descriptor.

char modes [32]
 The user's mode string.

char inbuf [MAXBUF]
 The users input buffer.

time_t lastping
 The last time the user was pinged by the core.

time_t signon
 The users signon time.

time_t idle_lastmsg
 The time the user last sent a message.

time_t nping
 True if the user replied to their last ping.

int registered
 Bit 1 is set if the user sent a NICK command, bit 2 is set if the user sent a USER command.

ucrec chans [MAXCHANS]
 A list of the channels the user is currently on.

char server [256]
 The server the user is connected to.

char awaymsg [512]
 The user's away message.

int port
 The port that the user connected to.

long bytes_in
 Stores the number of incoming bytes from the connection.

long bytes_out
 Stores the number of outgoing bytes to the connection.

long cmds_in
 Stores the number of incoming commands from the connection.

long cmds_out
 Stores the number of outgoing commands to the connection.

char result [256]
 Stores the result of the last GetFullHost or GetRealHost call.

bool haspassed
 True if a correct password has been given using PASS command.

char nick [NICKMAX]
 The users nickname.

char ident [64]
 The users ident reply.

char dhost [256]
 The host displayed to non-opers (used for cloaking etc).

char fullname [128]
 The users full name.

char modes [MAXBUF]
 The user's mode string.

ucrec chans [MAXCHANS]
char server [256]
 The server the user is connected to.

char awaymsg [512]
 The user's away message.

char result [256]
 Stores the result of the last GetFullHost or GetRealHost call.

int flood
 Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood.

unsigned long timeout
 Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected.

char oper [NICKMAX]
 The oper type they logged in as, if they are an oper.

bool dns_done
 True when DNS lookups are completed.

unsigned long pingmax
 Number of seconds between PINGs for this user (set from <connect:allow> tag.

char password [MAXBUF]
 Password specified by the user when they registered.


Private Attributes

InvitedList invites
 A list of channels the user has a pending invite to.

InvitedList invites
 A list of channels the user has a pending invite to.


Detailed Description

-Holds all information about a user This class stores all information about a user connected to the irc server. +Holds all information about a user This class stores all information about a user connected to the irc server.

Everything about a connection is stored here primarily, from the user's socket ID (file descriptor) through to the user's nickname and hostname. Use the Find method of the server class to locate a specific user by nickname.

-Definition at line 83 of file users.h.


Constructor & Destructor Documentation

+Definition at line 93 of file users.h.

Constructor & Destructor Documentation

- +
-
+ - - + + @@ -114,45 +122,49 @@ Definition at line 83 of fi

-Definition at line 26 of file users.cpp. -

-References bytes_in, bytes_out, ucrec::channel, chans, cmds_in, cmds_out, fd, haspassed, idle_lastmsg, invites, ip, lastping, nping, port, registered, and signon. -

-

00027 {
-00028         // the PROPER way to do it, AVOID bzero at *ALL* costs
-00029         strcpy(nick,"");
-00030         ip = 0;
-00031         strcpy(ident,"");
-00032         strcpy(host,"");
-00033         strcpy(dhost,"");
-00034         strcpy(fullname,"");
-00035         strcpy(modes,"");
-00036         strcpy(inbuf,"");
-00037         strcpy(server,"");
-00038         strcpy(awaymsg,"");
-00039         fd = lastping = signon = idle_lastmsg = nping = registered = 0;
-00040         port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
-00041         haspassed = false;
-00042         strcpy(result,"");
-00043         for (int i = 0; i < MAXCHANS; i++)
-00044         {
-00045                 chans[i].channel = NULL;
-00046         }
-00047         invites.clear();
-00048 }
+Definition at line 28 of file users.cpp.
+

+References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, timeout, and ucrec::uc_modes. +

+

00029 {
+00030         // the PROPER way to do it, AVOID bzero at *ALL* costs
+00031         strcpy(nick,"");
+00032         strcpy(ip,"127.0.0.1");
+00033         timeout = 0;
+00034         strcpy(ident,"");
+00035         strcpy(host,"");
+00036         strcpy(dhost,"");
+00037         strcpy(fullname,"");
+00038         strcpy(modes,"");
+00039         strcpy(inbuf,"");
+00040         strcpy(server,"");
+00041         strcpy(awaymsg,"");
+00042         strcpy(oper,"");
+00043         fd = lastping = signon = idle_lastmsg = nping = registered = 0;
+00044         flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
+00045         haspassed = false;
+00046         dns_done = false;
+00047         strcpy(result,"");
+00048         for (int i = 0; i < MAXCHANS; i++)
+00049         {
+00050                 this->chans[i].channel = NULL;
+00051                 this->chans[i].uc_modes = 0;
+00052         }
+00053         invites.clear();
+00054 }
 
userrec::userrec    ) 

- +
-
+ - + - - + + @@ -170,23 +182,23 @@ References bytes_in,

-Definition at line 216 of file users.h. +Definition at line 178 of file users.h.

-

00216 {  }
+
00178 {  }
 
virtual userrec::~userrec virtual userrec::~userrec    )  [inline, virtual]

Member Function Documentation

- +
-
+ - - + + @@ -202,31 +214,31 @@ Definition at line 216 of f
char * userrec::GetFullHost    )  [virtual]

-Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. +Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

-Definition at line 51 of file users.cpp. +Definition at line 58 of file users.cpp.

-References result. +References dhost, ident, nick, and result.

-

00052 {
-00053         sprintf(result,"%s!%s@%s",nick,ident,dhost);
-00054         return result;
-00055 }
+
00059 {
+00060         snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,dhost);
+00061         return result;
+00062 }
 

- +
-
+ - - + + @@ -242,33 +254,33 @@ References result.
char * userrec::GetFullRealHost    )  [virtual]

-Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. +Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form.

If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.

-Definition at line 58 of file users.cpp. +Definition at line 65 of file users.cpp.

-References result. +References connection::host, ident, nick, and result.

-

00059 {
-00060         sprintf(result,"%s!%s@%s",nick,ident,host);
-00061         return result;
-00062 }
+
00066 {
+00067         snprintf(result,MAXBUF,"%s!%s@%s",nick,ident,host);
+00068         return result;
+00069 }
 
-

- +

+

-
+ - + - - - + + +
void userrec::InviteTo bool userrec::HasPermission char *   channel [virtual] command  ) 
@@ -283,33 +295,77 @@ References result.

-Adds a channel to a users invite list (invites them to a channel). +Returns true or false for if a user can execute a privilaged oper command.

- +This is done by looking up their oper type from userrec::oper, then referencing this to their oper classes and checking the commands they can execute.

-Definition at line 75 of file users.cpp. +Definition at line 114 of file users.cpp.

-References Invited::channel, and invites. +References config_f, and DEBUG.

-

00076 {
-00077         Invited i;
-00078         strcpy(i.channel,channel);
-00079         invites.push_back(i);
-00080 }
+
00115 {
+00116         char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00117         char* mycmd;
+00118         char* savept;
+00119         char* savept2;
+00120         
+00121         // are they even an oper at all?
+00122         if (strchr(this->modes,'o'))
+00123         {
+00124                 log(DEBUG,"*** HasPermission: %s is an oper",this->nick);
+00125                 for (int j =0; j < ConfValueEnum("type",&config_f); j++)
+00126                 {
+00127                         ConfValue("type","name",j,TypeName,&config_f);
+00128                         if (!strcmp(TypeName,this->oper))
+00129                         {
+00130                                 log(DEBUG,"*** HasPermission: %s is an oper of type '%s'",this->nick,this->oper);
+00131                                 ConfValue("type","classes",j,Classes,&config_f);
+00132                                 char* myclass = strtok_r(Classes," ",&savept);
+00133                                 while (myclass)
+00134                                 {
+00135                                         log(DEBUG,"*** HasPermission: checking classtype '%s'",myclass);
+00136                                         for (int k =0; k < ConfValueEnum("class",&config_f); k++)
+00137                                         {
+00138                                                 ConfValue("class","name",k,ClassName,&config_f);
+00139                                                 if (!strcmp(ClassName,myclass))
+00140                                                 {
+00141                                                         ConfValue("class","commands",k,CommandList,&config_f);
+00142                                                         log(DEBUG,"*** HasPermission: found class named %s with commands: '%s'",ClassName,CommandList);
+00143                                                         
+00144                                                         
+00145                                                         mycmd = strtok_r(CommandList," ",&savept2);
+00146                                                         while (mycmd)
+00147                                                         {
+00148                                                                 if (!strcasecmp(mycmd,command))
+00149                                                                 {
+00150                                                                         log(DEBUG,"*** Command %s found, returning true",command);
+00151                                                                         return true;
+00152                                                                 }
+00153                                                                 mycmd = strtok_r(NULL," ",&savept2);
+00154                                                         }
+00155                                                 }
+00156                                         }
+00157                                         myclass = strtok_r(NULL," ",&savept);
+00158                                 }
+00159                         }
+00160                 }
+00161         }
+00162         return false;
+00163 }
 
-

- +

+

-
+ - + - - + + @@ -325,37 +381,33 @@ References Invited::channel
bool userrec::IsInvited void userrec::InviteTo char *   channel channel  )  [virtual]

-Returns true if a user is invited to a channel. +Adds a channel to a users invite list (invites them to a channel).

-Definition at line 64 of file users.cpp. +Definition at line 85 of file users.cpp.

-References invites. +References Invited::channel, and invites.

-

00065 {
-00066         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00067         {
-00068                 if (!strcasecmp(i->channel,channel))
-00069                 {
-00070                         return true;
-00071                 }
-00072         }
-00073 }
+
00086 {
+00087         Invited i;
+00088         strlcpy(i.channel,channel,CHANMAX);
+00089         invites.push_back(i);
+00090 }
 
-

- +

+

-
+ - + - - + + @@ -371,61 +423,43 @@ References invites.
void userrec::RemoveInvite bool userrec::IsInvited char *   channel channel  )  [virtual]

-Removes a channel from a users invite list. +Returns true if a user is invited to a channel.

-This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation. +

-Definition at line 82 of file users.cpp. +Definition at line 71 of file users.cpp.

-References invites. +References invites.

-

00083 {
-00084         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00085         {
-00086                 if (!strcasecmp(i->channel,channel))
-00087                 {
-00088                         invites.erase(i);
-00089                         return;
-00090                 }
-00091         }
-00092 }
+
00072 {
+00073         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00074         {
+00075                 if (i->channel) {
+00076                         if (!strcasecmp(i->channel,channel))
+00077                         {
+00078                                 return true;
+00079                         }
+00080                 }
+00081         }
+00082         return false;
+00083 }
 
-

Member Data Documentation

-

- +

+

- - -
+ -
char userrec::awaymsg[512] -
-
- - - - + + + + + + -

-The user's away message. -

-If this string is empty, the user is not marked as away. -

-Definition at line 177 of file users.h. - -

-   - + void userrec::RemoveInvite char *  channel  )  [virtual]
-

- - - @@ -438,22 +472,45 @@ Definition at line 177 of f +Definition at line 92 of file users.cpp. +

+References DEBUG, and invites. +

+

00093 {
+00094         log(DEBUG,"Removing invites");
+00095         if (channel)
+00096         {
+00097                 if (invites.size())
+00098                 {
+00099                         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00100                         {
+00101                                 if (i->channel)
+00102                                 {
+00103                                         if (!strcasecmp(i->channel,channel))
+00104                                         {
+00105                                                 invites.erase(i);
+00106                                                 return;
+00107                                         }
+00108                                 }
+00109                         }
+00110                 }
+00111         }
+00112 }
+
- - -
long userrec::bytes_in

-Stores the number of incoming bytes from the connection. +Removes a channel from a users invite list.

-Used by /STATS -

-Definition at line 186 of file users.h. +This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.

-Referenced by userrec().

-

- +

Member Data Documentation

+

+

- @@ -466,22 +523,22 @@ Referenced by userrec(). +Referenced by userrec().
+ -
long userrec::bytes_out + char userrec::awaymsg[512]

-Stores the number of outgoing bytes to the connection. +The user's away message.

-Used by /STATS +If this string is empty, the user is not marked as away.

-Definition at line 191 of file users.h. +Definition at line 136 of file users.h.

-Referenced by userrec().

-

- +

+

- @@ -494,50 +551,20 @@ Referenced by userrec(). - -
+ -
ucrec userrec::chans[MAXCHANS] + ucrec userrec::chans[MAXCHANS]

-A list of the channels the user is currently on. -

-If any of these values are NULL, the record is not in use and may be associated with a channel by the JOIN command. see RFC 1459. -

-Definition at line 168 of file users.h. -

-Referenced by userrec().

-

- - - - -
- - -
long userrec::cmds_in -
-
- - - - +Referenced by Server::PseudoToUser(), and userrec().
-   -

-Stores the number of incoming commands from the connection. -

-Used by /STATS +Definition at line 127 of file users.h.

-Definition at line 196 of file users.h. -

-Referenced by userrec().

-

- +

+

- @@ -550,22 +577,22 @@ Referenced by userrec(). +Referenced by GetFullHost(), and userrec().
+ -
long userrec::cmds_out + char userrec::dhost[256]

-Stores the number of outgoing commands to the connection. +The host displayed to non-opers (used for cloaking etc).

-Used by /STATS +This usually matches the value of userrec::host.

-Definition at line 201 of file users.h. +Definition at line 115 of file users.h.

-Referenced by userrec().

-

- +

+

- @@ -578,48 +605,22 @@ Referenced by userrec(). - -
+ -
char userrec::dhost[256] + bool userrec::dns_done

-The host displayed to non-opers (used for cloaking etc). -

-This usually matches the value of userrec::host. +True when DNS lookups are completed.

-Definition at line 113 of file users.h.

-

- - - - -
- - -
int userrec::fd -
-
- - - - +Referenced by userrec().
-   -

-The users file descriptor. +Definition at line 164 of file users.h.

-If this is zero, the socket has been closed and the core has not yet realised and removed the record from memory. -

-Definition at line 123 of file users.h. -

-Referenced by userrec().

-

- +

+

- @@ -632,48 +633,22 @@ Referenced by userrec(). - -
+ -
char userrec::fullname[128] + int userrec::flood

-The users full name. -

- +Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood.

-Definition at line 117 of file users.h.

-

- - - - -
- - -
bool userrec::haspassed -
-
- - - - +Referenced by userrec().
-   -

-True if a correct password has been given using PASS command. -

-If the user is a member of a connection class that does not require a password, the value stored here is of no use. -

-Definition at line 212 of file users.h. +Definition at line 147 of file users.h.

-Referenced by userrec().

-

- +

+

- @@ -686,46 +661,22 @@ Referenced by userrec(). - -
+ -
char userrec::host[256] + char userrec::fullname[128]

-The users hostname, or ip address in string form. +The users full name.

-Definition at line 108 of file users.h.

-

- - - - -
- - -
char userrec::ident[64] -
-
- - - - +Referenced by userrec().
-   - - -

-The users ident reply. +Definition at line 119 of file users.h.

- -

-Definition at line 104 of file users.h.

-

- +

+

- @@ -738,48 +689,22 @@ Definition at line 104 of f - -
+ -
time_t userrec::idle_lastmsg + char userrec::ident[64]

-The time the user last sent a message. -

-See also userrec::lastping and userrec::signon -

-Definition at line 150 of file users.h. +The users ident reply.

-Referenced by userrec().

-

- - - - -
- - -
char userrec::inbuf[MAXBUF] -
-
- - - - +Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec(), and Server::UserToPseudo().
-   -

-The users input buffer. -

-Used by the C recv() function. +Definition at line 110 of file users.h.

-Definition at line 134 of file users.h.

-

- +

+

- @@ -792,22 +717,22 @@ Definition at line 134 of f +Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().
+ -
InvitedList userrec::invites [private] + InvitedList userrec::invites [private]

-A list of channels the user has a pending invite to. +A list of channels the user has a pending invite to.

-Definition at line 89 of file users.h. +Definition at line 99 of file users.h.

-Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().

-

- +

+

- @@ -820,22 +745,22 @@ Referenced by InviteTo(), +Referenced by userrec().
+ -
unsigned long userrec::ip + char userrec::modes[MAXBUF]

-The users ip address in network order. +The user's mode string.

- +This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.

-Definition at line 100 of file users.h. +Definition at line 125 of file users.h.

-Referenced by userrec().

-

- +

+

- @@ -848,22 +773,22 @@ Referenced by userrec(). +Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), Server::QuitUser(), and userrec().
+ -
time_t userrec::lastping + char userrec::nick[NICKMAX]

-The last time the user was pinged by the core. +The users nickname.

-When this value is more than 120 seconds difference from 'time(NULL)', a ping is sent to the client. If the user has an outstanding PING request the next time this event occurs after 4 total minutes, they are disconnected. +An invalid nickname indicates an unregistered connection prior to the NICK command.

-Definition at line 141 of file users.h. +Definition at line 106 of file users.h.

-Referenced by userrec().

-

- +

+

- @@ -876,46 +801,22 @@ Referenced by userrec(). - -
+ -
char userrec::modes[32] + char userrec::oper[NICKMAX]

-The user's mode string. +The oper type they logged in as, if they are an oper.

-This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit. +This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.

-Definition at line 129 of file users.h.

-

- - - - -
- - -
char userrec::nick[NICKMAX] -
-
- - - - +Referenced by userrec().
-   - - +Definition at line 160 of file users.h.

-The users nickname. -

-An invalid nickname indicates an unregistered connection prior to the NICK command. -

-Definition at line 96 of file users.h.

-

- +

+

- @@ -928,22 +829,20 @@ Definition at line 96 of fi +Definition at line 174 of file users.h.
+ -
time_t userrec::nping + char userrec::password[MAXBUF]

-True if the user replied to their last ping. -

-If this is true, the user can be sent another ping at the specified time, otherwise they will be discnnected. See also userrec::lastping +Password specified by the user when they registered.

-Definition at line 156 of file users.h. +This is stored even if the block doesnt need a password, so that modules may check it.

-Referenced by userrec().

-

- +

+

- @@ -956,22 +855,20 @@ Referenced by userrec(). +Definition at line 168 of file users.h.
+ -
int userrec::port + unsigned long userrec::pingmax

-The port that the user connected to. +Number of seconds between PINGs for this user (set from <connect:allow> tag.

-Definition at line 181 of file users.h. -

-Referenced by userrec().

-

- +

+

- @@ -984,50 +881,22 @@ Referenced by userrec(). - -
+ -
int userrec::registered + char userrec::result[256]

-Bit 1 is set if the user sent a NICK command, bit 2 is set if the user sent a USER command. -

-If both bits are set then the connection is awaiting MOTD. Sending of MOTD sets bit 3, and makes the value of userrec::registered == 7, showing a fully established client session. -

-Definition at line 162 of file users.h. -

-Referenced by userrec().

-

- - - - -
- - -
char userrec::result[256] -
-
- - - - +Referenced by GetFullHost(), GetFullRealHost(), and userrec().
-   - - -

-Stores the result of the last GetFullHost or GetRealHost call. +Stores the result of the last GetFullHost or GetRealHost call.

You may use this to increase the speed of use of this class.

-Definition at line 206 of file users.h. +Definition at line 141 of file users.h.

-Referenced by GetFullHost(), and GetFullRealHost().

-

- +

+

- @@ -1040,20 +909,22 @@ Referenced by GetFullHost()

-The server the user is connected to. +The server the user is connected to.

-Definition at line 172 of file users.h. +Definition at line 131 of file users.h. +

+Referenced by userrec().

+ -
char userrec::server[256] + char userrec::server[256]
-

- +

+

- @@ -1066,20 +937,20 @@ Definition at line 172 of f +Referenced by userrec().
+ -
time_t userrec::signon + unsigned long userrec::timeout

-The users signon time. +Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected.

-Definition at line 145 of file users.h. +Definition at line 153 of file users.h.

-Referenced by userrec().


The documentation for this class was generated from the following files: -
Generated on Thu Jan 23 20:28:59 2003 for InspIRCd by +
Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by -doxygen1.3-rc2
+doxygen +1.3.3