1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>chanrec class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
9 <hr><h1>chanrec Class Reference</h1>Holds all relevent information for a channel.
10 <a href="#_details">More...</a>
12 <code>#include <<a class="el" href="channels_8h-source.html">channels.h</a>></code>
14 Inheritance diagram for chanrec:<p><center><img src="classchanrec__inherit__graph.gif" border="0" usemap="#chanrec__inherit__map" alt="Inheritance graph"></center>
15 <map name="chanrec__inherit__map">
16 <area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt="">
18 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for chanrec:<p><center><img src="classchanrec__coll__graph.gif" border="0" usemap="#chanrec__coll__map" alt="Collaboration graph"></center>
19 <map name="chanrec__coll__map">
20 <area href="classclassbase.html" shape="rect" coords="149,91,216,112" alt="">
22 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classchanrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
24 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
25 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a0">SetCustomMode</a> (char mode, bool mode_on)</td></tr>
26 <tr><td> </td><td><font size=-1><em>Sets or unsets a custom mode in the channels info.</em> <a href="#a0"></a><em></em></font><br><br></td></tr>
27 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classchanrec.html#a1">SetCustomModeParam</a> (char mode, char *parameter, bool mode_on)</td></tr>
28 <tr><td> </td><td><font size=-1><em>Sets or unsets the parameters for a custom mode in a channels info.</em> <a href="#a1"></a><em></em></font><br><br></td></tr>
29 <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classchanrec.html#a2">IsCustomModeSet</a> (char mode)</td></tr>
30 <tr><td> </td><td><font size=-1><em>Returns true if a custom mode is set on a channel.</em> <a href="#a2"></a><em></em></font><br><br></td></tr>
31 <tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classchanrec.html#a3">GetModeParameter</a> (char mode)</td></tr>
32 <tr><td> </td><td><font size=-1><em>Returns the parameter for a custom mode on a channel.</em> <a href="#a3"></a><em></em></font><br><br></td></tr>
33 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classchanrec.html#a4">chanrec</a> ()</td></tr>
34 <tr><td> </td><td><font size=-1><em>Creates a channel record and initialises it with default values.</em> <a href="#a4"></a><em></em></font><br><br></td></tr>
35 <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classchanrec.html#a5">~chanrec</a> ()</td></tr>
36 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
37 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m0">name</a> [CHANMAX]</td></tr>
38 <tr><td> </td><td><font size=-1><em>The channels name.</em> <a href="#m0"></a><em></em></font><br><br></td></tr>
39 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m1">custom_modes</a> [MAXMODES]</td></tr>
40 <tr><td> </td><td><font size=-1><em>Custom modes for the channel.</em> <a href="#m1"></a><em></em></font><br><br></td></tr>
41 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m2">topic</a> [MAXBUF]</td></tr>
42 <tr><td> </td><td><font size=-1><em>Channel topic.</em> <a href="#m2"></a><em></em></font><br><br></td></tr>
43 <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classchanrec.html#m3">created</a></td></tr>
44 <tr><td> </td><td><font size=-1><em>Creation time.</em> <a href="#m3"></a><em></em></font><br><br></td></tr>
45 <tr><td nowrap align=right valign=top>time_t </td><td valign=bottom><a class="el" href="classchanrec.html#m4">topicset</a></td></tr>
46 <tr><td> </td><td><font size=-1><em>Time topic was set.</em> <a href="#m4"></a><em></em></font><br><br></td></tr>
47 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m5">setby</a> [NICKMAX]</td></tr>
48 <tr><td> </td><td><font size=-1><em>The last user to set the topic.</em> <a href="#m5"></a><em></em></font><br><br></td></tr>
49 <tr><td nowrap align=right valign=top>long </td><td valign=bottom><a class="el" href="classchanrec.html#m6">limit</a></td></tr>
50 <tr><td> </td><td><font size=-1><em>Contains the channel user limit.</em> <a href="#m6"></a><em></em></font><br><br></td></tr>
51 <tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="classchanrec.html#m7">key</a> [32]</td></tr>
52 <tr><td> </td><td><font size=-1><em>Contains the channel key.</em> <a href="#m7"></a><em></em></font><br><br></td></tr>
53 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m8">topiclock</a></td></tr>
54 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +t is set.</em> <a href="#m8"></a><em></em></font><br><br></td></tr>
55 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m9">noexternal</a></td></tr>
56 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +n is set.</em> <a href="#m9"></a><em></em></font><br><br></td></tr>
57 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m10">inviteonly</a></td></tr>
58 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +i is set.</em> <a href="#m10"></a><em></em></font><br><br></td></tr>
59 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m11">moderated</a></td></tr>
60 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +m is set.</em> <a href="#m11"></a><em></em></font><br><br></td></tr>
61 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m12">secret</a></td></tr>
62 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +s is set.</em> <a href="#m12"></a><em></em></font><br><br></td></tr>
63 <tr><td nowrap align=right valign=top>short int </td><td valign=bottom><a class="el" href="classchanrec.html#m13">c_private</a></td></tr>
64 <tr><td> </td><td><font size=-1><em>Nonzero if the mode +p is set.</em> <a href="#m13"></a><em></em></font><br><br></td></tr>
65 <tr><td nowrap align=right valign=top><a class="el" href="channels_8h.html#a5">BanList</a> </td><td valign=bottom><a class="el" href="classchanrec.html#m14">bans</a></td></tr>
66 <tr><td> </td><td><font size=-1><em>The list of all bans set on the channel.</em> <a href="#m14"></a><em></em></font><br><br></td></tr>
68 <hr><a name="_details"></a><h2>Detailed Description</h2>
69 Holds all relevent information for a channel.
71 This class represents a channel, and contains its name, modes, time created, topic, topic set time, etc, and an instance of the BanList type.
75 Definition at line <a class="el" href="channels_8h-source.html#l00083">83</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
76 <a name="a4" doxytag="chanrec::chanrec"></a><p>
77 <table width="100%" cellpadding="2" cellspacing="0" border="0">
80 <table cellpadding="0" cellspacing="0" border="0">
82 <td class="md" nowrap valign="top"> chanrec::chanrec </td>
83 <td class="md" valign="top">( </td>
84 <td class="mdname1" valign="top" nowrap> </td>
85 <td class="md" valign="top">) </td>
86 <td class="md" nowrap></td>
93 <table cellspacing=5 cellpadding=0 border=0>
101 Creates a channel record and initialises it with default values.
105 Definition at line <a class="el" href="channels_8cpp-source.html#l00012">12</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
107 References <a class="el" href="channels_8h-source.html#l00144">c_private</a>, <a class="el" href="channels_8h-source.html#l00100">created</a>, <a class="el" href="channels_8h-source.html#l00130">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00113">limit</a>, <a class="el" href="channels_8h-source.html#l00134">moderated</a>, <a class="el" href="channels_8h-source.html#l00126">noexternal</a>, <a class="el" href="channels_8h-source.html#l00139">secret</a>, <a class="el" href="channels_8h-source.html#l00122">topiclock</a>, and <a class="el" href="channels_8h-source.html#l00104">topicset</a>.
109 <div class="fragment"><pre>00013 {
110 00014 strcpy(name,<span class="stringliteral">""</span>);
111 00015 strcpy(custom_modes,<span class="stringliteral">""</span>);
112 00016 strcpy(topic,<span class="stringliteral">""</span>);
113 00017 strcpy(setby,<span class="stringliteral">""</span>);
114 00018 strcpy(key,<span class="stringliteral">""</span>);
115 00019 <a class="code" href="classchanrec.html#m3">created</a> = <a class="code" href="classchanrec.html#m4">topicset</a> = <a class="code" href="classchanrec.html#m6">limit</a> = 0;
116 00020 <a class="code" href="classchanrec.html#m8">topiclock</a> = <a class="code" href="classchanrec.html#m9">noexternal</a> = <a class="code" href="classchanrec.html#m10">inviteonly</a> = <a class="code" href="classchanrec.html#m11">moderated</a> = <a class="code" href="classchanrec.html#m12">secret</a> = <a class="code" href="classchanrec.html#m13">c_private</a> = <span class="keyword">false</span>;
121 <a name="a5" doxytag="chanrec::~chanrec"></a><p>
122 <table width="100%" cellpadding="2" cellspacing="0" border="0">
125 <table cellpadding="0" cellspacing="0" border="0">
127 <td class="md" nowrap valign="top"> virtual chanrec::~chanrec </td>
128 <td class="md" valign="top">( </td>
129 <td class="mdname1" valign="top" nowrap> </td>
130 <td class="md" valign="top">) </td>
131 <td class="md" nowrap><code> [inline, virtual]</code></td>
138 <table cellspacing=5 cellpadding=0 border=0>
148 Definition at line <a class="el" href="channels_8h-source.html#l00174">174</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
150 <div class="fragment"><pre>00174 { <span class="comment">/* stub */</span> }
154 <hr><h2>Member Function Documentation</h2>
155 <a name="a3" doxytag="chanrec::GetModeParameter"></a><p>
156 <table width="100%" cellpadding="2" cellspacing="0" border="0">
159 <table cellpadding="0" cellspacing="0" border="0">
161 <td class="md" nowrap valign="top"> std::string chanrec::GetModeParameter </td>
162 <td class="md" valign="top">( </td>
163 <td class="md" nowrap valign="top">char </td>
164 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
165 <td class="md" valign="top">) </td>
166 <td class="md" nowrap></td>
173 <table cellspacing=5 cellpadding=0 border=0>
181 Returns the parameter for a custom mode on a channel.
183 For example if "+L #foo" is set, and you pass this method 'L', it will return '#foo'. If the mode is not set on the channel, or the mode has no parameters associated with it, it will return an empty string.
185 Definition at line <a class="el" href="channels_8cpp-source.html#l00087">87</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
187 References <a class="el" href="channels_8cpp-source.html#l00010">custom_mode_params</a>.
189 <div class="fragment"><pre>00088 {
190 00089 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.size())
192 00091 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.end(); i++)
194 00093 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
196 00095 <span class="keywordflow">return</span> std::string(i->parameter);
200 00099 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>);
205 <a name="a2" doxytag="chanrec::IsCustomModeSet"></a><p>
206 <table width="100%" cellpadding="2" cellspacing="0" border="0">
209 <table cellpadding="0" cellspacing="0" border="0">
211 <td class="md" nowrap valign="top"> bool chanrec::IsCustomModeSet </td>
212 <td class="md" valign="top">( </td>
213 <td class="md" nowrap valign="top">char </td>
214 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
215 <td class="md" valign="top">) </td>
216 <td class="md" nowrap></td>
223 <table cellspacing=5 cellpadding=0 border=0>
231 Returns true if a custom mode is set on a channel.
235 Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
237 <div class="fragment"><pre>00082 {
238 00083 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes);
239 00084 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0);
244 <a name="a0" doxytag="chanrec::SetCustomMode"></a><p>
245 <table width="100%" cellpadding="2" cellspacing="0" border="0">
248 <table cellpadding="0" cellspacing="0" border="0">
250 <td class="md" nowrap valign="top"> void chanrec::SetCustomMode </td>
251 <td class="md" valign="top">( </td>
252 <td class="md" nowrap valign="top">char </td>
253 <td class="mdname" nowrap> <em>mode</em>, </td>
258 <td class="md" nowrap>bool </td>
259 <td class="mdname" nowrap> <em>mode_on</em></td>
263 <td class="md">) </td>
264 <td class="md" colspan="2"></td>
271 <table cellspacing=5 cellpadding=0 border=0>
279 Sets or unsets a custom mode in the channels info.
283 Definition at line <a class="el" href="channels_8cpp-source.html#l00023">23</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
285 References <a class="el" href="channels_8h-source.html#l00092">custom_modes</a>, and <a class="el" href="channels_8cpp-source.html#l00050">SetCustomModeParam()</a>.
287 <div class="fragment"><pre>00024 {
288 00025 <span class="keywordflow">if</span> (mode_on) {
289 00026 <span class="keywordtype">char</span> m[3];
291 00028 m[1] = <span class="charliteral">'\0'</span>;
292 00029 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode))
294 00031 strncat(custom_modes,m,MAXMODES);
296 00033 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode);
298 00035 <span class="keywordflow">else</span> {
299 00036 <span class="keywordtype">char</span> temp[MAXBUF];
300 00037 <span class="keywordtype">int</span> count = 0;
301 00038 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> q = 0; q < strlen(custom_modes); q++) {
302 00039 <span class="keywordflow">if</span> (<a class="code" href="classchanrec.html#m1">custom_modes</a>[q] != mode) {
303 00040 temp[count++] = mode;
306 00043 temp[count] = <span class="charliteral">'\0'</span>;
307 00044 strncpy(custom_modes,temp,MAXMODES);
308 00045 log(DEBUG,<span class="stringliteral">"Custom mode %c removed"</span>,mode);
309 00046 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>);
315 <a name="a1" doxytag="chanrec::SetCustomModeParam"></a><p>
316 <table width="100%" cellpadding="2" cellspacing="0" border="0">
319 <table cellpadding="0" cellspacing="0" border="0">
321 <td class="md" nowrap valign="top"> void chanrec::SetCustomModeParam </td>
322 <td class="md" valign="top">( </td>
323 <td class="md" nowrap valign="top">char </td>
324 <td class="mdname" nowrap> <em>mode</em>, </td>
329 <td class="md" nowrap>char * </td>
330 <td class="mdname" nowrap> <em>parameter</em>, </td>
335 <td class="md" nowrap>bool </td>
336 <td class="mdname" nowrap> <em>mode_on</em></td>
340 <td class="md">) </td>
341 <td class="md" colspan="2"></td>
348 <table cellspacing=5 cellpadding=0 border=0>
356 Sets or unsets the parameters for a custom mode in a channels info.
360 Definition at line <a class="el" href="channels_8cpp-source.html#l00050">50</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
362 References <a class="el" href="channels_8h-source.html#l00064">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00010">custom_mode_params</a>, <a class="el" href="channels_8h-source.html#l00062">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00063">ModeParameter::parameter</a>.
364 Referenced by <a class="el" href="channels_8cpp-source.html#l00023">SetCustomMode()</a>.
366 <div class="fragment"><pre>00051 {
368 00053 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>);
369 00054 <a class="code" href="classModeParameter.html">ModeParameter</a> M;
370 00055 M.<a class="code" href="classModeParameter.html#m0">mode</a> = mode;
371 00056 strcpy(M.<a class="code" href="classModeParameter.html#m2">channel</a>,this->name);
372 00057 strcpy(M.<a class="code" href="classModeParameter.html#m1">parameter</a>,parameter);
373 00058 <span class="keywordflow">if</span> (mode_on)
375 00060 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter);
376 00061 <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.push_back(M);
378 00063 <span class="keywordflow">else</span>
380 00065 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.size())
382 00067 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.end(); i++)
384 00069 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
386 00071 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter);
387 00072 <a class="code" href="channels_8cpp.html#a0">custom_mode_params</a>.erase(i);
388 00073 <span class="keywordflow">return</span>;
392 00077 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>);
398 <hr><h2>Member Data Documentation</h2>
399 <a name="m14" doxytag="chanrec::bans"></a><p>
400 <table width="100%" cellpadding="2" cellspacing="0" border="0">
403 <table cellpadding="0" cellspacing="0" border="0">
405 <td class="md" nowrap valign="top"> <a class="el" href="channels_8h.html#a5">BanList</a> chanrec::bans
410 <table cellspacing=5 cellpadding=0 border=0>
418 The list of all bans set on the channel.
422 Definition at line <a class="el" href="channels_8h-source.html#l00148">148</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
425 <a name="m13" doxytag="chanrec::c_private"></a><p>
426 <table width="100%" cellpadding="2" cellspacing="0" border="0">
429 <table cellpadding="0" cellspacing="0" border="0">
431 <td class="md" nowrap valign="top"> short int chanrec::c_private
436 <table cellspacing=5 cellpadding=0 border=0>
444 Nonzero if the mode +p is set.
446 This value cannot be set at the same time as <a class="el" href="classchanrec.html#m12">chanrec::secret</a>
448 Definition at line <a class="el" href="channels_8h-source.html#l00144">144</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
450 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
453 <a name="m3" doxytag="chanrec::created"></a><p>
454 <table width="100%" cellpadding="2" cellspacing="0" border="0">
457 <table cellpadding="0" cellspacing="0" border="0">
459 <td class="md" nowrap valign="top"> time_t chanrec::created
464 <table cellspacing=5 cellpadding=0 border=0>
476 Definition at line <a class="el" href="channels_8h-source.html#l00100">100</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
478 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
481 <a name="m1" doxytag="chanrec::custom_modes"></a><p>
482 <table width="100%" cellpadding="2" cellspacing="0" border="0">
485 <table cellpadding="0" cellspacing="0" border="0">
487 <td class="md" nowrap valign="top"> char chanrec::custom_modes[MAXMODES]
492 <table cellspacing=5 cellpadding=0 border=0>
500 Custom modes for the channel.
502 Plugins may use this field in any way they see fit.
504 Definition at line <a class="el" href="channels_8h-source.html#l00092">92</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
506 Referenced by <a class="el" href="channels_8cpp-source.html#l00023">SetCustomMode()</a>. </td>
509 <a name="m10" doxytag="chanrec::inviteonly"></a><p>
510 <table width="100%" cellpadding="2" cellspacing="0" border="0">
513 <table cellpadding="0" cellspacing="0" border="0">
515 <td class="md" nowrap valign="top"> short int chanrec::inviteonly
520 <table cellspacing=5 cellpadding=0 border=0>
528 Nonzero if the mode +i is set.
532 Definition at line <a class="el" href="channels_8h-source.html#l00130">130</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
534 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
537 <a name="m7" doxytag="chanrec::key"></a><p>
538 <table width="100%" cellpadding="2" cellspacing="0" border="0">
541 <table cellpadding="0" cellspacing="0" border="0">
543 <td class="md" nowrap valign="top"> char chanrec::key[32]
548 <table cellspacing=5 cellpadding=0 border=0>
556 Contains the channel key.
558 If this value is an empty string, there is no channel key in place.
560 Definition at line <a class="el" href="channels_8h-source.html#l00118">118</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
563 <a name="m6" doxytag="chanrec::limit"></a><p>
564 <table width="100%" cellpadding="2" cellspacing="0" border="0">
567 <table cellpadding="0" cellspacing="0" border="0">
569 <td class="md" nowrap valign="top"> long chanrec::limit
574 <table cellspacing=5 cellpadding=0 border=0>
582 Contains the channel user limit.
584 If this value is zero, there is no limit in place.
586 Definition at line <a class="el" href="channels_8h-source.html#l00113">113</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
588 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
591 <a name="m11" doxytag="chanrec::moderated"></a><p>
592 <table width="100%" cellpadding="2" cellspacing="0" border="0">
595 <table cellpadding="0" cellspacing="0" border="0">
597 <td class="md" nowrap valign="top"> short int chanrec::moderated
602 <table cellspacing=5 cellpadding=0 border=0>
610 Nonzero if the mode +m is set.
614 Definition at line <a class="el" href="channels_8h-source.html#l00134">134</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
616 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
619 <a name="m0" doxytag="chanrec::name"></a><p>
620 <table width="100%" cellpadding="2" cellspacing="0" border="0">
623 <table cellpadding="0" cellspacing="0" border="0">
625 <td class="md" nowrap valign="top"> char chanrec::name[CHANMAX]
630 <table cellspacing=5 cellpadding=0 border=0>
642 Definition at line <a class="el" href="channels_8h-source.html#l00088">88</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
645 <a name="m9" doxytag="chanrec::noexternal"></a><p>
646 <table width="100%" cellpadding="2" cellspacing="0" border="0">
649 <table cellpadding="0" cellspacing="0" border="0">
651 <td class="md" nowrap valign="top"> short int chanrec::noexternal
656 <table cellspacing=5 cellpadding=0 border=0>
664 Nonzero if the mode +n is set.
668 Definition at line <a class="el" href="channels_8h-source.html#l00126">126</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
670 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
673 <a name="m12" doxytag="chanrec::secret"></a><p>
674 <table width="100%" cellpadding="2" cellspacing="0" border="0">
677 <table cellpadding="0" cellspacing="0" border="0">
679 <td class="md" nowrap valign="top"> short int chanrec::secret
684 <table cellspacing=5 cellpadding=0 border=0>
692 Nonzero if the mode +s is set.
694 This value cannot be set at the same time as <a class="el" href="classchanrec.html#m13">chanrec::c_private</a>
696 Definition at line <a class="el" href="channels_8h-source.html#l00139">139</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
698 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
701 <a name="m5" doxytag="chanrec::setby"></a><p>
702 <table width="100%" cellpadding="2" cellspacing="0" border="0">
705 <table cellpadding="0" cellspacing="0" border="0">
707 <td class="md" nowrap valign="top"> char chanrec::setby[NICKMAX]
712 <table cellspacing=5 cellpadding=0 border=0>
720 The last user to set the topic.
722 If this member is an empty string, no topic was ever set.
724 Definition at line <a class="el" href="channels_8h-source.html#l00108">108</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
727 <a name="m2" doxytag="chanrec::topic"></a><p>
728 <table width="100%" cellpadding="2" cellspacing="0" border="0">
731 <table cellpadding="0" cellspacing="0" border="0">
733 <td class="md" nowrap valign="top"> char chanrec::topic[MAXBUF]
738 <table cellspacing=5 cellpadding=0 border=0>
748 If this is an empty string, no channel topic is set.
750 Definition at line <a class="el" href="channels_8h-source.html#l00097">97</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
753 <a name="m8" doxytag="chanrec::topiclock"></a><p>
754 <table width="100%" cellpadding="2" cellspacing="0" border="0">
757 <table cellpadding="0" cellspacing="0" border="0">
759 <td class="md" nowrap valign="top"> short int chanrec::topiclock
764 <table cellspacing=5 cellpadding=0 border=0>
772 Nonzero if the mode +t is set.
776 Definition at line <a class="el" href="channels_8h-source.html#l00122">122</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
778 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
781 <a name="m4" doxytag="chanrec::topicset"></a><p>
782 <table width="100%" cellpadding="2" cellspacing="0" border="0">
785 <table cellpadding="0" cellspacing="0" border="0">
787 <td class="md" nowrap valign="top"> time_t chanrec::topicset
792 <table cellspacing=5 cellpadding=0 border=0>
802 If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#m3">chanrec::created</a>
804 Definition at line <a class="el" href="channels_8h-source.html#l00104">104</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
806 Referenced by <a class="el" href="channels_8cpp-source.html#l00012">chanrec()</a>. </td>
809 <hr>The documentation for this class was generated from the following files:<ul>
810 <li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul>
811 <hr><address style="align: right;"><small>Generated on Sat Apr 17 13:31:46 2004 for InspIRCd by
812 <a href="http://www.doxygen.org/index.html">
813 <img src="doxygen.png" alt="doxygen" align="middle" border=0
814 width=110 height=53></a>1.3-rc3 </small></address>