summaryrefslogtreecommitdiff
path: root/docs/module-doc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/module-doc')
-rw-r--r--docs/module-doc/annotated.html2
-rw-r--r--docs/module-doc/base_8h-source.html20
-rw-r--r--docs/module-doc/base_8h.html2
-rw-r--r--docs/module-doc/channels_8cpp-source.html2
-rw-r--r--docs/module-doc/channels_8cpp.html10
-rw-r--r--docs/module-doc/channels_8h-source.html2
-rw-r--r--docs/module-doc/channels_8h.html2
-rw-r--r--docs/module-doc/classAdmin-members.html2
-rw-r--r--docs/module-doc/classAdmin.html2
-rw-r--r--docs/module-doc/classBanItem-members.html2
-rw-r--r--docs/module-doc/classBanItem.html2
-rw-r--r--docs/module-doc/classConfigReader-members.html2
-rw-r--r--docs/module-doc/classConfigReader.html2
-rw-r--r--docs/module-doc/classConnectClass-members.html2
-rw-r--r--docs/module-doc/classConnectClass.html2
-rw-r--r--docs/module-doc/classDNS-members.html2
-rw-r--r--docs/module-doc/classDNS.html2
-rw-r--r--docs/module-doc/classELine-members.html2
-rw-r--r--docs/module-doc/classELine.html2
-rw-r--r--docs/module-doc/classEvent-members.html2
-rw-r--r--docs/module-doc/classEvent.html2
-rw-r--r--docs/module-doc/classExemptItem-members.html2
-rw-r--r--docs/module-doc/classExemptItem.html2
-rw-r--r--docs/module-doc/classExtMode-members.html2
-rw-r--r--docs/module-doc/classExtMode.html2
-rw-r--r--docs/module-doc/classExtensible-members.html2
-rw-r--r--docs/module-doc/classExtensible.html29
-rw-r--r--docs/module-doc/classFileReader-members.html2
-rw-r--r--docs/module-doc/classFileReader.html2
-rw-r--r--docs/module-doc/classGLine-members.html2
-rw-r--r--docs/module-doc/classGLine.html2
-rw-r--r--docs/module-doc/classHostItem-members.html2
-rw-r--r--docs/module-doc/classHostItem.html2
-rw-r--r--docs/module-doc/classInviteItem-members.html2
-rw-r--r--docs/module-doc/classInviteItem.html2
-rw-r--r--docs/module-doc/classInvited-members.html2
-rw-r--r--docs/module-doc/classInvited.html2
-rw-r--r--docs/module-doc/classKLine-members.html2
-rw-r--r--docs/module-doc/classKLine.html2
-rw-r--r--docs/module-doc/classModeParameter-members.html2
-rw-r--r--docs/module-doc/classModeParameter.html2
-rw-r--r--docs/module-doc/classModule-members.html2
-rw-r--r--docs/module-doc/classModule.html2
-rw-r--r--docs/module-doc/classModuleFactory-members.html2
-rw-r--r--docs/module-doc/classModuleFactory.html2
-rw-r--r--docs/module-doc/classModuleMessage-members.html2
-rw-r--r--docs/module-doc/classModuleMessage.html2
-rw-r--r--docs/module-doc/classQLine-members.html2
-rw-r--r--docs/module-doc/classQLine.html2
-rw-r--r--docs/module-doc/classRequest-members.html2
-rw-r--r--docs/module-doc/classRequest.html2
-rw-r--r--docs/module-doc/classServer-members.html2
-rw-r--r--docs/module-doc/classServer.html2
-rw-r--r--docs/module-doc/classVersion-members.html2
-rw-r--r--docs/module-doc/classVersion.html2
-rw-r--r--docs/module-doc/classWhoWasUser-members.html2
-rw-r--r--docs/module-doc/classWhoWasUser.html2
-rw-r--r--docs/module-doc/classXLine-members.html2
-rw-r--r--docs/module-doc/classXLine.html2
-rw-r--r--docs/module-doc/classZLine-members.html2
-rw-r--r--docs/module-doc/classZLine.html2
-rw-r--r--docs/module-doc/classchanrec-members.html2
-rw-r--r--docs/module-doc/classchanrec.html2
-rw-r--r--docs/module-doc/classclassbase-members.html2
-rw-r--r--docs/module-doc/classclassbase.html2
-rw-r--r--docs/module-doc/classcommand__t-members.html2
-rw-r--r--docs/module-doc/classcommand__t.html2
-rw-r--r--docs/module-doc/classconnection-members.html2
-rw-r--r--docs/module-doc/classconnection.html10
-rw-r--r--docs/module-doc/classes.html2
-rw-r--r--docs/module-doc/classircd__connector-members.html2
-rw-r--r--docs/module-doc/classircd__connector.html24
-rw-r--r--docs/module-doc/classserverrec-members.html2
-rw-r--r--docs/module-doc/classserverrec.html843
-rw-r--r--docs/module-doc/classstd_1_1char__traits.html2
-rw-r--r--docs/module-doc/classucrec-members.html2
-rw-r--r--docs/module-doc/classucrec.html2
-rw-r--r--docs/module-doc/classuserrec-members.html2
-rw-r--r--docs/module-doc/classuserrec.html2
-rw-r--r--docs/module-doc/commands_8h-source.html6
-rw-r--r--docs/module-doc/commands_8h.html45
-rw-r--r--docs/module-doc/connection_8h-source.html2
-rw-r--r--docs/module-doc/connection_8h.html12
-rw-r--r--docs/module-doc/ctables_8h-source.html2
-rw-r--r--docs/module-doc/ctables_8h.html2
-rw-r--r--docs/module-doc/dns_8h-source.html2
-rw-r--r--docs/module-doc/dns_8h.html2
-rw-r--r--docs/module-doc/files.html2
-rw-r--r--docs/module-doc/functions.html2
-rw-r--r--docs/module-doc/functions_func.html2
-rw-r--r--docs/module-doc/functions_vars.html2
-rw-r--r--docs/module-doc/globals.html23
-rw-r--r--docs/module-doc/globals_defs.html2
-rw-r--r--docs/module-doc/globals_func.html16
-rw-r--r--docs/module-doc/globals_type.html2
-rw-r--r--docs/module-doc/globals_vars.html12
-rw-r--r--docs/module-doc/graph_legend.html2
-rw-r--r--docs/module-doc/hashcomp_8h-source.html2
-rw-r--r--docs/module-doc/hashcomp_8h.html2
-rw-r--r--docs/module-doc/hierarchy.html2
-rw-r--r--docs/module-doc/inherits.html2
-rw-r--r--docs/module-doc/main.html2
-rw-r--r--docs/module-doc/message_8h-source.html2
-rw-r--r--docs/module-doc/message_8h.html2
-rw-r--r--docs/module-doc/mode_8h-source.html2
-rw-r--r--docs/module-doc/mode_8h.html2
-rw-r--r--docs/module-doc/modules_8cpp-source.html2
-rw-r--r--docs/module-doc/modules_8cpp.html4
-rw-r--r--docs/module-doc/modules_8h-source.html2
-rw-r--r--docs/module-doc/modules_8h.html4
-rw-r--r--docs/module-doc/namespaceirc.html2
-rw-r--r--docs/module-doc/namespacemembers.html2
-rw-r--r--docs/module-doc/namespacemembers_type.html2
-rw-r--r--docs/module-doc/namespacenspace.html2
-rw-r--r--docs/module-doc/namespaces.html2
-rw-r--r--docs/module-doc/namespacestd.html2
-rw-r--r--docs/module-doc/servers_8cpp-source.html885
-rw-r--r--docs/module-doc/servers_8cpp.html172
-rw-r--r--docs/module-doc/servers_8h-source.html2
-rw-r--r--docs/module-doc/servers_8h.html2
-rw-r--r--docs/module-doc/structdns__ip4list-members.html2
-rw-r--r--docs/module-doc/structdns__ip4list.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits-members.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html2
-rw-r--r--docs/module-doc/users_8cpp-source.html2
-rw-r--r--docs/module-doc/users_8cpp.html2
-rw-r--r--docs/module-doc/users_8h-source.html2
-rw-r--r--docs/module-doc/users_8h.html2
-rw-r--r--docs/module-doc/xline_8h-source.html2
-rw-r--r--docs/module-doc/xline_8h.html2
138 files changed, 1332 insertions, 1027 deletions
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html
index 0a0622e75..151070ef4 100644
--- a/docs/module-doc/annotated.html
+++ b/docs/module-doc/annotated.html
@@ -49,7 +49,7 @@
<tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr>
<tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 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>
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index c9c396f9d..7800ecbef 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -46,16 +46,16 @@
00055
00056 <span class="keyword">public</span>:
00057
-00064 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a0">Extend</a>(std::string key, <span class="keywordtype">char</span>* p);
-00065
-00071 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a1">Shrink</a>(std::string key);
-00072
-00077 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#a2">GetExt</a>(std::string key);
-00078 };
-00079
-00080 <span class="preprocessor">#endif</span>
-00081 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+00069 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a0">Extend</a>(std::string key, <span class="keywordtype">char</span>* p);
+00070
+00080 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a1">Shrink</a>(std::string key);
+00081
+00088 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#a2">GetExt</a>(std::string key);
+00089 };
+00090
+00091 <span class="preprocessor">#endif</span>
+00092 <span class="preprocessor"></span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index 0e7108ff0..d891c134e 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -61,7 +61,7 @@ This graph shows which files directly or indirectly include this file:<p><center
Definition at line <a class="el" href="base_8h-source.html#l00025">25</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:12 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:16 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>
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index 0d5733feb..8ddbf78c2 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -229,7 +229,7 @@
00222 {
00223 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#o2">internal_userlist</a>;
00224 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index aefb0e58e..edcf07053 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -578,7 +578,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a34">me</a>[32]
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
</table>
</td>
</tr>
@@ -593,7 +593,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a>
<p>
<p>
-Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td>
+Definition at line <a class="el" href="channels_8cpp-source.html#l00097">97</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>. </td>
</tr>
</table>
<a name="a1" doxytag="channels.cpp::MODCOUNT"></a><p>
@@ -1009,7 +1011,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a>
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00101">101</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="channels.cpp::WHOWAS_MAX"></a><p>
@@ -1060,7 +1062,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a>
Definition at line <a class="el" href="channels_8cpp-source.html#l00078">78</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:29 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:23 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>
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index d705ff120..c2b154170 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -146,7 +146,7 @@
00238
00239 <span class="preprocessor">#endif</span>
00240 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index a9e550bcc..42ec4d956 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -433,7 +433,7 @@ Holds a complete invite list.
Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:33 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:25 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>
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 13330b1fb..331432bba 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classAdmin.html#o0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classAdmin.html#o2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:29 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:54 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>
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 3f2929f5f..b66e3d7cc 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -163,7 +163,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:29 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:54 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>
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index 7fa50962d..798efb76d 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:31 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:55 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>
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index ce1134122..8c060c6a0 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00052">52</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:31 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:55 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>
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 50dfb9871..607436a2b 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -24,7 +24,7 @@
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a8">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:43 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:02 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>
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 12a432ec7..613a02068 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -778,7 +778,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00819">ConfigReader(
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:43 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:02 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>
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index bda02a7cf..3d5a25556 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o6">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:45 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:03 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>
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html
index 0257db570..0913bce2d 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -355,7 +355,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:03 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>
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html
index 866b52f0c..066814717 100644
--- a/docs/module-doc/classDNS-members.html
+++ b/docs/module-doc/classDNS-members.html
@@ -33,7 +33,7 @@
<tr class="memlist"><td><a class="el" href="classDNS.html#a8">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#r2">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#a2">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 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>
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html
index d5f448884..d6f0f3093 100644
--- a/docs/module-doc/classDNS.html
+++ b/docs/module-doc/classDNS.html
@@ -891,7 +891,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 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>
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html
index b160a75b9..2f5df8195 100644
--- a/docs/module-doc/classELine-members.html
+++ b/docs/module-doc/classELine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:53 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:07 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>
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html
index 379a397c3..53ba096df 100644
--- a/docs/module-doc/classELine.html
+++ b/docs/module-doc/classELine.html
@@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:07 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>
diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html
index 9db6b9ec7..879140601 100644
--- a/docs/module-doc/classEvent-members.html
+++ b/docs/module-doc/classEvent-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classEvent.html#a4">Send</a>()</td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classEvent.html#p1">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:08 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>
diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html
index 00ca01ea3..3cf224015 100644
--- a/docs/module-doc/classEvent.html
+++ b/docs/module-doc/classEvent.html
@@ -356,7 +356,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00285">GetSource()</
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:08 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>
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index fcb3b5941..0346953a1 100644
--- a/docs/module-doc/classExemptItem-members.html
+++ b/docs/module-doc/classExemptItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:57 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:09 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>
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html
index c8f2a76b9..81ac0d79a 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:09 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>
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index 7a77906be..5f80b4599 100644
--- a/docs/module-doc/classExtMode-members.html
+++ b/docs/module-doc/classExtMode-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classExtMode.html#o2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtMode.html#o1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:01 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:12 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>
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html
index 14e8177ac..3c60e86ca 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -253,7 +253,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:01 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:12 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>
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index b1b4d8bd6..31023dce7 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:59 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:11 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>
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html
index 8e3371ba5..393ef362b 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -86,7 +86,15 @@ Definition at line <a class="el" href="base_8h-source.html#l00050">50</a> of fil
<p>
Extend an Extensible class.
<p>
-You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, <a class="el" href="classExtensible.html#a0">Extensible::Extend</a> will return false in this case. On successful extension, Extend returns true. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data </td></tr>
+ <tr><td valign=top><em>p</em>&nbsp;</td><td>This parameter is a pointer to any data you wish to associate with the object</td></tr>
+ </table>
+</dl>
+You must provide a key to store the data as, and a void* to the data (typedef VoidPointer) The data will be inserted into the map. If the data already exists, you may not insert it twice, <a class="el" href="classExtensible.html#a0">Extensible::Extend</a> will return false in this case.<p>
+<dl compact><dt><b>Returns:</b></dt><dd>Returns true on success, false if otherwise</dd></dl>
+ </td>
</tr>
</table>
<a name="a2" doxytag="Extensible::GetExt"></a><p>
@@ -117,7 +125,13 @@ You must provide a key to store the data as, and a void* to the data (typedef Vo
<p>
Get an extension item.
<p>
-You must provide a key name, which is case sensitive. If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>If you provide a non-existent key name, the function returns NULL, otherwise a pointer to the item referenced by the key is returned.</dd></dl>
+ </td>
</tr>
</table>
<a name="a1" doxytag="Extensible::Shrink"></a><p>
@@ -148,7 +162,14 @@ You must provide a key name, which is case sensitive. If you provide a non-exist
<p>
Shrink an Extensible class.
<p>
-You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false. Returns true on success. </td>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>key</em>&nbsp;</td><td>The key parameter is an arbitary string which identifies the extension data</td></tr>
+ </table>
+</dl>
+You must provide a key name. The given key name will be removed from the classes data. If you provide a nonexistent key (case is important) then the function will return false.<p>
+<dl compact><dt><b>Returns:</b></dt><dd>Returns true on success.</dd></dl>
+ </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
@@ -180,7 +201,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of fil
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:59 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:11 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>
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index 9cc785b5b..2118f1601 100644
--- a/docs/module-doc/classFileReader-members.html
+++ b/docs/module-doc/classFileReader-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:03 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:13 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>
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html
index c8688bd2f..0a4a586d9 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -367,7 +367,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00988">Exists()</a>,
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:03 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:13 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>
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html
index 8d1913346..3c7d1564d 100644
--- a/docs/module-doc/classGLine-members.html
+++ b/docs/module-doc/classGLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:06 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:14 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>
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html
index 1d017d2e4..bde170d01 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:06 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:14 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>
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index 6edb9175b..4b7fa095b 100644
--- a/docs/module-doc/classHostItem-members.html
+++ b/docs/module-doc/classHostItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:08 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:15 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>
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html
index 77389e5d9..9bafe429b 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -185,7 +185,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00039">39</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:07 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:15 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>
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index d9845965c..ff6fb14c6 100644
--- a/docs/module-doc/classInviteItem-members.html
+++ b/docs/module-doc/classInviteItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:11 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:17 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>
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html
index f4b445ab3..a6971fbd0 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00068">68</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:11 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:17 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>
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 5c24252c7..c46224f90 100644
--- a/docs/module-doc/classInvited-members.html
+++ b/docs/module-doc/classInvited-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classInvited.html#o0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:09 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:16 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>
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html
index 86dd2a2de..c7862516d 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -58,7 +58,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00109">userrec::Invite
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:09 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:16 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>
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 18020f5b5..c3114c5a9 100644
--- a/docs/module-doc/classKLine-members.html
+++ b/docs/module-doc/classKLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:17 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:21 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>
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html
index 96bca5fc8..077984a7e 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -61,7 +61,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:17 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:21 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>
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index b2bc706b6..a844d0c28 100644
--- a/docs/module-doc/classModeParameter-members.html
+++ b/docs/module-doc/classModeParameter-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:19 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:22 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>
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html
index fa1b317cd..4a9caf313 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -116,7 +116,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00144">chanrec::Set
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:19 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:22 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>
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html
index 644a0423d..a11935236 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -65,7 +65,7 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a18">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:22 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 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>
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html
index 0403b27ad..ba07ed41e 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -2781,7 +2781,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:22 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 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>
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index 953c59428..e21c7094a 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:24 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 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>
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index ea7ba7be9..579ab7a69 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -136,7 +136,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:24 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:24 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>
diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html
index 6ec1bc00a..1eb686549 100644
--- a/docs/module-doc/classModuleMessage-members.html
+++ b/docs/module-doc/classModuleMessage-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleMessage.html#a0">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:25 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:25 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>
diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html
index da075371a..37a3e2c5e 100644
--- a/docs/module-doc/classModuleMessage.html
+++ b/docs/module-doc/classModuleMessage.html
@@ -67,7 +67,7 @@ Implemented in <a class="el" href="classRequest.html#a4">Request</a>, and <a cla
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:25 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:25 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>
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html
index 2a1dd1db2..6ea682d00 100644
--- a/docs/module-doc/classQLine-members.html
+++ b/docs/module-doc/classQLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:28 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:27 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>
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html
index 931722a3f..c214f8ad9 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:28 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:27 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>
diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html
index db48b74fd..7cc9d31eb 100644
--- a/docs/module-doc/classRequest-members.html
+++ b/docs/module-doc/classRequest-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classRequest.html#a4">Send</a>()</td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classRequest.html#p1">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:30 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:28 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>
diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html
index 82da97903..5896842fd 100644
--- a/docs/module-doc/classRequest.html
+++ b/docs/module-doc/classRequest.html
@@ -362,7 +362,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00256">GetSource()</
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:30 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:28 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>
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html
index 63c37a2bf..9e8157598 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -70,7 +70,7 @@
<tr class="memlist"><td><a class="el" href="classServer.html#a39">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:30 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>
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index 35044dac0..bac80198f 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -3253,7 +3253,7 @@ References <a class="el" href="users_8cpp-source.html#l00224">userrec::ClearBuff
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:30 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>
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html
index 5aa753749..255b8eac6 100644
--- a/docs/module-doc/classVersion-members.html
+++ b/docs/module-doc/classVersion-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classVersion.html#o2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:49 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 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>
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index 74697af5a..438c9bf99 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -227,7 +227,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 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>
diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html
index 448545914..f921681a4 100644
--- a/docs/module-doc/classWhoWasUser-members.html
+++ b/docs/module-doc/classWhoWasUser-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o0">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o5">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#o6">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 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>
diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html
index c36b0662c..731ea427c 100644
--- a/docs/module-doc/classWhoWasUser.html
+++ b/docs/module-doc/classWhoWasUser.html
@@ -205,7 +205,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00335">335</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:39 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>
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index ef40a92bc..ab0f86341 100644
--- a/docs/module-doc/classXLine-members.html
+++ b/docs/module-doc/classXLine-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:53 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:41 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>
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 164493759..e4f9f29e7 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -180,7 +180,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:41 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>
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index 383065ee5..9e35412e8 100644
--- a/docs/module-doc/classZLine-members.html
+++ b/docs/module-doc/classZLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index b407cf4c6..2127fb1d9 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -90,7 +90,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index 35411d7df..d7417d6d4 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -33,7 +33,7 @@
<tr class="memlist"><td><a class="el" href="classchanrec.html#o5">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classchanrec.html#a9">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 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>
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index e44480b41..27b3373df 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -896,7 +896,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<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>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 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>
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index 526b1989c..0ffcc5106 100644
--- a/docs/module-doc/classclassbase-members.html
+++ b/docs/module-doc/classclassbase-members.html
@@ -9,7 +9,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:38 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:59 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>
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index c4a92ad4e..524bdad33 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -150,7 +150,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>.
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:59 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>
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html
index a17af276c..85159b26f 100644
--- a/docs/module-doc/classcommand__t-members.html
+++ b/docs/module-doc/classcommand__t-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:41 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:00 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>
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html
index 31be9ae77..d80962041 100644
--- a/docs/module-doc/classcommand__t.html
+++ b/docs/module-doc/classcommand__t.html
@@ -235,7 +235,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:41 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:00 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>
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html
index da1039151..d6e51a9b9 100644
--- a/docs/module-doc/classconnection-members.html
+++ b/docs/module-doc/classconnection-members.html
@@ -27,7 +27,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o11">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:49 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 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>
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html
index 59d9ff2dd..464af6729 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -246,7 +246,7 @@ File descriptor of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00266">266</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>, <a class="el" href="modules_8cpp-source.html#l00916">ConfigReader::DumpErrors()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00074">userrec::ReadData()</a>, <a class="el" href="modules_8cpp-source.html#l00462">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>, <a class="el" href="modules_8cpp-source.html#l00916">ConfigReader::DumpErrors()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00074">userrec::ReadData()</a>, <a class="el" href="modules_8cpp-source.html#l00462">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o7" doxytag="connection::haspassed"></a><p>
@@ -386,7 +386,7 @@ Time the connection was last pinged.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00308">308</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o13" doxytag="connection::nping"></a><p>
@@ -442,7 +442,7 @@ For a serverrec this is the current listening port of the serverrec object.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00300">300</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="connection::registered"></a><p>
@@ -498,12 +498,12 @@ Time the connection was created, set in the constructor.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00312">312</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:05 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>
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html
index 4660246ac..fc63ba5a3 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -26,7 +26,7 @@
</td><td><a class="el" href="classModeParameter.html">ModeParameter</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classServer.html">Server</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;Z&nbsp;&nbsp;</div></td></tr></table>
</td></tr><tr><td><a class="el" href="classconnection.html">connection</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classGLine.html">GLine</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModule.html">Module</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classserverrec.html">serverrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classZLine.html">ZLine</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;D&nbsp;&nbsp;</div></td></tr></table>
</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;H&nbsp;&nbsp;</div></td></tr></table>
-</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+</td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 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>
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html
index f11fa4e85..c38be9e10 100644
--- a/docs/module-doc/classircd__connector-members.html
+++ b/docs/module-doc/classircd__connector-members.html
@@ -55,7 +55,7 @@
<tr class="memlist"><td><a class="el" href="classircd__connector.html#r5">version</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#r7">WriteError</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:15 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:20 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>
diff --git a/docs/module-doc/classircd__connector.html b/docs/module-doc/classircd__connector.html
index 052631803..e57bf5159 100644
--- a/docs/module-doc/classircd__connector.html
+++ b/docs/module-doc/classircd__connector.html
@@ -256,7 +256,7 @@ Adds data to the connection's sendQ to be flushed later Fails if there is an err
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="ircd_connector::BufferIsComplete"></a><p>
@@ -378,7 +378,7 @@ Close the connection by calling close() on its file descriptor This function cal
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a22" doxytag="ircd_connector::FlushWriteBuf"></a><p>
@@ -410,7 +410,7 @@ Flushes as much of the data from the buffer as possible, and advances the queue
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a18" doxytag="ircd_connector::GetBuffer"></a><p>
@@ -562,7 +562,7 @@ Return the servername on this established connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a11" doxytag="ircd_connector::GetServerPort"></a><p>
@@ -624,7 +624,7 @@ Get the state flags for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="ircd_connector::GetVersionString"></a><p>
@@ -686,7 +686,7 @@ Gets the error string for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a25" doxytag="ircd_connector::HasBufferedOutput"></a><p>
@@ -758,7 +758,7 @@ Create an outbound connection to a listening socket.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a27" doxytag="ircd_connector::ResetPing"></a><p>
@@ -852,7 +852,7 @@ Set the file descriptor for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>. </td>
</tr>
</table>
<a name="d0" doxytag="ircd_connector::SetHostAddress"></a><p>
@@ -934,7 +934,7 @@ Set both the host and the port in one operation for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="ircd_connector::SetServerName"></a><p>
@@ -967,7 +967,7 @@ Set the server name of this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a12" doxytag="ircd_connector::SetServerPort"></a><p>
@@ -1031,7 +1031,7 @@ Set the state flags for this connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a19" doxytag="ircd_connector::SetVersionString"></a><p>
@@ -1464,7 +1464,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00094">94</a>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:15 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:19 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>
diff --git a/docs/module-doc/classserverrec-members.html b/docs/module-doc/classserverrec-members.html
index b11b9cdf4..8a98d990b 100644
--- a/docs/module-doc/classserverrec-members.html
+++ b/docs/module-doc/classserverrec-members.html
@@ -51,7 +51,7 @@
<tr class="memlist"><td><a class="el" href="classserverrec.html#o6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:39 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:33 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>
diff --git a/docs/module-doc/classserverrec.html b/docs/module-doc/classserverrec.html
index 3d7dc51ec..9ebee0578 100644
--- a/docs/module-doc/classserverrec.html
+++ b/docs/module-doc/classserverrec.html
@@ -131,23 +131,23 @@ Constructor.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00042">42</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00046">46</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00308">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00312">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
-<div class="fragment"><pre>00043 {
-00044 strlcpy(name,<span class="stringliteral">""</span>,256);
-00045 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
-00046 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00047 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
-00048 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00049 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00050 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00052 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00053 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
-00054 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00055 }
+<div class="fragment"><pre>00047 {
+00048 strlcpy(name,<span class="stringliteral">""</span>,256);
+00049 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
+00050 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00051 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
+00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
+00055 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00057 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
+00058 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00059 }
</pre></div> </td>
</tr>
</table>
@@ -196,23 +196,23 @@ Constructor which initialises some of the main variables.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00062">62</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00066">66</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00308">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00312">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
-<div class="fragment"><pre>00063 {
-00064 strlcpy(name,n,256);
-00065 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00066 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
-00067 <a class="code" href="classserverrec.html#o6">version</a> = ver;
-00068 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00069 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00070 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
-00071 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00072 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00073 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
-00074 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00075 }
+<div class="fragment"><pre>00067 {
+00068 strlcpy(name,n,256);
+00069 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00070 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
+00071 <a class="code" href="classserverrec.html#o6">version</a> = ver;
+00072 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00073 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00074 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
+00075 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00076 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00077 strlcpy(nickserv,<span class="stringliteral">""</span>,NICKMAX);
+00078 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00079 }
</pre></div> </td>
</tr>
</table>
@@ -245,10 +245,10 @@ Destructor.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00058">58</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00062">62</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-<div class="fragment"><pre>00059 {
-00060 }
+<div class="fragment"><pre>00063 {
+00064 }
</pre></div> </td>
</tr>
</table>
@@ -298,30 +298,30 @@ Add an incoming connection to the connection pool.
<p>
(reserved for core use)
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00207">207</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00212">212</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="classircd__connector.html#a5">ircd_connector::SetDescriptor()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00038">STATE_NOAUTH_INBOUND</a>.
<p>
-<div class="fragment"><pre>00208 {
-00209 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00210
-00211 <span class="comment">// targethost has been turned into an ip...</span>
-00212 <span class="comment">// we dont want this as the server name.</span>
-00213 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
-00214 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
-00215 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
-00216 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
-00217 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
-00218 <span class="keywordtype">int</span> sendbuf = 32768;
-00219 <span class="keywordtype">int</span> recvbuf = 32768;
-00220 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00221 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00222 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
-00223 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
-00224 log(DEBUG,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
-00225 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00227 }
+<div class="fragment"><pre>00213 {
+00214 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00215
+00216 <span class="comment">// targethost has been turned into an ip...</span>
+00217 <span class="comment">// we dont want this as the server name.</span>
+00218 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
+00219 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
+00220 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
+00221 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
+00222 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
+00223 <span class="keywordtype">int</span> sendbuf = 32768;
+00224 <span class="keywordtype">int</span> recvbuf = 32768;
+00225 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00226 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
+00227 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
+00228 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_INBOUND);
+00229 log(DEBUG,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
+00230 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00232 }
</pre></div> </td>
</tr>
</table>
@@ -382,45 +382,47 @@ Begin an outbound link to another ircd at targethost.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00138">138</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00142">142</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
<p>
-<div class="fragment"><pre>00139 {
-00140 <span class="keywordtype">char</span> connect[MAXBUF];
-00141
-00142 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00143 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
-00144
+<div class="fragment"><pre>00143 {
+00144 <span class="keywordtype">char</span> connect[MAXBUF];
00145
-00146 <span class="keywordflow">if</span> (cn)
-00147 {
-00148 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
-00149 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00150 }
-00151
-00152
-00153 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00154 {
-00155 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00156 {
-00157 <span class="comment">// targethost has been turned into an ip...</span>
-00158 <span class="comment">// we dont want this as the server name.</span>
-00159 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00160 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
-00161 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
-00162 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00163 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00164 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00165 }
-00166 <span class="keywordflow">else</span>
-00167 {
-00168 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00169 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
-00170 }
-00171 }
-00172 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00173 }
+00146 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00147 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
+00148
+00149
+00150 <span class="keywordflow">if</span> (cn)
+00151 {
+00152 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
+00153 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00154 }
+00155
+00156
+00157 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00158 {
+00159 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00160 {
+00161 <span class="comment">// targethost has been turned into an ip...</span>
+00162 <span class="comment">// we dont want this as the server name.</span>
+00163 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00164 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
+00165 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
+00166 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00167 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00168 <span class="comment">// this packet isn't actually sent until the socket connects -- the STATE_NOAUTH_OUTBOUND state</span>
+00169 <span class="comment">// queues outbound data until the socket is polled as writeable (e.g. the connection is established)</span>
+00170 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
+00171 }
+00172 <span class="keywordflow">else</span>
+00173 {
+00174 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00175 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
</pre></div> </td>
</tr>
</table>
@@ -463,68 +465,68 @@ Create a listening socket on 'host' using port number 'p'.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00077">77</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00081">81</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="servers_8cpp-source.html#l00038">MaxConn</a>, and <a class="el" href="connection_8h-source.html#l00300">connection::port</a>.
<p>
-<div class="fragment"><pre>00078 {
-00079 sockaddr_in host_address;
-00080 <span class="keywordtype">int</span> flags;
-00081 in_addr addy;
-00082 <span class="keywordtype">int</span> on = 0;
-00083 <span class="keyword">struct </span>linger linger = { 0 };
-00084
-00085 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00086
-00087 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
-00088 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
-00089 {
-00090 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00091 }
-00092
-00093 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
-00094 linger.l_onoff = 1;
-00095 linger.l_linger = 1;
-00096 setsockopt(fd,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
-00097
-00098 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
-00099 <span class="comment">// to get them on linux.</span>
-00100 <span class="keywordtype">int</span> sendbuf = 32768;
-00101 <span class="keywordtype">int</span> recvbuf = 32768;
-00102 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00103 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00104
-00105 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
-00106
-00107 host_address.sin_family = AF_INET;
+<div class="fragment"><pre>00082 {
+00083 sockaddr_in host_address;
+00084 <span class="keywordtype">int</span> flags;
+00085 in_addr addy;
+00086 <span class="keywordtype">int</span> on = 0;
+00087 <span class="keyword">struct </span>linger linger = { 0 };
+00088
+00089 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00090
+00091 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+00092 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
+00093 {
+00094 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00095 }
+00096
+00097 setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
+00098 linger.l_onoff = 1;
+00099 linger.l_linger = 1;
+00100 setsockopt(fd,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
+00101
+00102 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
+00103 <span class="comment">// to get them on linux.</span>
+00104 <span class="keywordtype">int</span> sendbuf = 32768;
+00105 <span class="keywordtype">int</span> recvbuf = 32768;
+00106 setsockopt(fd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00107 setsockopt(fd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
00108
-00109 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
-00110 {
-00111 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
-00112 }
-00113 <span class="keywordflow">else</span>
+00109 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
+00110
+00111 host_address.sin_family = AF_INET;
+00112
+00113 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
00114 {
-00115 inet_aton(newhost,&amp;addy);
-00116 host_address.sin_addr = addy;
-00117 }
-00118
-00119 host_address.sin_port = htons(p);
-00120
-00121 <span class="keywordflow">if</span> (bind(fd,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
-00122 {
-00123 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00124 }
-00125
-00126 <span class="comment">// make the socket non-blocking</span>
-00127 flags = fcntl(fd, F_GETFL, 0);
-00128 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
+00115 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
+00116 }
+00117 <span class="keywordflow">else</span>
+00118 {
+00119 inet_aton(newhost,&amp;addy);
+00120 host_address.sin_addr = addy;
+00121 }
+00122
+00123 host_address.sin_port = htons(p);
+00124
+00125 <span class="keywordflow">if</span> (bind(fd,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
+00126 {
+00127 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00128 }
00129
-00130 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00131
-00132 listen(this-&gt;fd, MaxConn);
+00130 <span class="comment">// make the socket non-blocking</span>
+00131 flags = fcntl(fd, F_GETFL, 0);
+00132 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
00133
-00134 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00135 }
+00134 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00135
+00136 listen(this-&gt;fd, MaxConn);
+00137
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
</pre></div> </td>
</tr>
</table>
@@ -558,22 +560,22 @@ Find the <a class="el" href="classircd__connector.html">ircd_connector</a> oject
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00237">237</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00242">242</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8h-source.html#l00081">connectors</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>.
-<p>
-<div class="fragment"><pre>00238 {
-00239 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00240 {
-00241 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
-00242 {
-00243 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
-00244 }
-00245 }
-00246 <span class="keywordflow">return</span> NULL;
-00247 }
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>.
+<p>
+<div class="fragment"><pre>00243 {
+00244 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00245 {
+00246 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
+00247 {
+00248 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
+00249 }
+00250 }
+00251 <span class="keywordflow">return</span> NULL;
+00252 }
</pre></div> </td>
</tr>
</table>
@@ -606,34 +608,60 @@ Flushes all data waiting to be written for all of this server's connections.
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00249">249</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-<div class="fragment"><pre>00250 {
-00251 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00252 {
-00253 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00254 {
-00255 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CheckPing())
-00256 {
-00257 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00258 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00259 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00260 }
-00261 }
-00262 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].HasBufferedOutput())
-00263 {
-00264 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].FlushWriteBuf())
-00265 {
-00266 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00267 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetWriteError().c_str());
-00268 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00269 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00270 }
-00271 }
-00272 }
-00273 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00284">284</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="servers_8cpp-source.html#l00042">has_been_netsplit</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, <a class="el" href="connection_8h-source.html#l00038">STATE_NOAUTH_INBOUND</a>, <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>, and <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>.
+<p>
+<div class="fragment"><pre>00285 {
+00286 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00287 {
+00288 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00289 <span class="keywordflow">if</span> ((this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() == <a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].age+30))
+00290 {
+00291 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00292 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00294 <span class="keywordflow">return</span>;
+00295 }
+00296 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetState() == <a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;connectors[i].age+30))
+00297 {
+00298 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00299 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00300 <span class="keywordflow">return</span>;
+00301 }
+00302 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00303 {
+00304 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 this-&gt;connectors[i].CloseConnection();
+00308 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00309 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00310 {
+00311 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00312 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00313 }
+00314 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00315 }
+00316 }
+00317 <span class="keywordflow">if</span> (this-&gt;connectors[i].HasBufferedOutput())
+00318 {
+00319 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00320 {
+00321 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00322 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;connectors[i].GetWriteError().c_str());
+00323 this-&gt;connectors[i].CloseConnection();
+00324 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00325 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00326 {
+00327 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00328 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00329 }
+00330 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00331 }
+00332 }
+00333 }
+00334 }
</pre></div> </td>
</tr>
</table>
@@ -688,39 +716,38 @@ Begin an outbound mesh link to another ircd on a network you are already an auth
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00176">176</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00036">STATE_CONNECTED</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
-<p>
-<div class="fragment"><pre>00177 {
-00178 <span class="keywordtype">char</span> connect[MAXBUF];
-00179
-00180 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00181
-00182 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
-00183
-00184 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00185 {
-00186 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00187 {
-00188 <span class="comment">// targethost has been turned into an ip...</span>
-00189 <span class="comment">// we dont want this as the server name.</span>
-00190 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00191 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
-00192 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
-00193 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00194 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_CONNECTED);
-00195 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00196 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00197 }
-00198 <span class="keywordflow">else</span>
-00199 {
-00200 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00201 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+Definition at line <a class="el" href="servers_8cpp-source.html#l00182">182</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00266">connection::fd</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, <a class="el" href="classircd__connector.html#a13">ircd_connector::SetHostAndPort()</a>, <a class="el" href="classircd__connector.html#a3">ircd_connector::SetServerName()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>, and <a class="el" href="connection_8h-source.html#l00039">STATE_NOAUTH_OUTBOUND</a>.
+<p>
+<div class="fragment"><pre>00183 {
+00184 <span class="keywordtype">char</span> connect[MAXBUF];
+00185
+00186 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00187
+00188 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
+00189
+00190 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00191 {
+00192 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00193 {
+00194 <span class="comment">// targethost has been turned into an ip...</span>
+00195 <span class="comment">// we dont want this as the server name.</span>
+00196 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00197 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
+00198 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_NOAUTH_OUTBOUND);
+00199 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00200 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00201 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
00202 }
-00203 }
-00204 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00205 }
+00203 <span class="keywordflow">else</span>
+00204 {
+00205 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00206 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00207 }
+00208 }
+00209 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00210 }
</pre></div> </td>
</tr>
</table>
@@ -769,95 +796,107 @@ Returns the next available packet and returns true if data is available.
<p>
Writes the servername the data came from to 'host'. If no data is available this function returns false. This function will automatically close broken links and reroute pathways, generating split messages on the network.
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00370">370</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="servers_8cpp-source.html#l00350">already_have_sum()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-<div class="fragment"><pre>00371 {
-00372 <span class="keywordtype">char</span> data[65536];
-00373 memset(data, 0, 65536);
-00374 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00375 {
-00376 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00377 {
-00378 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00379 <span class="keywordtype">int</span> rcvsize = 0;
-00380
-00381 <span class="comment">// check if theres any data on this socket</span>
-00382 <span class="comment">// if not, continue onwards to the next.</span>
-00383 pollfd polls;
-00384 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
-00385 polls.events = POLLIN;
-00386 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
-00387 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
-00388
-00389 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
-00390 data[rcvsize] = <span class="charliteral">'\0'</span>;
-00391 <span class="keywordflow">if</span> (rcvsize == -1)
-00392 {
-00393 <span class="keywordflow">if</span> (errno != EAGAIN)
-00394 {
-00395 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
-00396 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00397 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00398 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00399 }
-00400 }
-00401 <span class="keywordtype">int</span> pushed = 0;
-00402 <span class="keywordflow">if</span> (rcvsize &gt; 0)
-00403 {
-00404 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
-00405 {
-00406 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00407 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00408 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
-00409 }
-00410 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00411 {
-00412 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
-00413 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00414 {
-00415 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
-00416 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
-00417 {
-00418 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
-00419 {
-00420 std::string orig = text;
-00421 log(DEBUG,<span class="stringliteral">"Original: %s"</span>,text.c_str());
-00422 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00423 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
-00424 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00425 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
-00426 {
-00427 sums.push_back(<span class="stringliteral">"*"</span>);
-00428 text = orig;
-00429 log(DEBUG,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
-00430 }
-00431 <span class="keywordflow">else</span>
-00432 {
-00433 log(DEBUG,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
-00434 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
-00435 {
-00436 <span class="comment">// we don't accept dupes</span>
-00437 <span class="keywordflow">continue</span>;
-00438 }
-00439 sums.push_back(sum.c_str());
-00440 }
-00441 }
-00442 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
-00443 messages.push_back(text.c_str());
-00444 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
-00445 log(DEBUG,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
-00446 }
-00447 }
-00448 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00449 }
-00450 }
-00451 }
-00452 }
-00453 <span class="comment">// nothing new yet -- message and host will be undefined</span>
-00454 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00455 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00431">431</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8cpp-source.html#l00411">already_have_sum()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00042">has_been_netsplit</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+<div class="fragment"><pre>00432 {
+00433 <span class="keywordtype">char</span> data[65536];
+00434 memset(data, 0, 65536);
+00435 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00436 {
+00437 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00438 {
+00439 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00440 <span class="keywordtype">int</span> rcvsize = 0;
+00441
+00442 <span class="comment">// check if theres any data on this socket</span>
+00443 <span class="comment">// if not, continue onwards to the next.</span>
+00444 pollfd polls;
+00445 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00446 polls.events = POLLIN;
+00447 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00448 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00449
+00450 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00451 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00452 <span class="keywordflow">if</span> (rcvsize == -1)
+00453 {
+00454 <span class="keywordflow">if</span> (errno != EAGAIN)
+00455 {
+00456 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00457 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00458 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00459 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00460 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00461 {
+00462 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00463 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00464 }
+00465 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00466 }
+00467 }
+00468 <span class="keywordtype">int</span> pushed = 0;
+00469 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00470 {
+00471 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00472 {
+00473 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00474 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00475 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00476 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00477 {
+00478 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00479 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00480 }
+00481 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00482 }
+00483 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00484 {
+00485 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00486 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00487 {
+00488 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00489 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00490 {
+00491 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00492 {
+00493 std::string orig = text;
+00494 log(DEBUG,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00495 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00496 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00497 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00498 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00499 {
+00500 sums.push_back(<span class="stringliteral">"*"</span>);
+00501 text = orig;
+00502 log(DEBUG,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00503 }
+00504 <span class="keywordflow">else</span>
+00505 {
+00506 log(DEBUG,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00507 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
+00508 {
+00509 <span class="comment">// we don't accept dupes</span>
+00510 <span class="keywordflow">continue</span>;
+00511 }
+00512 sums.push_back(sum.c_str());
+00513 }
+00514 }
+00515 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00516 messages.push_back(text.c_str());
+00517 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00518 log(DEBUG,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
+00519 }
+00520 }
+00521 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00522 }
+00523 }
+00524 }
+00525 }
+00526 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00527 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00528 }
</pre></div> </td>
</tr>
</table>
@@ -900,85 +939,85 @@ Send a message to a server by name, if the server is unavailable directly route
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00275">275</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
-<p>
-References <a class="el" href="classircd__connector.html#a21">ircd_connector::AddWriteBuf()</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector::CloseConnection()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="classircd__connector.html#a22">ircd_connector::FlushWriteBuf()</a>, <a class="el" href="classircd__connector.html#a2">ircd_connector::GetServerName()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="classircd__connector.html#a24">ircd_connector::GetWriteError()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
-<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">MeshCookie()</a>.
-<p>
-<div class="fragment"><pre>00276 {
-00277 <span class="keywordflow">if</span> ((!message) || (!sendhost))
-00278 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00279
-00280 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
-00281
-00282 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
-00283 {
-00284 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
-00285 }
-00286
-00287 <span class="keywordflow">if</span> (cn)
-00288 {
-00289 log(DEBUG,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00290
-00291 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00292 {
-00293 <span class="comment">// fix: can only route one hop to avoid a loop</span>
-00294 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
-00295 {
-00296 log(DEBUG,<span class="stringliteral">"Not a double reroute"</span>);
-00297 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
-00298 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
-00299 {
-00300 log(DEBUG,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
-00301 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
-00302 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
-00303 {
-00304 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
-00305 {
-00306 log(DEBUG,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
-00307 <span class="keywordtype">char</span> buffer[MAXBUF];
-00308 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
-00309 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
-00310 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00311 }
-00312 }
-00313 }
-00314 }
-00315 <span class="keywordtype">char</span> buffer[MAXBUF];
-00316 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
-00317 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
-00318 NetSendToAllExcept(sendhost,buffer);
-00319 DoSplit(sendhost);
-00320 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00321 }
-00322
-00323 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00324 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
-00325 {
-00326 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
-00327 log(DEBUG,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00328 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00329 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00330 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00331 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00332 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
-00333 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00334 }
-00335 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
-00336 {
-00337 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00338 log(DEBUG,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00339 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00340 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00341 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
-00342 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00343 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
-00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00345 }
-00346 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00347 }
-00348 }
+Definition at line <a class="el" href="servers_8cpp-source.html#l00336">336</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="classircd__connector.html#a21">ircd_connector::AddWriteBuf()</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector::CloseConnection()</a>, <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="classircd__connector.html#a22">ircd_connector::FlushWriteBuf()</a>, <a class="el" href="classircd__connector.html#a2">ircd_connector::GetServerName()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="classircd__connector.html#a24">ircd_connector::GetWriteError()</a>, <a class="el" href="classircd__connector.html#a7">ircd_connector::SetState()</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">MeshCookie()</a>.
+<p>
+<div class="fragment"><pre>00337 {
+00338 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00339 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00340
+00341 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00342
+00343 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00344 {
+00345 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00346 }
+00347
+00348 <span class="keywordflow">if</span> (cn)
+00349 {
+00350 log(DEBUG,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00351
+00352 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00353 {
+00354 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00355 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00356 {
+00357 log(DEBUG,<span class="stringliteral">"Not a double reroute"</span>);
+00358 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00359 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00360 {
+00361 log(DEBUG,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
+00362 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00363 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00364 {
+00365 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00366 {
+00367 log(DEBUG,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
+00368 <span class="keywordtype">char</span> buffer[MAXBUF];
+00369 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00370 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00371 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00372 }
+00373 }
+00374 }
+00375 }
+00376 <span class="keywordtype">char</span> buffer[MAXBUF];
+00377 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00378 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00379 NetSendToAllExcept(sendhost,buffer);
+00380 DoSplit(sendhost);
+00381 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00382 }
+00383
+00384 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00385 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00386 {
+00387 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00388 log(DEBUG,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00389 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00390 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00391 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00392 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00393 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00394 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00395 }
+00396 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00397 {
+00398 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00399 log(DEBUG,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00400 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00401 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00402 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00403 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00404 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00405 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00406 }
+00407 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00408 }
+00409 }
</pre></div> </td>
</tr>
</table>
@@ -1012,13 +1051,13 @@ Terminate a link to 'targethost' by calling the <a class="el" href="classircd__c
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00229">229</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00234">234</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-<div class="fragment"><pre>00230 {
-00231 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
-00232 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
-00233 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
-00234 }
+<div class="fragment"><pre>00235 {
+00236 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
+00237 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
+00238 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
+00239 }
</pre></div> </td>
</tr>
</table>
@@ -1048,7 +1087,7 @@ With a serverrec, this is a list of all established server connections.
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00081">81</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00138">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00237">FindHost()</a>, <a class="el" href="servers_8cpp-source.html#l00249">FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00176">MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00370">RecvPacket()</a>, <a class="el" href="servers_8cpp-source.html#l00275">SendPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">AddIncoming()</a>, <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00242">FindHost()</a>, <a class="el" href="servers_8cpp-source.html#l00284">FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="servers_8cpp-source.html#l00182">MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00431">RecvPacket()</a>, <a class="el" href="servers_8cpp-source.html#l00336">SendPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="serverrec::description"></a><p>
@@ -1102,7 +1141,7 @@ number of hops away (for quick access)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00051">51</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o7" doxytag="serverrec::jupiter"></a><p>
@@ -1130,7 +1169,7 @@ is a JUPE server (faked to enforce a server ban)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00057">57</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="serverrec::name"></a><p>
@@ -1158,7 +1197,7 @@ server name
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00036">36</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="serverrec::nickserv"></a><p>
@@ -1186,7 +1225,7 @@ Holds nickserv's name on U:lined (services) servers (this is a kludge for ircser
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00065">65</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="serverrec::opercount"></a><p>
@@ -1214,7 +1253,7 @@ opers on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00048">48</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="serverrec::pingtime"></a><p>
@@ -1242,7 +1281,7 @@ last ping response (ms)
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00039">39</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o10" doxytag="serverrec::sync_soon"></a><p>
@@ -1268,7 +1307,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00067">67</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="serverrec::usercount"></a><p>
@@ -1296,7 +1335,7 @@ non-invisible users on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00045">45</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="serverrec::usercount_i"></a><p>
@@ -1324,7 +1363,7 @@ invisible users on server
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00042">42</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="serverrec::version"></a><p>
@@ -1352,12 +1391,12 @@ ircd version
<p>
Definition at line <a class="el" href="servers_8h-source.html#l00054">54</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00042">serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="servers_8h-source.html">servers.h</a><li><a class="el" href="servers_8cpp-source.html">servers.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:39 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:33 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>
diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html
index 279a40c74..1b64993d3 100644
--- a/docs/module-doc/classstd_1_1char__traits.html
+++ b/docs/module-doc/classstd_1_1char__traits.html
@@ -14,7 +14,7 @@
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:57 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>
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html
index a83284aac..510955861 100644
--- a/docs/module-doc/classucrec-members.html
+++ b/docs/module-doc/classucrec-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:41 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:34 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>
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html
index fe543e2b9..4eac5b3c9 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -167,7 +167,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userre
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:41 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:34 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>
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html
index f4da154bd..083d529d1 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -70,7 +70,7 @@
<tr class="memlist"><td><a class="el" href="classuserrec.html#o20">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43: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>
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 257dd3b50..d20705941 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -1747,7 +1747,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00292">GetWriteError()
</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 Tue May 24 02:32:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43: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>
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index 827dbc081..65c396fd0 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -118,8 +118,10 @@
00119
00122 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a76">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);
00123
-00124 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+00126 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#a77">ConnectServer</a>(<span class="keywordtype">char</span>* servermask, <a class="code" href="classuserrec.html">userrec</a>* user);
+00127
+00128 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html
index d2475883b..4e06fd4ba 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -190,8 +190,51 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a76">duration</a> (const char *str)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Other useful functions. </em> <a href="#a76"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="commands_8h.html#a77">ConnectServer</a> (char *servermask, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classServer.html">Server</a> connect creation. </em> <a href="#a77"></a><em><br><br></td></tr>
</table>
<hr><h2>Function Documentation</h2>
+<a name="a77" doxytag="commands.h::ConnectServer"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void ConnectServer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>servermask</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classServer.html">Server</a> connect creation.
+<p>
+ </td>
+ </tr>
+</table>
<a name="a76" doxytag="commands.h::duration"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -3996,7 +4039,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00422">Server::IsUli
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:27 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>
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index 1767f150f..39d8ccda8 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -178,7 +178,7 @@
00326
00327
00328 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html
index 2d718b681..f2435bae1 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -85,9 +85,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
-<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="a0" doxytag="connection.h::STATE_DISCONNECTED"></a><p>
@@ -113,7 +111,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00176">serverrec::Me
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00035">35</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00249">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="connection.h::STATE_NOAUTH_INBOUND"></a><p>
@@ -139,7 +137,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::Be
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00038">38</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, and <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="connection.h::STATE_NOAUTH_OUTBOUND"></a><p>
@@ -165,7 +163,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00207">serverrec::Ad
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00039">39</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00138">serverrec::BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00176">serverrec::MeshCookie()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>. </td>
</tr>
</table>
<a name="a5" doxytag="connection.h::STATE_SERVICES"></a><p>
@@ -245,7 +243,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a>
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:42 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:29 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>
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index c4687a31a..14393ac42 100644
--- a/docs/module-doc/ctables_8h-source.html
+++ b/docs/module-doc/ctables_8h-source.html
@@ -42,7 +42,7 @@
00051
00052 <span class="preprocessor">#endif</span>
00053 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html
index d0145641c..e2f6f9203 100644
--- a/docs/module-doc/ctables_8h.html
+++ b/docs/module-doc/ctables_8h.html
@@ -31,7 +31,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A structure that defines a command. </em> <a href="classcommand__t.html#_details">More...</a><em><br><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:30 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>
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
index 4fd4dd82c..0ddbd6d62 100644
--- a/docs/module-doc/dns_8h-source.html
+++ b/docs/module-doc/dns_8h-source.html
@@ -70,7 +70,7 @@
00093 };
00094
00095 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html
index 50e0dd7e1..b88eec89e 100644
--- a/docs/module-doc/dns_8h.html
+++ b/docs/module-doc/dns_8h.html
@@ -23,7 +23,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:30 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>
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html
index a80461590..ecd979b80 100644
--- a/docs/module-doc/files.html
+++ b/docs/module-doc/files.html
@@ -24,7 +24,7 @@
<tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html
index 050119272..b864f3fdc 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -442,7 +442,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 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>
diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html
index 68de60d5c..242f14db0 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -321,7 +321,7 @@
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 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>
diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html
index 984002521..55366fd85 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -189,7 +189,7 @@
</h3><ul>
<li>WriteError
: <a class="el" href="classuserrec.html#o20">userrec</a>, <a class="el" href="classircd__connector.html#r7">ircd_connector</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:53 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>
diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html
index 3284639d7..6d0fcd19c 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -37,7 +37,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick
: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>allowed_umode()
: <a class="el" href="mode_8h.html#a9">mode.h</a><li>already_have_sum()
-: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>apply_lines()
+: <a class="el" href="servers_8cpp.html#a6">servers.cpp</a><li>apply_lines()
: <a class="el" href="xline_8h.html#a17">xline.h</a><li>auth_cookies
: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a></ul>
<h3><a name="index_b">- b -</a>
@@ -76,7 +76,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8h.html#a27">modules.h</a><li>CONF_NOT_UNSIGNED
: <a class="el" href="modules_8h.html#a28">modules.h</a><li>CONF_VALUE_NOT_FOUND
: <a class="el" href="modules_8h.html#a29">modules.h</a><li>config_f
-: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a><li>createcommand()
+: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a><li>ConnectServer()
+: <a class="el" href="commands_8h.html#a77">commands.h</a><li>createcommand()
: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum()
: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus()
: <a class="el" href="message_8h.html#a13">message.h</a><li>custom_mode_params
@@ -154,9 +155,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list()
: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule()
: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers()
-: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m()
-: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_M()
-: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_map()
+: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_M()
+: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_m()
+: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map()
: <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode()
: <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules()
: <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd()
@@ -199,7 +200,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="commands_8h.html#a18">commands.h</a><li>handle_whois()
: <a class="el" href="commands_8h.html#a16">commands.h</a><li>handle_whowas()
: <a class="el" href="commands_8h.html#a32">commands.h</a><li>handle_zline()
-: <a class="el" href="commands_8h.html#a44">commands.h</a><li>has_channel()
+: <a class="el" href="commands_8h.html#a44">commands.h</a><li>has_been_netsplit
+: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>has_channel()
: <a class="el" href="message_8h.html#a14">message.h</a><li>hasumode()
: <a class="el" href="message_8h.html#a7">message.h</a></ul>
<h3><a name="index_i">- i -</a>
@@ -211,7 +213,8 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8h.html#a34">modules.h</a><li>is_uline()
: <a class="el" href="commands_8h.html#a75">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#a10">message.h</a><li>isnick()
-: <a class="el" href="message_8h.html#a11">message.h</a></ul>
+: <a class="el" href="message_8h.html#a11">message.h</a><li>IsRoutable()
+: <a class="el" href="servers_8cpp.html#a5">servers.cpp</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>LINK_ACTIVE
@@ -230,7 +233,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="xline_8h.html#a13">xline.h</a><li>MaxConn
: <a class="el" href="servers_8cpp.html#a1">servers.cpp</a><li>MaxWhoResults
: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
-: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>merge_mode()
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>merge_mode()
: <a class="el" href="mode_8h.html#a13">mode.h</a><li>merge_mode2()
: <a class="el" href="mode_8h.html#a14">mode.h</a><li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>ModeDefined()
@@ -342,13 +345,13 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
-: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a></ul>
+: <a class="el" href="servers_8cpp.html#a4">servers.cpp</a></ul>
<h3><a name="index_z">- z -</a>
</h3><ul>
<li>zline_make_global()
: <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#a25">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html
index c0ed1a88e..15e49f273 100644
--- a/docs/module-doc/globals_defs.html
+++ b/docs/module-doc/globals_defs.html
@@ -98,7 +98,7 @@
: <a class="el" href="modules_8h.html#a22">modules.h</a><li>VF_STATIC
: <a class="el" href="modules_8h.html#a20">modules.h</a><li>VF_VENDOR
: <a class="el" href="modules_8h.html#a21">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html
index cf17c00b5..e42b21055 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -21,7 +21,7 @@
: <a class="el" href="xline_8h.html#a2">xline.h</a><li>add_zline()
: <a class="el" href="xline_8h.html#a3">xline.h</a><li>allowed_umode()
: <a class="el" href="mode_8h.html#a9">mode.h</a><li>already_have_sum()
-: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a><li>apply_lines()
+: <a class="el" href="servers_8cpp.html#a6">servers.cpp</a><li>apply_lines()
: <a class="el" href="xline_8h.html#a17">xline.h</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
@@ -37,7 +37,8 @@
: <a class="el" href="message_8h.html#a1">message.h</a><li>CleanAndResolve()
: <a class="el" href="message_8h.html#a5">message.h</a><li>cmode()
: <a class="el" href="message_8h.html#a12">message.h</a><li>common_channels()
-: <a class="el" href="message_8h.html#a0">message.h</a><li>createcommand()
+: <a class="el" href="message_8h.html#a0">message.h</a><li>ConnectServer()
+: <a class="el" href="commands_8h.html#a77">commands.h</a><li>createcommand()
: <a class="el" href="modules_8h.html#a35">modules.h</a><li>CreateSum()
: <a class="el" href="connection_8h.html#a6">connection.h</a><li>cstatus()
: <a class="el" href="message_8h.html#a13">message.h</a></ul>
@@ -98,9 +99,9 @@
: <a class="el" href="commands_8h.html#a38">commands.h</a><li>handle_list()
: <a class="el" href="commands_8h.html#a20">commands.h</a><li>handle_loadmodule()
: <a class="el" href="commands_8h.html#a48">commands.h</a><li>handle_lusers()
-: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_m()
-: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_M()
-: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_map()
+: <a class="el" href="commands_8h.html#a22">commands.h</a><li>handle_M()
+: <a class="el" href="commands_8h.html#a69">commands.h</a><li>handle_m()
+: <a class="el" href="commands_8h.html#a68">commands.h</a><li>handle_map()
: <a class="el" href="commands_8h.html#a39">commands.h</a><li>handle_mode()
: <a class="el" href="mode_8h.html#a11">mode.h</a><li>handle_modules()
: <a class="el" href="commands_8h.html#a34">commands.h</a><li>handle_motd()
@@ -151,7 +152,8 @@
<li>is_uline()
: <a class="el" href="commands_8h.html#a75">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#a10">message.h</a><li>isnick()
-: <a class="el" href="message_8h.html#a11">message.h</a></ul>
+: <a class="el" href="message_8h.html#a11">message.h</a><li>IsRoutable()
+: <a class="el" href="servers_8cpp.html#a5">servers.cpp</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>matches_exception()
@@ -213,7 +215,7 @@
<li>zline_make_global()
: <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#a25">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html
index d3bf5b35b..609ef339b 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -27,7 +27,7 @@
: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>VoidPointer
: <a class="el" href="base_8h.html#a0">base.h</a><li>whowas_hash
: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html
index e3b1e0065..f0a3c6e2c 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -6,7 +6,7 @@
<!-- Generated by Doxygen 1.3.3 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindexHL" href="globals.html">File&nbsp;Members</a></div>
<div class="qindex"><a class="qindex" href="globals.html">All</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindexHL" href="globals_vars.html">Variables</a> | <a class="qindex" href="globals_type.html">Typedefs</a> | <a class="qindex" href="globals_defs.html">Defines</a></div>
-<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_x">x</a></div>
+<div class="qindex"><a class="qindex" href="#index_a">a</a> | <a class="qindex" href="#index_b">b</a> | <a class="qindex" href="#index_c">c</a> | <a class="qindex" href="#index_d">d</a> | <a class="qindex" href="#index_e">e</a> | <a class="qindex" href="#index_f">f</a> | <a class="qindex" href="#index_h">h</a> | <a class="qindex" href="#index_i">i</a> | <a class="qindex" href="#index_l">l</a> | <a class="qindex" href="#index_m">m</a> | <a class="qindex" href="#index_n">n</a> | <a class="qindex" href="#index_p">p</a> | <a class="qindex" href="#index_r">r</a> | <a class="qindex" href="#index_s">s</a> | <a class="qindex" href="#index_t">t</a> | <a class="qindex" href="#index_w">w</a> | <a class="qindex" href="#index_x">x</a></div>
<p>
@@ -47,6 +47,10 @@
<li>factory
: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>fd_ref_table
: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a></ul>
+<h3><a name="index_h">- h -</a>
+</h3><ul>
+<li>has_been_netsplit
+: <a class="el" href="servers_8cpp.html#a3">servers.cpp</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
<li>IP
@@ -62,7 +66,7 @@
<li>MaxConn
: <a class="el" href="servers_8cpp.html#a1">servers.cpp</a><li>MaxWhoResults
: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
-: <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>MODCOUNT
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a0">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names
: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>modules
: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd
@@ -106,8 +110,8 @@
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
-: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+: <a class="el" href="servers_8cpp.html#a4">servers.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html
index a97d98270..bf316ee57 100644
--- a/docs/module-doc/graph_legend.html
+++ b/docs/module-doc/graph_legend.html
@@ -67,7 +67,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
<li>
A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:44 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>
diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html
index 12ddc30d8..8132b0e3f 100644
--- a/docs/module-doc/hashcomp_8h-source.html
+++ b/docs/module-doc/hashcomp_8h-source.html
@@ -107,7 +107,7 @@
00130 }
00131
00132 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:02 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html
index 8d7cfa156..1d940bdaa 100644
--- a/docs/module-doc/hashcomp_8h.html
+++ b/docs/module-doc/hashcomp_8h.html
@@ -54,7 +54,7 @@ This graph shows which files directly or indirectly include this file:<p><center
Definition at line <a class="el" href="hashcomp_8h-source.html#l00044">44</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:31 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>
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html
index 7ca7a6ee1..8c30f602e 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -65,7 +65,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<li><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>
<li><a class="el" href="classWhoWasUser.html">WhoWasUser</a>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:27 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 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>
diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html
index 9079b86bb..305e492be 100644
--- a/docs/module-doc/inherits.html
+++ b/docs/module-doc/inherits.html
@@ -78,7 +78,7 @@
<area href="classWhoWasUser.html" shape="rect" coords="9,8,113,34" alt="">
</map></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:33:02 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:46 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>
diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html
index f62060115..200a06996 100644
--- a/docs/module-doc/main.html
+++ b/docs/module-doc/main.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindexHL" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>InspIRCd Documentation</h1>
<p>
-<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:01 2005 for InspIRCd by
+<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:12 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>
diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html
index 74bbb3cfa..4996f2667 100644
--- a/docs/module-doc/message_8h-source.html
+++ b/docs/module-doc/message_8h-source.html
@@ -55,7 +55,7 @@
00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a17">send_network_quit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nick, <span class="keyword">const</span> <span class="keywordtype">char</span>* reason);
00049
00050 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:03 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html
index 667050117..9ef3319b9 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -694,7 +694,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00525">Server::IsNic
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:33 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>
diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 8ad0eae9b..9cbedc087 100644
--- a/docs/module-doc/mode_8h-source.html
+++ b/docs/module-doc/mode_8h-source.html
@@ -53,7 +53,7 @@
00046
00047
00048 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:03 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html
index 3cb474367..080920ce0 100644
--- a/docs/module-doc/mode_8h.html
+++ b/docs/module-doc/mode_8h.html
@@ -802,7 +802,7 @@ This graph shows which files directly or indirectly include this file:<p><center
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:34 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>
diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index 8492f387e..f2abf36c5 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -1023,7 +1023,7 @@
<a name="l01016"></a><a class="code" href="modules_8cpp.html#a0">01016</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1;
01017
01018
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:13 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>
diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index f1dbc24f0..57b8d97cb 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -1349,7 +1349,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="modules_8cpp.html#a34">me</a>[32]
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
</table>
</td>
</tr>
@@ -1895,7 +1895,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> o
Definition at line <a class="el" href="modules_8cpp-source.html#l00093">93</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:08 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:42 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>
diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index 94b07f708..daed91b45 100644
--- a/docs/module-doc/modules_8h-source.html
+++ b/docs/module-doc/modules_8h-source.html
@@ -450,7 +450,7 @@
<a name="l01307"></a><a class="code" href="modules_8h.html#a34">01307</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#a34">ircd_module</a>;
01308
01309 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html
index 12c36a8ff..8207364c9 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -558,7 +558,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00863">ConfigReader:
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00023">23</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::AddExtendedMode()</a>, <a class="el" href="servers_8cpp-source.html#l00207">serverrec::AddIncoming()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00138">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00175">chanrec::IsCustomModeSet()</a>, <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>, <a class="el" href="users_8cpp-source.html#l00116">userrec::RemoveInvite()</a>, <a class="el" href="servers_8cpp-source.html#l00275">serverrec::SendPacket()</a>, <a class="el" href="channels_8cpp-source.html#l00119">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00144">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00284">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::AddExtendedMode()</a>, <a class="el" href="servers_8cpp-source.html#l00212">serverrec::AddIncoming()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00207">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00138">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00175">chanrec::IsCustomModeSet()</a>, <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>, <a class="el" href="users_8cpp-source.html#l00116">userrec::RemoveInvite()</a>, <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>, <a class="el" href="channels_8cpp-source.html#l00119">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00144">chanrec::SetCustomModeParam()</a>, <a class="el" href="users_8cpp-source.html#l00284">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.h::DEFAULT"></a><p>
@@ -1135,7 +1135,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00437">Server::AddCo
Referenced by <a class="el" href="modules_8cpp-source.html#l00442">Server::SendMode()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:11 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:43 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>
diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html
index 10e0e126a..31a33dc6b 100644
--- a/docs/module-doc/namespaceirc.html
+++ b/docs/module-doc/namespaceirc.html
@@ -55,7 +55,7 @@ This typedef declares <a class="el" href="namespaceirc.html#a0">irc::string</a>
Definition at line <a class="el" href="hashcomp_8h-source.html#l00129">129</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html
index 2e90e9ba5..9bed16d14 100644
--- a/docs/module-doc/namespacemembers.html
+++ b/docs/module-doc/namespacemembers.html
@@ -11,7 +11,7 @@
Here is a list of all namespace members with links to the namespace documentation for each member:<ul>
<li>string
: <a class="el" href="namespaceirc.html#a0">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html
index 79aaac483..ee7150f5f 100644
--- a/docs/module-doc/namespacemembers_type.html
+++ b/docs/module-doc/namespacemembers_type.html
@@ -11,7 +11,7 @@
<ul>
<li>string
: <a class="el" href="namespaceirc.html#a0">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html
index cff039cf0..174d65dd7 100644
--- a/docs/module-doc/namespacenspace.html
+++ b/docs/module-doc/namespacenspace.html
@@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace.hash&lt; string &gt;</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html
index 8e4d3d677..13f8765a0 100644
--- a/docs/module-doc/namespaces.html
+++ b/docs/module-doc/namespaces.html
@@ -10,7 +10,7 @@
<tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html
index aff42accb..8c9c81579 100644
--- a/docs/module-doc/namespacestd.html
+++ b/docs/module-doc/namespacestd.html
@@ -10,7 +10,7 @@
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html
index 306245ef0..4e57b19f7 100644
--- a/docs/module-doc/servers_8cpp-source.html
+++ b/docs/module-doc/servers_8cpp-source.html
@@ -44,424 +44,497 @@
<a name="l00037"></a><a class="code" href="servers_8cpp.html#a0">00037</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
<a name="l00038"></a><a class="code" href="servers_8cpp.html#a1">00038</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="servers_8cpp.html#a1">MaxConn</a>;
00039
-<a name="l00040"></a><a class="code" href="servers_8cpp.html#a2">00040</a> std::deque&lt;std::string&gt; <a class="code" href="servers_8cpp.html#a2">xsums</a>;
+<a name="l00040"></a><a class="code" href="servers_8cpp.html#a2">00040</a> <span class="keyword">extern</span> <a class="code" href="classserverrec.html">serverrec</a>* <a class="code" href="channels_8cpp.html#a34">me</a>[32];
00041
-<a name="l00042"></a><a class="code" href="classserverrec.html#a0">00042</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
-00043 {
-00044 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256);
-00045 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
-00046 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00047 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
-00048 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00049 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00050 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00052 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00053 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
-00054 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00055 }
-00056
-00057
-<a name="l00058"></a><a class="code" href="classserverrec.html#a2">00058</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
-00059 {
-00060 }
-00061
-<a name="l00062"></a><a class="code" href="classserverrec.html#a1">00062</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe)
+<a name="l00042"></a><a class="code" href="servers_8cpp.html#a3">00042</a> <span class="keyword">extern</span> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a>;
+00043
+<a name="l00044"></a><a class="code" href="servers_8cpp.html#a4">00044</a> std::deque&lt;std::string&gt; <a class="code" href="servers_8cpp.html#a4">xsums</a>;
+00045
+<a name="l00046"></a><a class="code" href="classserverrec.html#a0">00046</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>()
+00047 {
+00048 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,<span class="stringliteral">""</span>,256);
+00049 <a class="code" href="classserverrec.html#o1">pingtime</a> = 0;
+00050 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00051 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = <a class="code" href="classserverrec.html#o6">version</a> = 0;
+00052 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00053 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00054 <a class="code" href="classserverrec.html#o7">jupiter</a> = <span class="keyword">false</span>;
+00055 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00056 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00057 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
+00058 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00059 }
+00060
+00061
+<a name="l00062"></a><a class="code" href="classserverrec.html#a2">00062</a> <a class="code" href="classserverrec.html#a2">serverrec::~serverrec</a>()
00063 {
-00064 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256);
-00065 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00066 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
-00067 <a class="code" href="classserverrec.html#o6">version</a> = ver;
-00068 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
-00069 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00070 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
-00071 <a class="code" href="classconnection.html#o0">fd</a> = 0;
-00072 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
-00073 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
-00074 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
-00075 }
-00076
-<a name="l00077"></a><a class="code" href="classserverrec.html#a3">00077</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a3">serverrec::CreateListener</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> p)
-00078 {
-00079 sockaddr_in host_address;
-00080 <span class="keywordtype">int</span> flags;
-00081 in_addr addy;
-00082 <span class="keywordtype">int</span> on = 0;
-00083 <span class="keyword">struct </span>linger linger = { 0 };
-00084
-00085 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00086
-00087 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
-00088 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
-00089 {
-00090 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00091 }
-00092
-00093 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
-00094 linger.l_onoff = 1;
-00095 linger.l_linger = 1;
-00096 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
-00097
-00098 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
-00099 <span class="comment">// to get them on linux.</span>
-00100 <span class="keywordtype">int</span> sendbuf = 32768;
-00101 <span class="keywordtype">int</span> recvbuf = 32768;
-00102 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00103 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00104
-00105 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
-00106
-00107 host_address.sin_family = AF_INET;
+00064 }
+00065
+<a name="l00066"></a><a class="code" href="classserverrec.html#a1">00066</a> <a class="code" href="classserverrec.html#a0">serverrec::serverrec</a>(<span class="keywordtype">char</span>* n, <span class="keywordtype">long</span> ver, <span class="keywordtype">bool</span> jupe)
+00067 {
+00068 strlcpy(<a class="code" href="classserverrec.html#o0">name</a>,n,256);
+00069 <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00070 <a class="code" href="classserverrec.html#o2">usercount_i</a> = <a class="code" href="classserverrec.html#o3">usercount</a> = <a class="code" href="classserverrec.html#o4">opercount</a> = 0;
+00071 <a class="code" href="classserverrec.html#o6">version</a> = ver;
+00072 <a class="code" href="classserverrec.html#o5">hops_away</a> = 1;
+00073 <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00074 <a class="code" href="classserverrec.html#o7">jupiter</a> = jupe;
+00075 <a class="code" href="classconnection.html#o0">fd</a> = 0;
+00076 <a class="code" href="classserverrec.html#o10">sync_soon</a> = <span class="keyword">false</span>;
+00077 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
+00078 <a class="code" href="classserverrec.html#o11">connectors</a>.clear();
+00079 }
+00080
+<a name="l00081"></a><a class="code" href="classserverrec.html#a3">00081</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a3">serverrec::CreateListener</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> p)
+00082 {
+00083 sockaddr_in host_address;
+00084 <span class="keywordtype">int</span> flags;
+00085 in_addr addy;
+00086 <span class="keywordtype">int</span> on = 0;
+00087 <span class="keyword">struct </span>linger linger = { 0 };
+00088
+00089 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00090
+00091 <a class="code" href="classconnection.html#o0">fd</a> = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+00092 <span class="keywordflow">if</span> (<a class="code" href="classconnection.html#o0">fd</a> &lt;= 0)
+00093 {
+00094 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00095 }
+00096
+00097 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_REUSEADDR,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;on,<span class="keyword">sizeof</span>(on));
+00098 linger.l_onoff = 1;
+00099 linger.l_linger = 1;
+00100 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_LINGER,(<span class="keyword">const</span> <span class="keywordtype">char</span>*)&amp;linger,<span class="keyword">sizeof</span>(linger));
+00101
+00102 <span class="comment">// attempt to increase socket sendq and recvq as high as its possible</span>
+00103 <span class="comment">// to get them on linux.</span>
+00104 <span class="keywordtype">int</span> sendbuf = 32768;
+00105 <span class="keywordtype">int</span> recvbuf = 32768;
+00106 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00107 setsockopt(<a class="code" href="classconnection.html#o0">fd</a>,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
00108
-00109 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
-00110 {
-00111 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
-00112 }
-00113 <span class="keywordflow">else</span>
+00109 memset((<span class="keywordtype">void</span>*)&amp;host_address, 0, <span class="keyword">sizeof</span>(host_address));
+00110
+00111 host_address.sin_family = AF_INET;
+00112
+00113 <span class="keywordflow">if</span> (!strcmp(newhost,<span class="stringliteral">""</span>))
00114 {
-00115 inet_aton(newhost,&amp;addy);
-00116 host_address.sin_addr = addy;
-00117 }
-00118
-00119 host_address.sin_port = htons(p);
-00120
-00121 <span class="keywordflow">if</span> (bind(<a class="code" href="classconnection.html#o0">fd</a>,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
-00122 {
-00123 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00124 }
-00125
-00126 <span class="comment">// make the socket non-blocking</span>
-00127 flags = fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_GETFL, 0);
-00128 fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_SETFL, flags | O_NONBLOCK);
+00115 host_address.sin_addr.s_addr = htonl(INADDR_ANY);
+00116 }
+00117 <span class="keywordflow">else</span>
+00118 {
+00119 inet_aton(newhost,&amp;addy);
+00120 host_address.sin_addr = addy;
+00121 }
+00122
+00123 host_address.sin_port = htons(p);
+00124
+00125 <span class="keywordflow">if</span> (bind(<a class="code" href="classconnection.html#o0">fd</a>,(sockaddr*)&amp;host_address,<span class="keyword">sizeof</span>(host_address))&lt;0)
+00126 {
+00127 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00128 }
00129
-00130 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
-00131
-00132 listen(this-&gt;fd, <a class="code" href="servers_8cpp.html#a1">MaxConn</a>);
+00130 <span class="comment">// make the socket non-blocking</span>
+00131 flags = fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_GETFL, 0);
+00132 fcntl(<a class="code" href="classconnection.html#o0">fd</a>, F_SETFL, flags | O_NONBLOCK);
00133
-00134 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00135 }
-00136
+00134 this-&gt;<a class="code" href="classconnection.html#o8">port</a> = p;
+00135
+00136 listen(this-&gt;fd, <a class="code" href="servers_8cpp.html#a1">MaxConn</a>);
00137
-<a name="l00138"></a><a class="code" href="classserverrec.html#a4">00138</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a4">serverrec::BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport)
-00139 {
-00140 <span class="keywordtype">char</span> connect[MAXBUF];
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
+00140
00141
-00142 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00143 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
-00144
+<a name="l00142"></a><a class="code" href="classserverrec.html#a4">00142</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a4">serverrec::BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport)
+00143 {
+00144 <span class="keywordtype">char</span> connect[MAXBUF];
00145
-00146 <span class="keywordflow">if</span> (cn)
-00147 {
-00148 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
-00149 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00150 }
-00151
-00152
-00153 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00154 {
-00155 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00156 {
-00157 <span class="comment">// targethost has been turned into an ip...</span>
-00158 <span class="comment">// we dont want this as the server name.</span>
-00159 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00160 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
-00161 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
-00162 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00163 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00164 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00165 }
-00166 <span class="keywordflow">else</span>
-00167 {
-00168 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00169 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
-00170 }
-00171 }
-00172 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00173 }
-00174
-00175
-<a name="l00176"></a><a class="code" href="classserverrec.html#a5">00176</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a5">serverrec::MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername)
-00177 {
-00178 <span class="keywordtype">char</span> connect[MAXBUF];
-00179
-00180 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00146 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00147 <a class="code" href="classircd__connector.html">ircd_connector</a> *cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername);
+00148
+00149
+00150 <span class="keywordflow">if</span> (cn)
+00151 {
+00152 WriteOpers(<span class="stringliteral">"CONNECT aborted: Server %s already exists"</span>,servername);
+00153 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00154 }
+00155
+00156
+00157 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00158 {
+00159 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00160 {
+00161 <span class="comment">// targethost has been turned into an ip...</span>
+00162 <span class="comment">// we dont want this as the server name.</span>
+00163 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00164 snprintf(connect,MAXBUF,<span class="stringliteral">"S %s %s %lu %s :%s"</span>,getservername().c_str(),password,(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>)myport,GetRevision().c_str(),getserverdesc().c_str());
+00165 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
+00166 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00167 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00168 <span class="comment">// this packet isn't actually sent until the socket connects -- the STATE_NOAUTH_OUTBOUND state</span>
+00169 <span class="comment">// queues outbound data until the socket is polled as writeable (e.g. the connection is established)</span>
+00170 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
+00171 }
+00172 <span class="keywordflow">else</span>
+00173 {
+00174 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00175 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
+00180
00181
-00182 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
-00183
-00184 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
-00185 {
-00186 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
-00187 {
-00188 <span class="comment">// targethost has been turned into an ip...</span>
-00189 <span class="comment">// we dont want this as the server name.</span>
-00190 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
-00191 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
-00192 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
-00193 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
-00194 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a1">STATE_CONNECTED</a>);
-00195 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00196 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
-00197 }
-00198 <span class="keywordflow">else</span>
-00199 {
-00200 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00201 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+<a name="l00182"></a><a class="code" href="classserverrec.html#a5">00182</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a5">serverrec::MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> newport, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername)
+00183 {
+00184 <span class="keywordtype">char</span> connect[MAXBUF];
+00185
+00186 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00187
+00188 WriteOpers(<span class="stringliteral">"Establishing meshed link to %s:%d"</span>,servername,newport);
+00189
+00190 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a>)
+00191 {
+00192 <span class="keywordflow">if</span> (connector.<a class="code" href="classircd__connector.html#a1">MakeOutboundConnection</a>(targethost,newport))
+00193 {
+00194 <span class="comment">// targethost has been turned into an ip...</span>
+00195 <span class="comment">// we dont want this as the server name.</span>
+00196 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(servername);
+00197 snprintf(connect,MAXBUF,<span class="stringliteral">"- %lu %s :%s"</span>,cookie,getservername().c_str(),getserverdesc().c_str());
+00198 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>);
+00199 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, newport);
+00200 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00201 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(connect, servername);
00202 }
-00203 }
-00204 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00205 }
-00206
-<a name="l00207"></a><a class="code" href="classserverrec.html#a10">00207</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a10">serverrec::AddIncoming</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport)
-00208 {
-00209 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
-00210
-00211 <span class="comment">// targethost has been turned into an ip...</span>
-00212 <span class="comment">// we dont want this as the server name.</span>
-00213 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
-00214 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
-00215 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
-00216 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
-00217 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
-00218 <span class="keywordtype">int</span> sendbuf = 32768;
-00219 <span class="keywordtype">int</span> recvbuf = 32768;
-00220 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
-00221 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
-00222 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
-00223 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
-00224 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
-00225 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
-00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00227 }
-00228
-<a name="l00229"></a><a class="code" href="classserverrec.html#a6">00229</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a6">serverrec::TerminateLink</a>(<span class="keywordtype">char</span>* targethost)
-00230 {
-00231 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
-00232 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
-00233 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
-00234 }
-00235
-00236 <span class="comment">// Returns a pointer to the connector for 'host'</span>
-<a name="l00237"></a><a class="code" href="classserverrec.html#a9">00237</a> <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classserverrec.html#a9">serverrec::FindHost</a>(std::string findhost)
-00238 {
-00239 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00240 {
-00241 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
-00242 {
-00243 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
-00244 }
-00245 }
-00246 <span class="keywordflow">return</span> NULL;
-00247 }
-00248
-<a name="l00249"></a><a class="code" href="classserverrec.html#a11">00249</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a11">serverrec::FlushWriteBuffers</a>()
-00250 {
-00251 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00252 {
-00253 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00254 {
-00255 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CheckPing())
-00256 {
-00257 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00258 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00259 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00260 }
-00261 }
-00262 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].HasBufferedOutput())
-00263 {
-00264 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].FlushWriteBuf())
-00265 {
-00266 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00267 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetWriteError().c_str());
-00268 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00269 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00270 }
-00271 }
-00272 }
-00273 }
-00274
-<a name="l00275"></a><a class="code" href="classserverrec.html#a7">00275</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a7">serverrec::SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* sendhost)
-00276 {
-00277 <span class="keywordflow">if</span> ((!message) || (!sendhost))
-00278 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00279
-00280 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
-00281
-00282 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
-00283 {
-00284 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
-00285 }
-00286
-00287 <span class="keywordflow">if</span> (cn)
-00288 {
-00289 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00290
-00291 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00292 {
-00293 <span class="comment">// fix: can only route one hop to avoid a loop</span>
-00294 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
-00295 {
-00296 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Not a double reroute"</span>);
-00297 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
-00298 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
-00299 {
-00300 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
-00301 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
-00302 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
-00303 {
-00304 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
-00305 {
-00306 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
-00307 <span class="keywordtype">char</span> buffer[MAXBUF];
-00308 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
-00309 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
-00310 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00311 }
-00312 }
+00203 <span class="keywordflow">else</span>
+00204 {
+00205 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00206 WriteOpers(<span class="stringliteral">"Could not create outbound connection to %s:%d"</span>,targethost,newport);
+00207 }
+00208 }
+00209 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00210 }
+00211
+<a name="l00212"></a><a class="code" href="classserverrec.html#a10">00212</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a10">serverrec::AddIncoming</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport)
+00213 {
+00214 <a class="code" href="classircd__connector.html">ircd_connector</a> connector;
+00215
+00216 <span class="comment">// targethost has been turned into an ip...</span>
+00217 <span class="comment">// we dont want this as the server name.</span>
+00218 connector.<a class="code" href="classircd__connector.html#a3">SetServerName</a>(targethost);
+00219 connector.<a class="code" href="classircd__connector.html#a5">SetDescriptor</a>(newfd);
+00220 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
+00221 <span class="keywordtype">int</span> flags = fcntl(newfd, F_GETFL, 0);
+00222 fcntl(newfd, F_SETFL, flags | O_NONBLOCK);
+00223 <span class="keywordtype">int</span> sendbuf = 32768;
+00224 <span class="keywordtype">int</span> recvbuf = 32768;
+00225 setsockopt(newfd,SOL_SOCKET,SO_SNDBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;sendbuf,<span class="keyword">sizeof</span>(sendbuf));
+00226 setsockopt(newfd,SOL_SOCKET,SO_RCVBUF,(<span class="keyword">const</span> <span class="keywordtype">void</span> *)&amp;recvbuf,<span class="keyword">sizeof</span>(sendbuf));
+00227 connector.<a class="code" href="classircd__connector.html#a13">SetHostAndPort</a>(targethost, sourceport);
+00228 connector.<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>);
+00229 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::AddIncoming() Added connection: %s:%d"</span>,targethost,sourceport);
+00230 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.push_back(connector);
+00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00232 }
+00233
+<a name="l00234"></a><a class="code" href="classserverrec.html#a6">00234</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a6">serverrec::TerminateLink</a>(<span class="keywordtype">char</span>* targethost)
+00235 {
+00236 <span class="comment">// this locates the targethost in the serverrec::connectors vector of the class,</span>
+00237 <span class="comment">// and terminates it by sending it an SQUIT token and closing its descriptor.</span>
+00238 <span class="comment">// TerminateLink with a null string causes a terminate of ALL links</span>
+00239 }
+00240
+00241 <span class="comment">// Returns a pointer to the connector for 'host'</span>
+<a name="l00242"></a><a class="code" href="classserverrec.html#a9">00242</a> <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classserverrec.html#a9">serverrec::FindHost</a>(std::string findhost)
+00243 {
+00244 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00245 {
+00246 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == findhost)
+00247 {
+00248 <span class="keywordflow">return</span> &amp;this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i];
+00249 }
+00250 }
+00251 <span class="keywordflow">return</span> NULL;
+00252 }
+00253
+00254
+00255 <span class="comment">// Checks to see if we can still reach a server at all (e.g. is it in ANY routing table?)</span>
+<a name="l00256"></a><a class="code" href="servers_8cpp.html#a5">00256</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(std::string servername)
+00257 {
+00258 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++) <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00259 {
+00260 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername.c_str());
+00261 <span class="keywordflow">if</span> (cn)
+00262 {
+00263 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00264 {
+00265 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00266 {
+00267 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00268 {
+00269 <span class="keywordflow">if</span> (!strcasecmp(<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;connectors[k].routes[m].c_str(),servername.c_str()))
+00270 {
+00271 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00272 }
+00273 }
+00274 }
+00275 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00276 }
+00277 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00278 }
+00279 }
+00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00281 }
+00282
+00283
+<a name="l00284"></a><a class="code" href="classserverrec.html#a11">00284</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a11">serverrec::FlushWriteBuffers</a>()
+00285 {
+00286 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00287 {
+00288 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00289 <span class="keywordflow">if</span> ((this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() == <a class="code" href="connection_8h.html#a4">STATE_NOAUTH_OUTBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].age+30))
+00290 {
+00291 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00292 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00294 <span class="keywordflow">return</span>;
+00295 }
+00296 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetState() == <a class="code" href="connection_8h.html#a3">STATE_NOAUTH_INBOUND</a>) &amp;&amp; (<a class="code" href="channels_8cpp.html#a36">TIME</a> &gt; this-&gt;connectors[i].age+30))
+00297 {
+00298 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00299 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00300 <span class="keywordflow">return</span>;
+00301 }
+00302 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00303 {
+00304 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 this-&gt;connectors[i].CloseConnection();
+00308 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00309 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00310 {
+00311 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00312 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
00313 }
-00314 }
-00315 <span class="keywordtype">char</span> buffer[MAXBUF];
-00316 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
-00317 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
-00318 NetSendToAllExcept(sendhost,buffer);
-00319 DoSplit(sendhost);
-00320 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00321 }
-00322
-00323 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00324 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
-00325 {
-00326 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
-00327 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00328 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00329 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00330 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00331 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00332 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
-00333 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00334 }
-00335 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
-00336 {
-00337 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
-00338 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00339 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
-00340 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
-00341 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00342 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
-00343 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
-00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
-00345 }
-00346 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00347 }
-00348 }
-00349
-<a name="l00350"></a><a class="code" href="servers_8cpp.html#a3">00350</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(std::string sum)
-00351 {
-00352 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a2">xsums</a>.size(); i++)
-00353 {
-00354 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>[i] == sum)
-00355 {
-00356 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00357 }
-00358 }
-00359 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>.size() &gt;= 128)
-00360 {
-00361 <a class="code" href="servers_8cpp.html#a2">xsums</a>.pop_front();
-00362 }
-00363 <a class="code" href="servers_8cpp.html#a2">xsums</a>.push_back(sum);
-00364 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00365 }
-00366
-00367 <span class="comment">// receives a packet from any where there is data waiting, first come, first served</span>
-00368 <span class="comment">// fills the message and host values with the host where the data came from.</span>
-00369
-<a name="l00370"></a><a class="code" href="classserverrec.html#a8">00370</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a8">serverrec::RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* recvhost,std::deque&lt;std::string&gt; &amp;sums)
-00371 {
-00372 <span class="keywordtype">char</span> data[65536];
-00373 memset(data, 0, 65536);
-00374 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
-00375 {
-00376 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
-00377 {
-00378 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
-00379 <span class="keywordtype">int</span> rcvsize = 0;
-00380
-00381 <span class="comment">// check if theres any data on this socket</span>
-00382 <span class="comment">// if not, continue onwards to the next.</span>
-00383 pollfd polls;
-00384 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
-00385 polls.events = POLLIN;
-00386 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
-00387 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
-00388
-00389 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
-00390 data[rcvsize] = <span class="charliteral">'\0'</span>;
-00391 <span class="keywordflow">if</span> (rcvsize == -1)
-00392 {
-00393 <span class="keywordflow">if</span> (errno != EAGAIN)
-00394 {
-00395 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
-00396 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00397 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00398 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00399 }
-00400 }
-00401 <span class="keywordtype">int</span> pushed = 0;
-00402 <span class="keywordflow">if</span> (rcvsize &gt; 0)
-00403 {
-00404 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
-00405 {
-00406 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
-00407 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
-00408 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
-00409 }
-00410 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00411 {
-00412 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
-00413 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
-00414 {
-00415 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
-00416 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
-00417 {
-00418 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
-00419 {
-00420 std::string orig = text;
-00421 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Original: %s"</span>,text.c_str());
-00422 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00423 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
-00424 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
-00425 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
-00426 {
-00427 sums.push_back(<span class="stringliteral">"*"</span>);
-00428 text = orig;
-00429 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
-00430 }
-00431 <span class="keywordflow">else</span>
-00432 {
-00433 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
-00434 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a3">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
-00435 {
-00436 <span class="comment">// we don't accept dupes</span>
-00437 <span class="keywordflow">continue</span>;
-00438 }
-00439 sums.push_back(sum.c_str());
-00440 }
-00441 }
-00442 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
-00443 messages.push_back(text.c_str());
-00444 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
-00445 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
-00446 }
-00447 }
-00448 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00449 }
-00450 }
-00451 }
-00452 }
-00453 <span class="comment">// nothing new yet -- message and host will be undefined</span>
-00454 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00455 }
-00456
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+00314 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00315 }
+00316 }
+00317 <span class="keywordflow">if</span> (this-&gt;connectors[i].HasBufferedOutput())
+00318 {
+00319 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00320 {
+00321 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00322 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,this-&gt;connectors[i].GetServerName().c_str(),this-&gt;connectors[i].GetWriteError().c_str());
+00323 this-&gt;connectors[i].CloseConnection();
+00324 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00325 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00326 {
+00327 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00328 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00329 }
+00330 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00331 }
+00332 }
+00333 }
+00334 }
+00335
+<a name="l00336"></a><a class="code" href="classserverrec.html#a7">00336</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a7">serverrec::SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* sendhost)
+00337 {
+00338 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00339 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00340
+00341 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00342
+00343 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00344 {
+00345 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00346 }
+00347
+00348 <span class="keywordflow">if</span> (cn)
+00349 {
+00350 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"main: serverrec::SendPacket() sent '%s' to %s"</span>,message,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00351
+00352 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00353 {
+00354 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00355 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00356 {
+00357 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Not a double reroute"</span>);
+00358 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00359 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00360 {
+00361 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
+00362 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00363 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00364 {
+00365 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00366 {
+00367 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
+00368 <span class="keywordtype">char</span> buffer[MAXBUF];
+00369 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00370 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00371 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00372 }
+00373 }
+00374 }
+00375 }
+00376 <span class="keywordtype">char</span> buffer[MAXBUF];
+00377 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00378 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00379 NetSendToAllExcept(sendhost,buffer);
+00380 DoSplit(sendhost);
+00381 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00382 }
+00383
+00384 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00385 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00386 {
+00387 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00388 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;AddWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00389 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00390 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00391 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00392 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00393 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00394 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00395 }
+00396 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00397 {
+00398 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00399 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"cn-&gt;FlushWriteBuf() failed for serverrec::SendPacket(): %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00400 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00401 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00402 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00403 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s, link inactive and retrying: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str(),cn-&gt;<a class="code" href="classircd__connector.html#a24">GetWriteError</a>().c_str());
+00404 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00405 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00406 }
+00407 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00408 }
+00409 }
+00410
+<a name="l00411"></a><a class="code" href="servers_8cpp.html#a6">00411</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(std::string sum)
+00412 {
+00413 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a4">xsums</a>.size(); i++)
+00414 {
+00415 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00416 {
+00417 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00418 }
+00419 }
+00420 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00421 {
+00422 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00423 }
+00424 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00425 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00426 }
+00427
+00428 <span class="comment">// receives a packet from any where there is data waiting, first come, first served</span>
+00429 <span class="comment">// fills the message and host values with the host where the data came from.</span>
+00430
+<a name="l00431"></a><a class="code" href="classserverrec.html#a8">00431</a> <span class="keywordtype">bool</span> <a class="code" href="classserverrec.html#a8">serverrec::RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* recvhost,std::deque&lt;std::string&gt; &amp;sums)
+00432 {
+00433 <span class="keywordtype">char</span> data[65536];
+00434 memset(data, 0, 65536);
+00435 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00436 {
+00437 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00438 {
+00439 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00440 <span class="keywordtype">int</span> rcvsize = 0;
+00441
+00442 <span class="comment">// check if theres any data on this socket</span>
+00443 <span class="comment">// if not, continue onwards to the next.</span>
+00444 pollfd polls;
+00445 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00446 polls.events = POLLIN;
+00447 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00448 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00449
+00450 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00451 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00452 <span class="keywordflow">if</span> (rcvsize == -1)
+00453 {
+00454 <span class="keywordflow">if</span> (errno != EAGAIN)
+00455 {
+00456 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00457 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00458 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00459 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00460 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00461 {
+00462 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00463 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00464 }
+00465 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00466 }
+00467 }
+00468 <span class="keywordtype">int</span> pushed = 0;
+00469 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00470 {
+00471 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00472 {
+00473 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00474 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00475 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00476 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00477 {
+00478 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00479 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00480 }
+00481 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00482 }
+00483 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00484 {
+00485 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00486 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00487 {
+00488 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00489 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00490 {
+00491 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00492 {
+00493 std::string orig = text;
+00494 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00495 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00496 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00497 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00498 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00499 {
+00500 sums.push_back(<span class="stringliteral">"*"</span>);
+00501 text = orig;
+00502 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00503 }
+00504 <span class="keywordflow">else</span>
+00505 {
+00506 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00507 <span class="keywordflow">if</span> ((<a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(sum)) &amp;&amp; (sum != <span class="stringliteral">"*"</span>))
+00508 {
+00509 <span class="comment">// we don't accept dupes</span>
+00510 <span class="keywordflow">continue</span>;
+00511 }
+00512 sums.push_back(sum.c_str());
+00513 }
+00514 }
+00515 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00516 messages.push_back(text.c_str());
+00517 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00518 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
+00519 }
+00520 }
+00521 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00522 }
+00523 }
+00524 }
+00525 }
+00526 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00527 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00528 }
+00529
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/servers_8cpp.html b/docs/module-doc/servers_8cpp.html
index c1a2a0c12..18a72eb00 100644
--- a/docs/module-doc/servers_8cpp.html
+++ b/docs/module-doc/servers_8cpp.html
@@ -34,18 +34,24 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl
<a href="servers_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a3">already_have_sum</a> (std::string sum)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a5">IsRoutable</a> (std::string servername)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a6">already_have_sum</a> (std::string sum)</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a0">TIME</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a1">MaxConn</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::deque&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a2">xsums</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classserverrec.html">serverrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a2">me</a> [32]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a3">has_been_netsplit</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::deque&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="servers_8cpp.html#a4">xsums</a></td></tr>
</table>
<hr><h2>Function Documentation</h2>
-<a name="a3" doxytag="servers.cpp::already_have_sum"></a><p>
+<a name="a6" doxytag="servers.cpp::already_have_sum"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -73,31 +79,119 @@ Include dependency graph for servers.cpp:<p><center><img src="servers_8cpp__incl
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00350">350</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00411">411</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="servers_8cpp-source.html#l00040">xsums</a>.
+References <a class="el" href="servers_8cpp-source.html#l00044">xsums</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00370">serverrec::RecvPacket()</a>.
+Referenced by <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>.
<p>
-<div class="fragment"><pre>00351 {
-00352 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a2">xsums</a>.size(); i++)
-00353 {
-00354 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>[i] == sum)
-00355 {
-00356 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00357 }
-00358 }
-00359 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a2">xsums</a>.size() &gt;= 128)
-00360 {
-00361 <a class="code" href="servers_8cpp.html#a2">xsums</a>.pop_front();
-00362 }
-00363 <a class="code" href="servers_8cpp.html#a2">xsums</a>.push_back(sum);
-00364 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00365 }
+<div class="fragment"><pre>00412 {
+00413 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="servers_8cpp.html#a4">xsums</a>.size(); i++)
+00414 {
+00415 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00416 {
+00417 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00418 }
+00419 }
+00420 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00421 {
+00422 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00423 }
+00424 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00425 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00426 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a5" doxytag="servers.cpp::IsRoutable"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool IsRoutable </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>servername</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00256">256</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8h-source.html#l00081">serverrec::connectors</a>, <a class="el" href="servers_8cpp-source.html#l00242">serverrec::FindHost()</a>, <a class="el" href="classircd__connector.html#a6">ircd_connector::GetState()</a>, <a class="el" href="channels_8cpp-source.html#l00097">me</a>, and <a class="el" href="connection_8h-source.html#l00035">STATE_DISCONNECTED</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>.
+<p>
+<div class="fragment"><pre>00257 {
+00258 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++) <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00259 {
+00260 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(servername.c_str());
+00261 <span class="keywordflow">if</span> (cn)
+00262 {
+00263 <span class="keywordflow">if</span> (cn-&gt;<a class="code" href="classircd__connector.html#a6">GetState</a>() == <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00264 {
+00265 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; k &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); k++)
+00266 {
+00267 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> m = 0; m &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[k].routes.size(); m++)
+00268 {
+00269 <span class="keywordflow">if</span> (!strcasecmp(me[x]-&gt;connectors[k].routes[m].c_str(),servername.c_str()))
+00270 {
+00271 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00272 }
+00273 }
+00274 }
+00275 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00276 }
+00277 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00278 }
+00279 }
+00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00281 }
</pre></div> </td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
+<a name="a3" doxytag="servers.cpp::has_been_netsplit"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="servers_8cpp.html#a3">has_been_netsplit</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00042">42</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>. </td>
+ </tr>
+</table>
<a name="a1" doxytag="servers.cpp::MaxConn"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -121,7 +215,31 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00370">serverrec::Re
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00038">38</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::CreateListener()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00081">serverrec::CreateListener()</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="servers.cpp::me"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classserverrec.html">serverrec</a>* <a class="el" href="servers_8cpp.html#a2">me</a>[32]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="servers_8cpp-source.html#l00040">40</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td>
</tr>
</table>
<a name="a0" doxytag="servers.cpp::TIME"></a><p>
@@ -148,13 +266,13 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00077">serverrec::Cr
Definition at line <a class="el" href="servers_8cpp-source.html#l00037">37</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td>
</tr>
</table>
-<a name="a2" doxytag="servers.cpp::xsums"></a><p>
+<a name="a4" doxytag="servers.cpp::xsums"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> std::deque&lt;std::string&gt; <a class="el" href="servers_8cpp.html#a2">xsums</a>
+ <td class="md" nowrap valign="top"> std::deque&lt;std::string&gt; <a class="el" href="servers_8cpp.html#a4">xsums</a>
</table>
</td>
</tr>
@@ -169,12 +287,12 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00037">37</a> o
<p>
<p>
-Definition at line <a class="el" href="servers_8cpp-source.html#l00040">40</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+Definition at line <a class="el" href="servers_8cpp-source.html#l00044">44</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00350">already_have_sum()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00411">already_have_sum()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:15 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:46 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>
diff --git a/docs/module-doc/servers_8h-source.html b/docs/module-doc/servers_8h-source.html
index 1055e7577..4a1b9c6d4 100644
--- a/docs/module-doc/servers_8h-source.html
+++ b/docs/module-doc/servers_8h-source.html
@@ -79,7 +79,7 @@
00124
00125 <span class="preprocessor">#endif</span>
00126 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:06 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/servers_8h.html b/docs/module-doc/servers_8h.html
index 2056aaa3d..41117006b 100644
--- a/docs/module-doc/servers_8h.html
+++ b/docs/module-doc/servers_8h.html
@@ -86,7 +86,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of
Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:17 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:47 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>
diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
index fc7c2e98f..cc697ac07 100644
--- a/docs/module-doc/structdns__ip4list-members.html
+++ b/docs/module-doc/structdns__ip4list-members.html
@@ -8,7 +8,7 @@
<h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o0">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o1">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:06 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>
diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html
index d3ab6ab3a..07ccf9a28 100644
--- a/docs/module-doc/structdns__ip4list.html
+++ b/docs/module-doc/structdns__ip4list.html
@@ -67,7 +67,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:06 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>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
index ea4697b0c..fd8e1806d 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structirc_1_1InAddr__HashComp.html#a0">operator()</a>(const in_addr &amp;s1, const in_addr &amp;s2) const</td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html
index 46d637fe3..abbbc4973 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp.html
@@ -67,7 +67,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:55 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:42 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>
diff --git a/docs/module-doc/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html
index baa7a7655..c87ace488 100644
--- a/docs/module-doc/structirc_1_1StrHashComp-members.html
+++ b/docs/module-doc/structirc_1_1StrHashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structirc_1_1StrHashComp.html#a0">operator()</a>(const std::string &amp;s1, const std::string &amp;s2) const</td><td><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structirc_1_1StrHashComp.html b/docs/module-doc/structirc_1_1StrHashComp.html
index fd1a3ba63..31dc57b9b 100644
--- a/docs/module-doc/structirc_1_1StrHashComp.html
+++ b/docs/module-doc/structirc_1_1StrHashComp.html
@@ -67,7 +67,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html
index 74e9777ac..f2c2c7306 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits-members.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html
@@ -11,7 +11,7 @@
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e4">find</a>(const char *s1, int n, char c)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e2">lt</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#e1">ne</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html
index 0170085fb..d2c6e3a97 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits.html
@@ -259,7 +259,7 @@ Check if two chars do NOT match.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
index 773c94931..913cfe695 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>nspace::hash&lt; in_addr &gt; Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">operator()</a>(const struct in_addr &amp;a) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
index b6b2af8d0..295a6d095 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html
@@ -48,7 +48,7 @@
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
index d4ae6660c..a7a369b3d 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>nspace::hash&lt; string &gt; Member List</h1>This is the complete list of members for <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">operator()</a>(const string &amp;s) const</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
index 56e014d29..442cde551 100644
--- a/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
+++ b/docs/module-doc/structnspace_1_1nspace_1_1hash_3_01string_01_4.html
@@ -48,7 +48,7 @@
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:32:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:43:43 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>
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 2d74edf36..51c1a3e0d 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -300,7 +300,7 @@
00293 {
00294 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a>;
00295 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html
index bdb475f34..f61cd4aa5 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -78,7 +78,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00027">27</a> of
Definition at line <a class="el" href="users_8cpp-source.html#l00029">29</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:20 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:49 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>
diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 16bbb2ee4..cda334ba2 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -185,7 +185,7 @@
00336 };
00337
00338 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html
index 739cbb08d..13f7aeb5c 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -267,7 +267,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00094">94</a> of fi
Referenced by <a class="el" href="users_8cpp-source.html#l00104">userrec::GetInviteList()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:24 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:51 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>
diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index fb8765c98..cb86c3dfd 100644
--- a/docs/module-doc/xline_8h-source.html
+++ b/docs/module-doc/xline_8h-source.html
@@ -123,7 +123,7 @@
00157 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a28">sync_xlines</a>(<a class="code" href="classserverrec.html">serverrec</a>* serv, <span class="keywordtype">char</span>* tcp_host);
00158
00159 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:30:07 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:14 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>
diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html
index 5428c7969..e0f1b123e 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -1109,7 +1109,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00714">Server::DelZL
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue May 24 02:31:26 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 21:42:52 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>