From 78a96055c428d1970ece93dfb01902ac0d1699bd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Apr 2004 22:03:32 +0000 Subject: New documentation to document user/channel mode handling git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@380 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classuserrec.html | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'docs/module-doc/classuserrec.html') diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html index 1f317aa54..f88a03a19 100644 --- a/docs/module-doc/classuserrec.html +++ b/docs/module-doc/classuserrec.html @@ -5,7 +5,7 @@
-Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  
+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...

@@ -45,7 +45,7 @@ Inheritance diagram for userrec:



char fullname [128]  The users full name.

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

ucrec chans [MAXCHANS] char server [256] @@ -95,7 +95,7 @@ Definition at line 58 of fi

Definition at line 11 of file users.cpp.

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

00012 {
 00013         // the PROPER way to do it, AVOID bzero at *ALL* costs
@@ -362,17 +362,21 @@ Definition at line 70 of
 References invites.
 

00071 {
-00072         for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-00073         {
-00074                 if (i->channel) {
-00075                         if (!strcasecmp(i->channel,channel))
-00076                         {
-00077                                 invites.erase(i);
-00078                                 return;
-00079                         }
-00080                 }
-00081         }
-00082 }
+00072         log(DEBUG,"Removing invites");
+00073         if (invites.size())
+00074         {
+00075                 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+00076                 {
+00077                         if (i->channel) {
+00078                                 if (!strcasecmp(i->channel,channel))
+00079                                 {
+00080                                         invites.erase(i);
+00081                                         return;
+00082                                 }
+00083                         }
+00084                 }
+00085         }
+00086 }
 
@@ -541,7 +545,7 @@ Referenced by InviteTo(), -
char userrec::modes[32] + char userrec::modes[MAXBUF]
@@ -643,7 +647,7 @@ Definition at line 96 of fi
The documentation for this class was generated from the following files: -
Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by +
Generated on Sun Apr 4 23:02:33 2004 for InspIRCd by doxygen1.3-rc3
-- cgit v1.2.3