From 3741ee3cd2b940132c011ba37897b6fe516f7931 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Apr 2004 18:14:00 +0000 Subject: New documentation for new ConfigReader methods git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@457 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/users_8cpp-source.html | 107 +++++++++++++++++---------------- 1 file changed, 54 insertions(+), 53 deletions(-) (limited to 'docs/module-doc/users_8cpp-source.html') diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index 1b579972a..a30869ad5 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -21,7 +21,7 @@ 00013 // the PROPER way to do it, AVOID bzero at *ALL* costs 00014 strcpy(nick,""); 00015 ip = 0; -00016 timeout = 0; +00016 timeout = 0; 00017 strcpy(ident,""); 00018 strcpy(host,""); 00019 strcpy(dhost,""); @@ -41,59 +41,60 @@ 00033 invites.clear(); 00034 } 00035 -00036 -00037 char* userrec::GetFullHost() -00038 { -00039 sprintf(result,"%s!%s@%s",nick,ident,dhost); -00040 return result; -00041 } -00042 +00036 +00037 +00038 char* userrec::GetFullHost() +00039 { +00040 sprintf(result,"%s!%s@%s",nick,ident,dhost); +00041 return result; +00042 } 00043 -00044 char* userrec::GetFullRealHost() -00045 { -00046 sprintf(result,"%s!%s@%s",nick,ident,host); -00047 return result; -00048 } -00049 -00050 bool userrec::IsInvited(char* channel) -00051 { -00052 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00053 { -00054 if (i->channel) { -00055 if (!strcasecmp(i->channel,channel)) -00056 { -00057 return true; -00058 } -00059 } -00060 } -00061 return false; -00062 } -00063 -00064 void userrec::InviteTo(char* channel) -00065 { -00066 Invited i; -00067 strcpy(i.channel,channel); -00068 invites.push_back(i); -00069 } -00070 -00071 void userrec::RemoveInvite(char* channel) -00072 { -00073 log(DEBUG,"Removing invites"); -00074 if (invites.size()) -00075 { -00076 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00077 { -00078 if (i->channel) { -00079 if (!strcasecmp(i->channel,channel)) -00080 { -00081 invites.erase(i); -00082 return; -00083 } -00084 } -00085 } -00086 } -00087 } -
1.3-rc3
--
cgit v1.3.1-10-gc9f91