diff options
Diffstat (limited to 'docs/module-doc/channels_8cpp-source.html')
-rw-r--r-- | docs/module-doc/channels_8cpp-source.html | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html index 6962adf43..0ad69366d 100644 --- a/docs/module-doc/channels_8cpp-source.html +++ b/docs/module-doc/channels_8cpp-source.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>channels.cpp Source File</title> -<link href="doxygen.css" rel="stylesheet" type="text/css"> +<link href="inspircd.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3-rc3 --> <center> @@ -24,15 +24,37 @@ 00016 <a name="l00017"></a><a class="code" href="classchanrec.html#a0">00017</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on) 00018 { -00019 } -00020 -<a name="l00021"></a><a class="code" href="classchanrec.html#a1">00021</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) -00022 { -00023 } -00024 -00025 -00026 -</pre></div><hr><address style="align: right;"><small>Generated on Fri Apr 2 14:46:04 2004 for InspIRCd by +00019 <span class="keywordflow">if</span> (mode_on) { +00020 <span class="keywordtype">char</span> m[3]; +00021 m[0] = mode; +00022 m[1] = <span class="charliteral">'\0'</span>; +00023 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode)) +00024 { +00025 strncat(custom_modes,m,MAXMODES); +00026 } +00027 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode); +00028 } +00029 <span class="keywordflow">else</span> { +00030 <span class="keywordtype">char</span> temp[MAXMODES]; +00031 <span class="keywordtype">int</span> count = 0; +00032 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> q = 0; q < strlen(custom_modes); q++) { +00033 <span class="keywordflow">if</span> (<a class="code" href="classchanrec.html#m1">custom_modes</a>[q] != mode) { +00034 temp[count++] = mode; +00035 } +00036 } +00037 temp[count] = <span class="charliteral">'\0'</span>; +00038 strncpy(custom_modes,temp,MAXMODES); +00039 log(DEBUG,<span class="stringliteral">"Custom mode %c removed"</span>,mode); +00040 } +00041 } +00042 +<a name="l00043"></a><a class="code" href="classchanrec.html#a1">00043</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a1">chanrec::SetCustomModeParam</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">char</span>* parameter,<span class="keywordtype">bool</span> mode_on) +00044 { +00045 } +00046 +00047 +00048 +</pre></div><hr><address style="align: right;"><small>Generated on Sat Apr 3 16:36:02 2004 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.3-rc3 </small></address> |