summaryrefslogtreecommitdiff
path: root/docs/module-doc/classuserrec.html
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-01 17:07:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-01 17:07:42 +0000
commitf326e475e311bf0fa211ccd052ba38d8235efa12 (patch)
tree6171ffe18343d82d035901f0cfb0778876e71987 /docs/module-doc/classuserrec.html
parent260d107be38928396b5339829ab321c2207f09bc (diff)
Updated documentation (html)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@937 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/classuserrec.html')
-rw-r--r--docs/module-doc/classuserrec.html295
1 files changed, 149 insertions, 146 deletions
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 7f5755497..1ca6025f2 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -113,34 +113,35 @@ Definition at line <a class="el" href="users_8h-source.html#l00089">89</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00025">25</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00132">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00194">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00198">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00213">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00123">chans</a>, <a class="el" href="connection_8h-source.html#l00202">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00206">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00111">dhost</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, <a class="el" href="users_8h-source.html#l00143">flood</a>, <a class="el" href="users_8h-source.html#l00115">fullname</a>, <a class="el" href="connection_8h-source.html#l00210">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00182">connection::host</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="connection_8h-source.html#l00236">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00190">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00095">invites</a>, <a class="el" href="connection_8h-source.html#l00186">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00228">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00121">modes</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, <a class="el" href="connection_8h-source.html#l00240">connection::nping</a>, <a class="el" href="connection_8h-source.html#l00216">connection::port</a>, <a class="el" href="connection_8h-source.html#l00220">connection::registered</a>, <a class="el" href="users_8h-source.html#l00137">result</a>, <a class="el" href="users_8h-source.html#l00127">server</a>, <a class="el" href="connection_8h-source.html#l00232">connection::signon</a>, <a class="el" href="users_8h-source.html#l00149">timeout</a>, and <a class="el" href="channels_8h-source.html#l00208">ucrec::uc_modes</a>.
-<p>
-<div class="fragment"><pre>00026 {
-00027 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
-00028 strcpy(nick,<span class="stringliteral">""</span>);
-00029 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>);
-00030 <a class="code" href="classuserrec.html#o10">timeout</a> = 0;
-00031 strcpy(ident,<span class="stringliteral">""</span>);
-00032 strcpy(host,<span class="stringliteral">""</span>);
-00033 strcpy(dhost,<span class="stringliteral">""</span>);
-00034 strcpy(fullname,<span class="stringliteral">""</span>);
-00035 strcpy(modes,<span class="stringliteral">""</span>);
-00036 strcpy(inbuf,<span class="stringliteral">""</span>);
-00037 strcpy(server,<span class="stringliteral">""</span>);
-00038 strcpy(awaymsg,<span class="stringliteral">""</span>);
-00039 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
-00040 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
-00041 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
-00042 strcpy(result,<span class="stringliteral">""</span>);
-00043 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
-00044 {
-00045 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
-00046 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
-00047 }
-00048 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
-00049 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00026">26</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00132">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00194">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00198">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00213">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00123">chans</a>, <a class="el" href="connection_8h-source.html#l00202">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00206">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00111">dhost</a>, <a class="el" href="connection_8h-source.html#l00178">connection::fd</a>, <a class="el" href="users_8h-source.html#l00143">flood</a>, <a class="el" href="users_8h-source.html#l00115">fullname</a>, <a class="el" href="connection_8h-source.html#l00210">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00182">connection::host</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="connection_8h-source.html#l00236">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00190">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00095">invites</a>, <a class="el" href="connection_8h-source.html#l00186">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00228">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00121">modes</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, <a class="el" href="connection_8h-source.html#l00240">connection::nping</a>, <a class="el" href="users_8h-source.html#l00156">oper</a>, <a class="el" href="connection_8h-source.html#l00216">connection::port</a>, <a class="el" href="connection_8h-source.html#l00220">connection::registered</a>, <a class="el" href="users_8h-source.html#l00137">result</a>, <a class="el" href="users_8h-source.html#l00127">server</a>, <a class="el" href="connection_8h-source.html#l00232">connection::signon</a>, <a class="el" href="users_8h-source.html#l00149">timeout</a>, and <a class="el" href="channels_8h-source.html#l00208">ucrec::uc_modes</a>.
+<p>
+<div class="fragment"><pre>00027 {
+00028 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
+00029 strcpy(nick,<span class="stringliteral">""</span>);
+00030 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>);
+00031 <a class="code" href="classuserrec.html#o10">timeout</a> = 0;
+00032 strcpy(ident,<span class="stringliteral">""</span>);
+00033 strcpy(host,<span class="stringliteral">""</span>);
+00034 strcpy(dhost,<span class="stringliteral">""</span>);
+00035 strcpy(fullname,<span class="stringliteral">""</span>);
+00036 strcpy(modes,<span class="stringliteral">""</span>);
+00037 strcpy(inbuf,<span class="stringliteral">""</span>);
+00038 strcpy(server,<span class="stringliteral">""</span>);
+00039 strcpy(awaymsg,<span class="stringliteral">""</span>);
+00040 strcpy(oper,<span class="stringliteral">""</span>);
+00041 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
+00042 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
+00043 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
+00044 strcpy(result,<span class="stringliteral">""</span>);
+00045 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
+00046 {
+00047 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
+00048 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
+00049 }
+00050 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
+00051 }
</pre></div> </td>
</tr>
</table>
@@ -207,14 +208,14 @@ Returns the full displayed host of the user This member function returns the hos
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00053">53</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00055">55</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00111">dhost</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, and <a class="el" href="users_8h-source.html#l00137">result</a>.
<p>
-<div class="fragment"><pre>00054 {
-00055 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
-00056 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00057 }
+<div class="fragment"><pre>00056 {
+00057 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
+00058 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
+00059 }
</pre></div> </td>
</tr>
</table>
@@ -247,14 +248,14 @@ Returns the full real host of the user This member function returns the hostname
<p>
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.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00060">60</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00062">62</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00182">connection::host</a>, <a class="el" href="users_8h-source.html#l00106">ident</a>, <a class="el" href="users_8h-source.html#l00102">nick</a>, and <a class="el" href="users_8h-source.html#l00137">result</a>.
<p>
-<div class="fragment"><pre>00061 {
-00062 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
-00063 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00064 }
+<div class="fragment"><pre>00063 {
+00064 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
+00065 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
+00066 }
</pre></div> </td>
</tr>
</table>
@@ -288,60 +289,60 @@ Returns true or false for if a user can execute a privilaged oper command.
<p>
This is done by looking up their oper type from <a class="el" href="classuserrec.html#o11">userrec::oper</a>, then referencing this to their oper classes and checking the commands they can execute.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00109">109</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="channels_8cpp-source.html#l00100">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.
-<p>
-<div class="fragment"><pre>00110 {
-00111 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00112 <span class="keywordtype">char</span>* myclass;
-00113 <span class="keywordtype">char</span>* mycmd;
-00114 <span class="keywordtype">char</span>* savept;
-00115 <span class="keywordtype">char</span>* savept2;
-00116
-00117 <span class="comment">// are they even an oper at all?</span>
-00118 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-00119 {
-00120 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-00121 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
-00122 {
-00123 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
-00124 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-00125 {
-00126 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-00127 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
-00128 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-00129 <span class="keywordflow">while</span> (myclass)
-00130 {
-00131 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-00132 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
-00133 {
-00134 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
-00135 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-00136 {
-00137 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
-00138 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-00139
-00140
-00141 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-00142 <span class="keywordflow">while</span> (mycmd)
-00143 {
-00144 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-00145 {
-00146 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-00147 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00148 }
-00149 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-00150 }
-00151 }
-00152 }
-00153 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-00154 }
-00155 }
-00156 }
-00157 }
-00158 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00159 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00111">111</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="channels_8cpp-source.html#l00101">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.
+<p>
+<div class="fragment"><pre>00112 {
+00113 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00114 <span class="keywordtype">char</span>* myclass;
+00115 <span class="keywordtype">char</span>* mycmd;
+00116 <span class="keywordtype">char</span>* savept;
+00117 <span class="keywordtype">char</span>* savept2;
+00118
+00119 <span class="comment">// are they even an oper at all?</span>
+00120 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+00121 {
+00122 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
+00123 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
+00124 {
+00125 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
+00126 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+00127 {
+00128 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
+00129 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
+00130 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+00131 <span class="keywordflow">while</span> (myclass)
+00132 {
+00133 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
+00134 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
+00135 {
+00136 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
+00137 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+00138 {
+00139 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
+00140 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
+00141
+00142
+00143 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+00144 <span class="keywordflow">while</span> (mycmd)
+00145 {
+00146 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
+00147 {
+00148 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
+00149 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00150 }
+00151 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+00152 }
+00153 }
+00154 }
+00155 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+00156 }
+00157 }
+00158 }
+00159 }
+00160 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00161 }
</pre></div> </td>
</tr>
</table>
@@ -375,15 +376,15 @@ Adds a channel to a users invite list (invites them to a channel).
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00080">80</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00082">82</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00095">invites</a>.
<p>
-<div class="fragment"><pre>00081 {
-00082 <a class="code" href="classInvited.html">Invited</a> i;
-00083 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
-00084 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
-00085 }
+<div class="fragment"><pre>00083 {
+00084 <a class="code" href="classInvited.html">Invited</a> i;
+00085 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
+00086 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
+00087 }
</pre></div> </td>
</tr>
</table>
@@ -417,22 +418,22 @@ Returns true if a user is invited to a channel.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00066">66</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00068">68</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00095">invites</a>.
<p>
-<div class="fragment"><pre>00067 {
-00068 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00069 {
-00070 <span class="keywordflow">if</span> (i-&gt;channel) {
-00071 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00072 {
-00073 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00074 }
-00075 }
-00076 }
-00077 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00078 }
+<div class="fragment"><pre>00069 {
+00070 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00071 {
+00072 <span class="keywordflow">if</span> (i-&gt;channel) {
+00073 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00074 {
+00075 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00076 }
+00077 }
+00078 }
+00079 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00080 }
</pre></div> </td>
</tr>
</table>
@@ -466,30 +467,30 @@ Removes a channel from a users invite list.
<p>
This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00087">87</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00089">89</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00095">invites</a>.
<p>
-<div class="fragment"><pre>00088 {
-00089 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
-00090 <span class="keywordflow">if</span> (channel)
-00091 {
-00092 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
-00093 {
-00094 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00095 {
-00096 <span class="keywordflow">if</span> (i-&gt;channel)
-00097 {
-00098 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00099 {
-00100 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
-00101 <span class="keywordflow">return</span>;
-00102 }
-00103 }
-00104 }
-00105 }
-00106 }
-00107 }
+<div class="fragment"><pre>00090 {
+00091 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
+00092 <span class="keywordflow">if</span> (channel)
+00093 {
+00094 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
+00095 {
+00096 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00097 {
+00098 <span class="keywordflow">if</span> (i-&gt;channel)
+00099 {
+00100 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00101 {
+00102 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
+00103 <span class="keywordflow">return</span>;
+00104 }
+00105 }
+00106 }
+00107 }
+00108 }
+00109 }
</pre></div> </td>
</tr>
</table>
@@ -519,7 +520,7 @@ If this string is empty, the user is not marked as away.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00132">132</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o5" doxytag="userrec::chans"></a><p>
@@ -545,7 +546,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00123">123</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="userrec::dhost"></a><p>
@@ -573,7 +574,7 @@ This usually matches the value of <a class="el" href="classconnection.html#o1">u
<p>
Definition at line <a class="el" href="users_8h-source.html#l00111">111</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00053">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00055">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="userrec::flood"></a><p>
@@ -601,7 +602,7 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi
<p>
Definition at line <a class="el" href="users_8h-source.html#l00143">143</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="userrec::fullname"></a><p>
@@ -629,7 +630,7 @@ The users full name.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00115">115</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="userrec::ident"></a><p>
@@ -657,7 +658,7 @@ The users ident reply.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00106">106</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00053">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00060">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00055">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00062">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="r0" doxytag="userrec::invites"></a><p>
@@ -685,7 +686,7 @@ A list of channels the user has a pending invite to.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00095">95</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00080">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00066">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00087">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00082">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00068">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00089">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="userrec::modes"></a><p>
@@ -713,7 +714,7 @@ This may contain any of the following RFC characters: o, w, s, i Your module may
<p>
Definition at line <a class="el" href="users_8h-source.html#l00121">121</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="userrec::nick"></a><p>
@@ -741,7 +742,7 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma
<p>
Definition at line <a class="el" href="users_8h-source.html#l00102">102</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00663">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00053">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00060">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00386">Server::QuitUser()</a>, and <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00673">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00055">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00062">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00396">Server::QuitUser()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o11" doxytag="userrec::oper"></a><p>
@@ -767,7 +768,9 @@ The oper type they logged in as, if they are an oper.
<p>
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.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00156">156</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00156">156</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+<p>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="userrec::result"></a><p>
@@ -795,7 +798,7 @@ You may use this to increase the speed of use of this class.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00137">137</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00053">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00060">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00055">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00062">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="userrec::server"></a><p>
@@ -823,7 +826,7 @@ The server the user is connected to.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00127">127</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<a name="o10" doxytag="userrec::timeout"></a><p>
@@ -851,12 +854,12 @@ Number of seconds this user is given to send USER/NICK If they do not send their
<p>
Definition at line <a class="el" href="users_8h-source.html#l00149">149</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00025">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00026">userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Fri Mar 25 03:49:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon Mar 28 21:09:38 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>