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>InspIRCd: chanrec class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><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></div>
8 <h1>chanrec Class Reference</h1>Holds all relevent information for a channel.
9 <a href="#_details">More...</a>
11 <code>#include <<a class="el" href="channels_8h-source.html">channels.h</a>></code>
13 Inherits <a class="el" href="classExtensible.html">Extensible</a>.
15 <a href="classchanrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
17 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a0">SetCustomMode</a> (char mode, bool mode_on)</td></tr>
20 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or unsets a custom mode in the channels info. </em> <a href="#a0"></a><em><br><br></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a1">SetCustomModeParam</a> (char mode, char *parameter, bool mode_on)</td></tr>
23 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets or unsets the parameters for a custom mode in a channels info. </em> <a href="#a1"></a><em><br><br></td></tr>
24 <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a2">IsCustomModeSet</a> (char mode)</td></tr>
26 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a custom mode is set on a channel. </em> <a href="#a2"></a><em><br><br></td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a3">GetModeParameter</a> (char mode)</td></tr>
29 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the parameter for a custom mode on a channel. </em> <a href="#a3"></a><em><br><br></td></tr>
30 <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a4">chanrec</a> ()</td></tr>
32 <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a channel record and initialises it with default values. </em> <a href="#a4"></a><em><br><br></td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#a5">~chanrec</a> ()</td></tr>
35 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o0">name</a> [CHANMAX]</td></tr>
38 <tr><td class="mdescLeft"> </td><td class="mdescRight">The channels name. </em> <a href="#o0"></a><em><br><br></td></tr>
39 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o1">custom_modes</a> [MAXMODES]</td></tr>
41 <tr><td class="mdescLeft"> </td><td class="mdescRight">Custom modes for the channel. </em> <a href="#o1"></a><em><br><br></td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o2">topic</a> [MAXBUF]</td></tr>
44 <tr><td class="mdescLeft"> </td><td class="mdescRight">Channel topic. </em> <a href="#o2"></a><em><br><br></td></tr>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o3">created</a></td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">Creation time. </em> <a href="#o3"></a><em><br><br></td></tr>
48 <tr><td class="memItemLeft" nowrap align=right valign=top>time_t </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o4">topicset</a></td></tr>
50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Time topic was set. </em> <a href="#o4"></a><em><br><br></td></tr>
51 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o5">setby</a> [NICKMAX]</td></tr>
53 <tr><td class="mdescLeft"> </td><td class="mdescRight">The last user to set the topic. </em> <a href="#o5"></a><em><br><br></td></tr>
54 <tr><td class="memItemLeft" nowrap align=right valign=top>long </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o6">limit</a></td></tr>
56 <tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel user limit. </em> <a href="#o6"></a><em><br><br></td></tr>
57 <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o7">key</a> [32]</td></tr>
59 <tr><td class="mdescLeft"> </td><td class="mdescRight">Contains the channel key. </em> <a href="#o7"></a><em><br><br></td></tr>
60 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o8">topiclock</a></td></tr>
62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +t is set. </em> <a href="#o8"></a><em><br><br></td></tr>
63 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o9">noexternal</a></td></tr>
65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +n is set. </em> <a href="#o9"></a><em><br><br></td></tr>
66 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o10">inviteonly</a></td></tr>
68 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +i is set. </em> <a href="#o10"></a><em><br><br></td></tr>
69 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o11">moderated</a></td></tr>
71 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +m is set. </em> <a href="#o11"></a><em><br><br></td></tr>
72 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o12">secret</a></td></tr>
74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +s is set. </em> <a href="#o12"></a><em><br><br></td></tr>
75 <tr><td class="memItemLeft" nowrap align=right valign=top>short int </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o13">c_private</a></td></tr>
77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Nonzero if the mode +p is set. </em> <a href="#o13"></a><em><br><br></td></tr>
78 <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="channels_8h.html#a5">BanList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classchanrec.html#o14">bans</a></td></tr>
80 <tr><td class="mdescLeft"> </td><td class="mdescRight">The list of all bans set on the channel. </em> <a href="#o14"></a><em><br><br></td></tr>
82 <hr><a name="_details"></a><h2>Detailed Description</h2>
83 Holds all relevent information for a channel.
85 This class represents a channel, and contains its name, modes, time created, topic, topic set time, etc, and an instance of the BanList type.
89 Definition at line <a class="el" href="channels_8h-source.html#l00094">94</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
90 <a name="a4" doxytag="chanrec::chanrec"></a><p>
91 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
94 <table cellpadding="0" cellspacing="0" border="0">
96 <td class="md" nowrap valign="top"> chanrec::chanrec </td>
97 <td class="md" valign="top">( </td>
98 <td class="mdname1" valign="top" nowrap> </td>
99 <td class="md" valign="top"> ) </td>
100 <td class="md" nowrap></td>
107 <table cellspacing=5 cellpadding=0 border=0>
115 Creates a channel record and initialises it with default values.
119 Definition at line <a class="el" href="channels_8cpp-source.html#l00113">113</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
121 References <a class="el" href="channels_8h-source.html#l00155">c_private</a>, <a class="el" href="channels_8h-source.html#l00111">created</a>, <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>, <a class="el" href="channels_8h-source.html#l00141">inviteonly</a>, <a class="el" href="channels_8h-source.html#l00129">key</a>, <a class="el" href="channels_8h-source.html#l00124">limit</a>, <a class="el" href="channels_8h-source.html#l00145">moderated</a>, <a class="el" href="channels_8h-source.html#l00099">name</a>, <a class="el" href="channels_8h-source.html#l00137">noexternal</a>, <a class="el" href="channels_8h-source.html#l00150">secret</a>, <a class="el" href="channels_8h-source.html#l00119">setby</a>, <a class="el" href="channels_8h-source.html#l00108">topic</a>, <a class="el" href="channels_8h-source.html#l00133">topiclock</a>, and <a class="el" href="channels_8h-source.html#l00115">topicset</a>.
123 <div class="fragment"><pre>00114 {
124 00115 strcpy(name,<span class="stringliteral">""</span>);
125 00116 strcpy(custom_modes,<span class="stringliteral">""</span>);
126 00117 strcpy(topic,<span class="stringliteral">""</span>);
127 00118 strcpy(setby,<span class="stringliteral">""</span>);
128 00119 strcpy(key,<span class="stringliteral">""</span>);
129 00120 <a class="code" href="classchanrec.html#o3">created</a> = <a class="code" href="classchanrec.html#o4">topicset</a> = <a class="code" href="classchanrec.html#o6">limit</a> = 0;
130 00121 <a class="code" href="classchanrec.html#o8">topiclock</a> = <a class="code" href="classchanrec.html#o9">noexternal</a> = <a class="code" href="classchanrec.html#o10">inviteonly</a> = <a class="code" href="classchanrec.html#o11">moderated</a> = <a class="code" href="classchanrec.html#o12">secret</a> = <a class="code" href="classchanrec.html#o13">c_private</a> = <span class="keyword">false</span>;
135 <a name="a5" doxytag="chanrec::~chanrec"></a><p>
136 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
139 <table cellpadding="0" cellspacing="0" border="0">
141 <td class="md" nowrap valign="top"> virtual chanrec::~<a class="el" href="classchanrec.html">chanrec</a> </td>
142 <td class="md" valign="top">( </td>
143 <td class="mdname1" valign="top" nowrap> </td>
144 <td class="md" valign="top"> ) </td>
145 <td class="md" nowrap><code> [inline, virtual]</code></td>
152 <table cellspacing=5 cellpadding=0 border=0>
162 Definition at line <a class="el" href="channels_8h-source.html#l00185">185</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
164 <div class="fragment"><pre>00185 { <span class="comment">/* stub */</span> }
168 <hr><h2>Member Function Documentation</h2>
169 <a name="a3" doxytag="chanrec::GetModeParameter"></a><p>
170 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
173 <table cellpadding="0" cellspacing="0" border="0">
175 <td class="md" nowrap valign="top"> std::string chanrec::GetModeParameter </td>
176 <td class="md" valign="top">( </td>
177 <td class="md" nowrap valign="top">char </td>
178 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
179 <td class="md" valign="top"> ) </td>
180 <td class="md" nowrap></td>
187 <table cellspacing=5 cellpadding=0 border=0>
195 Returns the parameter for a custom mode on a channel.
197 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.
199 Definition at line <a class="el" href="channels_8cpp-source.html#l00186">186</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
201 References <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>.
203 <div class="fragment"><pre>00187 {
204 00188 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size())
206 00190 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++)
208 00192 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
210 00194 <span class="keywordflow">return</span> std::string(i->parameter);
214 00198 <span class="keywordflow">return</span> std::string(<span class="stringliteral">""</span>);
219 <a name="a2" doxytag="chanrec::IsCustomModeSet"></a><p>
220 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
223 <table cellpadding="0" cellspacing="0" border="0">
225 <td class="md" nowrap valign="top"> bool chanrec::IsCustomModeSet </td>
226 <td class="md" valign="top">( </td>
227 <td class="md" nowrap valign="top">char </td>
228 <td class="mdname1" valign="top" nowrap> <em>mode</em> </td>
229 <td class="md" valign="top"> ) </td>
230 <td class="md" nowrap></td>
237 <table cellspacing=5 cellpadding=0 border=0>
245 Returns true if a custom mode is set on a channel.
249 Definition at line <a class="el" href="channels_8cpp-source.html#l00180">180</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
251 References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.
253 <div class="fragment"><pre>00181 {
254 00182 log(DEBUG,<span class="stringliteral">"Checking ISCustomModeSet: %c %s"</span>,mode,this->custom_modes);
255 00183 <span class="keywordflow">return</span> (strchr(this->custom_modes,mode) != 0);
260 <a name="a0" doxytag="chanrec::SetCustomMode"></a><p>
261 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
264 <table cellpadding="0" cellspacing="0" border="0">
266 <td class="md" nowrap valign="top"> void chanrec::SetCustomMode </td>
267 <td class="md" valign="top">( </td>
268 <td class="md" nowrap valign="top">char </td>
269 <td class="mdname" nowrap> <em>mode</em>, </td>
274 <td class="md" nowrap>bool </td>
275 <td class="mdname" nowrap> <em>mode_on</em></td>
279 <td class="md">) </td>
280 <td class="md" colspan="2"></td>
287 <table cellspacing=5 cellpadding=0 border=0>
295 Sets or unsets a custom mode in the channels info.
299 Definition at line <a class="el" href="channels_8cpp-source.html#l00124">124</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
301 References <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="channels_8cpp-source.html#l00149">SetCustomModeParam()</a>.
303 <div class="fragment"><pre>00125 {
304 00126 <span class="keywordflow">if</span> (mode_on) {
305 00127 <span class="keywordtype">char</span> m[3];
307 00129 m[1] = <span class="charliteral">'\0'</span>;
308 00130 <span class="keywordflow">if</span> (!strchr(this->custom_modes,mode))
310 00132 strlcat(custom_modes,m,MAXMODES);
312 00134 log(DEBUG,<span class="stringliteral">"Custom mode %c set"</span>,mode);
314 00136 <span class="keywordflow">else</span> {
316 00138 std::string a = this-><a class="code" href="classchanrec.html#o1">custom_modes</a>;
317 00139 <span class="keywordtype">int</span> pos = a.find(mode);
318 00140 a.erase(pos,1);
319 00141 strncpy(this->custom_modes,a.c_str(),MAXMODES);
321 00143 log(DEBUG,<span class="stringliteral">"Custom mode %c removed: modelist='%s'"</span>,mode,this->custom_modes);
322 00144 this-><a class="code" href="classchanrec.html#a1">SetCustomModeParam</a>(mode,<span class="stringliteral">""</span>,<span class="keyword">false</span>);
328 <a name="a1" doxytag="chanrec::SetCustomModeParam"></a><p>
329 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
332 <table cellpadding="0" cellspacing="0" border="0">
334 <td class="md" nowrap valign="top"> void chanrec::SetCustomModeParam </td>
335 <td class="md" valign="top">( </td>
336 <td class="md" nowrap valign="top">char </td>
337 <td class="mdname" nowrap> <em>mode</em>, </td>
342 <td class="md" nowrap>char * </td>
343 <td class="mdname" nowrap> <em>parameter</em>, </td>
348 <td class="md" nowrap>bool </td>
349 <td class="mdname" nowrap> <em>mode_on</em></td>
353 <td class="md">) </td>
354 <td class="md" colspan="2"></td>
361 <table cellspacing=5 cellpadding=0 border=0>
369 Sets or unsets the parameters for a custom mode in a channels info.
373 Definition at line <a class="el" href="channels_8cpp-source.html#l00149">149</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
375 References <a class="el" href="channels_8h-source.html#l00075">ModeParameter::channel</a>, <a class="el" href="channels_8cpp-source.html#l00111">custom_mode_params</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="channels_8h-source.html#l00073">ModeParameter::mode</a>, and <a class="el" href="channels_8h-source.html#l00074">ModeParameter::parameter</a>.
377 Referenced by <a class="el" href="channels_8cpp-source.html#l00124">SetCustomMode()</a>.
379 <div class="fragment"><pre>00150 {
381 00152 log(DEBUG,<span class="stringliteral">"SetCustomModeParam called"</span>);
382 00153 <a class="code" href="classModeParameter.html">ModeParameter</a> M;
383 00154 M.<a class="code" href="classModeParameter.html#o0">mode</a> = mode;
384 00155 strlcpy(M.<a class="code" href="classModeParameter.html#o2">channel</a>,this->name,CHANMAX);
385 00156 strlcpy(M.<a class="code" href="classModeParameter.html#o1">parameter</a>,parameter,MAXBUF);
386 00157 <span class="keywordflow">if</span> (mode_on)
388 00159 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s added"</span>,mode,parameter);
389 00160 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.push_back(M);
391 00162 <span class="keywordflow">else</span>
393 00164 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.size())
395 00166 <span class="keywordflow">for</span> (vector<ModeParameter>::iterator i = <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.begin(); i < <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.end(); i++)
397 00168 <span class="keywordflow">if</span> ((i->mode == mode) && (!strcasecmp(this->name,i->channel)))
399 00170 log(DEBUG,<span class="stringliteral">"Custom mode parameter %c %s removed"</span>,mode,parameter);
400 00171 <a class="code" href="channels_8cpp.html#a38">custom_mode_params</a>.erase(i);
401 00172 <span class="keywordflow">return</span>;
405 00176 log(DEBUG,<span class="stringliteral">"*** BUG *** Attempt to remove non-existent mode parameter!"</span>);
411 <hr><h2>Member Data Documentation</h2>
412 <a name="o14" doxytag="chanrec::bans"></a><p>
413 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
416 <table cellpadding="0" cellspacing="0" border="0">
418 <td class="md" nowrap valign="top"> <a class="el" href="channels_8h.html#a5">BanList</a> <a class="el" href="classchanrec.html#o14">chanrec::bans</a>
423 <table cellspacing=5 cellpadding=0 border=0>
431 The list of all bans set on the channel.
435 Definition at line <a class="el" href="channels_8h-source.html#l00159">159</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
438 <a name="o13" doxytag="chanrec::c_private"></a><p>
439 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
442 <table cellpadding="0" cellspacing="0" border="0">
444 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o13">chanrec::c_private</a>
449 <table cellspacing=5 cellpadding=0 border=0>
457 Nonzero if the mode +p is set.
459 This value cannot be set at the same time as <a class="el" href="classchanrec.html#o12">chanrec::secret</a>
461 Definition at line <a class="el" href="channels_8h-source.html#l00155">155</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
463 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
466 <a name="o3" doxytag="chanrec::created"></a><p>
467 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
470 <table cellpadding="0" cellspacing="0" border="0">
472 <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o3">chanrec::created</a>
477 <table cellspacing=5 cellpadding=0 border=0>
489 Definition at line <a class="el" href="channels_8h-source.html#l00111">111</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
491 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
494 <a name="o1" doxytag="chanrec::custom_modes"></a><p>
495 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
498 <table cellpadding="0" cellspacing="0" border="0">
500 <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o1">chanrec::custom_modes</a>[MAXMODES]
505 <table cellspacing=5 cellpadding=0 border=0>
513 Custom modes for the channel.
515 Plugins may use this field in any way they see fit.
517 Definition at line <a class="el" href="channels_8h-source.html#l00103">103</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
519 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="channels_8cpp-source.html#l00124">SetCustomMode()</a>. </td>
522 <a name="o10" doxytag="chanrec::inviteonly"></a><p>
523 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
526 <table cellpadding="0" cellspacing="0" border="0">
528 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o10">chanrec::inviteonly</a>
533 <table cellspacing=5 cellpadding=0 border=0>
541 Nonzero if the mode +i is set.
545 Definition at line <a class="el" href="channels_8h-source.html#l00141">141</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
547 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
550 <a name="o7" doxytag="chanrec::key"></a><p>
551 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
554 <table cellpadding="0" cellspacing="0" border="0">
556 <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o7">chanrec::key</a>[32]
561 <table cellspacing=5 cellpadding=0 border=0>
569 Contains the channel key.
571 If this value is an empty string, there is no channel key in place.
573 Definition at line <a class="el" href="channels_8h-source.html#l00129">129</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
575 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
578 <a name="o6" doxytag="chanrec::limit"></a><p>
579 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
582 <table cellpadding="0" cellspacing="0" border="0">
584 <td class="md" nowrap valign="top"> long <a class="el" href="classchanrec.html#o6">chanrec::limit</a>
589 <table cellspacing=5 cellpadding=0 border=0>
597 Contains the channel user limit.
599 If this value is zero, there is no limit in place.
601 Definition at line <a class="el" href="channels_8h-source.html#l00124">124</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
603 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
606 <a name="o11" doxytag="chanrec::moderated"></a><p>
607 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
610 <table cellpadding="0" cellspacing="0" border="0">
612 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o11">chanrec::moderated</a>
617 <table cellspacing=5 cellpadding=0 border=0>
625 Nonzero if the mode +m is set.
629 Definition at line <a class="el" href="channels_8h-source.html#l00145">145</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
631 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
634 <a name="o0" doxytag="chanrec::name"></a><p>
635 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
638 <table cellpadding="0" cellspacing="0" border="0">
640 <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o0">chanrec::name</a>[CHANMAX]
645 <table cellspacing=5 cellpadding=0 border=0>
657 Definition at line <a class="el" href="channels_8h-source.html#l00099">99</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
659 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00663">Server::PseudoToUser()</a>. </td>
662 <a name="o9" doxytag="chanrec::noexternal"></a><p>
663 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
666 <table cellpadding="0" cellspacing="0" border="0">
668 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o9">chanrec::noexternal</a>
673 <table cellspacing=5 cellpadding=0 border=0>
681 Nonzero if the mode +n is set.
685 Definition at line <a class="el" href="channels_8h-source.html#l00137">137</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
687 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
690 <a name="o12" doxytag="chanrec::secret"></a><p>
691 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
694 <table cellpadding="0" cellspacing="0" border="0">
696 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o12">chanrec::secret</a>
701 <table cellspacing=5 cellpadding=0 border=0>
709 Nonzero if the mode +s is set.
711 This value cannot be set at the same time as <a class="el" href="classchanrec.html#o13">chanrec::c_private</a>
713 Definition at line <a class="el" href="channels_8h-source.html#l00150">150</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
715 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
718 <a name="o5" doxytag="chanrec::setby"></a><p>
719 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
722 <table cellpadding="0" cellspacing="0" border="0">
724 <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o5">chanrec::setby</a>[NICKMAX]
729 <table cellspacing=5 cellpadding=0 border=0>
737 The last user to set the topic.
739 If this member is an empty string, no topic was ever set.
741 Definition at line <a class="el" href="channels_8h-source.html#l00119">119</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
743 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00663">Server::PseudoToUser()</a>. </td>
746 <a name="o2" doxytag="chanrec::topic"></a><p>
747 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
750 <table cellpadding="0" cellspacing="0" border="0">
752 <td class="md" nowrap valign="top"> char <a class="el" href="classchanrec.html#o2">chanrec::topic</a>[MAXBUF]
757 <table cellspacing=5 cellpadding=0 border=0>
767 If this is an empty string, no channel topic is set.
769 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>.
771 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00663">Server::PseudoToUser()</a>. </td>
774 <a name="o8" doxytag="chanrec::topiclock"></a><p>
775 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
778 <table cellpadding="0" cellspacing="0" border="0">
780 <td class="md" nowrap valign="top"> short int <a class="el" href="classchanrec.html#o8">chanrec::topiclock</a>
785 <table cellspacing=5 cellpadding=0 border=0>
793 Nonzero if the mode +t is set.
797 Definition at line <a class="el" href="channels_8h-source.html#l00133">133</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
799 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>. </td>
802 <a name="o4" doxytag="chanrec::topicset"></a><p>
803 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
806 <table cellpadding="0" cellspacing="0" border="0">
808 <td class="md" nowrap valign="top"> time_t <a class="el" href="classchanrec.html#o4">chanrec::topicset</a>
813 <table cellspacing=5 cellpadding=0 border=0>
823 If no topic was ever set, this will be equal to <a class="el" href="classchanrec.html#o3">chanrec::created</a>
825 Definition at line <a class="el" href="channels_8h-source.html#l00115">115</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
827 Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00663">Server::PseudoToUser()</a>. </td>
830 <hr>The documentation for this class was generated from the following files:<ul>
831 <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>
832 <hr size="1"><address style="align: right;"><small>Generated on Wed Apr 20 15:47:00 2005 for InspIRCd by
833 <a href="http://www.doxygen.org/index.html">
834 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
835 </a>1.3.3 </small></address>