summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man/man3/Admin.36
-rw-r--r--docs/man/man3/BanItem.32
-rw-r--r--docs/man/man3/BoolSet.3138
-rw-r--r--docs/man/man3/ConfigReader.3267
-rw-r--r--docs/man/man3/ConnectClass.32
-rw-r--r--docs/man/man3/DNS.32
-rw-r--r--docs/man/man3/ELine.32
-rw-r--r--docs/man/man3/Event.340
-rw-r--r--docs/man/man3/ExemptItem.32
-rw-r--r--docs/man/man3/ExtMode.318
-rw-r--r--docs/man/man3/Extensible.32
-rw-r--r--docs/man/man3/FileReader.380
-rw-r--r--docs/man/man3/GLine.32
-rw-r--r--docs/man/man3/HostItem.32
-rw-r--r--docs/man/man3/InviteItem.32
-rw-r--r--docs/man/man3/Invited.32
-rw-r--r--docs/man/man3/KLine.32
-rw-r--r--docs/man/man3/ModeParameter.32
-rw-r--r--docs/man/man3/Module.3226
-rw-r--r--docs/man/man3/ModuleFactory.32
-rw-r--r--docs/man/man3/ModuleMessage.32
-rw-r--r--docs/man/man3/QLine.32
-rw-r--r--docs/man/man3/Request.352
-rw-r--r--docs/man/man3/Server.3784
-rw-r--r--docs/man/man3/Version.36
-rw-r--r--docs/man/man3/WhoWasUser.326
-rw-r--r--docs/man/man3/XLine.32
-rw-r--r--docs/man/man3/ZLine.32
-rw-r--r--docs/man/man3/base.h.324
-rw-r--r--docs/man/man3/channels.cpp.310
-rw-r--r--docs/man/man3/channels.h.32
-rw-r--r--docs/man/man3/chanrec.32
-rw-r--r--docs/man/man3/classbase.32
-rw-r--r--docs/man/man3/command_t.32
-rw-r--r--docs/man/man3/commands.h.32
-rw-r--r--docs/man/man3/connection.32
-rw-r--r--docs/man/man3/connection.h.32
-rw-r--r--docs/man/man3/ctables.h.32
-rw-r--r--docs/man/man3/dns.h.32
-rw-r--r--docs/man/man3/dns_ip4list.32
-rw-r--r--docs/man/man3/hashcomp.h.32
-rw-r--r--docs/man/man3/irc.32
-rw-r--r--docs/man/man3/irc_InAddr_HashComp.32
-rw-r--r--docs/man/man3/irc_StrHashComp.32
-rw-r--r--docs/man/man3/irc_irc_char_traits.32
-rw-r--r--docs/man/man3/ircd_connector.34
-rw-r--r--docs/man/man3/message.h.32
-rw-r--r--docs/man/man3/mode.h.32
-rw-r--r--docs/man/man3/modules.cpp.3264
-rw-r--r--docs/man/man3/modules.h.32
-rw-r--r--docs/man/man3/nspace.32
-rw-r--r--docs/man/man3/nspace_nspace_hash_ in_addr _.32
-rw-r--r--docs/man/man3/nspace_nspace_hash_ string _.32
-rw-r--r--docs/man/man3/serverrec.3489
-rw-r--r--docs/man/man3/servers.cpp.374
-rw-r--r--docs/man/man3/servers.h.32
-rw-r--r--docs/man/man3/std.32
-rw-r--r--docs/man/man3/std_char_traits.32
-rw-r--r--docs/man/man3/ucrec.32
-rw-r--r--docs/man/man3/userrec.3546
-rw-r--r--docs/man/man3/users.cpp.310
-rw-r--r--docs/man/man3/users.h.32
-rw-r--r--docs/man/man3/xline.h.32
-rw-r--r--docs/module-doc/annotated.html3
-rw-r--r--docs/module-doc/base_8h-source.html37
-rw-r--r--docs/module-doc/base_8h.html59
-rw-r--r--docs/module-doc/channels_8cpp-source.html10
-rw-r--r--docs/module-doc/channels_8cpp.html92
-rw-r--r--docs/module-doc/channels_8cpp__incl.gifbin37708 -> 37780 bytes
-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.html6
-rw-r--r--docs/module-doc/classBanItem-members.html2
-rw-r--r--docs/module-doc/classBanItem.html2
-rw-r--r--docs/module-doc/classBoolSet-members.html25
-rw-r--r--docs/module-doc/classBoolSet.html422
-rw-r--r--docs/module-doc/classBoolSet__coll__graph.gifbin0 -> 818 bytes
-rw-r--r--docs/module-doc/classConfigReader-members.html2
-rw-r--r--docs/module-doc/classConfigReader.html279
-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.html46
-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.html30
-rw-r--r--docs/module-doc/classExtensible-members.html2
-rw-r--r--docs/module-doc/classExtensible.html2
-rw-r--r--docs/module-doc/classFileReader-members.html2
-rw-r--r--docs/module-doc/classFileReader.html82
-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.html4
-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.html228
-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.html60
-rw-r--r--docs/module-doc/classServer-members.html2
-rw-r--r--docs/module-doc/classServer.html812
-rw-r--r--docs/module-doc/classVersion-members.html2
-rw-r--r--docs/module-doc/classVersion.html6
-rw-r--r--docs/module-doc/classWhoWasUser-members.html2
-rw-r--r--docs/module-doc/classWhoWasUser.html26
-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.html12
-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.html30
-rw-r--r--docs/module-doc/classes.html38
-rw-r--r--docs/module-doc/classircd__connector-members.html2
-rw-r--r--docs/module-doc/classircd__connector.html16
-rw-r--r--docs/module-doc/classserverrec-members.html2
-rw-r--r--docs/module-doc/classserverrec.html501
-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.html6
-rw-r--r--docs/module-doc/classuserrec-members.html31
-rw-r--r--docs/module-doc/classuserrec.html762
-rw-r--r--docs/module-doc/classuserrec__coll__graph.gifbin12932 -> 13310 bytes
-rw-r--r--docs/module-doc/commands_8h-source.html2
-rw-r--r--docs/module-doc/commands_8h.html6
-rw-r--r--docs/module-doc/connection_8h-source.html2
-rw-r--r--docs/module-doc/connection_8h.html8
-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.html60
-rw-r--r--docs/module-doc/functions_func.html25
-rw-r--r--docs/module-doc/functions_vars.html41
-rw-r--r--docs/module-doc/globals.html137
-rw-r--r--docs/module-doc/globals_defs.html2
-rw-r--r--docs/module-doc/globals_func.html32
-rw-r--r--docs/module-doc/globals_type.html16
-rw-r--r--docs/module-doc/globals_vars.html97
-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.html3
-rw-r--r--docs/module-doc/inherit__graph__0.gifbin761 -> 367 bytes
-rw-r--r--docs/module-doc/inherit__graph__1.gifbin12716 -> 761 bytes
-rw-r--r--docs/module-doc/inherit__graph__2.gifbin304 -> 12716 bytes
-rw-r--r--docs/module-doc/inherit__graph__3.gifbin397 -> 304 bytes
-rw-r--r--docs/module-doc/inherit__graph__4.gifbin608 -> 397 bytes
-rw-r--r--docs/module-doc/inherit__graph__5.gifbin531 -> 608 bytes
-rw-r--r--docs/module-doc/inherit__graph__6.gifbin619 -> 531 bytes
-rw-r--r--docs/module-doc/inherit__graph__7.gifbin590 -> 619 bytes
-rw-r--r--docs/module-doc/inherit__graph__8.gifbin513 -> 590 bytes
-rw-r--r--docs/module-doc/inherit__graph__9.gifbin0 -> 513 bytes
-rw-r--r--docs/module-doc/inherits.html24
-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.html14
-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.html1865
-rw-r--r--docs/module-doc/modules_8cpp.html656
-rw-r--r--docs/module-doc/modules_8cpp__incl.gifbin40960 -> 40959 bytes
-rw-r--r--docs/module-doc/modules_8h-source.html2
-rw-r--r--docs/module-doc/modules_8h.html36
-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.html573
-rw-r--r--docs/module-doc/servers_8cpp.html84
-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/tree.html2
-rw-r--r--docs/module-doc/users_8cpp-source.html506
-rw-r--r--docs/module-doc/users_8cpp.html36
-rw-r--r--docs/module-doc/users_8h-source.html190
-rw-r--r--docs/module-doc/users_8h.html4
-rw-r--r--docs/module-doc/xline_8h-source.html2
-rw-r--r--docs/module-doc/xline_8h.html22
218 files changed, 6131 insertions, 5265 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3
index 18bd6a944..be8818954 100644
--- a/docs/man/man3/Admin.3
+++ b/docs/man/man3/Admin.3
@@ -1,4 +1,4 @@
-.TH "Admin" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Admin" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -43,10 +43,10 @@ Definition at line 123 of file modules.h.
.PP
.SS "Admin::Admin (std::string name, std::string email, std::string nick)"
.PP
-Definition at line 247 of file modules.cpp.
+Definition at line 249 of file modules.cpp.
.PP
.nf
-247 : Name(name), Email(email), Nick(nick) { };
+249 : Name(name), Email(email), Nick(nick) { };
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3
index a2e234890..0fe2819cf 100644
--- a/docs/man/man3/BanItem.3
+++ b/docs/man/man3/BanItem.3
@@ -1,4 +1,4 @@
-.TH "BanItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "BanItem" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/BoolSet.3 b/docs/man/man3/BoolSet.3
new file mode 100644
index 000000000..5089a03bf
--- /dev/null
+++ b/docs/man/man3/BoolSet.3
@@ -0,0 +1,138 @@
+.TH "BoolSet" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
+.ad l
+.nh
+.SH NAME
+BoolSet \- BoolSet is a utility class designed to hold eight bools in a bitmask.
+
+.PP
+.SH SYNOPSIS
+.br
+.PP
+\fC#include <base.h>\fP
+.PP
+.SS "Public Member Functions"
+
+.in +1c
+.ti -1c
+.RI "\fBBoolSet\fP ()"
+.br
+.RI "\fIThe default constructor initializes the BoolSet to all values unset. \fP"
+.ti -1c
+.RI "\fBBoolSet\fP (char bitmask)"
+.br
+.RI "\fIThis constructor copies the default bitmask from a char. \fP"
+.ti -1c
+.RI "void \fBSet\fP (int number)"
+.br
+.RI "\fIThe Set method sets one bool in the set. \fP"
+.ti -1c
+.RI "bool \fBGet\fP (int number)"
+.br
+.RI "\fIThe Get method returns the value of one bool in the set. \fP"
+.ti -1c
+.RI "void \fBUnset\fP (int number)"
+.br
+.RI "\fIThe Unset method unsets one value in the set. \fP"
+.ti -1c
+.RI "void \fBInvert\fP (int number)"
+.br
+.RI "\fIThe Unset method inverts (flips) one value in the set. \fP"
+.ti -1c
+.RI "bool \fBoperator==\fP (\fBBoolSet\fP other)"
+.br
+.RI "\fICompare two BoolSets. \fP"
+.ti -1c
+.RI "\fBBoolSet\fP \fBoperator|\fP (\fBBoolSet\fP other)"
+.br
+.RI "\fIOR two BoolSets together. \fP"
+.ti -1c
+.RI "\fBBoolSet\fP \fBoperator &\fP (\fBBoolSet\fP other)"
+.br
+.RI "\fIAND two BoolSets together. \fP"
+.ti -1c
+.RI "bool \fBoperator=\fP (\fBBoolSet\fP other)"
+.br
+.RI "\fIAssign one BoolSet to another. \fP"
+.in -1c
+.SS "Private Attributes"
+
+.in +1c
+.ti -1c
+.RI "char \fBbits\fP"
+.br
+.in -1c
+.SH "Detailed Description"
+.PP
+BoolSet is a utility class designed to hold eight bools in a bitmask.
+
+Use \fBBoolSet::Set\fP and \fBBoolSet::Get\fP to set and get bools in the bitmask, and Unset and Invert for special operations upon them.
+.PP
+Definition at line 98 of file base.h.
+.SH "Constructor & Destructor Documentation"
+.PP
+.SS "BoolSet::BoolSet ()"
+.PP
+The default constructor initializes the BoolSet to all values unset.
+.SS "BoolSet::BoolSet (char bitmask)"
+.PP
+This constructor copies the default bitmask from a char.
+.SH "Member Function Documentation"
+.PP
+.SS "bool BoolSet::Get (int number)"
+.PP
+The Get method returns the value of one bool in the set. \fBParameters:\fP
+.RS 4
+\fInumber\fP The number of the item to retrieve. This must be between 0 and 7.
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+True if the item is set, false if it is unset.
+.RE
+.PP
+
+.SS "void BoolSet::Invert (int number)"
+.PP
+The Unset method inverts (flips) one value in the set. \fBParameters:\fP
+.RS 4
+\fInumber\fP The number of the item to invert. This must be between 0 and 7.
+.RE
+.PP
+
+.SS "\fBBoolSet\fP BoolSet::operator & (\fBBoolSet\fP other)"
+.PP
+AND two BoolSets together.
+.SS "bool BoolSet::operator= (\fBBoolSet\fP other)"
+.PP
+Assign one BoolSet to another.
+.SS "bool BoolSet::operator== (\fBBoolSet\fP other)"
+.PP
+Compare two BoolSets.
+.SS "\fBBoolSet\fP BoolSet::operator| (\fBBoolSet\fP other)"
+.PP
+OR two BoolSets together.
+.SS "void BoolSet::Set (int number)"
+.PP
+The Set method sets one bool in the set. \fBParameters:\fP
+.RS 4
+\fInumber\fP The number of the item to set. This must be between 0 and 7.
+.RE
+.PP
+
+.SS "void BoolSet::Unset (int number)"
+.PP
+The Unset method unsets one value in the set. \fBParameters:\fP
+.RS 4
+\fInumber\fP The number of the item to set. This must be between 0 and 7.
+.RE
+.PP
+
+.SH "Member Data Documentation"
+.PP
+.SS "char \fBBoolSet::bits\fP\fC [private]\fP"
+.PP
+Definition at line 100 of file base.h.
+
+.SH "Author"
+.PP
+Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3
index 3d7241239..6e9a3bfed 100644
--- a/docs/man/man3/ConfigReader.3
+++ b/docs/man/man3/ConfigReader.3
@@ -1,4 +1,4 @@
-.TH "ConfigReader" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConfigReader" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -89,213 +89,214 @@ Definition at line 1150 of file modules.h.
.PP
.SS "ConfigReader::ConfigReader ()"
.PP
-Default constructor. This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.Definition at line 819 of file modules.cpp.
+Default constructor. This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.Definition at line 821 of file modules.cpp.
.PP
-References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
+References cache, CONF_FILE_NOT_FOUND, error, errorlog, include_stack, and readerror.
.PP
.nf
-820 {
-821 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-822 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-823 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
-824 if (!this->readerror)
-825 this->error = CONF_FILE_NOT_FOUND;
-826 }
+822 {
+823 include_stack.clear();
+824 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+825 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+826 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
+827 if (!this->readerror)
+828 this->error = CONF_FILE_NOT_FOUND;
+829 }
.fi
.SS "ConfigReader::ConfigReader (std::string filename)"
.PP
-Overloaded constructor. This constructor initialises the ConfigReader class to read a user-specified config fileDefinition at line 838 of file modules.cpp.
+Overloaded constructor. This constructor initialises the ConfigReader class to read a user-specified config fileDefinition at line 841 of file modules.cpp.
.PP
References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
.PP
.nf
-839 {
-840 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-841 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-842 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
-843 if (!this->readerror)
-844 this->error = CONF_FILE_NOT_FOUND;
-845 };
+842 {
+843 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+844 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+845 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
+846 if (!this->readerror)
+847 this->error = CONF_FILE_NOT_FOUND;
+848 };
.fi
.SS "ConfigReader::~\fBConfigReader\fP ()"
.PP
-Default destructor. This method destroys the ConfigReader class.Definition at line 829 of file modules.cpp.
+Default destructor. This method destroys the ConfigReader class.Definition at line 832 of file modules.cpp.
.PP
References cache, and errorlog.
.PP
.nf
-830 {
-831 if (this->cache)
-832 delete this->cache;
-833 if (this->errorlog)
-834 delete this->errorlog;
-835 }
+833 {
+834 if (this->cache)
+835 delete this->cache;
+836 if (this->errorlog)
+837 delete this->errorlog;
+838 }
.fi
.SH "Member Function Documentation"
.PP
.SS "void ConfigReader::DumpErrors (bool bail, \fBuserrec\fP * user)"
.PP
-Dumps the list of errors in a config file to an output location. If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers.Definition at line 916 of file modules.cpp.
+Dumps the list of errors in a config file to an output location. If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers.Definition at line 919 of file modules.cpp.
.PP
References errorlog, connection::fd, and userrec::nick.
.PP
.nf
-917 {
-918 if (bail)
-919 {
-920 printf('There were errors in your configuration:\n%s',errorlog->str().c_str());
-921 exit(0);
-922 }
-923 else
-924 {
-925 char dataline[1024];
-926 if (user)
-927 {
-928 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick);
-929 while (!errorlog->eof())
-930 {
-931 errorlog->getline(dataline,1024);
-932 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline);
-933 }
-934 }
-935 else
-936 {
-937 WriteOpers('There were errors in the configuration file:',user->nick);
-938 while (!errorlog->eof())
-939 {
-940 errorlog->getline(dataline,1024);
-941 WriteOpers(dataline);
-942 }
-943 }
-944 return;
-945 }
-946 }
+920 {
+921 if (bail)
+922 {
+923 printf('There were errors in your configuration:\n%s',errorlog->str().c_str());
+924 exit(0);
+925 }
+926 else
+927 {
+928 char dataline[1024];
+929 if (user)
+930 {
+931 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick);
+932 while (!errorlog->eof())
+933 {
+934 errorlog->getline(dataline,1024);
+935 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline);
+936 }
+937 }
+938 else
+939 {
+940 WriteOpers('There were errors in the configuration file:',user->nick);
+941 while (!errorlog->eof())
+942 {
+943 errorlog->getline(dataline,1024);
+944 WriteOpers(dataline);
+945 }
+946 }
+947 return;
+948 }
+949 }
.fi
.SS "int ConfigReader::Enumerate (std::string tag)"
.PP
-Counts the number of times a given tag appears in the config file. This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of \fBConfigReader::ReadValue\fP to loop through all copies of a multiple instance tag.Definition at line 949 of file modules.cpp.
+Counts the number of times a given tag appears in the config file. This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of \fBConfigReader::ReadValue\fP to loop through all copies of a multiple instance tag.Definition at line 952 of file modules.cpp.
.PP
References cache.
.PP
.nf
-950 {
-951 return EnumConf(cache,tag.c_str());
-952 }
+953 {
+954 return EnumConf(cache,tag.c_str());
+955 }
.fi
.SS "int ConfigReader::EnumerateValues (std::string tag, int index)"
.PP
-Returns the number of items within a tag. For example if the tag was <test tag='blah' data='foo'> then this function would return 2. Spaces and newlines both qualify as valid seperators between values.Definition at line 954 of file modules.cpp.
+Returns the number of items within a tag. For example if the tag was <test tag='blah' data='foo'> then this function would return 2. Spaces and newlines both qualify as valid seperators between values.Definition at line 957 of file modules.cpp.
.PP
References cache.
.PP
.nf
-955 {
-956 return EnumValues(cache, tag.c_str(), index);
-957 }
+958 {
+959 return EnumValues(cache, tag.c_str(), index);
+960 }
.fi
.SS "long ConfigReader::GetError ()"
.PP
-Returns the last error to occur. Valid errors can be found by looking in \fBmodules.h\fP. Any nonzero value indicates an error condition. A call to \fBGetError()\fP resets the error flag back to 0.Definition at line 909 of file modules.cpp.
+Returns the last error to occur. Valid errors can be found by looking in \fBmodules.h\fP. Any nonzero value indicates an error condition. A call to \fBGetError()\fP resets the error flag back to 0.Definition at line 912 of file modules.cpp.
.PP
References error.
.PP
.nf
-910 {
-911 long olderr = this->error;
-912 this->error = 0;
-913 return olderr;
-914 }
+913 {
+914 long olderr = this->error;
+915 this->error = 0;
+916 return olderr;
+917 }
.fi
.SS "bool ConfigReader::ReadFlag (std::string tag, std::string name, int index)"
.PP
-Retrieves a boolean value from the config file. This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values '1', 'yes' and 'true' in the config file count as true to ReadFlag, and any other value counts as false.Definition at line 863 of file modules.cpp.
+Retrieves a boolean value from the config file. This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values '1', 'yes' and 'true' in the config file count as true to ReadFlag, and any other value counts as false.Definition at line 866 of file modules.cpp.
.PP
References cache, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-864 {
-865 char val[MAXBUF];
-866 char t[MAXBUF];
-867 char n[MAXBUF];
-868 strlcpy(t,tag.c_str(),MAXBUF);
-869 strlcpy(n,name.c_str(),MAXBUF);
-870 int res = ReadConf(cache,t,n,index,val);
-871 if (!res)
-872 {
-873 this->error = CONF_VALUE_NOT_FOUND;
-874 return false;
-875 }
-876 std::string s = val;
-877 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1'));
-878 }
+867 {
+868 char val[MAXBUF];
+869 char t[MAXBUF];
+870 char n[MAXBUF];
+871 strlcpy(t,tag.c_str(),MAXBUF);
+872 strlcpy(n,name.c_str(),MAXBUF);
+873 int res = ReadConf(cache,t,n,index,val);
+874 if (!res)
+875 {
+876 this->error = CONF_VALUE_NOT_FOUND;
+877 return false;
+878 }
+879 std::string s = val;
+880 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1'));
+881 }
.fi
.SS "long ConfigReader::ReadInteger (std::string tag, std::string name, int index, bool needs_unsigned)"
.PP
-Retrieves an integer value from the config file. This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to \fBGetError()\fP will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and \fBGetError()\fP will return CONF_NOT_UNSIGNEDDefinition at line 880 of file modules.cpp.
+Retrieves an integer value from the config file. This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to \fBGetError()\fP will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and \fBGetError()\fP will return CONF_NOT_UNSIGNEDDefinition at line 883 of file modules.cpp.
.PP
References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-881 {
-882 char val[MAXBUF];
-883 char t[MAXBUF];
-884 char n[MAXBUF];
-885 strlcpy(t,tag.c_str(),MAXBUF);
-886 strlcpy(n,name.c_str(),MAXBUF);
-887 int res = ReadConf(cache,t,n,index,val);
-888 if (!res)
-889 {
-890 this->error = CONF_VALUE_NOT_FOUND;
-891 return 0;
-892 }
-893 for (int i = 0; i < strlen(val); i++)
-894 {
-895 if (!isdigit(val[i]))
-896 {
-897 this->error = CONF_NOT_A_NUMBER;
-898 return 0;
-899 }
-900 }
-901 if ((needs_unsigned) && (atoi(val)<0))
-902 {
-903 this->error = CONF_NOT_UNSIGNED;
-904 return 0;
-905 }
-906 return atoi(val);
-907 }
+884 {
+885 char val[MAXBUF];
+886 char t[MAXBUF];
+887 char n[MAXBUF];
+888 strlcpy(t,tag.c_str(),MAXBUF);
+889 strlcpy(n,name.c_str(),MAXBUF);
+890 int res = ReadConf(cache,t,n,index,val);
+891 if (!res)
+892 {
+893 this->error = CONF_VALUE_NOT_FOUND;
+894 return 0;
+895 }
+896 for (int i = 0; i < strlen(val); i++)
+897 {
+898 if (!isdigit(val[i]))
+899 {
+900 this->error = CONF_NOT_A_NUMBER;
+901 return 0;
+902 }
+903 }
+904 if ((needs_unsigned) && (atoi(val)<0))
+905 {
+906 this->error = CONF_NOT_UNSIGNED;
+907 return 0;
+908 }
+909 return atoi(val);
+910 }
.fi
.SS "std::string ConfigReader::ReadValue (std::string tag, std::string name, int index)"
.PP
-Retrieves a value from the config file. This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.Definition at line 847 of file modules.cpp.
+Retrieves a value from the config file. This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.Definition at line 850 of file modules.cpp.
.PP
References cache, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-848 {
-849 char val[MAXBUF];
-850 char t[MAXBUF];
-851 char n[MAXBUF];
-852 strlcpy(t,tag.c_str(),MAXBUF);
-853 strlcpy(n,name.c_str(),MAXBUF);
-854 int res = ReadConf(cache,t,n,index,val);
-855 if (!res)
-856 {
-857 this->error = CONF_VALUE_NOT_FOUND;
-858 return '';
-859 }
-860 return val;
-861 }
+851 {
+852 char val[MAXBUF];
+853 char t[MAXBUF];
+854 char n[MAXBUF];
+855 strlcpy(t,tag.c_str(),MAXBUF);
+856 strlcpy(n,name.c_str(),MAXBUF);
+857 int res = ReadConf(cache,t,n,index,val);
+858 if (!res)
+859 {
+860 this->error = CONF_VALUE_NOT_FOUND;
+861 return '';
+862 }
+863 return val;
+864 }
.fi
.SS "bool ConfigReader::Verify ()"
.PP
-Returns true if a config file is valid. This method is partially implemented and will only return false if the config file does not exist or could not be opened.Definition at line 959 of file modules.cpp.
+Returns true if a config file is valid. This method is partially implemented and will only return false if the config file does not exist or could not be opened.Definition at line 962 of file modules.cpp.
.PP
References readerror.
.PP
.nf
-960 {
-961 return this->readerror;
-962 }
+963 {
+964 return this->readerror;
+965 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/ConnectClass.3 b/docs/man/man3/ConnectClass.3
index 6ac15ba75..93be4a4ae 100644
--- a/docs/man/man3/ConnectClass.3
+++ b/docs/man/man3/ConnectClass.3
@@ -1,4 +1,4 @@
-.TH "ConnectClass" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConnectClass" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index 294c788b1..73f88fa81 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3
index df7d4f4a7..64bded438 100644
--- a/docs/man/man3/ELine.3
+++ b/docs/man/man3/ELine.3
@@ -1,4 +1,4 @@
-.TH "ELine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ELine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3
index d546cadcc..96754f611 100644
--- a/docs/man/man3/Event.3
+++ b/docs/man/man3/Event.3
@@ -1,4 +1,4 @@
-.TH "Event" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Event" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -63,59 +63,59 @@ Definition at line 194 of file modules.h.
.PP
.SS "Event::Event (char * anydata, \fBModule\fP * src, std::string eventid)"
.PP
-Create a new Event. Definition at line 278 of file modules.cpp.
+Create a new Event. Definition at line 280 of file modules.cpp.
.PP
.nf
-278 : data(anydata), source(src), id(eventid) { };
+280 : data(anydata), source(src), id(eventid) { };
.fi
.SH "Member Function Documentation"
.PP
.SS "char * Event::GetData ()"
.PP
-Get the Event data. Definition at line 280 of file modules.cpp.
+Get the Event data. Definition at line 282 of file modules.cpp.
.PP
References data.
.PP
.nf
-281 {
-282 return this->data;
-283 }
+283 {
+284 return this->data;
+285 }
.fi
.SS "std::string Event::GetEventID ()"
.PP
-Get the event ID. Use this to determine the event type for safe casting of the data Definition at line 296 of file modules.cpp.
+Get the event ID. Use this to determine the event type for safe casting of the data Definition at line 298 of file modules.cpp.
.PP
References id.
.PP
.nf
-297 {
-298 return this->id;
-299 }
+299 {
+300 return this->id;
+301 }
.fi
.SS "\fBModule\fP * Event::GetSource ()"
.PP
-Get the event Source. Definition at line 285 of file modules.cpp.
+Get the event Source. Definition at line 287 of file modules.cpp.
.PP
References source.
.PP
.nf
-286 {
-287 return this->source;
-288 }
+288 {
+289 return this->source;
+290 }
.fi
.SS "char * Event::Send ()\fC [virtual]\fP"
.PP
Send the Event. The return result of an \fBEvent::Send()\fP will always be NULL as no replies are expected. Implements \fBModuleMessage\fP.
.PP
-Definition at line 290 of file modules.cpp.
+Definition at line 292 of file modules.cpp.
.PP
References FOREACH_MOD.
.PP
.nf
-291 {
-292 FOREACH_MOD OnEvent(this);
-293 return NULL;
-294 }
+293 {
+294 FOREACH_MOD OnEvent(this);
+295 return NULL;
+296 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3
index 1f1827758..530a2a39b 100644
--- a/docs/man/man3/ExemptItem.3
+++ b/docs/man/man3/ExemptItem.3
@@ -1,4 +1,4 @@
-.TH "ExemptItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExemptItem" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3
index d6135fc14..1c8a04730 100644
--- a/docs/man/man3/ExtMode.3
+++ b/docs/man/man3/ExtMode.3
@@ -1,4 +1,4 @@
-.TH "ExtMode" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExtMode" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -41,41 +41,41 @@ Inherits \fBclassbase\fP.
.PP
.SS "ExtMode::ExtMode (char mc, int ty, bool oper, int p_on, int p_off)\fC [inline]\fP"
.PP
-Definition at line 145 of file modules.cpp.
+Definition at line 147 of file modules.cpp.
.PP
References modechar, needsoper, params_when_off, params_when_on, and type.
.PP
.nf
-145 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
+147 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
.fi
.SH "Member Data Documentation"
.PP
.SS "bool \fBExtMode::list\fP"
.PP
-Definition at line 144 of file modules.cpp.
+Definition at line 146 of file modules.cpp.
.SS "char \fBExtMode::modechar\fP"
.PP
-Definition at line 139 of file modules.cpp.
+Definition at line 141 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "bool \fBExtMode::needsoper\fP"
.PP
-Definition at line 143 of file modules.cpp.
+Definition at line 145 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::params_when_off\fP"
.PP
-Definition at line 142 of file modules.cpp.
+Definition at line 144 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::params_when_on\fP"
.PP
-Definition at line 141 of file modules.cpp.
+Definition at line 143 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::type\fP"
.PP
-Definition at line 140 of file modules.cpp.
+Definition at line 142 of file modules.cpp.
.PP
Referenced by ExtMode().
diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3
index 2018cd126..b5cdefdf4 100644
--- a/docs/man/man3/Extensible.3
+++ b/docs/man/man3/Extensible.3
@@ -1,4 +1,4 @@
-.TH "Extensible" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Extensible" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3
index cc8235c1a..cd9e613ef 100644
--- a/docs/man/man3/FileReader.3
+++ b/docs/man/man3/FileReader.3
@@ -1,4 +1,4 @@
-.TH "FileReader" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "FileReader" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -62,89 +62,89 @@ Definition at line 1239 of file modules.h.
.PP
.SS "FileReader::FileReader ()"
.PP
-Default constructor. This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.Definition at line 972 of file modules.cpp.
+Default constructor. This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.Definition at line 975 of file modules.cpp.
.PP
.nf
-973 {
-974 }
+976 {
+977 }
.fi
.SS "FileReader::FileReader (std::string filename)"
.PP
-Secondary constructor. This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, \fBFileReader::FileSize\fP returns 0.Definition at line 965 of file modules.cpp.
+Secondary constructor. This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, \fBFileReader::FileSize\fP returns 0.Definition at line 968 of file modules.cpp.
.PP
References fc, and file_cache.
.PP
.nf
-966 {
-967 file_cache c;
-968 readfile(c,filename.c_str());
-969 this->fc = c;
-970 }
+969 {
+970 file_cache c;
+971 readfile(c,filename.c_str());
+972 this->fc = c;
+973 }
.fi
.SS "FileReader::~\fBFileReader\fP ()"
.PP
-Default destructor. This deletes the memory allocated to the file.Definition at line 984 of file modules.cpp.
+Default destructor. This deletes the memory allocated to the file.Definition at line 987 of file modules.cpp.
.PP
.nf
-985 {
-986 }
+988 {
+989 }
.fi
.SH "Member Function Documentation"
.PP
.SS "bool FileReader::Exists ()"
.PP
-Returns true if the file exists This function will return false if the file could not be opened. Definition at line 988 of file modules.cpp.
+Returns true if the file exists This function will return false if the file could not be opened. Definition at line 991 of file modules.cpp.
.PP
References fc.
.PP
.nf
-989 {
-990 if (fc.size() == 0)
-991 {
-992 return(false);
-993 }
-994 else
-995 {
-996 return(true);
-997 }
-998 }
+992 {
+993 if (fc.size() == 0)
+994 {
+995 return(false);
+996 }
+997 else
+998 {
+999 return(true);
+1000 }
+1001 }
.fi
.SS "int FileReader::FileSize ()"
.PP
-Returns the size of the file in lines. This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.Definition at line 1007 of file modules.cpp.
+Returns the size of the file in lines. This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.Definition at line 1010 of file modules.cpp.
.PP
References fc.
.PP
.nf
-1008 {
-1009 return fc.size();
-1010 }
+1011 {
+1012 return fc.size();
+1013 }
.fi
.SS "std::string FileReader::GetLine (int x)"
.PP
-Retrieve one line from the file. This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.Definition at line 1000 of file modules.cpp.
+Retrieve one line from the file. This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.Definition at line 1003 of file modules.cpp.
.PP
References fc.
.PP
.nf
-1001 {
-1002 if ((x<0) || (x>fc.size()))
-1003 return '';
-1004 return fc[x];
-1005 }
+1004 {
+1005 if ((x<0) || (x>fc.size()))
+1006 return '';
+1007 return fc[x];
+1008 }
.fi
.SS "void FileReader::LoadFile (std::string filename)"
.PP
-Used to load a file. This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, \fBFileReader::FileSize\fP returns 0.Definition at line 976 of file modules.cpp.
+Used to load a file. This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, \fBFileReader::FileSize\fP returns 0.Definition at line 979 of file modules.cpp.
.PP
References fc, and file_cache.
.PP
.nf
-977 {
-978 file_cache c;
-979 readfile(c,filename.c_str());
-980 this->fc = c;
-981 }
+980 {
+981 file_cache c;
+982 readfile(c,filename.c_str());
+983 this->fc = c;
+984 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/GLine.3 b/docs/man/man3/GLine.3
index 34bb1379c..790d62ae9 100644
--- a/docs/man/man3/GLine.3
+++ b/docs/man/man3/GLine.3
@@ -1,4 +1,4 @@
-.TH "GLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "GLine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3
index a63fe8ca3..41ad398a5 100644
--- a/docs/man/man3/HostItem.3
+++ b/docs/man/man3/HostItem.3
@@ -1,4 +1,4 @@
-.TH "HostItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "HostItem" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3
index 43b4cb657..1f1b4b014 100644
--- a/docs/man/man3/InviteItem.3
+++ b/docs/man/man3/InviteItem.3
@@ -1,4 +1,4 @@
-.TH "InviteItem" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "InviteItem" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3
index d5f91d73f..480652984 100644
--- a/docs/man/man3/Invited.3
+++ b/docs/man/man3/Invited.3
@@ -1,4 +1,4 @@
-.TH "Invited" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Invited" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3
index 53785dc8c..622641661 100644
--- a/docs/man/man3/KLine.3
+++ b/docs/man/man3/KLine.3
@@ -1,4 +1,4 @@
-.TH "KLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "KLine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3
index c690c33c5..75922cd20 100644
--- a/docs/man/man3/ModeParameter.3
+++ b/docs/man/man3/ModeParameter.3
@@ -1,4 +1,4 @@
-.TH "ModeParameter" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModeParameter" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3
index 2169fd28b..9867a9454 100644
--- a/docs/man/man3/Module.3
+++ b/docs/man/man3/Module.3
@@ -1,4 +1,4 @@
-.TH "Module" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Module" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -251,35 +251,35 @@ Definition at line 236 of file modules.h.
.PP
.SS "Module::Module ()"
.PP
-Default constructor creates a module class. Definition at line 303 of file modules.cpp.
+Default constructor creates a module class. Definition at line 305 of file modules.cpp.
.PP
.nf
-303 { }
+305 { }
.fi
.SS "Module::~\fBModule\fP ()\fC [virtual]\fP"
.PP
-Default destructor destroys a module class. Definition at line 304 of file modules.cpp.
+Default destructor destroys a module class. Definition at line 306 of file modules.cpp.
.PP
.nf
-304 { }
+306 { }
.fi
.SH "Member Function Documentation"
.PP
.SS "\fBVersion\fP Module::GetVersion ()\fC [virtual]\fP"
.PP
-Returns the version number of a Module. The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fPDefinition at line 316 of file modules.cpp.
+Returns the version number of a Module. The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fPDefinition at line 318 of file modules.cpp.
.PP
References VF_VENDOR.
.PP
.nf
-316 { return Version(1,0,0,0,VF_VENDOR); }
+318 { return Version(1,0,0,0,VF_VENDOR); }
.fi
.SS "void Module::On005Numeric (std::string & output)\fC [virtual]\fP"
.PP
-Called when a 005 numeric is about to be output. The module should modify the 005 numeric if needed to indicate its features.Definition at line 328 of file modules.cpp.
+Called when a 005 numeric is about to be output. The module should modify the 005 numeric if needed to indicate its features.Definition at line 330 of file modules.cpp.
.PP
.nf
-328 { };
+330 { };
.fi
.SS "int Module::OnAccessCheck (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel, int access_type)\fC [virtual]\fP"
.PP
@@ -307,312 +307,312 @@ Called before an action which requires a channel privilage check. This function
.br
.br
- Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).Definition at line 325 of file modules.cpp.
+ Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).Definition at line 327 of file modules.cpp.
.PP
References ACR_DEFAULT.
.PP
.nf
-325 { return ACR_DEFAULT; };
+327 { return ACR_DEFAULT; };
.fi
.SS "int Module::OnAddBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, std::string banmask)\fC [virtual]\fP"
.PP
-Called whenever a ban is added to a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being added.Definition at line 353 of file modules.cpp.
+Called whenever a ban is added to a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being added.Definition at line 355 of file modules.cpp.
.PP
.nf
-353 { return 0; };
+355 { return 0; };
.fi
.SS "void Module::OnBackgroundTimer (time_t curtime)\fC [virtual]\fP"
.PP
-Called once every five seconds for background processing. This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server.Definition at line 331 of file modules.cpp.
+Called once every five seconds for background processing. This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server.Definition at line 333 of file modules.cpp.
.PP
.nf
-331 { };
+333 { };
.fi
.SS "int Module::OnChangeLocalUserGECOS (\fBuserrec\fP * user, std::string newhost)\fC [virtual]\fP"
.PP
-Called whenever a change of a local users GECOS (fullname field) is attempted. return 1 to deny the name change, or 0 to allow it.Definition at line 345 of file modules.cpp.
+Called whenever a change of a local users GECOS (fullname field) is attempted. return 1 to deny the name change, or 0 to allow it.Definition at line 347 of file modules.cpp.
.PP
.nf
-345 { return 0; };
+347 { return 0; };
.fi
.SS "int Module::OnChangeLocalUserHost (\fBuserrec\fP * user, std::string newhost)\fC [virtual]\fP"
.PP
-Called whenever a change of a local users displayed host is attempted. Return 1 to deny the host change, or 0 to allow it.Definition at line 344 of file modules.cpp.
+Called whenever a change of a local users displayed host is attempted. Return 1 to deny the host change, or 0 to allow it.Definition at line 346 of file modules.cpp.
.PP
.nf
-344 { return 0; };
+346 { return 0; };
.fi
.SS "\fBstring_list\fP Module::OnChannelSync (\fBchanrec\fP * chan)\fC [virtual]\fP"
.PP
-Called during a netburst to sync channel data. This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 327 of file modules.cpp.
+Called during a netburst to sync channel data. This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 329 of file modules.cpp.
.PP
References string_list.
.PP
.nf
-327 { string_list empty; return empty; }
+329 { string_list empty; return empty; }
.fi
.SS "int Module::OnCheckBan (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP"
.PP
-Called whenever a user joins a channel, to determine if banlist checks should go ahead or not. This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 342 of file modules.cpp.
+Called whenever a user joins a channel, to determine if banlist checks should go ahead or not. This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 344 of file modules.cpp.
.PP
.nf
-342 { return 0; };
+344 { return 0; };
.fi
.SS "int Module::OnCheckInvite (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP"
.PP
-Called whenever a user joins a channel, to determine if invite checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.Definition at line 339 of file modules.cpp.
+Called whenever a user joins a channel, to determine if invite checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.Definition at line 341 of file modules.cpp.
.PP
.nf
-339 { return 0; };
+341 { return 0; };
.fi
.SS "int Module::OnCheckKey (\fBuserrec\fP * user, \fBchanrec\fP * chan, std::string keygiven)\fC [virtual]\fP"
.PP
-Called whenever a user joins a channel, to determine if key checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 340 of file modules.cpp.
+Called whenever a user joins a channel, to determine if key checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 342 of file modules.cpp.
.PP
.nf
-340 { return 0; };
+342 { return 0; };
.fi
.SS "int Module::OnCheckLimit (\fBuserrec\fP * user, \fBchanrec\fP * chan)\fC [virtual]\fP"
.PP
-Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 341 of file modules.cpp.
+Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not. This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event. Definition at line 343 of file modules.cpp.
.PP
.nf
-341 { return 0; };
+343 { return 0; };
.fi
.SS "bool Module::OnCheckReady (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.Definition at line 334 of file modules.cpp.
+Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.Definition at line 336 of file modules.cpp.
.PP
.nf
-334 { return true; };
+336 { return true; };
.fi
.SS "int Module::OnDelBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, std::string banmask)\fC [virtual]\fP"
.PP
-Called whenever a ban is removed from a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.Definition at line 354 of file modules.cpp.
+Called whenever a ban is removed from a channel's list. Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.Definition at line 356 of file modules.cpp.
.PP
.nf
-354 { return 0; };
+356 { return 0; };
.fi
.SS "void Module::OnEvent (\fBEvent\fP * event)\fC [virtual]\fP"
.PP
-Called whenever an \fBEvent\fP class is sent to all module by another module. Please see the documentation of \fBEvent::Send()\fP for further information. The \fBEvent\fP sent can always be assumed to be non-NULL, you should *always* check the value of \fBEvent::GetEventID()\fP before doing anything to the event data, and you should *not* change the event data in any way!Definition at line 348 of file modules.cpp.
+Called whenever an \fBEvent\fP class is sent to all module by another module. Please see the documentation of \fBEvent::Send()\fP for further information. The \fBEvent\fP sent can always be assumed to be non-NULL, you should *always* check the value of \fBEvent::GetEventID()\fP before doing anything to the event data, and you should *not* change the event data in any way!Definition at line 350 of file modules.cpp.
.PP
.nf
-348 { return; };
+350 { return; };
.fi
.SS "int Module::OnExtendedMode (\fBuserrec\fP * user, void * target, char modechar, int type, bool mode_on, \fBstring_list\fP & params)\fC [virtual]\fP"
.PP
-Called whenever an extended mode is to be processed. The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with \fBServer::AddExtendedMode\fP If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.Definition at line 315 of file modules.cpp.
+Called whenever an extended mode is to be processed. The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with \fBServer::AddExtendedMode\fP If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.Definition at line 317 of file modules.cpp.
.PP
.nf
-315 { return false; }
+317 { return false; }
.fi
.SS "void Module::OnGlobalConnect (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever a user connects, anywhere on the network. This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users.Definition at line 352 of file modules.cpp.
+Called whenever a user connects, anywhere on the network. This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users.Definition at line 354 of file modules.cpp.
.PP
.nf
-352 { };
+354 { };
.fi
.SS "void Module::OnGlobalOper (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever a user is given usermode +o, anywhere on the network. You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes.Definition at line 351 of file modules.cpp.
+Called whenever a user is given usermode +o, anywhere on the network. You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes.Definition at line 353 of file modules.cpp.
.PP
.nf
-351 { };
+353 { };
.fi
.SS "void Module::OnInfo (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Called whenever a user types /INFO. The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:
.PP
-<nick> :information hereDefinition at line 318 of file modules.cpp.
+<nick> :information hereDefinition at line 320 of file modules.cpp.
.PP
.nf
-318 { };
+320 { };
.fi
.SS "int Module::OnKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, std::string reason)\fC [virtual]\fP"
.PP
-Called when a client is disconnected by KILL. If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!Definition at line 329 of file modules.cpp.
+Called when a client is disconnected by KILL. If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!Definition at line 331 of file modules.cpp.
.PP
.nf
-329 { return 0; };
+331 { return 0; };
.fi
.SS "void Module::OnLoadModule (\fBModule\fP * mod, std::string name)\fC [virtual]\fP"
.PP
-Called whenever a module is loaded. mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded 'm_killwidgets.so' with 'm_makewidgets.so'. It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).Definition at line 330 of file modules.cpp.
+Called whenever a module is loaded. mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded 'm_killwidgets.so' with 'm_makewidgets.so'. It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).Definition at line 332 of file modules.cpp.
.PP
.nf
-330 { };
+332 { };
.fi
.SS "int Module::OnLocalTopicChange (\fBuserrec\fP * user, \fBchanrec\fP * chan, std::string topic)\fC [virtual]\fP"
.PP
-Called whenever a topic is changed by a local user. Return 1 to deny the topic change, or 0 to allow it.Definition at line 346 of file modules.cpp.
+Called whenever a topic is changed by a local user. Return 1 to deny the topic change, or 0 to allow it.Definition at line 348 of file modules.cpp.
.PP
.nf
-346 { return 0; };
+348 { return 0; };
.fi
.SS "int Module::OnMeshToken (char token, \fBstring_list\fP params, \fBserverrec\fP * source, \fBserverrec\fP * reply, std::string tcp_host, std::string ipaddr, int port)\fC [virtual]\fP"
.PP
-Called whenever an unknown token is received in a server to server link. The token value is the unknown token -- please check that no other modules are using the token that you use. Returning 1 supresses the 'unknown token type' error which is usually sent to all opers with +s. The params list is a list of parameters, and if any parameters start with a colon (:) it is treated as the whole of the last parameter, identical to how RFC messages are handled. source is the sender of the message, and reply is what should be replied to for a unicast message. Note that there are not many messages in the mesh protocol which require unicast messaging. tcp_host is the server name as a string, ipaddr is its ip address in dotted decimal notation and port is the port number it is using.Definition at line 347 of file modules.cpp.
+Called whenever an unknown token is received in a server to server link. The token value is the unknown token -- please check that no other modules are using the token that you use. Returning 1 supresses the 'unknown token type' error which is usually sent to all opers with +s. The params list is a list of parameters, and if any parameters start with a colon (:) it is treated as the whole of the last parameter, identical to how RFC messages are handled. source is the sender of the message, and reply is what should be replied to for a unicast message. Note that there are not many messages in the mesh protocol which require unicast messaging. tcp_host is the server name as a string, ipaddr is its ip address in dotted decimal notation and port is the port number it is using.Definition at line 349 of file modules.cpp.
.PP
.nf
-347 { return 0; };
+349 { return 0; };
.fi
.SS "void Module::OnOper (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever a user opers locally. The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.Definition at line 317 of file modules.cpp.
+Called whenever a user opers locally. The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.Definition at line 319 of file modules.cpp.
.PP
.nf
-317 { };
+319 { };
.fi
.SS "int Module::OnOperCompare (std::string password, std::string input)\fC [virtual]\fP"
.PP
-Called whenever an oper password is to be compared to what a user has input. The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing.Definition at line 350 of file modules.cpp.
+Called whenever an oper password is to be compared to what a user has input. The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing.Definition at line 352 of file modules.cpp.
.PP
.nf
-350 { return 0; };
+352 { return 0; };
.fi
.SS "void Module::OnPacketReceive (std::string & data, std::string serv)\fC [virtual]\fP"
.PP
-Called after a packet is received from another irc server. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.Definition at line 311 of file modules.cpp.
+Called after a packet is received from another irc server. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.Definition at line 313 of file modules.cpp.
.PP
.nf
-311 { }
+313 { }
.fi
.SS "void Module::OnPacketTransmit (std::string & data, std::string serv)\fC [virtual]\fP"
.PP
-Called before a packet is transmitted across the irc network between two irc servers. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.Definition at line 310 of file modules.cpp.
+Called before a packet is transmitted across the irc network between two irc servers. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.Definition at line 312 of file modules.cpp.
.PP
.nf
-310 { }
+312 { }
.fi
.SS "int Module::OnPreCommand (std::string command, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever any command is about to be executed. This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using \fBServer::QuitUser\fP) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!)Definition at line 333 of file modules.cpp.
+Called whenever any command is about to be executed. This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using \fBServer::QuitUser\fP) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!)Definition at line 335 of file modules.cpp.
.PP
.nf
-333 { return 0; };
+335 { return 0; };
.fi
.SS "int Module::OnRawMode (\fBuserrec\fP * user, \fBchanrec\fP * chan, char mode, std::string param, bool adding, int pcnt)\fC [virtual]\fP"
.PP
-Called whenever a mode character is processed. Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!Definition at line 338 of file modules.cpp.
+Called whenever a mode character is processed. Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!Definition at line 340 of file modules.cpp.
.PP
.nf
-338 { return 0; };
+340 { return 0; };
.fi
.SS "void Module::OnRawSocketAccept (int fd, std::string ip, int localport)\fC [virtual]\fP"
.PP
-Called immediately after any connection is accepted. This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection.Definition at line 355 of file modules.cpp.
+Called immediately after any connection is accepted. This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection.Definition at line 357 of file modules.cpp.
.PP
.nf
-355 { };
+357 { };
.fi
.SS "void Module::OnRawSocketClose (int fd)\fC [virtual]\fP"
.PP
-Called immediately before any socket is closed. When this event is called, shutdown() has not yet been called on the socket.Definition at line 357 of file modules.cpp.
+Called immediately before any socket is closed. When this event is called, shutdown() has not yet been called on the socket.Definition at line 359 of file modules.cpp.
.PP
.nf
-357 { };
+359 { };
.fi
.SS "int Module::OnRawSocketRead (int fd, char * buffer, unsigned int count, int & readresult)\fC [virtual]\fP"
.PP
-Called immediately before any read() operation on a client socket in the core. This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult.Definition at line 358 of file modules.cpp.
+Called immediately before any read() operation on a client socket in the core. This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult.Definition at line 360 of file modules.cpp.
.PP
.nf
-358 { return 0; };
+360 { return 0; };
.fi
.SS "int Module::OnRawSocketWrite (int fd, char * buffer, int count)\fC [virtual]\fP"
.PP
-Called immediately before any write() operation on a user's socket in the core. Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write().Definition at line 356 of file modules.cpp.
+Called immediately before any write() operation on a user's socket in the core. Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write().Definition at line 358 of file modules.cpp.
.PP
.nf
-356 { return 0; };
+358 { return 0; };
.fi
.SS "void Module::OnRehash ()\fC [virtual]\fP"
.PP
-Called on rehash. This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.Definition at line 312 of file modules.cpp.
+Called on rehash. This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.Definition at line 314 of file modules.cpp.
.PP
.nf
-312 { }
+314 { }
.fi
.SS "char * Module::OnRequest (\fBRequest\fP * request)\fC [virtual]\fP"
.PP
-Called whenever a \fBRequest\fP class is sent to your module by another module. Please see the documentation of \fBRequest::Send()\fP for further information. The \fBRequest\fP sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).Definition at line 349 of file modules.cpp.
+Called whenever a \fBRequest\fP class is sent to your module by another module. Please see the documentation of \fBRequest::Send()\fP for further information. The \fBRequest\fP sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).Definition at line 351 of file modules.cpp.
.PP
Referenced by Request::Send().
.PP
.nf
-349 { return NULL; };
+351 { return NULL; };
.fi
.SS "void Module::OnSendList (\fBuserrec\fP * user, \fBchanrec\fP * channel, char mode)\fC [virtual]\fP"
.PP
-Called whenever a list is needed for a listmode. For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle.Definition at line 332 of file modules.cpp.
+Called whenever a list is needed for a listmode. For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle.Definition at line 334 of file modules.cpp.
.PP
.nf
-332 { };
+334 { };
.fi
.SS "void Module::OnServerRaw (std::string & raw, bool inbound, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called when a raw command is transmitted or received. This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter 'raw'. If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.Definition at line 313 of file modules.cpp.
+Called when a raw command is transmitted or received. This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter 'raw'. If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.Definition at line 315 of file modules.cpp.
.PP
.nf
-313 { }
+315 { }
.fi
.SS "void Module::OnStats (char symbol)\fC [virtual]\fP"
.PP
-Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core. Definition at line 343 of file modules.cpp.
+Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core. Definition at line 345 of file modules.cpp.
.PP
.nf
-343 { };
+345 { };
.fi
.SS "void Module::OnUserConnect (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called when a user connects. The details of the connecting user are available to you in the parameter userrec *userDefinition at line 305 of file modules.cpp.
+Called when a user connects. The details of the connecting user are available to you in the parameter userrec *userDefinition at line 307 of file modules.cpp.
.PP
.nf
-305 { }
+307 { }
.fi
.SS "void Module::OnUserDisconnect (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever a user's socket is closed. The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets.Definition at line 307 of file modules.cpp.
+Called whenever a user's socket is closed. The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets.Definition at line 309 of file modules.cpp.
.PP
.nf
-307 { }
+309 { }
.fi
.SS "void Module::OnUserJoin (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP"
.PP
-Called when a user joins a channel. The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channelDefinition at line 308 of file modules.cpp.
+Called when a user joins a channel. The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channelDefinition at line 310 of file modules.cpp.
.PP
.nf
-308 { }
+310 { }
.fi
.SS "void Module::OnUserKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, std::string reason)\fC [virtual]\fP"
.PP
-Called whenever a user is kicked. If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use \fBModule::OnUserPreKick\fP instead of this method.Definition at line 337 of file modules.cpp.
+Called whenever a user is kicked. If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use \fBModule::OnUserPreKick\fP instead of this method.Definition at line 339 of file modules.cpp.
.PP
.nf
-337 { };
+339 { };
.fi
.SS "void Module::OnUserPart (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP"
.PP
-Called when a user parts a channel. The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channelDefinition at line 309 of file modules.cpp.
+Called when a user parts a channel. The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channelDefinition at line 311 of file modules.cpp.
.PP
.nf
-309 { }
+311 { }
.fi
.SS "void Module::OnUserPostNick (\fBuserrec\fP * user, std::string oldnick)\fC [virtual]\fP"
.PP
-Called after any nickchange, local or remote. This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. Definition at line 324 of file modules.cpp.
+Called after any nickchange, local or remote. This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this. Definition at line 326 of file modules.cpp.
.PP
.nf
-324 { };
+326 { };
.fi
.SS "int Module::OnUserPreInvite (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel)\fC [virtual]\fP"
.PP
-Called whenever a user is about to invite another user into a channel, before any processing is done. Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.Definition at line 320 of file modules.cpp.
+Called whenever a user is about to invite another user into a channel, before any processing is done. Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.Definition at line 322 of file modules.cpp.
.PP
.nf
-320 { return 0; };
+322 { return 0; };
.fi
.SS "int Module::OnUserPreJoin (\fBuserrec\fP * user, \fBchanrec\fP * chan, const char * cname)\fC [virtual]\fP"
.PP
@@ -620,68 +620,68 @@ Called whenever a user is about to join a channel, before any processing is done
.PP
IMPORTANT NOTE!
.PP
-If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.Definition at line 314 of file modules.cpp.
+If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.Definition at line 316 of file modules.cpp.
.PP
.nf
-314 { return 0; }
+316 { return 0; }
.fi
.SS "int Module::OnUserPreKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, std::string reason)\fC [virtual]\fP"
.PP
-Called whenever a user is about to be kicked. Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. Definition at line 336 of file modules.cpp.
+Called whenever a user is about to be kicked. Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. Definition at line 338 of file modules.cpp.
.PP
.nf
-336 { return 0; };
+338 { return 0; };
.fi
.SS "int Module::OnUserPreMessage (\fBuserrec\fP * user, void * dest, int target_type, std::string & text)\fC [virtual]\fP"
.PP
-Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.Definition at line 321 of file modules.cpp.
+Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.Definition at line 323 of file modules.cpp.
.PP
.nf
-321 { return 0; };
+323 { return 0; };
.fi
.SS "int Module::OnUserPreNick (\fBuserrec\fP * user, std::string newnick)\fC [virtual]\fP"
.PP
-Called before any nickchange, local or remote. This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.Definition at line 323 of file modules.cpp.
+Called before any nickchange, local or remote. This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.Definition at line 325 of file modules.cpp.
.PP
.nf
-323 { return 0; };
+325 { return 0; };
.fi
.SS "int Module::OnUserPreNotice (\fBuserrec\fP * user, void * dest, int target_type, std::string & text)\fC [virtual]\fP"
.PP
-Called whenever a user is about to NOTICE A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.Definition at line 322 of file modules.cpp.
+Called whenever a user is about to NOTICE A user or a channel, before any processing is done. Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.Definition at line 324 of file modules.cpp.
.PP
.nf
-322 { return 0; };
+324 { return 0; };
.fi
.SS "void Module::OnUserQuit (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called when a user quits. The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method.Definition at line 306 of file modules.cpp.
+Called when a user quits. The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method.Definition at line 308 of file modules.cpp.
.PP
.nf
-306 { }
+308 { }
.fi
.SS "void Module::OnUserRegister (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called whenever a user is about to register their connection (e.g. before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead.Definition at line 335 of file modules.cpp.
+Called whenever a user is about to register their connection (e.g. before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead.Definition at line 337 of file modules.cpp.
.PP
.nf
-335 { };
+337 { };
.fi
.SS "\fBstring_list\fP Module::OnUserSync (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
-Called during a netburst to sync user data. This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 326 of file modules.cpp.
+Called during a netburst to sync user data. This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.Definition at line 328 of file modules.cpp.
.PP
References string_list.
.PP
.nf
-326 { string_list empty; return empty; }
+328 { string_list empty; return empty; }
.fi
.SS "void Module::OnWhois (\fBuserrec\fP * source, \fBuserrec\fP * dest)\fC [virtual]\fP"
.PP
-Called whenever a /WHOIS is performed on a local user. The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.Definition at line 319 of file modules.cpp.
+Called whenever a /WHOIS is performed on a local user. The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.Definition at line 321 of file modules.cpp.
.PP
.nf
-319 { };
+321 { };
.fi
diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3
index 46e42232e..884c19c8e 100644
--- a/docs/man/man3/ModuleFactory.3
+++ b/docs/man/man3/ModuleFactory.3
@@ -1,4 +1,4 @@
-.TH "ModuleFactory" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleFactory" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModuleMessage.3 b/docs/man/man3/ModuleMessage.3
index fe20514cf..87999becd 100644
--- a/docs/man/man3/ModuleMessage.3
+++ b/docs/man/man3/ModuleMessage.3
@@ -1,4 +1,4 @@
-.TH "ModuleMessage" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleMessage" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3
index af16527a4..e1e9ce90c 100644
--- a/docs/man/man3/QLine.3
+++ b/docs/man/man3/QLine.3
@@ -1,4 +1,4 @@
-.TH "QLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "QLine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3
index 84b7c3f8f..5d83d6961 100644
--- a/docs/man/man3/Request.3
+++ b/docs/man/man3/Request.3
@@ -1,4 +1,4 @@
-.TH "Request" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Request" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -63,65 +63,65 @@ Definition at line 154 of file modules.h.
.PP
.SS "Request::Request (char * anydata, \fBModule\fP * src, \fBModule\fP * dst)"
.PP
-Create a new Request. Definition at line 249 of file modules.cpp.
+Create a new Request. Definition at line 251 of file modules.cpp.
.PP
.nf
-249 : data(anydata), source(src), dest(dst) { };
+251 : data(anydata), source(src), dest(dst) { };
.fi
.SH "Member Function Documentation"
.PP
.SS "char * Request::GetData ()"
.PP
-Fetch the Request data. Definition at line 251 of file modules.cpp.
+Fetch the Request data. Definition at line 253 of file modules.cpp.
.PP
References data.
.PP
.nf
-252 {
-253 return this->data;
-254 }
+254 {
+255 return this->data;
+256 }
.fi
.SS "\fBModule\fP * Request::GetDest ()"
.PP
-Fetch the request destination (should be 'this' in the receiving module). Definition at line 261 of file modules.cpp.
+Fetch the request destination (should be 'this' in the receiving module). Definition at line 263 of file modules.cpp.
.PP
References dest.
.PP
.nf
-262 {
-263 return this->dest;
-264 }
+264 {
+265 return this->dest;
+266 }
.fi
.SS "\fBModule\fP * Request::GetSource ()"
.PP
-Fetch the request source. Definition at line 256 of file modules.cpp.
+Fetch the request source. Definition at line 258 of file modules.cpp.
.PP
References source.
.PP
.nf
-257 {
-258 return this->source;
-259 }
+259 {
+260 return this->source;
+261 }
.fi
.SS "char * Request::Send ()\fC [virtual]\fP"
.PP
Send the Request. Upon returning the result will be arbitary data returned by the module you sent the request to. It is up to your module to know what this data is and how to deal with it. Implements \fBModuleMessage\fP.
.PP
-Definition at line 266 of file modules.cpp.
+Definition at line 268 of file modules.cpp.
.PP
References dest, and Module::OnRequest().
.PP
.nf
-267 {
-268 if (this->dest)
-269 {
-270 return dest->OnRequest(this);
-271 }
-272 else
-273 {
-274 return NULL;
-275 }
-276 }
+269 {
+270 if (this->dest)
+271 {
+272 return dest->OnRequest(this);
+273 }
+274 else
+275 {
+276 return NULL;
+277 }
+278 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3
index db0f29ac6..f8e40edc4 100644
--- a/docs/man/man3/Server.3
+++ b/docs/man/man3/Server.3
@@ -1,4 +1,4 @@
-.TH "Server" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Server" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -271,19 +271,19 @@ Definition at line 694 of file modules.h.
.PP
.SS "Server::Server ()"
.PP
-Default constructor. Creates a Server object.Definition at line 364 of file modules.cpp.
+Default constructor. Creates a Server object.Definition at line 366 of file modules.cpp.
.PP
.nf
-365 {
-366 }
+367 {
+368 }
.fi
.SS "Server::~\fBServer\fP ()\fC [virtual]\fP"
.PP
-Default destructor. Destroys a Server object.Definition at line 368 of file modules.cpp.
+Default destructor. Destroys a Server object.Definition at line 370 of file modules.cpp.
.PP
.nf
-369 {
-370 }
+371 {
+372 }
.fi
.SH "Member Function Documentation"
.PP
@@ -293,25 +293,25 @@ Adds a command to the command table. This allows modules to add extra commands i
.PP
typedef void (handlerfunc) (char**, int, userrec*); ... void \fBhandle_kill(char **parameters, int pcnt, userrec *user)\fP
.PP
-When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. 'm_blarp.so'. If you place the wrong identifier here, you can cause crashes if your module is unloaded.Definition at line 437 of file modules.cpp.
+When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. 'm_blarp.so'. If you place the wrong identifier here, you can cause crashes if your module is unloaded.Definition at line 439 of file modules.cpp.
.PP
References createcommand().
.PP
.nf
-438 {
-439 createcommand(cmd,f,flags,minparams,source);
-440 }
+440 {
+441 createcommand(cmd,f,flags,minparams,source);
+442 }
.fi
.SS "void Server::AddELine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP"
.PP
-Adds a E-line The E-line is enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 699 of file modules.cpp.
+Adds a E-line The E-line is enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 701 of file modules.cpp.
.PP
References add_eline(), and duration().
.PP
.nf
-700 {
-701 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-702 }
+702 {
+703 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+704 }
.fi
.SS "bool Server::AddExtendedListMode (char modechar)\fC [virtual]\fP"
.PP
@@ -325,549 +325,549 @@ Adds an extended mode letter which is parsed by a module and handled in a list f
.PP
(4) The mode and its parameter are NOT stored in the channels modes structure
.PP
-It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing.Definition at line 605 of file modules.cpp.
+It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing.Definition at line 607 of file modules.cpp.
.PP
References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.
.PP
.nf
-606 {
-607 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
-608 if (res)
-609 ModeMakeList(modechar);
-610 return res;
-611 }
+608 {
+609 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
+610 if (res)
+611 ModeMakeList(modechar);
+612 return res;
+613 }
.fi
.SS "bool Server::AddExtendedMode (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)\fC [virtual]\fP"
.PP
-Adds an extended mode letter which is parsed by a module. This allows modules to add extra mode letters, e.g. +x for hostcloak. the 'type' parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects.Definition at line 577 of file modules.cpp.
+Adds an extended mode letter which is parsed by a module. This allows modules to add extra mode letters, e.g. +x for hostcloak. the 'type' parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects.Definition at line 579 of file modules.cpp.
.PP
References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.
.PP
.nf
-578 {
-579 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z')))
-580 {
-581 if (type == MT_SERVER)
-582 {
-583 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
-584 return false;
-585 }
-586 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-587 {
-588 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
-589 return false;
-590 }
-591 if ((params_when_on>1) || (params_when_off>1))
-592 {
-593 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
-594 return false;
-595 }
-596 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-597 }
-598 else
-599 {
-600 log(DEBUG,'*** API ERROR *** Muppet modechar detected.');
-601 }
-602 return false;
-603 }
+580 {
+581 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z')))
+582 {
+583 if (type == MT_SERVER)
+584 {
+585 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
+586 return false;
+587 }
+588 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+589 {
+590 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
+591 return false;
+592 }
+593 if ((params_when_on>1) || (params_when_off>1))
+594 {
+595 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
+596 return false;
+597 }
+598 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+599 }
+600 else
+601 {
+602 log(DEBUG,'*** API ERROR *** Muppet modechar detected.');
+603 }
+604 return false;
+605 }
.fi
.SS "void Server::AddGLine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP"
.PP
-Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.Definition at line 679 of file modules.cpp.
+Adds a G-line The G-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.Definition at line 681 of file modules.cpp.
.PP
References add_gline(), and duration().
.PP
.nf
-680 {
-681 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-682 }
+682 {
+683 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+684 }
.fi
.SS "void Server::AddKLine (long duration, std::string source, std::string reason, std::string hostmask)\fC [virtual]\fP"
.PP
-Adds a K-line The K-line is enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 694 of file modules.cpp.
+Adds a K-line The K-line is enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 696 of file modules.cpp.
.PP
References add_kline(), and duration().
.PP
.nf
-695 {
-696 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-697 }
+697 {
+698 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+699 }
.fi
.SS "void Server::AddQLine (long duration, std::string source, std::string reason, std::string nickname)\fC [virtual]\fP"
.PP
-Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 684 of file modules.cpp.
+Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 686 of file modules.cpp.
.PP
References add_qline(), and duration().
.PP
.nf
-685 {
-686 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
-687 }
+687 {
+688 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
+689 }
.fi
.SS "void Server::AddZLine (long duration, std::string source, std::string reason, std::string ipaddr)\fC [virtual]\fP"
.PP
-Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 689 of file modules.cpp.
+Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enforced as soon as it is added. The duration must be in seconds, however you can use the \fBServer::CalcDuration\fP method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name. Definition at line 691 of file modules.cpp.
.PP
References add_zline(), and duration().
.PP
.nf
-690 {
-691 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-692 }
+692 {
+693 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+694 }
.fi
.SS "long Server::CalcDuration (std::string duration)\fC [virtual]\fP"
.PP
-Calculates a duration This method will take a string containing a formatted duration (e.g. '1w2d') and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times.Definition at line 729 of file modules.cpp.
+Calculates a duration This method will take a string containing a formatted duration (e.g. '1w2d') and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times.Definition at line 731 of file modules.cpp.
.PP
References duration().
.PP
.nf
-730 {
-731 return duration(delta.c_str());
-732 }
+732 {
+733 return duration(delta.c_str());
+734 }
.fi
.SS "void Server::CallCommandHandler (std::string commandname, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Calls the handler for a command, either implemented by the core or by another module. You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or
.br
-) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih \fBAddCommand()\fP. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc.Definition at line 427 of file modules.cpp.
+) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih \fBAddCommand()\fP. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc.Definition at line 429 of file modules.cpp.
.PP
.nf
-428 {
-429 call_handler(commandname.c_str(),parameters,pcnt,user);
-430 }
+430 {
+431 call_handler(commandname.c_str(),parameters,pcnt,user);
+432 }
.fi
.SS "void Server::ChangeGECOS (\fBuserrec\fP * user, std::string gecos)\fC [virtual]\fP"
.PP
-Change GECOS (fullname) of a user. You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers.Definition at line 520 of file modules.cpp.
+Change GECOS (fullname) of a user. You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers.Definition at line 522 of file modules.cpp.
.PP
References ChangeName().
.PP
.nf
-521 {
-522 ChangeName(user,gecos.c_str());
-523 }
+523 {
+524 ChangeName(user,gecos.c_str());
+525 }
.fi
.SS "void Server::ChangeHost (\fBuserrec\fP * user, std::string host)\fC [virtual]\fP"
.PP
-Change displayed hostname of a user. You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers.Definition at line 515 of file modules.cpp.
+Change displayed hostname of a user. You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers.Definition at line 517 of file modules.cpp.
.PP
References ChangeDisplayedHost().
.PP
.nf
-516 {
-517 ChangeDisplayedHost(user,host.c_str());
-518 }
+518 {
+519 ChangeDisplayedHost(user,host.c_str());
+520 }
.fi
.SS "void Server::ChangeUserNick (\fBuserrec\fP * user, std::string nickname)\fC [virtual]\fP"
.PP
-Forces a user nickchange. This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it.Definition at line 412 of file modules.cpp.
+Forces a user nickchange. This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it.Definition at line 414 of file modules.cpp.
.PP
.nf
-413 {
-414 force_nickchange(user,nickname.c_str());
-415 }
+415 {
+416 force_nickchange(user,nickname.c_str());
+417 }
.fi
.SS "std::string Server::ChanMode (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP"
.PP
-Attempts to look up a user's privilages on a channel. This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.Definition at line 545 of file modules.cpp.
+Attempts to look up a user's privilages on a channel. This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.Definition at line 547 of file modules.cpp.
.PP
References cmode().
.PP
.nf
-546 {
-547 return cmode(User,Chan);
-548 }
+548 {
+549 return cmode(User,Chan);
+550 }
.fi
.SS "bool Server::CommonChannels (\fBuserrec\fP * u1, \fBuserrec\fP * u2)\fC [virtual]\fP"
.PP
-Returns true if two users share a common channel. This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method.Definition at line 493 of file modules.cpp.
+Returns true if two users share a common channel. This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method.Definition at line 495 of file modules.cpp.
.PP
References common_channels().
.PP
.nf
-494 {
-495 return (common_channels(u1,u2) != 0);
-496 }
+496 {
+497 return (common_channels(u1,u2) != 0);
+498 }
.fi
.SS "int Server::CountUsers (\fBchanrec\fP * c)\fC [virtual]\fP"
.PP
-Returns a count of the number of users on a channel. This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.Definition at line 613 of file modules.cpp.
+Returns a count of the number of users on a channel. This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.Definition at line 615 of file modules.cpp.
.PP
.nf
-614 {
-615 return usercount(c);
-616 }
+616 {
+617 return usercount(c);
+618 }
.fi
.SS "bool Server::DelELine (std::string hostmask)\fC [virtual]\fP"
.PP
-Deletes a local E-Line. Definition at line 724 of file modules.cpp.
+Deletes a local E-Line. Definition at line 726 of file modules.cpp.
.PP
References del_eline().
.PP
.nf
-725 {
-726 del_eline(hostmask.c_str());
-727 }
+727 {
+728 del_eline(hostmask.c_str());
+729 }
.fi
.SS "bool Server::DelGLine (std::string hostmask)\fC [virtual]\fP"
.PP
-Deletes a G-Line from all servers on the mesh. Definition at line 704 of file modules.cpp.
+Deletes a G-Line from all servers on the mesh. Definition at line 706 of file modules.cpp.
.PP
References del_gline().
.PP
.nf
-705 {
-706 del_gline(hostmask.c_str());
-707 }
+707 {
+708 del_gline(hostmask.c_str());
+709 }
.fi
.SS "bool Server::DelKLine (std::string hostmask)\fC [virtual]\fP"
.PP
-Deletes a local K-Line. Definition at line 719 of file modules.cpp.
+Deletes a local K-Line. Definition at line 721 of file modules.cpp.
.PP
References del_kline().
.PP
.nf
-720 {
-721 del_kline(hostmask.c_str());
-722 }
+722 {
+723 del_kline(hostmask.c_str());
+724 }
.fi
.SS "bool Server::DelQLine (std::string nickname)\fC [virtual]\fP"
.PP
-Deletes a Q-Line from all servers on the mesh. Definition at line 709 of file modules.cpp.
+Deletes a Q-Line from all servers on the mesh. Definition at line 711 of file modules.cpp.
.PP
References del_qline().
.PP
.nf
-710 {
-711 del_qline(nickname.c_str());
-712 }
+712 {
+713 del_qline(nickname.c_str());
+714 }
.fi
.SS "bool Server::DelZLine (std::string ipaddr)\fC [virtual]\fP"
.PP
-Deletes a Z-Line from all servers on the mesh. Definition at line 714 of file modules.cpp.
+Deletes a Z-Line from all servers on the mesh. Definition at line 716 of file modules.cpp.
.PP
References del_zline().
.PP
.nf
-715 {
-716 del_zline(ipaddr.c_str());
-717 }
+717 {
+718 del_zline(ipaddr.c_str());
+719 }
.fi
.SS "\fBchanrec\fP * Server::FindChannel (std::string channel)\fC [virtual]\fP"
.PP
-Attempts to look up a channel and return a pointer to it. This function will return NULL if the channel does not exist.Definition at line 540 of file modules.cpp.
+Attempts to look up a channel and return a pointer to it. This function will return NULL if the channel does not exist.Definition at line 542 of file modules.cpp.
.PP
.nf
-541 {
-542 return FindChan(channel.c_str());
-543 }
+543 {
+544 return FindChan(channel.c_str());
+545 }
.fi
.SS "\fBuserrec\fP * Server::FindDescriptor (int socket)\fC [virtual]\fP"
.PP
-Attempts to look up a nick using the file descriptor associated with that nick. This function will return NULL if the file descriptor is not associated with a valid user.Definition at line 535 of file modules.cpp.
+Attempts to look up a nick using the file descriptor associated with that nick. This function will return NULL if the file descriptor is not associated with a valid user.Definition at line 537 of file modules.cpp.
.PP
References fd_ref_table.
.PP
.nf
-536 {
-537 return (socket < 65536 ? fd_ref_table[socket] : NULL);
-538 }
+538 {
+539 return (socket < 65536 ? fd_ref_table[socket] : NULL);
+540 }
.fi
.SS "\fBModule\fP * Server::FindModule (std::string name)\fC [virtual]\fP"
.PP
-This function finds a module by name. You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.Definition at line 807 of file modules.cpp.
+This function finds a module by name. You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.Definition at line 809 of file modules.cpp.
.PP
References MODCOUNT, module_names, and modules.
.PP
.nf
-808 {
-809 for (int i = 0; i <= MODCOUNT; i++)
-810 {
-811 if (module_names[i] == name)
-812 {
-813 return modules[i];
-814 }
-815 }
-816 return NULL;
-817 }
+810 {
+811 for (int i = 0; i <= MODCOUNT; i++)
+812 {
+813 if (module_names[i] == name)
+814 {
+815 return modules[i];
+816 }
+817 }
+818 return NULL;
+819 }
.fi
.SS "\fBuserrec\fP * Server::FindNick (std::string nick)\fC [virtual]\fP"
.PP
-Attempts to look up a nick and return a pointer to it. This function will return NULL if the nick does not exist.Definition at line 530 of file modules.cpp.
+Attempts to look up a nick and return a pointer to it. This function will return NULL if the nick does not exist.Definition at line 532 of file modules.cpp.
.PP
.nf
-531 {
-532 return Find(nick);
-533 }
+533 {
+534 return Find(nick);
+535 }
.fi
.SS "\fBAdmin\fP Server::GetAdmin ()\fC [virtual]\fP"
.PP
-Returns the information of the server as returned by the /ADMIN command. See the \fBAdmin\fP class for further information of the return value. The members \fBAdmin::Nick\fP, \fBAdmin::Email\fP and \fBAdmin::Name\fP contain the information for the server where the module is loaded.Definition at line 570 of file modules.cpp.
+Returns the information of the server as returned by the /ADMIN command. See the \fBAdmin\fP class for further information of the return value. The members \fBAdmin::Nick\fP, \fBAdmin::Email\fP and \fBAdmin::Name\fP contain the information for the server where the module is loaded.Definition at line 572 of file modules.cpp.
.PP
.nf
-571 {
-572 return Admin(getadminname(),getadminemail(),getadminnick());
-573 }
+573 {
+574 return Admin(getadminname(),getadminemail(),getadminnick());
+575 }
.fi
.SS "std::string Server::GetNetworkName ()\fC [virtual]\fP"
.PP
-Returns the network name, global to all linked servers. Definition at line 560 of file modules.cpp.
+Returns the network name, global to all linked servers. Definition at line 562 of file modules.cpp.
.PP
.nf
-561 {
-562 return getnetworkname();
-563 }
+563 {
+564 return getnetworkname();
+565 }
.fi
.SS "std::string Server::GetServerDescription ()\fC [virtual]\fP"
.PP
-Returns the server description string of the local server. Definition at line 565 of file modules.cpp.
+Returns the server description string of the local server. Definition at line 567 of file modules.cpp.
.PP
.nf
-566 {
-567 return getserverdesc();
-568 }
+568 {
+569 return getserverdesc();
+570 }
.fi
.SS "std::string Server::GetServerName ()\fC [virtual]\fP"
.PP
-Returns the server name of the server where the module is loaded. Definition at line 555 of file modules.cpp.
+Returns the server name of the server where the module is loaded. Definition at line 557 of file modules.cpp.
.PP
.nf
-556 {
-557 return getservername();
-558 }
+558 {
+559 return getservername();
+560 }
.fi
.SS "\fBchanuserlist\fP Server::GetUsers (\fBchanrec\fP * chan)\fC [virtual]\fP"
.PP
-Fetches the userlist of a channel. This function must be here and not a member of userrec or chanrec due to include constraints.Definition at line 400 of file modules.cpp.
+Fetches the userlist of a channel. This function must be here and not a member of userrec or chanrec due to include constraints.Definition at line 402 of file modules.cpp.
.PP
References chanuserlist, chanrec::GetUsers(), and list.
.PP
.nf
-401 {
-402 chanuserlist userl;
-403 userl.clear();
-404 std::vector<char*> *list = chan->GetUsers();
-405 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++)
-406 {
-407 char* o = *i;
-408 userl.push_back((userrec*)o);
-409 }
-410 return userl;
-411 }
+403 {
+404 chanuserlist userl;
+405 userl.clear();
+406 std::vector<char*> *list = chan->GetUsers();
+407 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++)
+408 {
+409 char* o = *i;
+410 userl.push_back((userrec*)o);
+411 }
+412 return userl;
+413 }
.fi
.SS "bool Server::IsNick (std::string nick)\fC [virtual]\fP"
.PP
-Returns true if a nick is valid. Nicks for unregistered connections will return false.Definition at line 525 of file modules.cpp.
+Returns true if a nick is valid. Nicks for unregistered connections will return false.Definition at line 527 of file modules.cpp.
.PP
References isnick().
.PP
.nf
-526 {
-527 return (isnick(nick.c_str()) != 0);
-528 }
+528 {
+529 return (isnick(nick.c_str()) != 0);
+530 }
.fi
.SS "bool Server::IsOnChannel (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP"
.PP
-Checks if a user is on a channel. This function will return true or false to indicate if user 'User' is on channel 'Chan'.Definition at line 550 of file modules.cpp.
+Checks if a user is on a channel. This function will return true or false to indicate if user 'User' is on channel 'Chan'.Definition at line 552 of file modules.cpp.
.PP
References has_channel().
.PP
.nf
-551 {
-552 return has_channel(User,Chan);
-553 }
+553 {
+554 return has_channel(User,Chan);
+555 }
.fi
.SS "bool Server::IsUlined (std::string server)\fC [virtual]\fP"
.PP
-Returns true if the servername you give is ulined. ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner.Definition at line 422 of file modules.cpp.
+Returns true if the servername you give is ulined. ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner.Definition at line 424 of file modules.cpp.
.PP
References is_uline().
.PP
.nf
-423 {
-424 return is_uline(server.c_str());
-425 }
+425 {
+426 return is_uline(server.c_str());
+427 }
.fi
.SS "bool Server::IsValidMask (std::string mask)\fC [virtual]\fP"
.PP
-Returns true if a nick!ident string is correctly formatted, false if otherwise. Definition at line 734 of file modules.cpp.
+Returns true if a nick!ident string is correctly formatted, false if otherwise. Definition at line 736 of file modules.cpp.
.PP
.nf
-735 {
-736 const char* dest = mask.c_str();
-737 if (strchr(dest,'!')==0)
-738 return false;
-739 if (strchr(dest,'@')==0)
+737 {
+738 const char* dest = mask.c_str();
+739 if (strchr(dest,'!')==0)
740 return false;
-741 for (int i = 0; i < strlen(dest); i++)
-742 if (dest[i] < 32)
-743 return false;
-744 for (int i = 0; i < strlen(dest); i++)
-745 if (dest[i] > 126)
-746 return false;
-747 int c = 0;
-748 for (int i = 0; i < strlen(dest); i++)
-749 if (dest[i] == '!')
-750 c++;
-751 if (c>1)
-752 return false;
-753 c = 0;
-754 for (int i = 0; i < strlen(dest); i++)
-755 if (dest[i] == '@')
-756 c++;
-757 if (c>1)
-758 return false;
-759
-760 return true;
-761 }
+741 if (strchr(dest,'@')==0)
+742 return false;
+743 for (int i = 0; i < strlen(dest); i++)
+744 if (dest[i] < 32)
+745 return false;
+746 for (int i = 0; i < strlen(dest); i++)
+747 if (dest[i] > 126)
+748 return false;
+749 int c = 0;
+750 for (int i = 0; i < strlen(dest); i++)
+751 if (dest[i] == '!')
+752 c++;
+753 if (c>1)
+754 return false;
+755 c = 0;
+756 for (int i = 0; i < strlen(dest); i++)
+757 if (dest[i] == '@')
+758 c++;
+759 if (c>1)
+760 return false;
+761
+762 return true;
+763 }
.fi
.SS "\fBchanrec\fP * Server::JoinUserToChannel (\fBuserrec\fP * user, std::string cname, std::string key)\fC [virtual]\fP"
.PP
-Forces a user to join a channel. This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL.Definition at line 390 of file modules.cpp.
+Forces a user to join a channel. This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL.Definition at line 392 of file modules.cpp.
.PP
.nf
-391 {
-392 return add_channel(user,cname.c_str(),key.c_str(),false);
-393 }
+393 {
+394 return add_channel(user,cname.c_str(),key.c_str(),false);
+395 }
.fi
.SS "void Server::Log (int level, std::string s)\fC [virtual]\fP"
.PP
-Writes a log string. This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.Definition at line 432 of file modules.cpp.
+Writes a log string. This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.Definition at line 434 of file modules.cpp.
.PP
.nf
-433 {
-434 log(level,'%s',s.c_str());
-435 }
+435 {
+436 log(level,'%s',s.c_str());
+437 }
.fi
.SS "bool Server::MatchText (std::string sliteral, std::string spattern)\fC [virtual]\fP"
.PP
-Matches text against a glob pattern. Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise.Definition at line 377 of file modules.cpp.
+Matches text against a glob pattern. Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise.Definition at line 379 of file modules.cpp.
.PP
.nf
-378 {
-379 char literal[MAXBUF],pattern[MAXBUF];
-380 strlcpy(literal,sliteral.c_str(),MAXBUF);
-381 strlcpy(pattern,spattern.c_str(),MAXBUF);
-382 return match(literal,pattern);
-383 }
+380 {
+381 char literal[MAXBUF],pattern[MAXBUF];
+382 strlcpy(literal,sliteral.c_str(),MAXBUF);
+383 strlcpy(pattern,spattern.c_str(),MAXBUF);
+384 return match(literal,pattern);
+385 }
.fi
.SS "bool Server::MeshCheckChan (\fBchanrec\fP * c, std::string servername)\fC [virtual]\fP"
.PP
-This function is used to check if any users on channel c are on server servername. This is used internally by PRIVMSG etc. You should not need to use it.Definition at line 789 of file modules.cpp.
+This function is used to check if any users on channel c are on server servername. This is used internally by PRIVMSG etc. You should not need to use it.Definition at line 791 of file modules.cpp.
.PP
.nf
-790 {
-791 if (c)
-792 {
-793 return ChanAnyOnThisServer(c,(char*)servername.c_str());
-794 }
-795 else return false;
-796 }
+792 {
+793 if (c)
+794 {
+795 return ChanAnyOnThisServer(c,(char*)servername.c_str());
+796 }
+797 else return false;
+798 }
.fi
.SS "bool Server::MeshCheckCommon (\fBuserrec\fP * u, std::string servername)\fC [virtual]\fP"
.PP
-This function is used to check if user u has any channels in common with users on servername. This is used internally by \fBServer::MeshSendCommon\fP. You should very rarely need to use it.Definition at line 798 of file modules.cpp.
+This function is used to check if user u has any channels in common with users on servername. This is used internally by \fBServer::MeshSendCommon\fP. You should very rarely need to use it.Definition at line 800 of file modules.cpp.
.PP
.nf
-799 {
-800 if (u)
-801 {
-802 return CommonOnThisServer(u,(char*)servername.c_str());
-803 }
-804 else return false;
-805 }
+801 {
+802 if (u)
+803 {
+804 return CommonOnThisServer(u,(char*)servername.c_str());
+805 }
+806 else return false;
+807 }
.fi
.SS "void Server::MeshSendAll (std::string text)\fC [virtual]\fP"
.PP
-Sends a line of text to all connected servers. If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently.Definition at line 763 of file modules.cpp.
+Sends a line of text to all connected servers. If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently.Definition at line 765 of file modules.cpp.
.PP
.nf
-764 {
-765 NetSendToAll((char*)text.c_str());
-766 }
+766 {
+767 NetSendToAll((char*)text.c_str());
+768 }
.fi
.SS "void Server::MeshSendAllAlive (std::string text)\fC [virtual]\fP"
.PP
-This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. Definition at line 774 of file modules.cpp.
+This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. Definition at line 776 of file modules.cpp.
.PP
.nf
-775 {
-776 NetSendToAllAlive((char*)text.c_str());
-777 }
+777 {
+778 NetSendToAllAlive((char*)text.c_str());
+779 }
.fi
.SS "void Server::MeshSendAllExcept (std::string target, std::string text)\fC [virtual]\fP"
.PP
-This function sends to all servers EXCEPT the one you specify. You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops.Definition at line 784 of file modules.cpp.
+This function sends to all servers EXCEPT the one you specify. You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops.Definition at line 786 of file modules.cpp.
.PP
.nf
-785 {
-786 NetSendToAllExcept(target.c_str(),(char*)text.c_str());
-787 }
+787 {
+788 NetSendToAllExcept(target.c_str(),(char*)text.c_str());
+789 }
.fi
.SS "void Server::MeshSendCommon (\fBuserrec\fP * user, std::string text)\fC [virtual]\fP"
.PP
-This method sends a line of text to all servers who have users which share common channels with the user you provide. For example, if user A is on server A, and they are on channels #one and #two, and user B is on server B, and also on channel #one, but user C is on server C and on neither #one or #two, this function will cause the text to only be sent to server B. However, if server B is only reachable via C, it will route it to C (you do not have to worry about this routing, it is done transparently, but its good to know how things work!)Definition at line 768 of file modules.cpp.
+This method sends a line of text to all servers who have users which share common channels with the user you provide. For example, if user A is on server A, and they are on channels #one and #two, and user B is on server B, and also on channel #one, but user C is on server C and on neither #one or #two, this function will cause the text to only be sent to server B. However, if server B is only reachable via C, it will route it to C (you do not have to worry about this routing, it is done transparently, but its good to know how things work!)Definition at line 770 of file modules.cpp.
.PP
.nf
-769 {
-770 if (user)
-771 NetSendToCommon(user,(char*)text.c_str());
-772 }
+771 {
+772 if (user)
+773 NetSendToCommon(user,(char*)text.c_str());
+774 }
.fi
.SS "void Server::MeshSendUnicast (std::string destination, std::string text)\fC [virtual]\fP"
.PP
-This function sends a line of text directly to a server. If the server is not directly routable at this time, the server attempts to route text through the mesh.Definition at line 779 of file modules.cpp.
+This function sends a line of text directly to a server. If the server is not directly routable at this time, the server attempts to route text through the mesh.Definition at line 781 of file modules.cpp.
.PP
.nf
-780 {
-781 NetSendToOne((char*)destination.c_str(),(char*)text.c_str());
-782 }
+782 {
+783 NetSendToOne((char*)destination.c_str(),(char*)text.c_str());
+784 }
.fi
.SS "\fBchanrec\fP * Server::PartUserFromChannel (\fBuserrec\fP * user, std::string cname, std::string reason)\fC [virtual]\fP"
.PP
-Forces a user to part a channel. This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version.Definition at line 395 of file modules.cpp.
+Forces a user to part a channel. This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version.Definition at line 397 of file modules.cpp.
.PP
.nf
-396 {
-397 return del_channel(user,cname.c_str(),reason.c_str(),false);
-398 }
+398 {
+399 return del_channel(user,cname.c_str(),reason.c_str(),false);
+400 }
.fi
.SS "bool Server::PseudoToUser (\fBuserrec\fP * alive, \fBuserrec\fP * zombie, std::string message)\fC [virtual]\fP"
.PP
-This user takes one user, and switches their file descriptor with another user, so that one user 'becomes' the other. The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive.Definition at line 649 of file modules.cpp.
+This user takes one user, and switches their file descriptor with another user, so that one user 'becomes' the other. The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive.Definition at line 651 of file modules.cpp.
.PP
References ucrec::channel, userrec::chans, userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, fd_ref_table, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset.
.PP
.nf
-650 {
-651 zombie->fd = alive->fd;
-652 alive->fd = FD_MAGIC_NUMBER;
-653 alive->ClearBuffer();
-654 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
-655 kill_link(alive,message.c_str());
-656 fd_ref_table[zombie->fd] = zombie;
-657 for (int i = 0; i != MAXCHANS; i++)
-658 {
-659 if (zombie->chans[i].channel != NULL)
-660 {
-661 if (zombie->chans[i].channel->name)
-662 {
-663 chanrec* Ptr = zombie->chans[i].channel;
-664 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
-665 if (Ptr->topicset)
-666 {
-667 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
-668 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
-669 }
-670 userlist(zombie,Ptr);
-671 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
-672
-673 }
-674 }
-675 }
-676
-677 }
+652 {
+653 zombie->fd = alive->fd;
+654 alive->fd = FD_MAGIC_NUMBER;
+655 alive->ClearBuffer();
+656 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
+657 kill_link(alive,message.c_str());
+658 fd_ref_table[zombie->fd] = zombie;
+659 for (int i = 0; i != MAXCHANS; i++)
+660 {
+661 if (zombie->chans[i].channel != NULL)
+662 {
+663 if (zombie->chans[i].channel->name)
+664 {
+665 chanrec* Ptr = zombie->chans[i].channel;
+666 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
+667 if (Ptr->topicset)
+668 {
+669 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
+670 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
+671 }
+672 userlist(zombie,Ptr);
+673 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
+674
+675 }
+676 }
+677 }
+678
+679 }
.fi
.SS "void Server::QuitUser (\fBuserrec\fP * user, std::string reason)\fC [virtual]\fP"
.PP
@@ -875,71 +875,71 @@ Forces a user to quit with the specified reason. To the user, it will appear as
.PP
WARNING!
.PP
-Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler.Definition at line 417 of file modules.cpp.
+Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler.Definition at line 419 of file modules.cpp.
.PP
.nf
-418 {
-419 kill_link(user,reason.c_str());
-420 }
+420 {
+421 kill_link(user,reason.c_str());
+422 }
.fi
.SS "void Server::Send (int Socket, std::string s)\fC [virtual]\fP"
.PP
-Sends a line of text down a TCP/IP socket. This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.Definition at line 447 of file modules.cpp.
+Sends a line of text down a TCP/IP socket. This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.Definition at line 449 of file modules.cpp.
.PP
.nf
-448 {
-449 Write(Socket,'%s',s.c_str());
-450 }
+450 {
+451 Write(Socket,'%s',s.c_str());
+452 }
.fi
.SS "void Server::SendChannel (\fBuserrec\fP * User, \fBchanrec\fP * Channel, std::string s, bool IncludeSender)\fC [virtual]\fP"
.PP
-Sends text from a user to a channel (mulicast). This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).Definition at line 481 of file modules.cpp.
+Sends text from a user to a channel (mulicast). This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).Definition at line 483 of file modules.cpp.
.PP
.nf
-482 {
-483 if (IncludeSender)
-484 {
-485 WriteChannel(Channel,User,'%s',s.c_str());
-486 }
-487 else
-488 {
-489 ChanExceptSender(Channel,User,'%s',s.c_str());
-490 }
-491 }
+484 {
+485 if (IncludeSender)
+486 {
+487 WriteChannel(Channel,User,'%s',s.c_str());
+488 }
+489 else
+490 {
+491 ChanExceptSender(Channel,User,'%s',s.c_str());
+492 }
+493 }
.fi
.SS "void Server::SendChannelServerNotice (std::string ServName, \fBchanrec\fP * Channel, std::string text)\fC [virtual]\fP"
.PP
-Writes text to a channel, but from a server, including all. This can be used to send server notices to a group of users.Definition at line 476 of file modules.cpp.
+Writes text to a channel, but from a server, including all. This can be used to send server notices to a group of users.Definition at line 478 of file modules.cpp.
.PP
.nf
-477 {
-478 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str());
-479 }
+479 {
+480 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str());
+481 }
.fi
.SS "void Server::SendCommon (\fBuserrec\fP * User, std::string text, bool IncludeSender)\fC [virtual]\fP"
.PP
-Sends text from a user to one or more channels (mulicast). This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.Definition at line 498 of file modules.cpp.
+Sends text from a user to one or more channels (mulicast). This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.Definition at line 500 of file modules.cpp.
.PP
.nf
-499 {
-500 if (IncludeSender)
-501 {
-502 WriteCommon(User,'%s',text.c_str());
-503 }
-504 else
-505 {
-506 WriteCommonExcept(User,'%s',text.c_str());
-507 }
-508 }
+501 {
+502 if (IncludeSender)
+503 {
+504 WriteCommon(User,'%s',text.c_str());
+505 }
+506 else
+507 {
+508 WriteCommonExcept(User,'%s',text.c_str());
+509 }
+510 }
.fi
.SS "void Server::SendFrom (int Socket, \fBuserrec\fP * User, std::string s)\fC [virtual]\fP"
.PP
-Sends text from a user to a socket. This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)Definition at line 457 of file modules.cpp.
+Sends text from a user to a socket. This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)Definition at line 459 of file modules.cpp.
.PP
.nf
-458 {
-459 WriteFrom(Socket,User,'%s',s.c_str());
-460 }
+460 {
+461 WriteFrom(Socket,User,'%s',s.c_str());
+462 }
.fi
.SS "void Server::SendMode (char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
@@ -957,32 +957,32 @@ modes[2] = user->nick;
.PP
Srv->SendMode(modes,3,user);
.PP
-The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!Definition at line 442 of file modules.cpp.
+The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!Definition at line 444 of file modules.cpp.
.PP
References server_mode().
.PP
.nf
-443 {
-444 server_mode(parameters,pcnt,user);
-445 }
+445 {
+446 server_mode(parameters,pcnt,user);
+447 }
.fi
.SS "void Server::SendOpers (std::string s)\fC [virtual]\fP"
.PP
-Sends text to all opers. This method sends a server notice to all opers with the usermode +s.Definition at line 372 of file modules.cpp.
+Sends text to all opers. This method sends a server notice to all opers with the usermode +s.Definition at line 374 of file modules.cpp.
.PP
.nf
-373 {
-374 WriteOpers('%s',s.c_str());
-375 }
+375 {
+376 WriteOpers('%s',s.c_str());
+377 }
.fi
.SS "void Server::SendServ (int Socket, std::string s)\fC [virtual]\fP"
.PP
-Sends text from the server to a socket. This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)Definition at line 452 of file modules.cpp.
+Sends text from the server to a socket. This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)Definition at line 454 of file modules.cpp.
.PP
.nf
-453 {
-454 WriteServ(Socket,'%s',s.c_str());
-455 }
+455 {
+456 WriteServ(Socket,'%s',s.c_str());
+457 }
.fi
.SS "void Server::SendTo (\fBuserrec\fP * Source, \fBuserrec\fP * Dest, std::string s)\fC [virtual]\fP"
.PP
@@ -994,23 +994,23 @@ The format will become:
.PP
:localserver TEXT
.PP
-Which is useful for numerics and server notices to single users, etc.Definition at line 462 of file modules.cpp.
+Which is useful for numerics and server notices to single users, etc.Definition at line 464 of file modules.cpp.
.PP
References connection::fd.
.PP
.nf
-463 {
-464 if (!Source)
-465 {
-466 // if source is NULL, then the message originates from the local server
-467 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
-468 }
-469 else
-470 {
-471 // otherwise it comes from the user specified
-472 WriteTo(Source,Dest,'%s',s.c_str());
-473 }
-474 }
+465 {
+466 if (!Source)
+467 {
+468 // if source is NULL, then the message originates from the local server
+469 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
+470 }
+471 else
+472 {
+473 // otherwise it comes from the user specified
+474 WriteTo(Source,Dest,'%s',s.c_str());
+475 }
+476 }
.fi
.SS "void Server::SendToModeMask (std::string modes, int flags, std::string text)\fC [virtual]\fP"
.PP
@@ -1018,57 +1018,57 @@ Sends to all users matching a mode mask You must specify one or more usermodes a
.PP
Serv->SendToModeMask('xi', WM_OR, 'm00');
.PP
-Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message.Definition at line 385 of file modules.cpp.
+Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message.Definition at line 387 of file modules.cpp.
.PP
.nf
-386 {
-387 WriteMode(modes.c_str(),flags,'%s',text.c_str());
-388 }
+388 {
+389 WriteMode(modes.c_str(),flags,'%s',text.c_str());
+390 }
.fi
.SS "void Server::SendWallops (\fBuserrec\fP * User, std::string text)\fC [virtual]\fP"
.PP
-Sends a WALLOPS message. This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.Definition at line 510 of file modules.cpp.
+Sends a WALLOPS message. This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.Definition at line 512 of file modules.cpp.
.PP
.nf
-511 {
-512 WriteWallOps(User,false,'%s',text.c_str());
-513 }
+513 {
+514 WriteWallOps(User,false,'%s',text.c_str());
+515 }
.fi
.SS "bool Server::UserToPseudo (\fBuserrec\fP * user, std::string message)\fC [virtual]\fP"
.PP
-Remove a user's connection to the irc server, but leave their client in existence in the user hash. When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid.Definition at line 619 of file modules.cpp.
+Remove a user's connection to the irc server, but leave their client in existence in the user hash. When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid.Definition at line 621 of file modules.cpp.
.PP
References userrec::ClearBuffer(), DEBUG, connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident.
.PP
.nf
-620 {
-621 unsigned int old_fd = user->fd;
-622 user->fd = FD_MAGIC_NUMBER;
-623 user->ClearBuffer();
-624 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
-625 #ifdef USE_KQUEUE
-626 struct kevent ke;
-627 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-628 int i = kevent(kq, &ke, 1, 0, 0, NULL);
-629 if (i == -1)
-630 {
-631 log(DEBUG,'kqueue: Failed to remove user from queue!');
-632 }
-633 #endif
-634 #ifdef USE_EPOLL
-635 struct epoll_event ev;
-636 ev.events = EPOLLIN | EPOLLET;
-637 ev.data.fd = old_fd;
-638 int i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev);
-639 if (i < 0)
-640 {
-641 log(DEBUG,'epoll: List deletion failure!');
-642 }
-643 #endif
-644
-645 shutdown(old_fd,2);
-646 close(old_fd);
-647 }
+622 {
+623 unsigned int old_fd = user->fd;
+624 user->fd = FD_MAGIC_NUMBER;
+625 user->ClearBuffer();
+626 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
+627 #ifdef USE_KQUEUE
+628 struct kevent ke;
+629 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+630 int i = kevent(kq, &ke, 1, 0, 0, NULL);
+631 if (i == -1)
+632 {
+633 log(DEBUG,'kqueue: Failed to remove user from queue!');
+634 }
+635 #endif
+636 #ifdef USE_EPOLL
+637 struct epoll_event ev;
+638 ev.events = EPOLLIN | EPOLLET;
+639 ev.data.fd = old_fd;
+640 int i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev);
+641 if (i < 0)
+642 {
+643 log(DEBUG,'epoll: List deletion failure!');
+644 }
+645 #endif
+646
+647 shutdown(old_fd,2);
+648 close(old_fd);
+649 }
.fi
diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3
index 448ab5904..10c11bca4 100644
--- a/docs/man/man3/Version.3
+++ b/docs/man/man3/Version.3
@@ -1,4 +1,4 @@
-.TH "Version" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Version" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -49,10 +49,10 @@ Definition at line 111 of file modules.h.
.PP
.SS "Version::Version (int major, int minor, int revision, int build, int flags)"
.PP
-Definition at line 243 of file modules.cpp.
+Definition at line 245 of file modules.cpp.
.PP
.nf
-243 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
+245 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/WhoWasUser.3 b/docs/man/man3/WhoWasUser.3
index acda325ea..9bccb5046 100644
--- a/docs/man/man3/WhoWasUser.3
+++ b/docs/man/man3/WhoWasUser.3
@@ -1,4 +1,4 @@
-.TH "WhoWasUser" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "WhoWasUser" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -17,7 +17,7 @@ WhoWasUser \- A lightweight userrec used by WHOWAS.
.RI "char \fBnick\fP [NICKMAX]"
.br
.ti -1c
-.RI "char \fBident\fP [16]"
+.RI "char \fBident\fP [IDENTMAX+1]"
.br
.ti -1c
.RI "char \fBdhost\fP [160]"
@@ -26,7 +26,7 @@ WhoWasUser \- A lightweight userrec used by WHOWAS.
.RI "char \fBhost\fP [160]"
.br
.ti -1c
-.RI "char \fBfullname\fP [128]"
+.RI "char \fBfullname\fP [MAXGECOS+1]"
.br
.ti -1c
.RI "char \fBserver\fP [256]"
@@ -37,30 +37,30 @@ WhoWasUser \- A lightweight userrec used by WHOWAS.
.in -1c
.SH "Detailed Description"
.PP
-A lightweight userrec used by WHOWAS. Definition at line 326 of file users.h.
+A lightweight userrec used by WHOWAS. Definition at line 325 of file users.h.
.SH "Member Data Documentation"
.PP
.SS "char \fBWhoWasUser::dhost\fP[160]"
.PP
-Definition at line 331 of file users.h.
-.SS "char \fBWhoWasUser::fullname\fP[128]"
+Definition at line 330 of file users.h.
+.SS "char \fBWhoWasUser::fullname\fP[MAXGECOS+1]"
.PP
-Definition at line 333 of file users.h.
+Definition at line 332 of file users.h.
.SS "char \fBWhoWasUser::host\fP[160]"
.PP
-Definition at line 332 of file users.h.
-.SS "char \fBWhoWasUser::ident\fP[16]"
+Definition at line 331 of file users.h.
+.SS "char \fBWhoWasUser::ident\fP[IDENTMAX+1]"
.PP
-Definition at line 330 of file users.h.
+Definition at line 329 of file users.h.
.SS "char \fBWhoWasUser::nick\fP[NICKMAX]"
.PP
-Definition at line 329 of file users.h.
+Definition at line 328 of file users.h.
.SS "char \fBWhoWasUser::server\fP[256]"
.PP
-Definition at line 334 of file users.h.
+Definition at line 333 of file users.h.
.SS "time_t \fBWhoWasUser::signon\fP"
.PP
-Definition at line 335 of file users.h.
+Definition at line 334 of file users.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3
index dfec61ad4..4b1aa3c68 100644
--- a/docs/man/man3/XLine.3
+++ b/docs/man/man3/XLine.3
@@ -1,4 +1,4 @@
-.TH "XLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "XLine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3
index 958a51291..f230f3d1f 100644
--- a/docs/man/man3/ZLine.3
+++ b/docs/man/man3/ZLine.3
@@ -1,4 +1,4 @@
-.TH "ZLine" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ZLine" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/base.h.3 b/docs/man/man3/base.h.3
index 2451eaec9..c717153e6 100644
--- a/docs/man/man3/base.h.3
+++ b/docs/man/man3/base.h.3
@@ -1,4 +1,4 @@
-.TH "base.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "base.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -19,6 +19,10 @@ base.h \-
.in +1c
.ti -1c
+.RI "class \fBBoolSet\fP"
+.br
+.RI "\fIBoolSet is a utility class designed to hold eight bools in a bitmask. \fP"
+.ti -1c
.RI "class \fBclassbase\fP"
.br
.RI "\fIThe base class for all inspircd classes. \fP"
@@ -34,11 +38,29 @@ base.h \-
.RI "typedef void * \fBVoidPointer\fP"
.br
.in -1c
+.SS "Variables"
+
+.in +1c
+.ti -1c
+.RI "const int \fBbitfields\fP [] = {1,2,4,8,16,32,64,128}"
+.br
+.ti -1c
+.RI "const int \fBinverted_bitfields\fP [] = {~1,~2,~4,~8,~16,~32,~64,~128}"
+.br
+.in -1c
.SH "Typedef Documentation"
.PP
.SS "typedef void* \fBVoidPointer\fP"
.PP
Definition at line 25 of file base.h.
+.SH "Variable Documentation"
+.PP
+.SS "const int \fBbitfields\fP[] = {1,2,4,8,16,32,64,128}"
+.PP
+Definition at line 91 of file base.h.
+.SS "const int \fBinverted_bitfields\fP[] = {~1,~2,~4,~8,~16,~32,~64,~128}"
+.PP
+Definition at line 92 of file base.h.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3
index ce1ab31a4..a9ef2ee12 100644
--- a/docs/man/man3/channels.cpp.3
+++ b/docs/man/man3/channels.cpp.3
@@ -1,4 +1,4 @@
-.TH "channels.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.cpp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -6,14 +6,14 @@ channels.cpp \-
.SH SYNOPSIS
.br
.PP
+\fC#include 'inspircd_config.h'\fP
+.br
\fC#include 'inspircd.h'\fP
.br
\fC#include 'inspircd_io.h'\fP
.br
\fC#include 'inspircd_util.h'\fP
.br
-\fC#include 'inspircd_config.h'\fP
-.br
\fC#include <unistd.h>\fP
.br
\fC#include <sys/errno.h>\fP
@@ -263,7 +263,7 @@ Definition at line 97 of file channels.cpp.
Referenced by IsRoutable().
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 1016 of file modules.cpp.
+Definition at line 1019 of file modules.cpp.
.PP
Referenced by Server::FindModule().
.SS "std::vector<std::string> \fBmodule_names\fP"
@@ -309,6 +309,8 @@ Definition at line 65 of file channels.cpp.
.SS "char \fBServerName\fP[MAXBUF]"
.PP
Definition at line 63 of file channels.cpp.
+.PP
+Referenced by userrec::userrec().
.SS "int \fBSERVERportCount\fP"
.PP
Definition at line 90 of file channels.cpp.
diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3
index 8ef439af1..84ded7a0d 100644
--- a/docs/man/man3/channels.h.3
+++ b/docs/man/man3/channels.h.3
@@ -1,4 +1,4 @@
-.TH "channels.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3
index 85a066e63..3f5401779 100644
--- a/docs/man/man3/chanrec.3
+++ b/docs/man/man3/chanrec.3
@@ -1,4 +1,4 @@
-.TH "chanrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "chanrec" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3
index ef6d05980..2d962475b 100644
--- a/docs/man/man3/classbase.3
+++ b/docs/man/man3/classbase.3
@@ -1,4 +1,4 @@
-.TH "classbase" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "classbase" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3
index 6ead6ef21..ccd08117f 100644
--- a/docs/man/man3/command_t.3
+++ b/docs/man/man3/command_t.3
@@ -1,4 +1,4 @@
-.TH "command_t" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "command_t" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3
index f39d57305..a129fa14e 100644
--- a/docs/man/man3/commands.h.3
+++ b/docs/man/man3/commands.h.3
@@ -1,4 +1,4 @@
-.TH "commands.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "commands.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3
index ce6ea9e37..cce6dc268 100644
--- a/docs/man/man3/connection.3
+++ b/docs/man/man3/connection.3
@@ -1,4 +1,4 @@
-.TH "connection" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/connection.h.3 b/docs/man/man3/connection.h.3
index bb39452b8..4e15d56f9 100644
--- a/docs/man/man3/connection.h.3
+++ b/docs/man/man3/connection.h.3
@@ -1,4 +1,4 @@
-.TH "connection.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ctables.h.3 b/docs/man/man3/ctables.h.3
index 82f623cc7..1abb82f4a 100644
--- a/docs/man/man3/ctables.h.3
+++ b/docs/man/man3/ctables.h.3
@@ -1,4 +1,4 @@
-.TH "ctables.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ctables.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns.h.3 b/docs/man/man3/dns.h.3
index 89c841b4a..1dae58d82 100644
--- a/docs/man/man3/dns.h.3
+++ b/docs/man/man3/dns.h.3
@@ -1,4 +1,4 @@
-.TH "dns.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns_ip4list.3 b/docs/man/man3/dns_ip4list.3
index 799018e42..b94b73779 100644
--- a/docs/man/man3/dns_ip4list.3
+++ b/docs/man/man3/dns_ip4list.3
@@ -1,4 +1,4 @@
-.TH "dns_ip4list" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns_ip4list" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/hashcomp.h.3 b/docs/man/man3/hashcomp.h.3
index 5736183a8..06d234d52 100644
--- a/docs/man/man3/hashcomp.h.3
+++ b/docs/man/man3/hashcomp.h.3
@@ -1,4 +1,4 @@
-.TH "hashcomp.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "hashcomp.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc.3 b/docs/man/man3/irc.3
index 1d972fbd5..56a91446e 100644
--- a/docs/man/man3/irc.3
+++ b/docs/man/man3/irc.3
@@ -1,4 +1,4 @@
-.TH "irc" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_InAddr_HashComp.3 b/docs/man/man3/irc_InAddr_HashComp.3
index 64b936da9..322fd7b74 100644
--- a/docs/man/man3/irc_InAddr_HashComp.3
+++ b/docs/man/man3/irc_InAddr_HashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::InAddr_HashComp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::InAddr_HashComp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_StrHashComp.3 b/docs/man/man3/irc_StrHashComp.3
index b77547f8f..ecd16fef2 100644
--- a/docs/man/man3/irc_StrHashComp.3
+++ b/docs/man/man3/irc_StrHashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::StrHashComp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::StrHashComp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_irc_char_traits.3 b/docs/man/man3/irc_irc_char_traits.3
index 403416ac6..f6b81a162 100644
--- a/docs/man/man3/irc_irc_char_traits.3
+++ b/docs/man/man3/irc_irc_char_traits.3
@@ -1,4 +1,4 @@
-.TH "irc::irc_char_traits" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "irc::irc_char_traits" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ircd_connector.3 b/docs/man/man3/ircd_connector.3
index 6bd266f7b..7198b4947 100644
--- a/docs/man/man3/ircd_connector.3
+++ b/docs/man/man3/ircd_connector.3
@@ -1,4 +1,4 @@
-.TH "ircd_connector" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ircd_connector" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -328,7 +328,7 @@ Get the state flags for this connection. \fBReturns:\fP
The state flags associated with this connection
.RE
.PP
-Referenced by IsRoutable(), and serverrec::SendPacket().
+Referenced by serverrec::SendPacket().
.SS "std::string ircd_connector::GetVersionString ()"
.PP
This method returns the version string of the remote server. If the server has no version string an empty string is returned.
diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3
index e5330d038..5fbf3852b 100644
--- a/docs/man/man3/message.h.3
+++ b/docs/man/man3/message.h.3
@@ -1,4 +1,4 @@
-.TH "message.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "message.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3
index 58435b0aa..6095483d1 100644
--- a/docs/man/man3/mode.h.3
+++ b/docs/man/man3/mode.h.3
@@ -1,4 +1,4 @@
-.TH "mode.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "mode.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3
index c0861bcfb..3232cdf1a 100644
--- a/docs/man/man3/modules.cpp.3
+++ b/docs/man/man3/modules.cpp.3
@@ -1,4 +1,4 @@
-.TH "modules.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.cpp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -6,14 +6,14 @@ modules.cpp \-
.SH SYNOPSIS
.br
.PP
+\fC#include 'inspircd_config.h'\fP
+.br
\fC#include 'inspircd.h'\fP
.br
\fC#include 'inspircd_io.h'\fP
.br
\fC#include 'inspircd_util.h'\fP
.br
-\fC#include 'inspircd_config.h'\fP
-.br
\fC#include <unistd.h>\fP
.br
\fC#include <sys/errno.h>\fP
@@ -139,6 +139,9 @@ modules.cpp \-
.RI "std::vector< \fBircd_module\fP * > \fBfactory\fP"
.br
.ti -1c
+.RI "std::vector< std::string > \fBinclude_stack\fP"
+.br
+.ti -1c
.RI "time_t \fBTIME\fP"
.br
.ti -1c
@@ -269,160 +272,160 @@ modules.cpp \-
.PP
.SS "typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, \fBirc::InAddr_HashComp\fP> \fBaddress_cache\fP"
.PP
-Definition at line 120 of file modules.cpp.
+Definition at line 122 of file modules.cpp.
.SS "typedef nspace::hash_map<std::string, \fBchanrec\fP*, nspace::hash<string>, \fBirc::StrHashComp\fP> \fBchan_hash\fP"
.PP
-Definition at line 119 of file modules.cpp.
+Definition at line 121 of file modules.cpp.
.SS "typedef std::deque<\fBcommand_t\fP> \fBcommand_table\fP"
.PP
-Definition at line 122 of file modules.cpp.
+Definition at line 124 of file modules.cpp.
.SS "typedef std::vector<\fBExtMode\fP> \fBExtModeList\fP"
.PP
-Definition at line 148 of file modules.cpp.
+Definition at line 150 of file modules.cpp.
.SS "typedef ExtModeList::iterator \fBExtModeListIter\fP"
.PP
-Definition at line 149 of file modules.cpp.
+Definition at line 151 of file modules.cpp.
.PP
Referenced by ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
.SS "typedef nspace::hash_map<std::string, \fBuserrec\fP*, nspace::hash<string>, \fBirc::StrHashComp\fP> \fBuser_hash\fP"
.PP
-Definition at line 118 of file modules.cpp.
+Definition at line 120 of file modules.cpp.
.SS "typedef nspace::hash_map<std::string, \fBWhoWasUser\fP*, nspace::hash<string>, \fBirc::StrHashComp\fP> \fBwhowas_hash\fP"
.PP
-Definition at line 121 of file modules.cpp.
+Definition at line 123 of file modules.cpp.
.SH "Function Documentation"
.PP
.SS "bool DoAddExtendedMode (char modechar, int type, bool requires_oper, int params_on, int params_off)"
.PP
-Definition at line 218 of file modules.cpp.
+Definition at line 220 of file modules.cpp.
.PP
References EMode, and ModeDefined().
.PP
Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode().
.PP
.nf
-219 {
-220 if (ModeDefined(modechar,type)) {
-221 return false;
-222 }
-223 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
-224 return true;
-225 }
+221 {
+222 if (ModeDefined(modechar,type)) {
+223 return false;
+224 }
+225 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
+226 return true;
+227 }
.fi
.SS "std::vector<\fBircd_module\fP*> factory (255)"
.PP
.SS "bool ModeDefined (char modechar, int type)"
.PP
-Definition at line 155 of file modules.cpp.
+Definition at line 157 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
Referenced by DoAddExtendedMode().
.PP
.nf
-156 {
-157 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-158 {
-159 if ((i->modechar == modechar) && (i->type == type))
-160 {
-161 return true;
-162 }
-163 }
-164 return false;
-165 }
+158 {
+159 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+160 {
+161 if ((i->modechar == modechar) && (i->type == type))
+162 {
+163 return true;
+164 }
+165 }
+166 return false;
+167 }
.fi
.SS "int ModeDefinedOff (char modechar, int type)"
.PP
-Definition at line 205 of file modules.cpp.
+Definition at line 207 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-206 {
-207 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-208 {
-209 if ((i->modechar == modechar) && (i->type == type))
-210 {
-211 return i->params_when_off;
-212 }
-213 }
-214 return 0;
-215 }
+208 {
+209 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+210 {
+211 if ((i->modechar == modechar) && (i->type == type))
+212 {
+213 return i->params_when_off;
+214 }
+215 }
+216 return 0;
+217 }
.fi
.SS "int ModeDefinedOn (char modechar, int type)"
.PP
-Definition at line 192 of file modules.cpp.
+Definition at line 194 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-193 {
-194 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-195 {
-196 if ((i->modechar == modechar) && (i->type == type))
-197 {
-198 return i->params_when_on;
-199 }
-200 }
-201 return 0;
-202 }
+195 {
+196 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+197 {
+198 if ((i->modechar == modechar) && (i->type == type))
+199 {
+200 return i->params_when_on;
+201 }
+202 }
+203 return 0;
+204 }
.fi
.SS "bool ModeDefinedOper (char modechar, int type)"
.PP
-Definition at line 179 of file modules.cpp.
+Definition at line 181 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-180 {
-181 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-182 {
-183 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
-184 {
-185 return true;
-186 }
-187 }
-188 return false;
-189 }
+182 {
+183 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+184 {
+185 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
+186 {
+187 return true;
+188 }
+189 }
+190 return false;
+191 }
.fi
.SS "bool ModeIsListMode (char modechar, int type)"
.PP
-Definition at line 167 of file modules.cpp.
+Definition at line 169 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-168 {
-169 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-170 {
-171 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
-172 {
-173 return true;
-174 }
-175 }
-176 return false;
-177 }
+170 {
+171 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+172 {
+173 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
+174 {
+175 return true;
+176 }
+177 }
+178 return false;
+179 }
.fi
.SS "void ModeMakeList (char modechar)"
.PP
-Definition at line 228 of file modules.cpp.
+Definition at line 230 of file modules.cpp.
.PP
References EMode, ExtModeListIter, and MT_CHANNEL.
.PP
Referenced by Server::AddExtendedListMode().
.PP
.nf
-229 {
-230 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-231 {
-232 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
-233 {
-234 i->list = true;
-235 return;
-236 }
-237 }
-238 return;
-239 }
+231 {
+232 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+233 {
+234 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
+235 {
+236 i->list = true;
+237 return;
+238 }
+239 }
+240 return;
+241 }
.fi
.SS "std::vector<\fBModule\fP*> modules (255)"
.PP
@@ -430,49 +433,49 @@ Referenced by Server::AddExtendedListMode().
.PP
.SS "char \fBAdminEmail\fP[MAXBUF]"
.PP
-Definition at line 82 of file modules.cpp.
+Definition at line 84 of file modules.cpp.
.SS "char \fBAdminName\fP[MAXBUF]"
.PP
-Definition at line 81 of file modules.cpp.
+Definition at line 83 of file modules.cpp.
.SS "char \fBAdminNick\fP[MAXBUF]"
.PP
-Definition at line 83 of file modules.cpp.
+Definition at line 85 of file modules.cpp.
.SS "std::vector<long> \fBauth_cookies\fP"
.PP
-Definition at line 109 of file modules.cpp.
+Definition at line 111 of file modules.cpp.
.SS "int \fBboundPortCount\fP"
.PP
-Definition at line 103 of file modules.cpp.
+Definition at line 105 of file modules.cpp.
.SS "\fBchan_hash\fP \fBchanlist\fP"
.PP
-Definition at line 126 of file modules.cpp.
+Definition at line 128 of file modules.cpp.
.SS "\fBuser_hash\fP \fBclientlist\fP"
.PP
-Definition at line 125 of file modules.cpp.
+Definition at line 127 of file modules.cpp.
.SS "\fBcommand_table\fP \fBcmdlist\fP"
.PP
-Definition at line 128 of file modules.cpp.
+Definition at line 130 of file modules.cpp.
.SS "std::stringstream \fBconfig_f\fP"
.PP
-Definition at line 110 of file modules.cpp.
+Definition at line 112 of file modules.cpp.
.SS "int \fBdebugging\fP"
.PP
-Definition at line 92 of file modules.cpp.
+Definition at line 94 of file modules.cpp.
.SS "int \fBdefaultRoute\fP"
.PP
-Definition at line 107 of file modules.cpp.
+Definition at line 109 of file modules.cpp.
.SS "int \fBDieDelay\fP"
.PP
-Definition at line 95 of file modules.cpp.
+Definition at line 97 of file modules.cpp.
.SS "char \fBdiepass\fP[MAXBUF]"
.PP
-Definition at line 84 of file modules.cpp.
+Definition at line 86 of file modules.cpp.
.SS "char \fBDieValue\fP[MAXBUF]"
.PP
-Definition at line 90 of file modules.cpp.
+Definition at line 92 of file modules.cpp.
.SS "\fBExtModeList\fP \fBEMode\fP"
.PP
-Definition at line 152 of file modules.cpp.
+Definition at line 154 of file modules.cpp.
.PP
Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
.SS "std::vector<\fBircd_module\fP*> factory"
@@ -480,93 +483,98 @@ Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedO
Definition at line 73 of file modules.cpp.
.SS "\fBuserrec\fP* \fBfd_ref_table\fP[65536]"
.PP
-Definition at line 116 of file modules.cpp.
+Definition at line 118 of file modules.cpp.
.PP
Referenced by Server::FindDescriptor(), and Server::PseudoToUser().
+.SS "std::vector<std::string> \fBinclude_stack\fP"
+.PP
+Definition at line 75 of file modules.cpp.
+.PP
+Referenced by ConfigReader::ConfigReader().
.SS "\fBaddress_cache\fP \fBIP\fP"
.PP
-Definition at line 131 of file modules.cpp.
+Definition at line 133 of file modules.cpp.
.SS "char \fBlist\fP[MAXBUF]"
.PP
-Definition at line 88 of file modules.cpp.
+Definition at line 90 of file modules.cpp.
.SS "FILE* \fBlog_file\fP"
.PP
-Definition at line 114 of file modules.cpp.
+Definition at line 116 of file modules.cpp.
.SS "int \fBLogLevel\fP"
.PP
-Definition at line 77 of file modules.cpp.
+Definition at line 79 of file modules.cpp.
.SS "int \fBMaxWhoResults\fP"
.PP
-Definition at line 98 of file modules.cpp.
+Definition at line 100 of file modules.cpp.
.SS "\fBserverrec\fP* \fBme\fP[32]"
.PP
-Definition at line 112 of file modules.cpp.
+Definition at line 114 of file modules.cpp.
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 1016 of file modules.cpp.
+Definition at line 1019 of file modules.cpp.
.SS "std::vector<std::string> \fBmodule_names\fP"
.PP
-Definition at line 101 of file modules.cpp.
+Definition at line 103 of file modules.cpp.
.SS "std::vector<\fBModule\fP*> modules"
.PP
Definition at line 72 of file modules.cpp.
.SS "\fBfile_cache\fP \fBMOTD\fP"
.PP
-Definition at line 129 of file modules.cpp.
+Definition at line 131 of file modules.cpp.
.SS "char \fBmotd\fP[MAXBUF]"
.PP
-Definition at line 86 of file modules.cpp.
+Definition at line 88 of file modules.cpp.
.SS "time_t \fBnb_start\fP"
.PP
-Definition at line 99 of file modules.cpp.
+Definition at line 101 of file modules.cpp.
.SS "int \fBNetBufferSize\fP"
.PP
-Definition at line 97 of file modules.cpp.
+Definition at line 99 of file modules.cpp.
.SS "char \fBNetwork\fP[MAXBUF]"
.PP
-Definition at line 79 of file modules.cpp.
+Definition at line 81 of file modules.cpp.
.SS "int \fBportCount\fP"
.PP
-Definition at line 104 of file modules.cpp.
+Definition at line 106 of file modules.cpp.
.SS "int \fBports\fP[MAXSOCKS]"
.PP
-Definition at line 106 of file modules.cpp.
+Definition at line 108 of file modules.cpp.
.SS "char \fBPrefixQuit\fP[MAXBUF]"
.PP
-Definition at line 89 of file modules.cpp.
+Definition at line 91 of file modules.cpp.
.SS "char \fBrestartpass\fP[MAXBUF]"
.PP
-Definition at line 85 of file modules.cpp.
+Definition at line 87 of file modules.cpp.
.SS "\fBfile_cache\fP \fBRULES\fP"
.PP
-Definition at line 130 of file modules.cpp.
+Definition at line 132 of file modules.cpp.
.SS "char \fBrules\fP[MAXBUF]"
.PP
-Definition at line 87 of file modules.cpp.
+Definition at line 89 of file modules.cpp.
.SS "char \fBServerDesc\fP[MAXBUF]"
.PP
-Definition at line 80 of file modules.cpp.
+Definition at line 82 of file modules.cpp.
.SS "char \fBServerName\fP[MAXBUF]"
.PP
-Definition at line 78 of file modules.cpp.
+Definition at line 80 of file modules.cpp.
.SS "int \fBSERVERportCount\fP"
.PP
-Definition at line 105 of file modules.cpp.
+Definition at line 107 of file modules.cpp.
.SS "time_t \fBstartup_time\fP"
.PP
-Definition at line 96 of file modules.cpp.
+Definition at line 98 of file modules.cpp.
.SS "time_t \fBTIME\fP"
.PP
-Definition at line 75 of file modules.cpp.
+Definition at line 77 of file modules.cpp.
.SS "\fBwhowas_hash\fP \fBwhowas\fP"
.PP
-Definition at line 127 of file modules.cpp.
+Definition at line 129 of file modules.cpp.
.SS "int \fBWHOWAS_MAX\fP"
.PP
-Definition at line 94 of file modules.cpp.
+Definition at line 96 of file modules.cpp.
.SS "int \fBWHOWAS_STALE\fP"
.PP
-Definition at line 93 of file modules.cpp.
+Definition at line 95 of file modules.cpp.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/modules.h.3 b/docs/man/man3/modules.h.3
index 25b175296..3d5c084f4 100644
--- a/docs/man/man3/modules.h.3
+++ b/docs/man/man3/modules.h.3
@@ -1,4 +1,4 @@
-.TH "modules.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3
index 372e1adfe..a70d80f53 100644
--- a/docs/man/man3/nspace.3
+++ b/docs/man/man3/nspace.3
@@ -1,4 +1,4 @@
-.TH "nspace" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace_nspace_hash_ in_addr _.3 b/docs/man/man3/nspace_nspace_hash_ in_addr _.3
index 7b40764d7..5f909e73d 100644
--- a/docs/man/man3/nspace_nspace_hash_ in_addr _.3
+++ b/docs/man/man3/nspace_nspace_hash_ in_addr _.3
@@ -1,4 +1,4 @@
-.TH "nspace::nspace::hash< in_addr >" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< in_addr >" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace_nspace_hash_ string _.3 b/docs/man/man3/nspace_nspace_hash_ string _.3
index b27f352d0..d152c53de 100644
--- a/docs/man/man3/nspace_nspace_hash_ string _.3
+++ b/docs/man/man3/nspace_nspace_hash_ string _.3
@@ -1,4 +1,4 @@
-.TH "nspace::nspace::hash< string >" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< string >" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/serverrec.3 b/docs/man/man3/serverrec.3
index 756987d57..428f509df 100644
--- a/docs/man/man3/serverrec.3
+++ b/docs/man/man3/serverrec.3
@@ -1,4 +1,4 @@
-.TH "serverrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "serverrec" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -317,7 +317,7 @@ Find the \fBircd_connector\fP oject related to a certain servername given in 'ho
.PP
References connectors.
.PP
-Referenced by BeginLink(), IsRoutable(), and SendPacket().
+Referenced by BeginLink(), and SendPacket().
.PP
.nf
243 {
@@ -333,61 +333,85 @@ Referenced by BeginLink(), IsRoutable(), and SendPacket().
.fi
.SS "void serverrec::FlushWriteBuffers ()"
.PP
-Flushes all data waiting to be written for all of this server's connections. Definition at line 284 of file servers.cpp.
+Flushes all data waiting to be written for all of this server's connections. Definition at line 274 of file servers.cpp.
.PP
References connectors, has_been_netsplit, IsRoutable(), STATE_DISCONNECTED, STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND, and TIME.
.PP
.nf
-285 {
-286 for (int i = 0; i < this->connectors.size(); i++)
-287 {
-288 // don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!
-289 if ((this->connectors[i].GetState() == STATE_NOAUTH_OUTBOUND) && (TIME > this->connectors[i].age+30))
+275 {
+276 char buffer[MAXBUF];
+277 for (int i = 0; i < this->connectors.size(); i++)
+278 {
+279 // don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!
+280 if ((this->connectors[i].GetState() == STATE_NOAUTH_OUTBOUND) && (TIME > this->connectors[i].age+30))
+281 {
+282 // however if we reach this timer its connected timed out :)
+283 WriteOpers('*** Connection to %s timed out',this->connectors[i].GetServerName().c_str());
+284 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+285 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+286 DoSplit(this->connectors[i].GetServerName().c_str());
+287 return;
+288 }
+289 if ((this->connectors[i].GetState() == STATE_NOAUTH_INBOUND) && (TIME > this->connectors[i].age+30))
290 {
-291 // however if we reach this timer its connected timed out :)
-292 WriteOpers('*** Connection to %s timed out',this->connectors[i].GetServerName().c_str());
-293 DoSplit(this->connectors[i].GetServerName().c_str());
-294 return;
-295 }
-296 else if ((this->connectors[i].GetState() == STATE_NOAUTH_INBOUND) && (TIME > this->connectors[i].age+30))
-297 {
-298 WriteOpers('*** Connection from %s timed out',this->connectors[i].GetServerName().c_str());
-299 DoSplit(this->connectors[i].GetServerName().c_str());
-300 return;
-301 }
-302 else if (this->connectors[i].GetState() != STATE_DISCONNECTED)
-303 {
-304 if (!this->connectors[i].CheckPing())
-305 {
-306 WriteOpers('*** Lost single connection to %s: Ping timeout',this->connectors[i].GetServerName().c_str());
-307 this->connectors[i].CloseConnection();
-308 this->connectors[i].SetState(STATE_DISCONNECTED);
-309 if (!IsRoutable(this->connectors[i].GetServerName()))
-310 {
-311 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
-312 DoSplit(this->connectors[i].GetServerName().c_str());
-313 }
-314 has_been_netsplit = true;
-315 }
-316 }
-317 if (this->connectors[i].HasBufferedOutput())
-318 {
-319 if (!this->connectors[i].FlushWriteBuf())
-320 {
-321 // if we're here the write() caused an error, we cannot proceed
-322 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',this->connectors[i].GetServerName().c_str(),this->connectors[i].GetWriteError().c_str());
-323 this->connectors[i].CloseConnection();
-324 this->connectors[i].SetState(STATE_DISCONNECTED);
-325 if (!IsRoutable(this->connectors[i].GetServerName()))
-326 {
-327 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
-328 DoSplit(this->connectors[i].GetServerName().c_str());
-329 }
-330 has_been_netsplit = true;
-331 }
-332 }
-333 }
-334 }
+291 WriteOpers('*** Connection from %s timed out',this->connectors[i].GetServerName().c_str());
+292 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+293 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+294 DoSplit(this->connectors[i].GetServerName().c_str());
+295 return;
+296 }
+297 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
+298 {
+299 if (!this->connectors[i].CheckPing())
+300 {
+301 WriteOpers('*** Lost single connection to %s: Ping timeout',this->connectors[i].GetServerName().c_str());
+302 this->connectors[i].CloseConnection();
+303 this->connectors[i].SetState(STATE_DISCONNECTED);
+304 if (!IsRoutable(this->connectors[i].GetServerName()))
+305 {
+306 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+307 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+308 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+309 DoSplit(this->connectors[i].GetServerName().c_str());
+310 }
+311 has_been_netsplit = true;
+312 }
+313 }
+314 if ((this->connectors[i].GetWriteError() !='') && (this->connectors[i].GetState() != STATE_DISCONNECTED))
+315 {
+316 // if we're here the write() caused an error, we cannot proceed
+317 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',this->connectors[i].GetServerName().c_str(),this->connectors[i].GetWriteError().c_str());
+318 this->connectors[i].CloseConnection();
+319 this->connectors[i].SetState(STATE_DISCONNECTED);
+320 if (!IsRoutable(this->connectors[i].GetServerName()))
+321 {
+322 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+323 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+324 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+325 DoSplit(this->connectors[i].GetServerName().c_str());
+326 }
+327 has_been_netsplit = true;
+328 }
+329 if ((this->connectors[i].HasBufferedOutput()) && (this->connectors[i].GetState() != STATE_DISCONNECTED))
+330 {
+331 if (!this->connectors[i].FlushWriteBuf())
+332 {
+333 // if we're here the write() caused an error, we cannot proceed
+334 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',this->connectors[i].GetServerName().c_str(),this->connectors[i].GetWriteError().c_str());
+335 this->connectors[i].CloseConnection();
+336 this->connectors[i].SetState(STATE_DISCONNECTED);
+337 if (!IsRoutable(this->connectors[i].GetServerName()))
+338 {
+339 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+340 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+341 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+342 DoSplit(this->connectors[i].GetServerName().c_str());
+343 }
+344 has_been_netsplit = true;
+345 }
+346 }
+347 }
+348 }
.fi
.SS "bool serverrec::MeshCookie (char * targethost, int port, unsigned long cookie, char * servername)"
.PP
@@ -427,191 +451,210 @@ References connectors, connection::fd, ircd_connector::MakeOutboundConnection(),
.fi
.SS "bool serverrec::RecvPacket (std::deque< std::string > & messages, char * host, std::deque< std::string > & sums)"
.PP
-Returns the next available packet and returns true if data is available. 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. Definition at line 431 of file servers.cpp.
+Returns the next available packet and returns true if data is available. 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. Definition at line 445 of file servers.cpp.
.PP
References already_have_sum(), connectors, DEBUG, has_been_netsplit, IsRoutable(), and STATE_DISCONNECTED.
.PP
.nf
-432 {
-433 char data[65536];
-434 memset(data, 0, 65536);
-435 for (int i = 0; i < this->connectors.size(); i++)
-436 {
-437 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
-438 {
-439 // returns false if the packet could not be sent (e.g. target host down)
-440 int rcvsize = 0;
-441
-442 // check if theres any data on this socket
-443 // if not, continue onwards to the next.
-444 pollfd polls;
-445 polls.fd = this->connectors[i].GetDescriptor();
-446 polls.events = POLLIN;
-447 int ret = poll(&polls,1,1);
-448 if (ret <= 0) continue;
-449
-450 rcvsize = recv(this->connectors[i].GetDescriptor(),data,65000,0);
-451 data[rcvsize] = '\0';
-452 if (rcvsize == -1)
-453 {
-454 if (errno != EAGAIN)
-455 {
-456 log(DEBUG,'recv() failed for serverrec::RecvPacket(): %s',strerror(errno));
-457 log(DEBUG,'Disabling connector: %s',this->connectors[i].GetServerName().c_str());
-458 this->connectors[i].CloseConnection();
-459 this->connectors[i].SetState(STATE_DISCONNECTED);
-460 if (!IsRoutable(this->connectors[i].GetServerName()))
-461 {
-462 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
-463 DoSplit(this->connectors[i].GetServerName().c_str());
-464 }
-465 has_been_netsplit = true;
-466 }
-467 }
-468 int pushed = 0;
-469 if (rcvsize > 0)
-470 {
-471 if (!this->connectors[i].AddBuffer(data))
-472 {
-473 WriteOpers('*** Read buffer for %s exceeds maximum, closing connection!',this->connectors[i].GetServerName().c_str());
-474 this->connectors[i].CloseConnection();
-475 this->connectors[i].SetState(STATE_DISCONNECTED);
-476 if (!IsRoutable(this->connectors[i].GetServerName()))
-477 {
-478 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
-479 DoSplit(this->connectors[i].GetServerName().c_str());
-480 }
-481 has_been_netsplit = true;
-482 }
-483 if (this->connectors[i].BufferIsComplete())
+446 {
+447 char data[65536],buffer[MAXBUF];
+448 memset(data, 0, 65536);
+449 for (int i = 0; i < this->connectors.size(); i++)
+450 {
+451 if (this->connectors[i].GetState() != STATE_DISCONNECTED)
+452 {
+453 // returns false if the packet could not be sent (e.g. target host down)
+454 int rcvsize = 0;
+455
+456 // check if theres any data on this socket
+457 // if not, continue onwards to the next.
+458 pollfd polls;
+459 polls.fd = this->connectors[i].GetDescriptor();
+460 polls.events = POLLIN;
+461 int ret = poll(&polls,1,1);
+462 if (ret <= 0) continue;
+463
+464 rcvsize = recv(this->connectors[i].GetDescriptor(),data,65000,0);
+465 data[rcvsize] = '\0';
+466 if (rcvsize == 0)
+467 {
+468 log(DEBUG,'recv() failed for serverrec::RecvPacket(): EOF');
+469 log(DEBUG,'Disabling connector: %s',this->connectors[i].GetServerName().c_str());
+470 this->connectors[i].CloseConnection();
+471 this->connectors[i].SetState(STATE_DISCONNECTED);
+472 if (!IsRoutable(this->connectors[i].GetServerName()))
+473 {
+474 WriteOpers('*** Server %s is no longer routable, disconnecting (EOF)',this->connectors[i].GetServerName().c_str());
+475 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+476 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+477 DoSplit(this->connectors[i].GetServerName().c_str());
+478 }
+479 has_been_netsplit = true;
+480 }
+481 if (rcvsize == -1)
+482 {
+483 if (errno != EAGAIN)
484 {
-485 this->connectors[i].ResetPing();
-486 while (this->connectors[i].BufferIsComplete())
-487 {
-488 std::string text = this->connectors[i].GetBuffer();
-489 if (text != '')
-490 {
-491 if ((text[0] == ':') && (text.find(' ') != std::string::npos))
-492 {
-493 std::string orig = text;
-494 log(DEBUG,'Original: %s',text.c_str());
-495 std::string sum = text.substr(1,text.find(' ')-1);
-496 text = text.substr(text.find(' ')+1,text.length());
-497 std::string possible_token = text.substr(1,text.find(' ')-1);
-498 if (possible_token.length() > 1)
-499 {
-500 sums.push_back('*');
-501 text = orig;
-502 log(DEBUG,'Non-mesh, non-tokenized string passed up the chain');
-503 }
-504 else
-505 {
-506 log(DEBUG,'Packet sum: '%s'',sum.c_str());
-507 if ((already_have_sum(sum)) && (sum != '*'))
-508 {
-509 // we don't accept dupes
-510 continue;
-511 }
-512 sums.push_back(sum.c_str());
-513 }
-514 }
-515 else sums.push_back('*');
-516 messages.push_back(text.c_str());
-517 strlcpy(recvhost,this->connectors[i].GetServerName().c_str(),160);
-518 log(DEBUG,'serverrec::RecvPacket() %d:%s->%s',pushed++,recvhost,text.c_str());
-519 }
-520 }
-521 return true;
-522 }
-523 }
-524 }
-525 }
-526 // nothing new yet -- message and host will be undefined
-527 return false;
-528 }
+485 log(DEBUG,'recv() failed for serverrec::RecvPacket(): %s',strerror(errno));
+486 log(DEBUG,'Disabling connector: %s',this->connectors[i].GetServerName().c_str());
+487 this->connectors[i].CloseConnection();
+488 this->connectors[i].SetState(STATE_DISCONNECTED);
+489 if (!IsRoutable(this->connectors[i].GetServerName()))
+490 {
+491 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+492 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+493 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+494 DoSplit(this->connectors[i].GetServerName().c_str());
+495 }
+496 has_been_netsplit = true;
+497 }
+498 }
+499 int pushed = 0;
+500 if (rcvsize > 0)
+501 {
+502 if (!this->connectors[i].AddBuffer(data))
+503 {
+504 WriteOpers('*** Read buffer for %s exceeds maximum, closing connection!',this->connectors[i].GetServerName().c_str());
+505 this->connectors[i].CloseConnection();
+506 this->connectors[i].SetState(STATE_DISCONNECTED);
+507 if (!IsRoutable(this->connectors[i].GetServerName()))
+508 {
+509 WriteOpers('*** Server %s is no longer routable, disconnecting.',this->connectors[i].GetServerName().c_str());
+510 snprintf(buffer,MAXBUF,'& %s',this->connectors[i].GetServerName().c_str());
+511 NetSendToAllExcept(this->connectors[i].GetServerName().c_str(),buffer);
+512 DoSplit(this->connectors[i].GetServerName().c_str());
+513 }
+514 has_been_netsplit = true;
+515 }
+516 if (this->connectors[i].BufferIsComplete())
+517 {
+518 this->connectors[i].ResetPing();
+519 while (this->connectors[i].BufferIsComplete())
+520 {
+521 std::string text = this->connectors[i].GetBuffer();
+522 if (text != '')
+523 {
+524 if ((text[0] == ':') && (text.find(' ') != std::string::npos))
+525 {
+526 std::string orig = text;
+527 log(DEBUG,'Original: %s',text.c_str());
+528 std::string sum = text.substr(1,text.find(' ')-1);
+529 text = text.substr(text.find(' ')+1,text.length());
+530 std::string possible_token = text.substr(1,text.find(' ')-1);
+531 if (possible_token.length() > 1)
+532 {
+533 sums.push_back('*');
+534 text = orig;
+535 log(DEBUG,'Non-mesh, non-tokenized string passed up the chain');
+536 }
+537 else
+538 {
+539 log(DEBUG,'Packet sum: '%s'',sum.c_str());
+540 if ((already_have_sum(sum)) && (sum != '*'))
+541 {
+542 // we don't accept dupes
+543 continue;
+544 }
+545 sums.push_back(sum.c_str());
+546 }
+547 }
+548 else sums.push_back('*');
+549 messages.push_back(text.c_str());
+550 strlcpy(recvhost,this->connectors[i].GetServerName().c_str(),160);
+551 log(DEBUG,'serverrec::RecvPacket() %d:%s->%s',pushed++,recvhost,text.c_str());
+552 }
+553 }
+554 return true;
+555 }
+556 }
+557 }
+558 }
+559 // nothing new yet -- message and host will be undefined
+560 return false;
+561 }
.fi
.SS "bool serverrec::SendPacket (char * message, const char * host)"
.PP
-Send a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. Definition at line 336 of file servers.cpp.
+Send a message to a server by name, if the server is unavailable directly route the packet via another server If the server still cannot be reached after attempting to route the message remotely, returns false. Definition at line 350 of file servers.cpp.
.PP
References ircd_connector::AddWriteBuf(), ircd_connector::CloseConnection(), connectors, DEBUG, FindHost(), ircd_connector::FlushWriteBuf(), ircd_connector::GetServerName(), ircd_connector::GetState(), ircd_connector::GetWriteError(), ircd_connector::SetState(), and STATE_DISCONNECTED.
.PP
Referenced by BeginLink(), and MeshCookie().
.PP
.nf
-337 {
-338 if ((!message) || (!sendhost))
-339 return true;
-340
-341 ircd_connector* cn = this->FindHost(sendhost);
-342
-343 if (!strchr(message,'\n'))
-344 {
-345 strlcat(message,'\n',MAXBUF);
-346 }
-347
-348 if (cn)
-349 {
-350 log(DEBUG,'main: serverrec::SendPacket() sent '%s' to %s',message,cn->GetServerName().c_str());
-351
-352 if (cn->GetState() == STATE_DISCONNECTED)
-353 {
-354 // fix: can only route one hop to avoid a loop
-355 if (strncmp(message,'R ',2))
-356 {
-357 log(DEBUG,'Not a double reroute');
-358 // this route is down, we must re-route the packet through an available point in the mesh.
-359 for (int k = 0; k < this->connectors.size(); k++)
-360 {
-361 log(DEBUG,'Check connector %d: %s',k,this->connectors[k].GetServerName().c_str());
-362 // search for another point in the mesh which can 'reach' where we want to go
-363 for (int m = 0; m < this->connectors[k].routes.size(); m++)
-364 {
-365 if (!strcasecmp(this->connectors[k].routes[m].c_str(),sendhost))
-366 {
-367 log(DEBUG,'Found alternative route for packet: %s',this->connectors[k].GetServerName().c_str());
-368 char buffer[MAXBUF];
-369 snprintf(buffer,MAXBUF,'R %s %s',sendhost,message);
-370 this->SendPacket(buffer,this->connectors[k].GetServerName().c_str());
-371 return true;
-372 }
-373 }
-374 }
-375 }
-376 char buffer[MAXBUF];
-377 snprintf(buffer,MAXBUF,'& %s',sendhost);
-378 WriteOpers('*** All connections to %s lost.',sendhost);
-379 NetSendToAllExcept(sendhost,buffer);
-380 DoSplit(sendhost);
-381 return false;
-382 }
-383
-384 // returns false if the packet could not be sent (e.g. target host down)
-385 if (!cn->AddWriteBuf(message))
-386 {
-387 // if we're here, there was an error pending, and the send cannot proceed
-388 log(DEBUG,'cn->AddWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
-389 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
-390 cn->CloseConnection();
-391 cn->SetState(STATE_DISCONNECTED);
-392 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
-393 // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)
-394 return this->SendPacket(message,sendhost);
-395 }
-396 if (!cn->FlushWriteBuf())
-397 {
-398 // if we're here the write() caused an error, we cannot proceed
-399 log(DEBUG,'cn->FlushWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
-400 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
-401 cn->CloseConnection();
-402 cn->SetState(STATE_DISCONNECTED);
-403 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
-404 // retry the packet along a new route so either arrival OR failure are gauranteed
-405 return this->SendPacket(message,sendhost);
-406 }
-407 return true;
-408 }
-409 }
+351 {
+352 if ((!message) || (!sendhost))
+353 return true;
+354
+355 ircd_connector* cn = this->FindHost(sendhost);
+356
+357 if (!strchr(message,'\n'))
+358 {
+359 strlcat(message,'\n',MAXBUF);
+360 }
+361
+362 if (cn)
+363 {
+364 log(DEBUG,'main: serverrec::SendPacket() sent '%s' to %s',message,cn->GetServerName().c_str());
+365
+366 if (cn->GetState() == STATE_DISCONNECTED)
+367 {
+368 // fix: can only route one hop to avoid a loop
+369 if (strncmp(message,'R ',2))
+370 {
+371 log(DEBUG,'Not a double reroute');
+372 // this route is down, we must re-route the packet through an available point in the mesh.
+373 for (int k = 0; k < this->connectors.size(); k++)
+374 {
+375 log(DEBUG,'Check connector %d: %s',k,this->connectors[k].GetServerName().c_str());
+376 // search for another point in the mesh which can 'reach' where we want to go
+377 for (int m = 0; m < this->connectors[k].routes.size(); m++)
+378 {
+379 if (!strcasecmp(this->connectors[k].routes[m].c_str(),sendhost))
+380 {
+381 log(DEBUG,'Found alternative route for packet: %s',this->connectors[k].GetServerName().c_str());
+382 char buffer[MAXBUF];
+383 snprintf(buffer,MAXBUF,'R %s %s',sendhost,message);
+384 this->SendPacket(buffer,this->connectors[k].GetServerName().c_str());
+385 return true;
+386 }
+387 }
+388 }
+389 }
+390 char buffer[MAXBUF];
+391 snprintf(buffer,MAXBUF,'& %s',sendhost);
+392 WriteOpers('*** All connections to %s lost.',sendhost);
+393 NetSendToAllExcept(sendhost,buffer);
+394 DoSplit(sendhost);
+395 return false;
+396 }
+397
+398 // returns false if the packet could not be sent (e.g. target host down)
+399 if (!cn->AddWriteBuf(message))
+400 {
+401 // if we're here, there was an error pending, and the send cannot proceed
+402 log(DEBUG,'cn->AddWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
+403 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
+404 cn->CloseConnection();
+405 cn->SetState(STATE_DISCONNECTED);
+406 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
+407 // retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)
+408 return this->SendPacket(message,sendhost);
+409 }
+410 if (!cn->FlushWriteBuf())
+411 {
+412 // if we're here the write() caused an error, we cannot proceed
+413 log(DEBUG,'cn->FlushWriteBuf() failed for serverrec::SendPacket(): %s',cn->GetWriteError().c_str());
+414 log(DEBUG,'Disabling connector: %s',cn->GetServerName().c_str());
+415 cn->CloseConnection();
+416 cn->SetState(STATE_DISCONNECTED);
+417 WriteOpers('*** Lost single connection to %s, link inactive and retrying: %s',cn->GetServerName().c_str(),cn->GetWriteError().c_str());
+418 // retry the packet along a new route so either arrival OR failure are gauranteed
+419 return this->SendPacket(message,sendhost);
+420 }
+421 return true;
+422 }
+423 }
.fi
.SS "void serverrec::TerminateLink (char * targethost)"
.PP
diff --git a/docs/man/man3/servers.cpp.3 b/docs/man/man3/servers.cpp.3
index bedaea1c4..ff4d1a736 100644
--- a/docs/man/man3/servers.cpp.3
+++ b/docs/man/man3/servers.cpp.3
@@ -1,4 +1,4 @@
-.TH "servers.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.cpp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -74,63 +74,53 @@ servers.cpp \-
.PP
.SS "bool already_have_sum (std::string sum)"
.PP
-Definition at line 411 of file servers.cpp.
+Definition at line 425 of file servers.cpp.
.PP
References xsums.
.PP
Referenced by serverrec::RecvPacket().
.PP
.nf
-412 {
-413 for (int i = 0; i < xsums.size(); i++)
-414 {
-415 if (xsums[i] == sum)
-416 {
-417 return true;
-418 }
-419 }
-420 if (xsums.size() >= 128)
-421 {
-422 xsums.pop_front();
-423 }
-424 xsums.push_back(sum);
-425 return false;
-426 }
+426 {
+427 for (int i = 0; i < xsums.size(); i++)
+428 {
+429 if (xsums[i] == sum)
+430 {
+431 return true;
+432 }
+433 }
+434 if (xsums.size() >= 128)
+435 {
+436 xsums.pop_front();
+437 }
+438 xsums.push_back(sum);
+439 return false;
+440 }
.fi
.SS "bool IsRoutable (std::string servername)"
.PP
Definition at line 256 of file servers.cpp.
.PP
-References serverrec::connectors, serverrec::FindHost(), ircd_connector::GetState(), me, and STATE_DISCONNECTED.
+References serverrec::connectors, me, and STATE_DISCONNECTED.
.PP
Referenced by serverrec::FlushWriteBuffers(), and serverrec::RecvPacket().
.PP
.nf
257 {
-258 for (int x = 0; x < 32; x++) if (me[x])
-259 {
-260 ircd_connector* cn = me[x]->FindHost(servername.c_str());
-261 if (cn)
-262 {
-263 if (cn->GetState() == STATE_DISCONNECTED)
-264 {
-265 for (int k = 0; k < me[x]->connectors.size(); k++)
-266 {
-267 for (int m = 0; m < me[x]->connectors[k].routes.size(); m++)
-268 {
-269 if (!strcasecmp(me[x]->connectors[k].routes[m].c_str(),servername.c_str()))
-270 {
-271 return true;
-272 }
-273 }
-274 }
-275 return false;
-276 }
-277 else return true;
-278 }
-279 }
-280 return false;
-281 }
+258 int c = 0;
+259 for (int x = 0; x < 32; x++)
+260 if (me[x])
+261 {
+262 for (int i = 0; i < me[x]->connectors.size(); i++)
+263 {
+264 if ((me[x]->connectors[i].GetServerName() == servername) && (me[x]->connectors[i].GetState() != STATE_DISCONNECTED))
+265 {
+266 c++;
+267 }
+268 }
+269 }
+270 return (c != 0);
+271 }
.fi
.SH "Variable Documentation"
.PP
diff --git a/docs/man/man3/servers.h.3 b/docs/man/man3/servers.h.3
index 7a695dac2..44c07711f 100644
--- a/docs/man/man3/servers.h.3
+++ b/docs/man/man3/servers.h.3
@@ -1,4 +1,4 @@
-.TH "servers.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3
index 2f3412140..d7536d797 100644
--- a/docs/man/man3/std.3
+++ b/docs/man/man3/std.3
@@ -1,4 +1,4 @@
-.TH "std" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "std" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std_char_traits.3 b/docs/man/man3/std_char_traits.3
index 055db1ba0..5d2b39799 100644
--- a/docs/man/man3/std_char_traits.3
+++ b/docs/man/man3/std_char_traits.3
@@ -1,4 +1,4 @@
-.TH "std::char_traits" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "std::char_traits" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3
index 93895a59f..be2545aaa 100644
--- a/docs/man/man3/ucrec.3
+++ b/docs/man/man3/ucrec.3
@@ -1,4 +1,4 @@
-.TH "ucrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ucrec" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3
index 5baa46954..e5d14b57f 100644
--- a/docs/man/man3/userrec.3
+++ b/docs/man/man3/userrec.3
@@ -1,4 +1,4 @@
-.TH "userrec" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "userrec" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -98,7 +98,7 @@ Inherits \fBconnection\fP.
.br
.RI "\fIThe users nickname. \fP"
.ti -1c
-.RI "char \fBident\fP [16]"
+.RI "char \fBident\fP [IDENTMAX+2]"
.br
.RI "\fIThe users ident reply. \fP"
.ti -1c
@@ -106,29 +106,25 @@ Inherits \fBconnection\fP.
.br
.RI "\fIThe host displayed to non-opers (used for cloaking etc). \fP"
.ti -1c
-.RI "char \fBfullname\fP [128]"
+.RI "char \fBfullname\fP [MAXGECOS+1]"
.br
.RI "\fIThe users full name. \fP"
.ti -1c
-.RI "char \fBmodes\fP [MAXBUF]"
+.RI "char \fBmodes\fP [54]"
.br
.RI "\fIThe user's mode string. \fP"
.ti -1c
.RI "\fBucrec\fP \fBchans\fP [MAXCHANS]"
.br
.ti -1c
-.RI "char \fBserver\fP [256]"
+.RI "char * \fBserver\fP"
.br
.RI "\fIThe server the user is connected to. \fP"
.ti -1c
-.RI "char \fBawaymsg\fP [512]"
+.RI "char \fBawaymsg\fP [MAXAWAY+1]"
.br
.RI "\fIThe user's away message. \fP"
.ti -1c
-.RI "char \fBresult\fP [256]"
-.br
-.RI "\fIStores the result of the last GetFullHost or GetRealHost call. \fP"
-.ti -1c
.RI "int \fBflood\fP"
.br
.RI "\fINumber of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. \fP"
@@ -201,33 +197,32 @@ Definition at line 108 of file users.h.
.PP
.SS "userrec::userrec ()"
.PP
-Definition at line 31 of file users.cpp.
+Definition at line 32 of file users.cpp.
.PP
-References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, invites, connection::ip, connection::lastping, lines_in, modes, nick, connection::nping, oper, connection::port, recvq, connection::registered, reset_due, result, sendq, server, connection::signon, TIME, timeout, and ucrec::uc_modes.
+References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, invites, connection::ip, connection::lastping, lines_in, modes, nick, connection::nping, oper, connection::port, recvq, connection::registered, reset_due, sendq, server, ServerName, connection::signon, TIME, timeout, and ucrec::uc_modes.
.PP
.nf
-32 {
-33 // the PROPER way to do it, AVOID bzero at *ALL* costs
-34 strcpy(nick,'');
-35 strcpy(ip,'127.0.0.1');
-36 timeout = 0;
-37 strcpy(ident,'');
-38 strcpy(host,'');
-39 strcpy(dhost,'');
-40 strcpy(fullname,'');
-41 strcpy(modes,'');
-42 strcpy(server,'');
-43 strcpy(awaymsg,'');
-44 strcpy(oper,'');
-45 reset_due = TIME;
-46 lines_in = 0;
-47 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
-48 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
-49 haspassed = false;
-50 dns_done = false;
-51 recvq = '';
-52 sendq = '';
-53 strcpy(result,'');
+33 {
+34 // the PROPER way to do it, AVOID bzero at *ALL* costs
+35 strcpy(nick,'');
+36 strcpy(ip,'127.0.0.1');
+37 timeout = 0;
+38 strcpy(ident,'');
+39 strcpy(host,'');
+40 strcpy(dhost,'');
+41 strcpy(fullname,'');
+42 strcpy(modes,'');
+43 server = (char*)FindServerNamePtr(ServerName);
+44 strcpy(awaymsg,'');
+45 strcpy(oper,'');
+46 reset_due = TIME;
+47 lines_in = 0;
+48 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
+49 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
+50 haspassed = false;
+51 dns_done = false;
+52 recvq = '';
+53 sendq = '';
54 for (int i = 0; i < MAXCHANS; i++)
55 {
56 this->chans[i].channel = NULL;
@@ -238,92 +233,92 @@ References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel,
.fi
.SS "virtual userrec::~\fBuserrec\fP ()\fC [inline, virtual]\fP"
.PP
-Definition at line 222 of file users.h.
+Definition at line 221 of file users.h.
.PP
.nf
-222 { }
+221 { }
.fi
.SH "Member Function Documentation"
.PP
.SS "bool userrec::AddBuffer (std::string a)"
.PP
-This method adds data to the buffer of the user. The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted.Definition at line 190 of file users.cpp.
+This method adds data to the buffer of the user. The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted.Definition at line 192 of file users.cpp.
.PP
References recvq, recvqmax, and SetWriteError().
.PP
.nf
-191 {
-192 std::string b = '';
-193 for (int i = 0; i < a.length(); i++)
-194 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7))
-195 b = b + a[i];
-196 std::stringstream stream(recvq);
-197 stream << b;
-198 recvq = stream.str();
-199 int i = 0;
-200 // count the size of the first line in the buffer.
-201 while (i < recvq.length())
-202 {
-203 if (recvq[i++] == '\n')
-204 break;
-205 }
-206 if (recvq.length() > this->recvqmax)
-207 {
-208 this->SetWriteError('RecvQ exceeded');
-209 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax);
-210 }
-211 // return false if we've had more than 600 characters WITHOUT
-212 // a carriage return (this is BAD, drop the socket)
-213 return (i < 600);
-214 }
+193 {
+194 std::string b = '';
+195 for (int i = 0; i < a.length(); i++)
+196 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7))
+197 b = b + a[i];
+198 std::stringstream stream(recvq);
+199 stream << b;
+200 recvq = stream.str();
+201 int i = 0;
+202 // count the size of the first line in the buffer.
+203 while (i < recvq.length())
+204 {
+205 if (recvq[i++] == '\n')
+206 break;
+207 }
+208 if (recvq.length() > this->recvqmax)
+209 {
+210 this->SetWriteError('RecvQ exceeded');
+211 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax);
+212 }
+213 // return false if we've had more than 600 characters WITHOUT
+214 // a carriage return (this is BAD, drop the socket)
+215 return (i < 600);
+216 }
.fi
.SS "void userrec::AddWriteBuf (std::string data)"
.PP
-Adds to the user's write buffer. You may add any amount of text up to this users sendq value, if you exceed the sendq value, \fBSetWriteError()\fP will be called to set the users error string to 'SendQ exceeded', and further buffer adds will be dropped.Definition at line 246 of file users.cpp.
+Adds to the user's write buffer. You may add any amount of text up to this users sendq value, if you exceed the sendq value, \fBSetWriteError()\fP will be called to set the users error string to 'SendQ exceeded', and further buffer adds will be dropped.Definition at line 248 of file users.cpp.
.PP
References GetWriteError(), sendq, sendqmax, and SetWriteError().
.PP
.nf
-247 {
-248 if (this->GetWriteError() != '')
-249 return;
-250 if (sendq.length() + data.length() > this->sendqmax)
-251 {
-252 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax);
-253 this->SetWriteError('SendQ exceeded');
-254 return;
-255 }
-256 std::stringstream stream;
-257 stream << sendq << data;
-258 sendq = stream.str();
-259 }
+249 {
+250 if (this->GetWriteError() != '')
+251 return;
+252 if (sendq.length() + data.length() > this->sendqmax)
+253 {
+254 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax);
+255 this->SetWriteError('SendQ exceeded');
+256 return;
+257 }
+258 std::stringstream stream;
+259 stream << sendq << data;
+260 sendq = stream.str();
+261 }
.fi
.SS "bool userrec::BufferIsReady ()"
.PP
-This method returns true if the buffer contains at least one carriage return character (e.g. one complete line may be read)Definition at line 216 of file users.cpp.
+This method returns true if the buffer contains at least one carriage return character (e.g. one complete line may be read)Definition at line 218 of file users.cpp.
.PP
References recvq.
.PP
.nf
-217 {
-218 for (int i = 0; i < recvq.length(); i++)
-219 if (recvq[i] == '\n')
-220 return true;
-221 return false;
-222 }
+219 {
+220 for (int i = 0; i < recvq.length(); i++)
+221 if (recvq[i] == '\n')
+222 return true;
+223 return false;
+224 }
.fi
.SS "void userrec::ClearBuffer ()"
.PP
-This function clears the entire buffer by setting it to an empty string. Definition at line 224 of file users.cpp.
+This function clears the entire buffer by setting it to an empty string. Definition at line 226 of file users.cpp.
.PP
References recvq.
.PP
Referenced by Server::PseudoToUser(), and Server::UserToPseudo().
.PP
.nf
-225 {
-226 recvq = '';
-227 }
+227 {
+228 recvq = '';
+229 }
.fi
.SS "void userrec::CloseSocket ()"
.PP
@@ -337,287 +332,289 @@ Shuts down and closes the user's socket. Definition at line 62 of file users.cpp
.fi
.SS "void userrec::FlushWriteBuf ()"
.PP
-Flushes as much of the user's buffer to the file descriptor as possible. This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.Definition at line 262 of file users.cpp.
+Flushes as much of the user's buffer to the file descriptor as possible. This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.Definition at line 264 of file users.cpp.
.PP
References connection::bytes_out, connection::cmds_out, sendq, and SetWriteError().
.PP
.nf
-263 {
-264 if (sendq.length())
-265 {
-266 char* tb = (char*)this->sendq.c_str();
-267 int n_sent = write(this->fd,tb,this->sendq.length());
-268 if (n_sent == -1)
-269 {
-270 this->SetWriteError(strerror(errno));
-271 }
-272 else
-273 {
-274 // advance the queue
-275 tb += n_sent;
-276 this->sendq = tb;
-277 // update the user's stats counters
-278 this->bytes_out += n_sent;
-279 this->cmds_out++;
-280 }
-281 }
-282 }
+265 {
+266 if (sendq.length())
+267 {
+268 char* tb = (char*)this->sendq.c_str();
+269 int n_sent = write(this->fd,tb,this->sendq.length());
+270 if (n_sent == -1)
+271 {
+272 this->SetWriteError(strerror(errno));
+273 }
+274 else
+275 {
+276 // advance the queue
+277 tb += n_sent;
+278 this->sendq = tb;
+279 // update the user's stats counters
+280 this->bytes_out += n_sent;
+281 this->cmds_out++;
+282 }
+283 }
+284 }
.fi
.SS "std::string userrec::GetBuffer ()"
.PP
-This method returns the first available string at the tail end of the buffer and advances the tail end of the buffer past the string. This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use \fBBufferIsReady()\fP to check if it is ok to read the buffer before calling \fBGetBuffer()\fP.Definition at line 229 of file users.cpp.
+This method returns the first available string at the tail end of the buffer and advances the tail end of the buffer past the string. This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use \fBBufferIsReady()\fP to check if it is ok to read the buffer before calling \fBGetBuffer()\fP.Definition at line 231 of file users.cpp.
.PP
References recvq.
.PP
.nf
-230 {
-231 if (recvq == '')
-232 return '';
-233 char* line = (char*)recvq.c_str();
-234 std::string ret = '';
-235 while ((*line != '\n') && (strlen(line)))
-236 {
-237 ret = ret + *line;
-238 line++;
-239 }
-240 if ((*line == '\n') || (*line == '\r'))
-241 line++;
-242 recvq = line;
-243 return ret;
-244 }
+232 {
+233 if (recvq == '')
+234 return '';
+235 char* line = (char*)recvq.c_str();
+236 std::string ret = '';
+237 while ((*line != '\n') && (strlen(line)))
+238 {
+239 ret = ret + *line;
+240 line++;
+241 }
+242 if ((*line == '\n') || (*line == '\r'))
+243 line++;
+244 recvq = line;
+245 return ret;
+246 }
.fi
.SS "char * userrec::GetFullHost ()\fC [virtual]\fP"
.PP
Returns the full displayed host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. Definition at line 68 of file users.cpp.
.PP
-References dhost, ident, nick, and result.
+References dhost, ident, and nick.
.PP
.nf
69 {
-70 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
-71 return result;
-72 }
+70 static char result[MAXBUF];
+71 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
+72 return result;
+73 }
.fi
.SS "char * userrec::GetFullRealHost ()\fC [virtual]\fP"
.PP
-Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.Definition at line 84 of file users.cpp.
+Returns the full real host of the user This member function returns the hostname of the user as seen by other users on the server, in nick!identhost form. If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.Definition at line 85 of file users.cpp.
.PP
-References connection::host, ident, nick, and result.
+References connection::host, ident, and nick.
.PP
.nf
-85 {
-86 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,host);
-87 return result;
-88 }
+86 {
+87 static char fresult[MAXBUF];
+88 snprintf(fresult,MAXBUF,'%s!%s@%s',nick,ident,host);
+89 return fresult;
+90 }
.fi
.SS "\fBInvitedList\fP * userrec::GetInviteList ()"
.PP
-Returns the list of channels this user has been invited to but has not yet joined. Definition at line 104 of file users.cpp.
+Returns the list of channels this user has been invited to but has not yet joined. Definition at line 106 of file users.cpp.
.PP
References InvitedList, and invites.
.PP
.nf
-105 {
-106 return &invites;
-107 }
+107 {
+108 return &invites;
+109 }
.fi
.SS "std::string userrec::GetWriteError ()"
.PP
-Returns the write error which last occured on this connection or an empty string if none occured. Definition at line 292 of file users.cpp.
+Returns the write error which last occured on this connection or an empty string if none occured. Definition at line 294 of file users.cpp.
.PP
References WriteError.
.PP
Referenced by AddWriteBuf().
.PP
.nf
-293 {
-294 return this->WriteError;
-295 }
+295 {
+296 return this->WriteError;
+297 }
.fi
.SS "bool userrec::HasPermission (char * command)"
.PP
-Returns true or false for if a user can execute a privilaged oper command. This is done by looking up their oper type from \fBuserrec::oper\fP, then referencing this to their oper classes and checking the commands they can execute.Definition at line 138 of file users.cpp.
+Returns true or false for if a user can execute a privilaged oper command. This is done by looking up their oper type from \fBuserrec::oper\fP, then referencing this to their oper classes and checking the commands they can execute.Definition at line 140 of file users.cpp.
.PP
References config_f, and DEBUG.
.PP
.nf
-139 {
-140 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-141 char* mycmd;
-142 char* savept;
-143 char* savept2;
-144
-145 // are they even an oper at all?
-146 if (strchr(this->modes,'o'))
-147 {
-148 log(DEBUG,'*** HasPermission: %s is an oper',this->nick);
-149 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
-150 {
-151 ConfValue('type','name',j,TypeName,&config_f);
-152 if (!strcmp(TypeName,this->oper))
-153 {
-154 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper);
-155 ConfValue('type','classes',j,Classes,&config_f);
-156 char* myclass = strtok_r(Classes,' ',&savept);
-157 while (myclass)
-158 {
-159 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass);
-160 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
-161 {
-162 ConfValue('class','name',k,ClassName,&config_f);
-163 if (!strcmp(ClassName,myclass))
-164 {
-165 ConfValue('class','commands',k,CommandList,&config_f);
-166 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList);
-167
-168
-169 mycmd = strtok_r(CommandList,' ',&savept2);
-170 while (mycmd)
-171 {
-172 if (!strcasecmp(mycmd,command))
-173 {
-174 log(DEBUG,'*** Command %s found, returning true',command);
-175 return true;
-176 }
-177 mycmd = strtok_r(NULL,' ',&savept2);
-178 }
-179 }
-180 }
-181 myclass = strtok_r(NULL,' ',&savept);
-182 }
-183 }
-184 }
-185 }
-186 return false;
-187 }
+141 {
+142 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+143 char* mycmd;
+144 char* savept;
+145 char* savept2;
+146
+147 // are they even an oper at all?
+148 if (strchr(this->modes,'o'))
+149 {
+150 log(DEBUG,'*** HasPermission: %s is an oper',this->nick);
+151 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
+152 {
+153 ConfValue('type','name',j,TypeName,&config_f);
+154 if (!strcmp(TypeName,this->oper))
+155 {
+156 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper);
+157 ConfValue('type','classes',j,Classes,&config_f);
+158 char* myclass = strtok_r(Classes,' ',&savept);
+159 while (myclass)
+160 {
+161 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass);
+162 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
+163 {
+164 ConfValue('class','name',k,ClassName,&config_f);
+165 if (!strcmp(ClassName,myclass))
+166 {
+167 ConfValue('class','commands',k,CommandList,&config_f);
+168 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList);
+169
+170
+171 mycmd = strtok_r(CommandList,' ',&savept2);
+172 while (mycmd)
+173 {
+174 if (!strcasecmp(mycmd,command))
+175 {
+176 log(DEBUG,'*** Command %s found, returning true',command);
+177 return true;
+178 }
+179 mycmd = strtok_r(NULL,' ',&savept2);
+180 }
+181 }
+182 }
+183 myclass = strtok_r(NULL,' ',&savept);
+184 }
+185 }
+186 }
+187 }
+188 return false;
+189 }
.fi
.SS "void userrec::InviteTo (char * channel)\fC [virtual]\fP"
.PP
-Adds a channel to a users invite list (invites them to a channel). Definition at line 109 of file users.cpp.
+Adds a channel to a users invite list (invites them to a channel). Definition at line 111 of file users.cpp.
.PP
References Invited::channel, and invites.
.PP
.nf
-110 {
-111 Invited i;
-112 strlcpy(i.channel,channel,CHANMAX);
-113 invites.push_back(i);
-114 }
+112 {
+113 Invited i;
+114 strlcpy(i.channel,channel,CHANMAX);
+115 invites.push_back(i);
+116 }
.fi
.SS "bool userrec::IsInvited (char * channel)\fC [virtual]\fP"
.PP
-Returns true if a user is invited to a channel. Definition at line 90 of file users.cpp.
+Returns true if a user is invited to a channel. Definition at line 92 of file users.cpp.
.PP
References invites.
.PP
.nf
-91 {
-92 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-93 {
-94 if (i->channel) {
-95 if (!strcasecmp(i->channel,channel))
-96 {
-97 return true;
-98 }
-99 }
-100 }
-101 return false;
-102 }
+93 {
+94 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+95 {
+96 if (i->channel) {
+97 if (!strcasecmp(i->channel,channel))
+98 {
+99 return true;
+100 }
+101 }
+102 }
+103 return false;
+104 }
.fi
.SS "int userrec::ReadData (void * buffer, size_t size)"
.PP
-Calls read() to read some data for this user using their fd. Definition at line 74 of file users.cpp.
+Calls read() to read some data for this user using their fd. Definition at line 75 of file users.cpp.
.PP
References connection::fd.
.PP
.nf
-75 {
-76 if (this->fd > -1)
-77 {
-78 return read(this->fd, buffer, size);
-79 }
-80 else return 0;
-81 }
+76 {
+77 if (this->fd > -1)
+78 {
+79 return read(this->fd, buffer, size);
+80 }
+81 else return 0;
+82 }
.fi
.SS "void userrec::RemoveInvite (char * channel)\fC [virtual]\fP"
.PP
-Removes a channel from a users invite list. This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.Definition at line 116 of file users.cpp.
+Removes a channel from a users invite list. This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.Definition at line 118 of file users.cpp.
.PP
References DEBUG, and invites.
.PP
.nf
-117 {
-118 log(DEBUG,'Removing invites');
-119 if (channel)
-120 {
-121 if (invites.size())
-122 {
-123 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-124 {
-125 if (i->channel)
-126 {
-127 if (!strcasecmp(i->channel,channel))
-128 {
-129 invites.erase(i);
-130 return;
-131 }
-132 }
-133 }
-134 }
-135 }
-136 }
+119 {
+120 log(DEBUG,'Removing invites');
+121 if (channel)
+122 {
+123 if (invites.size())
+124 {
+125 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+126 {
+127 if (i->channel)
+128 {
+129 if (!strcasecmp(i->channel,channel))
+130 {
+131 invites.erase(i);
+132 return;
+133 }
+134 }
+135 }
+136 }
+137 }
+138 }
.fi
.SS "void userrec::SetWriteError (std::string error)"
.PP
-Sets the write error for a connection. This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.Definition at line 284 of file users.cpp.
+Sets the write error for a connection. This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.Definition at line 286 of file users.cpp.
.PP
References DEBUG, and WriteError.
.PP
Referenced by AddBuffer(), AddWriteBuf(), and FlushWriteBuf().
.PP
.nf
-285 {
-286 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str());
-287 // don't try to set the error twice, its already set take the first string.
-288 if (this->WriteError == '')
-289 this->WriteError = error;
-290 }
+287 {
+288 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str());
+289 // don't try to set the error twice, its already set take the first string.
+290 if (this->WriteError == '')
+291 this->WriteError = error;
+292 }
.fi
.SH "Member Data Documentation"
.PP
-.SS "char \fBuserrec::awaymsg\fP[512]"
+.SS "char \fBuserrec::awaymsg\fP[MAXAWAY+1]"
.PP
-The user's away message. If this string is empty, the user is not marked as away.Definition at line 151 of file users.h.
+The user's away message. If this string is empty, the user is not marked as away.Definition at line 155 of file users.h.
.PP
Referenced by userrec().
.SS "\fBucrec\fP \fBuserrec::chans\fP[MAXCHANS]"
.PP
-Definition at line 142 of file users.h.
+Definition at line 146 of file users.h.
.PP
Referenced by Server::PseudoToUser(), and userrec().
.SS "char \fBuserrec::dhost\fP[160]"
.PP
-The host displayed to non-opers (used for cloaking etc). This usually matches the value of \fBuserrec::host\fP.Definition at line 130 of file users.h.
+The host displayed to non-opers (used for cloaking etc). This usually matches the value of \fBuserrec::host\fP.Definition at line 131 of file users.h.
.PP
Referenced by GetFullHost(), and userrec().
.SS "bool \fBuserrec::dns_done\fP"
.PP
-True when \fBDNS\fP lookups are completed. Definition at line 179 of file users.h.
+True when \fBDNS\fP lookups are completed. Definition at line 178 of file users.h.
.PP
Referenced by userrec().
.SS "int \fBuserrec::flood\fP"
.PP
-Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. Definition at line 162 of file users.h.
+Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. Definition at line 161 of file users.h.
.PP
Referenced by userrec().
-.SS "char \fBuserrec::fullname\fP[128]"
+.SS "char \fBuserrec::fullname\fP[MAXGECOS+1]"
.PP
-The users full name. Definition at line 134 of file users.h.
+The users full name. Definition at line 135 of file users.h.
.PP
Referenced by userrec().
-.SS "char \fBuserrec::ident\fP[16]"
+.SS "char \fBuserrec::ident\fP[IDENTMAX+2]"
.PP
-The users ident reply. Definition at line 125 of file users.h.
+The users ident reply. Two characters are added to the user-defined limit to compensate for the tilde etc.Definition at line 126 of file users.h.
.PP
Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec(), and Server::UserToPseudo().
.SS "\fBInvitedList\fP \fBuserrec::invites\fP\fC [private]\fP"
@@ -627,12 +624,12 @@ A list of channels the user has a pending invite to. Definition at line 114 of f
Referenced by GetInviteList(), InviteTo(), IsInvited(), RemoveInvite(), and userrec().
.SS "int \fBuserrec::lines_in\fP"
.PP
-Flood counters. Definition at line 204 of file users.h.
+Flood counters. Definition at line 203 of file users.h.
.PP
Referenced by userrec().
-.SS "char \fBuserrec::modes\fP[MAXBUF]"
+.SS "char \fBuserrec::modes\fP[54]"
.PP
-The user's mode string. This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.Definition at line 140 of file users.h.
+The user's mode string. This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit. it is limited to length 54, as there can only be a maximum of 52 user modes (26 upper, 26 lower case) a null terminating char, and an optional + character.Definition at line 144 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::nick\fP[NICKMAX]"
@@ -642,61 +639,56 @@ The users nickname. An invalid nickname indicates an unregistered connection pri
Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), and userrec().
.SS "char \fBuserrec::oper\fP[NICKMAX]"
.PP
-The oper type they logged in as, if they are an oper. This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.Definition at line 175 of file users.h.
+The oper type they logged in as, if they are an oper. This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.Definition at line 174 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::password\fP[MAXBUF]"
.PP
-Password specified by the user when they registered. This is stored even if the block doesnt need a password, so that modules may check it.Definition at line 189 of file users.h.
+Password specified by the user when they registered. This is stored even if the block doesnt need a password, so that modules may check it.Definition at line 188 of file users.h.
.SS "unsigned int \fBuserrec::pingmax\fP"
.PP
-Number of seconds between PINGs for this user (set from <connect:allow> tag. Definition at line 183 of file users.h.
+Number of seconds between PINGs for this user (set from <connect:allow> tag. Definition at line 182 of file users.h.
.SS "std::string \fBuserrec::recvq\fP"
.PP
-User's receive queue. Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, old system a bit hairy.Definition at line 195 of file users.h.
+User's receive queue. Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, old system a bit hairy.Definition at line 194 of file users.h.
.PP
Referenced by AddBuffer(), BufferIsReady(), ClearBuffer(), GetBuffer(), and userrec().
.SS "long \fBuserrec::recvqmax\fP"
.PP
-Maximum size this user's recvq can become. Definition at line 218 of file users.h.
+Maximum size this user's recvq can become. Definition at line 217 of file users.h.
.PP
Referenced by AddBuffer().
.SS "time_t \fBuserrec::reset_due\fP"
.PP
-Definition at line 205 of file users.h.
+Definition at line 204 of file users.h.
.PP
Referenced by userrec().
-.SS "char \fBuserrec::result\fP[256]"
-.PP
-Stores the result of the last GetFullHost or GetRealHost call. You may use this to increase the speed of use of this class.Definition at line 156 of file users.h.
-.PP
-Referenced by GetFullHost(), GetFullRealHost(), and userrec().
.SS "std::string \fBuserrec::sendq\fP"
.PP
-User's send queue. Lines waiting to be sent are stored here until their buffer is flushed.Definition at line 200 of file users.h.
+User's send queue. Lines waiting to be sent are stored here until their buffer is flushed.Definition at line 199 of file users.h.
.PP
Referenced by AddWriteBuf(), FlushWriteBuf(), and userrec().
.SS "long \fBuserrec::sendqmax\fP"
.PP
-Maximum size this user's sendq can become. Definition at line 214 of file users.h.
+Maximum size this user's sendq can become. Definition at line 213 of file users.h.
.PP
Referenced by AddWriteBuf().
-.SS "char \fBuserrec::server\fP[256]"
+.SS "char* \fBuserrec::server\fP"
.PP
-The server the user is connected to. Definition at line 146 of file users.h.
+The server the user is connected to. Definition at line 150 of file users.h.
.PP
Referenced by userrec().
.SS "long \fBuserrec::threshold\fP"
.PP
-Definition at line 206 of file users.h.
+Definition at line 205 of file users.h.
.SS "unsigned int \fBuserrec::timeout\fP"
.PP
-Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. Definition at line 168 of file users.h.
+Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. Definition at line 167 of file users.h.
.PP
Referenced by userrec().
.SS "std::string \fBuserrec::WriteError\fP"
.PP
-Definition at line 210 of file users.h.
+Definition at line 209 of file users.h.
.PP
Referenced by GetWriteError(), and SetWriteError().
diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3
index 4afce53e5..c9dd9006a 100644
--- a/docs/man/man3/users.cpp.3
+++ b/docs/man/man3/users.cpp.3
@@ -1,4 +1,4 @@
-.TH "users.cpp" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.cpp" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -28,6 +28,9 @@ users.cpp \-
.RI "std::stringstream \fBconfig_f\fP"
.br
.ti -1c
+.RI "char \fBServerName\fP [MAXBUF]"
+.br
+.ti -1c
.RI "time_t \fBTIME\fP"
.br
.in -1c
@@ -36,9 +39,12 @@ users.cpp \-
.SS "std::stringstream \fBconfig_f\fP"
.PP
Definition at line 27 of file users.cpp.
+.SS "char \fBServerName\fP[MAXBUF]"
+.PP
+Definition at line 28 of file users.cpp.
.SS "time_t \fBTIME\fP"
.PP
-Definition at line 29 of file users.cpp.
+Definition at line 30 of file users.cpp.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3
index 3edfe95da..f0872e8b1 100644
--- a/docs/man/man3/users.h.3
+++ b/docs/man/man3/users.h.3
@@ -1,4 +1,4 @@
-.TH "users.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/xline.h.3 b/docs/man/man3/xline.h.3
index d7fe8de4d..3444201df 100644
--- a/docs/man/man3/xline.h.3
+++ b/docs/man/man3/xline.h.3
@@ -1,4 +1,4 @@
-.TH "xline.h" 3 "25 May 2005" "InspIRCd" \" -*- nroff -*-
+.TH "xline.h" 3 "30 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html
index 2f5f879ec..bb9210bdb 100644
--- a/docs/module-doc/annotated.html
+++ b/docs/module-doc/annotated.html
@@ -8,6 +8,7 @@
<h1>InspIRCd Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="classAdmin.html">Admin</a></td><td class="indexvalue">Holds /ADMIN data This class contains the admin details of the local server </td></tr>
<tr><td class="indexkey"><a class="el" href="classBanItem.html">BanItem</a></td><td class="indexvalue">A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to hold channel bans (+b) </td></tr>
+ <tr><td class="indexkey"><a class="el" href="classBoolSet.html">BoolSet</a></td><td class="indexvalue">BoolSet is a utility class designed to hold eight bools in a bitmask </td></tr>
<tr><td class="indexkey"><a class="el" href="classchanrec.html">chanrec</a></td><td class="indexvalue">Holds all relevent information for a channel </td></tr>
<tr><td class="indexkey"><a class="el" href="classstd_1_1char__traits.html">char_traits</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classclassbase.html">classbase</a></td><td class="indexvalue">The base class for all inspircd classes </td></tr>
@@ -49,7 +50,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 Wed May 25 22:02:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/base_8h-source.html b/docs/module-doc/base_8h-source.html
index 437322d94..9a2058149 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -53,9 +53,40 @@
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 22:02:04 2005 for InspIRCd by
+<a name="l00091"></a><a class="code" href="base_8h.html#a1">00091</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="base_8h.html#a1">bitfields</a>[] = {1,2,4,8,16,32,64,128};
+<a name="l00092"></a><a class="code" href="base_8h.html#a2">00092</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="base_8h.html#a2">inverted_bitfields</a>[] = {~1,~2,~4,~8,~16,~32,~64,~128};
+00093
+<a name="l00098"></a><a class="code" href="classBoolSet.html">00098</a> <span class="keyword">class </span><a class="code" href="classBoolSet.html">BoolSet</a>
+00099 {
+<a name="l00100"></a><a class="code" href="classBoolSet.html#r0">00100</a> <span class="keywordtype">char</span> <a class="code" href="classBoolSet.html#r0">bits</a>;
+00101
+00102 <span class="keyword">public</span>:
+00103
+00106 <a class="code" href="classBoolSet.html#a0">BoolSet</a>();
+00107
+00110 <a class="code" href="classBoolSet.html#a0">BoolSet</a>(<span class="keywordtype">char</span> bitmask);
+00111
+00116 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#a2">Set</a>(<span class="keywordtype">int</span> number);
+00117
+00124 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#a3">Get</a>(<span class="keywordtype">int</span> number);
+00125
+00130 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#a4">Unset</a>(<span class="keywordtype">int</span> number);
+00131
+00136 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#a5">Invert</a>(<span class="keywordtype">int</span> number);
+00137
+00140 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#a6">operator==</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+00141
+00144 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#a7">operator|</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+00145
+00148 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#a8">operator&amp;</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+00149
+00152 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#a9">operator=</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+00153 };
+00154
+00155
+00156 <span class="preprocessor">#endif</span>
+00157 <span class="preprocessor"></span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:18 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 d29ee2284..6da6ca04e 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -26,6 +26,9 @@ This graph shows which files directly or indirectly include this file:<p><center
<a href="base_8h-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>Compounds</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html">BoolSet</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">BoolSet is a utility class designed to hold eight bools in a bitmask. </em> <a href="classBoolSet.html#_details">More...</a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>class &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classclassbase.html">classbase</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The base class for all inspircd classes. </em> <a href="classclassbase.html#_details">More...</a><em><br><br></td></tr>
@@ -35,6 +38,11 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="base_8h.html#a0">VoidPointer</a></td></tr>
+<tr><td colspan=2><br><h2>Variables</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="base_8h.html#a1">bitfields</a> [] = {1,2,4,8,16,32,64,128}</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="base_8h.html#a2">inverted_bitfields</a> [] = {~1,~2,~4,~8,~16,~32,~64,~128}</td></tr>
+
</table>
<hr><h2>Typedef Documentation</h2>
<a name="a0" doxytag="base.h::VoidPointer"></a><p>
@@ -61,7 +69,56 @@ 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 Wed May 25 22:02:07 2005 for InspIRCd by
+<hr><h2>Variable Documentation</h2>
+<a name="a1" doxytag="base.h::bitfields"></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"> const int <a class="el" href="base_8h.html#a1">bitfields</a>[] = {1,2,4,8,16,32,64,128}
+ </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="base_8h-source.html#l00091">91</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="base.h::inverted_bitfields"></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"> const int <a class="el" href="base_8h.html#a2">inverted_bitfields</a>[] = {~1,~2,~4,~8,~16,~32,~64,~128}
+ </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="base_8h-source.html#l00092">92</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 Mon May 30 05:15: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/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index 5c935020a..91c8beca5 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -23,10 +23,10 @@
00016
00017 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
00018
-00019 <span class="preprocessor">#include "inspircd.h"</span>
-00020 <span class="preprocessor">#include "inspircd_io.h"</span>
-00021 <span class="preprocessor">#include "inspircd_util.h"</span>
-00022 <span class="preprocessor">#include "inspircd_config.h"</span>
+00019 <span class="preprocessor">#include "inspircd_config.h"</span>
+00020 <span class="preprocessor">#include "inspircd.h"</span>
+00021 <span class="preprocessor">#include "inspircd_io.h"</span>
+00022 <span class="preprocessor">#include "inspircd_util.h"</span>
00023 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
00024 <span class="preprocessor">#include &lt;sys/errno.h&gt;</span>
00025 <span class="preprocessor">#include &lt;sys/ioctl.h&gt;</span>
@@ -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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:18 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 fc9858165..4d76c273f 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -5,10 +5,10 @@
</head><body>
<!-- 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="qindex" href="globals.html">File&nbsp;Members</a></div>
-<h1>channels.cpp File Reference</h1><code>#include "inspircd.h"</code><br>
+<h1>channels.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br>
+<code>#include "inspircd.h"</code><br>
<code>#include "inspircd_io.h"</code><br>
<code>#include "inspircd_util.h"</code><br>
-<code>#include "inspircd_config.h"</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;sys/errno.h&gt;</code><br>
<code>#include &lt;sys/ioctl.h&gt;</code><br>
@@ -37,12 +37,12 @@
<p>
Include dependency graph for channels.cpp:<p><center><img src="channels_8cpp__incl.gif" border="0" usemap="#channels.cpp_map" alt="Include dependency graph"></center>
<map name="channels.cpp_map">
-<area href="ctables_8h.html" shape="rect" coords="190,413,265,439" alt="">
<area href="connection_8h.html" shape="rect" coords="178,666,277,693" alt="">
-<area href="users_8h.html" shape="rect" coords="335,894,399,921" alt="">
+<area href="users_8h.html" shape="rect" coords="335,869,399,895" alt="">
<area href="servers_8h.html" shape="rect" coords="329,615,406,642" alt="">
+<area href="ctables_8h.html" shape="rect" coords="190,413,265,439" alt="">
<area href="modules_8h.html" shape="rect" coords="326,1274,409,1301" alt="">
-<area href="message_8h.html" shape="rect" coords="470,919,555,946" alt="">
+<area href="message_8h.html" shape="rect" coords="470,931,555,958" alt="">
<area href="mode_8h.html" shape="rect" coords="479,1603,546,1630" alt="">
<area href="xline_8h.html" shape="rect" coords="482,1071,543,1098" alt="">
</map>
@@ -164,7 +164,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00055">55</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF]
</table>
</td>
</tr>
@@ -188,7 +188,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00067">67</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">AdminName</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF]
</table>
</td>
</tr>
@@ -212,7 +212,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00066">66</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminNick</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF]
</table>
</td>
</tr>
@@ -236,7 +236,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00068">68</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> std::vector&lt;long&gt; <a class="el" href="modules_8cpp.html#a32">auth_cookies</a>
+ <td class="md" nowrap valign="top"> std::vector&lt;long&gt; <a class="el" href="modules_8cpp.html#a33">auth_cookies</a>
</table>
</td>
</tr>
@@ -260,7 +260,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00094">94</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a27">boundPortCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">boundPortCount</a>
</table>
</td>
</tr>
@@ -301,7 +301,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00088">88</a>
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00095">95</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00138">userrec::HasPermission()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00140">userrec::HasPermission()</a>. </td>
</tr>
</table>
<a name="a37" doxytag="channels.cpp::custom_mode_params"></a><p>
@@ -336,7 +336,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00181">chanrec::Get
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a18">debugging</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a>
</table>
</td>
</tr>
@@ -360,7 +360,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00077">77</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">defaultRoute</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">defaultRoute</a>
</table>
</td>
</tr>
@@ -384,7 +384,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00092">92</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">DieDelay</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a>
</table>
</td>
</tr>
@@ -408,7 +408,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00080">80</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">diepass</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF]
</table>
</td>
</tr>
@@ -432,7 +432,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00069">69</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">DieValue</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF]
</table>
</td>
</tr>
@@ -480,7 +480,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00060">60</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">list</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF]
</table>
</td>
</tr>
@@ -497,7 +497,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00060">60</a>
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00073">73</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00400">Server::GetUsers()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::GetUsers()</a>. </td>
</tr>
</table>
<a name="a35" doxytag="channels.cpp::log_file"></a><p>
@@ -506,7 +506,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00400">Server::GetUs
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a35">log_file</a>
+ <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a>
</table>
</td>
</tr>
@@ -530,7 +530,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00099">99</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a4">LogLevel</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a>
</table>
</td>
</tr>
@@ -554,7 +554,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00062">62</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a>
</table>
</td>
</tr>
@@ -619,9 +619,9 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00256">IsRoutable()<
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l01019">1019</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00809">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a26" doxytag="channels.cpp::module_names"></a><p>
@@ -630,7 +630,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindM
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> std::vector&lt;std::string&gt; <a class="el" href="modules_8cpp.html#a26">module_names</a>
+ <td class="md" nowrap valign="top"> std::vector&lt;std::string&gt; <a class="el" href="modules_8cpp.html#a27">module_names</a>
</table>
</td>
</tr>
@@ -647,7 +647,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindM
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00809">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="channels.cpp::modules"></a><p>
@@ -673,7 +673,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindM
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00059">59</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00809">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a13" doxytag="channels.cpp::motd"></a><p>
@@ -682,7 +682,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00807">Server::FindM
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF]
</table>
</td>
</tr>
@@ -706,7 +706,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00071">71</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a25">nb_start</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</a>
</table>
</td>
</tr>
@@ -730,7 +730,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a23">NetBufferSize</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">NetBufferSize</a>
</table>
</td>
</tr>
@@ -754,7 +754,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00082">82</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a6">Network</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF]
</table>
</td>
</tr>
@@ -778,7 +778,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">portCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">portCount</a>
</table>
</td>
</tr>
@@ -802,7 +802,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00089">89</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">ports</a>[MAXSOCKS]
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">ports</a>[MAXSOCKS]
</table>
</td>
</tr>
@@ -826,7 +826,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF]
</table>
</td>
</tr>
@@ -850,7 +850,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00074">74</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF]
</table>
</td>
</tr>
@@ -874,7 +874,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00070">70</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">rules</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF]
</table>
</td>
</tr>
@@ -898,7 +898,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00072">72</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF]
</table>
</td>
</tr>
@@ -922,7 +922,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a5">ServerName</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="users_8cpp.html#a1">ServerName</a>[MAXBUF]
</table>
</td>
</tr>
@@ -937,7 +937,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00065">65</a>
<p>
<p>
-Definition at line <a class="el" href="channels_8cpp-source.html#l00063">63</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#l00063">63</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>.
+<p>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="a29" doxytag="channels.cpp::SERVERportCount"></a><p>
@@ -946,7 +948,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00063">63</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">SERVERportCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">SERVERportCount</a>
</table>
</td>
</tr>
@@ -970,7 +972,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00090">90</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a22">startup_time</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a>
</table>
</td>
</tr>
@@ -994,7 +996,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a1">TIME</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a2">TIME</a>
</table>
</td>
</tr>
@@ -1011,7 +1013,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#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>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00274">serverrec::FlushWriteBuffers()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="channels.cpp::WHOWAS_MAX"></a><p>
@@ -1020,7 +1022,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::Fl
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a>
</table>
</td>
</tr>
@@ -1044,7 +1046,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00079">79</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a>
</table>
</td>
</tr>
@@ -1062,7 +1064,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 Wed May 25 22:02:14 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:35 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__incl.gif b/docs/module-doc/channels_8cpp__incl.gif
index 73931eed5..34da8c3ad 100644
--- a/docs/module-doc/channels_8cpp__incl.gif
+++ b/docs/module-doc/channels_8cpp__incl.gif
Binary files differ
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index 155b638f8..ed610b7f6 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -146,7 +146,7 @@
00257
00258 <span class="preprocessor">#endif</span>
00259 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/channels_8h.html b/docs/module-doc/channels_8h.html
index ab68ff5a9..6ecb753de 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 Wed May 25 22:02:16 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 826d1605d..f41a63688 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 Wed May 25 22:02:45 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:26 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 462bd13e0..e8c844063 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -82,9 +82,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00123">123</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00247">247</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00249">249</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00247 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { };
+<div class="fragment"><pre>00249 : <a class="code" href="classAdmin.html#o0">Name</a>(name), <a class="code" href="classAdmin.html#o1">Email</a>(email), <a class="code" href="classAdmin.html#o2">Nick</a>(nick) { };
</pre></div> </td>
</tr>
</table>
@@ -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 Wed May 25 22:02:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:26 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 7b99d4f01..8a0df5530 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 Wed May 25 22:02:46 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classBanItem.html b/docs/module-doc/classBanItem.html
index 9cd0b9efe..96853c0d3 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 Wed May 25 22:02:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classBoolSet-members.html b/docs/module-doc/classBoolSet-members.html
new file mode 100644
index 000000000..1a61e76c7
--- /dev/null
+++ b/docs/module-doc/classBoolSet-members.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>InspIRCd: Member List</title>
+<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- 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="qindex" href="globals.html">File&nbsp;Members</a></div>
+<h1>BoolSet Member List</h1>This is the complete list of members for <a class="el" href="classBoolSet.html">BoolSet</a>, including all inherited members.<table>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#r0">bits</a></td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td><code> [private]</code></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a0">BoolSet</a>()</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a1">BoolSet</a>(char bitmask)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a3">Get</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a5">Invert</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a8">operator &amp;</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a9">operator=</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a6">operator==</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a7">operator|</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a2">Set</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classBoolSet.html#a4">Unset</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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>
+</body>
+</html>
diff --git a/docs/module-doc/classBoolSet.html b/docs/module-doc/classBoolSet.html
new file mode 100644
index 000000000..bf356dabe
--- /dev/null
+++ b/docs/module-doc/classBoolSet.html
@@ -0,0 +1,422 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>InspIRCd: BoolSet class Reference</title>
+<link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- 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="qindex" href="globals.html">File&nbsp;Members</a></div>
+<h1>BoolSet Class Reference</h1>BoolSet is a utility class designed to hold eight bools in a bitmask.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="base_8h-source.html">base.h</a>&gt;</code>
+<p>
+Collaboration diagram for BoolSet:<p><center><img src="classBoolSet__coll__graph.gif" border="0" usemap="#BoolSet__coll__map" alt="Collaboration graph"></center>
+<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classBoolSet-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a0">BoolSet</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The default constructor initializes the BoolSet to all values unset. </em> <a href="#a0"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a1">BoolSet</a> (char bitmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This constructor copies the default bitmask from a char. </em> <a href="#a1"></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="classBoolSet.html#a2">Set</a> (int number)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Set method sets one bool in the set. </em> <a href="#a2"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a3">Get</a> (int number)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Get method returns the value of one bool in the set. </em> <a href="#a3"></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="classBoolSet.html#a4">Unset</a> (int number)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Unset method unsets one value in the set. </em> <a href="#a4"></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="classBoolSet.html#a5">Invert</a> (int number)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Unset method inverts (flips) one value in the set. </em> <a href="#a5"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a6">operator==</a> (<a class="el" href="classBoolSet.html">BoolSet</a> other)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two BoolSets. </em> <a href="#a6"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a7">operator|</a> (<a class="el" href="classBoolSet.html">BoolSet</a> other)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">OR two BoolSets together. </em> <a href="#a7"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a8">operator &amp;</a> (<a class="el" href="classBoolSet.html">BoolSet</a> other)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">AND two BoolSets together. </em> <a href="#a8"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#a9">operator=</a> (<a class="el" href="classBoolSet.html">BoolSet</a> other)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign one BoolSet to another. </em> <a href="#a9"></a><em><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classBoolSet.html#r0">bits</a></td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+BoolSet is a utility class designed to hold eight bools in a bitmask.
+<p>
+Use <a class="el" href="classBoolSet.html#a2">BoolSet::Set</a> and <a class="el" href="classBoolSet.html#a3">BoolSet::Get</a> to set and get bools in the bitmask, and Unset and Invert for special operations upon them.
+<p>
+
+<p>
+Definition at line <a class="el" href="base_8h-source.html#l00098">98</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="BoolSet::BoolSet"></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"> BoolSet::BoolSet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </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>
+The default constructor initializes the BoolSet to all values unset.
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a1" doxytag="BoolSet::BoolSet"></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"> BoolSet::BoolSet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">char&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bitmask</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>
+This constructor copies the default bitmask from a char.
+<p>
+ </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a3" doxytag="BoolSet::Get"></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 BoolSet::Get </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>number</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>
+The Get method returns the value of one bool in the set.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>number</em>&nbsp;</td><td>The number of the item to retrieve. This must be between 0 and 7.</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>True if the item is set, false if it is unset.</dd></dl>
+ </td>
+ </tr>
+</table>
+<a name="a5" doxytag="BoolSet::Invert"></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 BoolSet::Invert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>number</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>
+The Unset method inverts (flips) one value in the set.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>number</em>&nbsp;</td><td>The number of the item to invert. This must be between 0 and 7.</td></tr>
+ </table>
+</dl>
+ </td>
+ </tr>
+</table>
+<a name="a8" doxytag="BoolSet::operator &"></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="classBoolSet.html">BoolSet</a> BoolSet::operator &amp; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>other</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>
+AND two BoolSets together.
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a9" doxytag="BoolSet::operator="></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 BoolSet::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>other</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>
+Assign one BoolSet to another.
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a6" doxytag="BoolSet::operator=="></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 BoolSet::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>other</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>
+Compare two BoolSets.
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a7" doxytag="BoolSet::operator|"></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="classBoolSet.html">BoolSet</a> BoolSet::operator| </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>other</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>
+OR two BoolSets together.
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a2" doxytag="BoolSet::Set"></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 BoolSet::Set </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>number</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>
+The Set method sets one bool in the set.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>number</em>&nbsp;</td><td>The number of the item to set. This must be between 0 and 7.</td></tr>
+ </table>
+</dl>
+ </td>
+ </tr>
+</table>
+<a name="a4" doxytag="BoolSet::Unset"></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 BoolSet::Unset </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>number</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>
+The Unset method unsets one value in the set.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>number</em>&nbsp;</td><td>The number of the item to set. This must be between 0 and 7.</td></tr>
+ </table>
+</dl>
+ </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="r0" doxytag="BoolSet::bits"></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"> char <a class="el" href="classBoolSet.html#r0">BoolSet::bits</a><code> [private]</code>
+ </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="base_8h-source.html#l00100">100</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
+ </tr>
+</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 Mon May 30 05:16: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>
+</body>
+</html>
diff --git a/docs/module-doc/classBoolSet__coll__graph.gif b/docs/module-doc/classBoolSet__coll__graph.gif
new file mode 100644
index 000000000..044a9d4a5
--- /dev/null
+++ b/docs/module-doc/classBoolSet__coll__graph.gif
Binary files differ
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index c22caeae3..4b1de8e41 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 Wed May 25 22:02:53 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classConfigReader.html b/docs/module-doc/classConfigReader.html
index afb91f03a..8c0b0a5f1 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -103,17 +103,18 @@ Default constructor.
<p>
This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00819">819</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01141">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01163">error</a>, <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01162">readerror</a>.
-<p>
-<div class="fragment"><pre>00820 {
-00821 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00822 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00823 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-00824 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00825 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00826 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00821">821</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01141">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01163">error</a>, <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, <a class="el" href="modules_8cpp-source.html#l00075">include_stack</a>, and <a class="el" href="modules_8h-source.html#l01162">readerror</a>.
+<p>
+<div class="fragment"><pre>00822 {
+00823 <a class="code" href="modules_8cpp.html#a3">include_stack</a>.clear();
+00824 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00825 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00826 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+00827 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00828 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00829 }
</pre></div> </td>
</tr>
</table>
@@ -147,17 +148,17 @@ Overloaded constructor.
<p>
This constructor initialises the ConfigReader class to read a user-specified config file
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00838">838</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00841">841</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01141">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01163">error</a>, <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01162">readerror</a>.
<p>
-<div class="fragment"><pre>00839 {
-00840 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00841 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00842 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
-00843 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00844 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00845 };
+<div class="fragment"><pre>00842 {
+00843 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00844 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00845 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
+00846 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00847 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00848 };
</pre></div> </td>
</tr>
</table>
@@ -190,16 +191,16 @@ Default destructor.
<p>
This method destroys the ConfigReader class.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00829">829</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00832">832</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>, and <a class="el" href="modules_8h-source.html#l01159">errorlog</a>.
<p>
-<div class="fragment"><pre>00830 {
-00831 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
-00832 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
-00833 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
-00834 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-00835 }
+<div class="fragment"><pre>00833 {
+00834 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
+00835 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
+00836 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
+00837 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+00838 }
</pre></div> </td>
</tr>
</table>
@@ -243,40 +244,40 @@ Dumps the list of errors in a config file to an output location.
<p>
If bail is true, then the program will abort. If bail is false and user points to a valid user record, the error report will be spooled to the given user by means of NOTICE. if bool is false AND user is false, the error report will be spooled to all opers by means of a NOTICE to all opers.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00916">916</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00919">919</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01159">errorlog</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>.
<p>
-<div class="fragment"><pre>00917 {
-00918 <span class="keywordflow">if</span> (bail)
-00919 {
-00920 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
-00921 exit(0);
-00922 }
-00923 <span class="keywordflow">else</span>
-00924 {
-00925 <span class="keywordtype">char</span> dataline[1024];
-00926 <span class="keywordflow">if</span> (user)
-00927 {
-00928 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00929 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00930 {
-00931 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00932 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
-00933 }
-00934 }
-00935 <span class="keywordflow">else</span>
-00936 {
-00937 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00938 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00939 {
-00940 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00941 WriteOpers(dataline);
-00942 }
-00943 }
-00944 <span class="keywordflow">return</span>;
-00945 }
-00946 }
+<div class="fragment"><pre>00920 {
+00921 <span class="keywordflow">if</span> (bail)
+00922 {
+00923 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
+00924 exit(0);
+00925 }
+00926 <span class="keywordflow">else</span>
+00927 {
+00928 <span class="keywordtype">char</span> dataline[1024];
+00929 <span class="keywordflow">if</span> (user)
+00930 {
+00931 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00932 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00933 {
+00934 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00935 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
+00936 }
+00937 }
+00938 <span class="keywordflow">else</span>
+00939 {
+00940 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00941 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00942 {
+00943 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00944 WriteOpers(dataline);
+00945 }
+00946 }
+00947 <span class="keywordflow">return</span>;
+00948 }
+00949 }
</pre></div> </td>
</tr>
</table>
@@ -310,13 +311,13 @@ Counts the number of times a given tag appears in the config file.
<p>
This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of <a class="el" href="classConfigReader.html#a3">ConfigReader::ReadValue</a> to loop through all copies of a multiple instance tag.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00949">949</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00952">952</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>.
<p>
-<div class="fragment"><pre>00950 {
-00951 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
-00952 }
+<div class="fragment"><pre>00953 {
+00954 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
+00955 }
</pre></div> </td>
</tr>
</table>
@@ -359,13 +360,13 @@ Returns the number of items within a tag.
<p>
For example if the tag was &lt;test tag="blah" data="foo"&gt; then this function would return 2. Spaces and newlines both qualify as valid seperators between values.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00954">954</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00957">957</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>.
<p>
-<div class="fragment"><pre>00955 {
-00956 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
-00957 }
+<div class="fragment"><pre>00958 {
+00959 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
+00960 }
</pre></div> </td>
</tr>
</table>
@@ -398,15 +399,15 @@ Returns the last error to occur.
<p>
Valid errors can be found by looking in <a class="el" href="modules_8h.html">modules.h</a>. Any nonzero value indicates an error condition. A call to <a class="el" href="classConfigReader.html#a6">GetError()</a> resets the error flag back to 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00909">909</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00912">912</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01163">error</a>.
<p>
-<div class="fragment"><pre>00910 {
-00911 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
-00912 this-&gt;error = 0;
-00913 <span class="keywordflow">return</span> olderr;
-00914 }
+<div class="fragment"><pre>00913 {
+00914 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
+00915 this-&gt;error = 0;
+00916 <span class="keywordflow">return</span> olderr;
+00917 }
</pre></div> </td>
</tr>
</table>
@@ -455,25 +456,25 @@ Retrieves a boolean value from the config file.
<p>
This method retrieves a boolean value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. The values "1", "yes" and "true" in the config file count as true to ReadFlag, and any other value counts as false.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00863">863</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00866">866</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>.
<p>
-<div class="fragment"><pre>00864 {
-00865 <span class="keywordtype">char</span> val[MAXBUF];
-00866 <span class="keywordtype">char</span> t[MAXBUF];
-00867 <span class="keywordtype">char</span> n[MAXBUF];
-00868 strlcpy(t,tag.c_str(),MAXBUF);
-00869 strlcpy(n,name.c_str(),MAXBUF);
-00870 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00871 <span class="keywordflow">if</span> (!res)
-00872 {
-00873 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00874 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00875 }
-00876 std::string s = val;
-00877 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
-00878 }
+<div class="fragment"><pre>00867 {
+00868 <span class="keywordtype">char</span> val[MAXBUF];
+00869 <span class="keywordtype">char</span> t[MAXBUF];
+00870 <span class="keywordtype">char</span> n[MAXBUF];
+00871 strlcpy(t,tag.c_str(),MAXBUF);
+00872 strlcpy(n,name.c_str(),MAXBUF);
+00873 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00874 <span class="keywordflow">if</span> (!res)
+00875 {
+00876 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00877 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00878 }
+00879 std::string s = val;
+00880 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
+00881 }
</pre></div> </td>
</tr>
</table>
@@ -528,37 +529,37 @@ Retrieves an integer value from the config file.
<p>
This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00880">880</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00883">883</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01139">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>.
<p>
-<div class="fragment"><pre>00881 {
-00882 <span class="keywordtype">char</span> val[MAXBUF];
-00883 <span class="keywordtype">char</span> t[MAXBUF];
-00884 <span class="keywordtype">char</span> n[MAXBUF];
-00885 strlcpy(t,tag.c_str(),MAXBUF);
-00886 strlcpy(n,name.c_str(),MAXBUF);
-00887 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00888 <span class="keywordflow">if</span> (!res)
-00889 {
-00890 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00891 <span class="keywordflow">return</span> 0;
-00892 }
-00893 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-00894 {
-00895 <span class="keywordflow">if</span> (!isdigit(val[i]))
-00896 {
-00897 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
-00898 <span class="keywordflow">return</span> 0;
-00899 }
-00900 }
-00901 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-00902 {
-00903 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
-00904 <span class="keywordflow">return</span> 0;
-00905 }
-00906 <span class="keywordflow">return</span> atoi(val);
-00907 }
+<div class="fragment"><pre>00884 {
+00885 <span class="keywordtype">char</span> val[MAXBUF];
+00886 <span class="keywordtype">char</span> t[MAXBUF];
+00887 <span class="keywordtype">char</span> n[MAXBUF];
+00888 strlcpy(t,tag.c_str(),MAXBUF);
+00889 strlcpy(n,name.c_str(),MAXBUF);
+00890 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00891 <span class="keywordflow">if</span> (!res)
+00892 {
+00893 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00894 <span class="keywordflow">return</span> 0;
+00895 }
+00896 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+00897 {
+00898 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00899 {
+00900 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
+00901 <span class="keywordflow">return</span> 0;
+00902 }
+00903 }
+00904 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+00905 {
+00906 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
+00907 <span class="keywordflow">return</span> 0;
+00908 }
+00909 <span class="keywordflow">return</span> atoi(val);
+00910 }
</pre></div> </td>
</tr>
</table>
@@ -607,24 +608,24 @@ Retrieves a value from the config file.
<p>
This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00847">847</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00850">850</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01158">cache</a>, <a class="el" href="modules_8h-source.html#l01140">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01163">error</a>.
<p>
-<div class="fragment"><pre>00848 {
-00849 <span class="keywordtype">char</span> val[MAXBUF];
-00850 <span class="keywordtype">char</span> t[MAXBUF];
-00851 <span class="keywordtype">char</span> n[MAXBUF];
-00852 strlcpy(t,tag.c_str(),MAXBUF);
-00853 strlcpy(n,name.c_str(),MAXBUF);
-00854 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00855 <span class="keywordflow">if</span> (!res)
-00856 {
-00857 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00858 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-00859 }
-00860 <span class="keywordflow">return</span> val;
-00861 }
+<div class="fragment"><pre>00851 {
+00852 <span class="keywordtype">char</span> val[MAXBUF];
+00853 <span class="keywordtype">char</span> t[MAXBUF];
+00854 <span class="keywordtype">char</span> n[MAXBUF];
+00855 strlcpy(t,tag.c_str(),MAXBUF);
+00856 strlcpy(n,name.c_str(),MAXBUF);
+00857 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00858 <span class="keywordflow">if</span> (!res)
+00859 {
+00860 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00861 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00862 }
+00863 <span class="keywordflow">return</span> val;
+00864 }
</pre></div> </td>
</tr>
</table>
@@ -657,13 +658,13 @@ Returns true if a config file is valid.
<p>
This method is partially implemented and will only return false if the config file does not exist or could not be opened.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00959">959</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00962">962</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01162">readerror</a>.
<p>
-<div class="fragment"><pre>00960 {
-00961 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
-00962 }
+<div class="fragment"><pre>00963 {
+00964 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00965 }
</pre></div> </td>
</tr>
</table>
@@ -693,7 +694,7 @@ It will contain a pointer to the configuration file data with unneeded data (suc
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01158">1158</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#l00819">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00949">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00954">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00863">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00880">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00847">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00829">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00952">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00957">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00866">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00883">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00850">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00832">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p3" doxytag="ConfigReader::error"></a><p>
@@ -719,7 +720,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00819">ConfigReader(
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01163">1163</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#l00819">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00909">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00863">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00880">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00847">ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00912">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00866">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00883">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00850">ReadValue()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="ConfigReader::errorlog"></a><p>
@@ -745,7 +746,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00819">ConfigReader(
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01159">1159</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#l00819">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00916">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00829">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00919">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00832">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="ConfigReader::readerror"></a><p>
@@ -773,12 +774,12 @@ Used to store errors.
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01162">1162</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#l00819">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00959">Verify()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00962">Verify()</a>. </td>
</tr>
</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 Wed May 25 22:02:53 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index a1be28204..c47a70089 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 Wed May 25 22:02:54 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classConnectClass.html b/docs/module-doc/classConnectClass.html
index 02f3ef51e..a429cb11e 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 Wed May 25 22:02:54 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classDNS-members.html b/docs/module-doc/classDNS-members.html
index 5856f173e..7aa9cc2ab 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 Wed May 25 22:02:57 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:48 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 91124de7c..13a0af42f 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 Wed May 25 22:02:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:48 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 f52473cc2..2599c52ed 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 Wed May 25 22:02:59 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:50 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 0b8153222..9d654b0fa 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 Wed May 25 22:02:59 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:50 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 5def1e1b8..048949ae5 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 Wed May 25 22:03:00 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classEvent.html b/docs/module-doc/classEvent.html
index 79eb1d117..f16ad64ed 100644
--- a/docs/module-doc/classEvent.html
+++ b/docs/module-doc/classEvent.html
@@ -103,9 +103,9 @@ Create a new Event.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00278">278</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00280">280</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00278 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { };
+<div class="fragment"><pre>00280 : <a class="code" href="classEvent.html#p0">data</a>(anydata), <a class="code" href="classEvent.html#p1">source</a>(src), <a class="code" href="classEvent.html#p2">id</a>(eventid) { };
</pre></div> </td>
</tr>
</table>
@@ -139,13 +139,13 @@ Get the Event data.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00280">280</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00282">282</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00199">data</a>.
<p>
-<div class="fragment"><pre>00281 {
-00282 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
-00283 }
+<div class="fragment"><pre>00283 {
+00284 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
+00285 }
</pre></div> </td>
</tr>
</table>
@@ -178,13 +178,13 @@ Get the event ID.
<p>
Use this to determine the event type for safe casting of the data
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00296">296</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00298">298</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00208">id</a>.
<p>
-<div class="fragment"><pre>00297 {
-00298 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
-00299 }
+<div class="fragment"><pre>00299 {
+00300 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
+00301 }
</pre></div> </td>
</tr>
</table>
@@ -217,13 +217,13 @@ Get the event Source.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00285">285</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00287">287</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00203">source</a>.
<p>
-<div class="fragment"><pre>00286 {
-00287 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
-00288 }
+<div class="fragment"><pre>00288 {
+00289 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
+00290 }
</pre></div> </td>
</tr>
</table>
@@ -258,14 +258,14 @@ The return result of an <a class="el" href="classEvent.html#a4">Event::Send()</a
<p>
Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00290">290</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00292">292</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00079">FOREACH_MOD</a>.
<p>
-<div class="fragment"><pre>00291 {
-00292 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
-00293 <span class="keywordflow">return</span> NULL;
-00294 }
+<div class="fragment"><pre>00293 {
+00294 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
+00295 <span class="keywordflow">return</span> NULL;
+00296 }
</pre></div> </td>
</tr>
</table>
@@ -295,7 +295,7 @@ This member holds a pointer to arbitary data set by the emitter of the message.
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00199">199</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#l00280">GetData()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00282">GetData()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="Event::id"></a><p>
@@ -323,7 +323,7 @@ This is arbitary text which should be used to distinguish one type of event from
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00208">208</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#l00296">GetEventID()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00298">GetEventID()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="Event::source"></a><p>
@@ -351,12 +351,12 @@ This is a pointer to the sender of the message, which can be used to directly tr
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00203">203</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#l00285">GetSource()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00287">GetSource()</a>. </td>
</tr>
</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 Wed May 25 22:03:00 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index 39d97f34b..5e573def7 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 Wed May 25 22:03:01 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classExemptItem.html b/docs/module-doc/classExemptItem.html
index d9347f45d..d5c04bee2 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 Wed May 25 22:03:01 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index 20dbe8f53..5b0dae396 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 Wed May 25 22:03:03 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:58 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 c76a78bb2..07e1602c6 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -88,11 +88,11 @@
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00145">145</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00147">147</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00139">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00143">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00142">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00141">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00140">type</a>.
+References <a class="el" href="modules_8cpp-source.html#l00141">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00145">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00144">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00143">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00142">type</a>.
<p>
-<div class="fragment"><pre>00145 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { };
+<div class="fragment"><pre>00147 : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { };
</pre></div> </td>
</tr>
</table>
@@ -118,7 +118,7 @@ References <a class="el" href="modules_8cpp-source.html#l00139">modechar</a>, <a
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00146">146</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="o0" doxytag="ExtMode::modechar"></a><p>
@@ -142,9 +142,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00139">139</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00141">141</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00147">ExtMode()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="ExtMode::needsoper"></a><p>
@@ -168,9 +168,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00145">145</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00147">ExtMode()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="ExtMode::params_when_off"></a><p>
@@ -194,9 +194,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00144">144</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00147">ExtMode()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="ExtMode::params_when_on"></a><p>
@@ -220,9 +220,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00141">141</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00147">ExtMode()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="ExtMode::type"></a><p>
@@ -246,14 +246,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00140">140</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00142">142</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00145">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00147">ExtMode()</a>. </td>
</tr>
</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 Wed May 25 22:03:03 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:58 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 e7a18bf0e..35c799bd6 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 Wed May 25 22:03:02 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classExtensible.html b/docs/module-doc/classExtensible.html
index c570da923..516f0bf3a 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -201,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 Wed May 25 22:03:02 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index 82c1fd1ac..377da9995 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 Wed May 25 22:03:05 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:01 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 6637ee208..3e69fe2d0 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -83,10 +83,10 @@ Default constructor.
<p>
This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00972">972</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00975">975</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00973 {
-00974 }
+<div class="fragment"><pre>00976 {
+00977 }
</pre></div> </td>
</tr>
</table>
@@ -120,15 +120,15 @@ Secondary constructor.
<p>
This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00965">965</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00968">968</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01241">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
<p>
-<div class="fragment"><pre>00966 {
-00967 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00968 readfile(c,filename.c_str());
-00969 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00970 }
+<div class="fragment"><pre>00969 {
+00970 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+00971 readfile(c,filename.c_str());
+00972 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+00973 }
</pre></div> </td>
</tr>
</table>
@@ -161,10 +161,10 @@ Default destructor.
<p>
This deletes the memory allocated to the file.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00984">984</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00987">987</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00985 {
-00986 }
+<div class="fragment"><pre>00988 {
+00989 }
</pre></div> </td>
</tr>
</table>
@@ -198,20 +198,20 @@ Returns true if the file exists This function will return false if the file coul
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00988">988</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00991">991</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01241">fc</a>.
<p>
-<div class="fragment"><pre>00989 {
-00990 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
-00991 {
-00992 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-00993 }
-00994 <span class="keywordflow">else</span>
-00995 {
-00996 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-00997 }
-00998 }
+<div class="fragment"><pre>00992 {
+00993 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
+00994 {
+00995 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+00996 }
+00997 <span class="keywordflow">else</span>
+00998 {
+00999 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+01000 }
+01001 }
</pre></div> </td>
</tr>
</table>
@@ -244,13 +244,13 @@ Returns the size of the file in lines.
<p>
This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l01007">1007</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l01010">1010</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01241">fc</a>.
<p>
-<div class="fragment"><pre>01008 {
-01009 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
-01010 }
+<div class="fragment"><pre>01011 {
+01012 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
+01013 }
</pre></div> </td>
</tr>
</table>
@@ -284,15 +284,15 @@ Retrieve one line from the file.
<p>
This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l01000">1000</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l01003">1003</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01241">fc</a>.
<p>
-<div class="fragment"><pre>01001 {
-01002 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
-01003 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-01004 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
-01005 }
+<div class="fragment"><pre>01004 {
+01005 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
+01006 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+01007 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
+01008 }
</pre></div> </td>
</tr>
</table>
@@ -326,15 +326,15 @@ Used to load a file.
<p>
This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#a6">FileReader::FileSize</a> returns 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00976">976</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00979">979</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l01241">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
<p>
-<div class="fragment"><pre>00977 {
-00978 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00979 readfile(c,filename.c_str());
-00980 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00981 }
+<div class="fragment"><pre>00980 {
+00981 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+00982 readfile(c,filename.c_str());
+00983 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+00984 }
</pre></div> </td>
</tr>
</table>
@@ -362,12 +362,12 @@ References <a class="el" href="modules_8h-source.html#l01241">fc</a>, and <a cla
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01241">1241</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#l00988">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00965">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01007">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01000">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00976">LoadFile()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00991">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00968">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01010">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01003">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00979">LoadFile()</a>. </td>
</tr>
</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 Wed May 25 22:03:05 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:01 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 70b191605..2a6dc8ca5 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 Wed May 25 22:03:06 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classGLine.html b/docs/module-doc/classGLine.html
index a64fb3739..2fc15a0bd 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 Wed May 25 22:03:06 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index 54654ce72..dcf02f5bd 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 Wed May 25 22:03:07 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classHostItem.html b/docs/module-doc/classHostItem.html
index a55562d50..61c4ee368 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 Wed May 25 22:03:07 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index 508ac308c..5a11ce16f 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 Wed May 25 22:03:09 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classInviteItem.html b/docs/module-doc/classInviteItem.html
index 0238cd82a..36fbb00c2 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 Wed May 25 22:03:09 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 786935711..c392fc408 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 Wed May 25 22:03:08 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classInvited.html b/docs/module-doc/classInvited.html
index daaa94bfe..eebe80fee 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -53,12 +53,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00036">36</a> of fi
<p>
Definition at line <a class="el" href="users_8h-source.html#l00039">39</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00109">userrec::InviteTo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00111">userrec::InviteTo()</a>. </td>
</tr>
</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 Wed May 25 22:03:08 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 073f87710..9d056eff9 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 Wed May 25 22:03:13 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classKLine.html b/docs/module-doc/classKLine.html
index 6be07650b..88b799a87 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 Wed May 25 22:03:13 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index c19dd9faa..41ce56aed 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 Wed May 25 22:03:14 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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.html b/docs/module-doc/classModeParameter.html
index f53c70d11..94e160da6 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 Wed May 25 22:03:14 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classModule-members.html b/docs/module-doc/classModule-members.html
index 79bf18918..05928e607 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 Wed May 25 22:03:16 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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 25df9c3b6..4c034d0d2 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -227,9 +227,9 @@ Default constructor creates a module class.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00303">303</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00303 { }
+<div class="fragment"><pre>00305 { }
</pre></div> </td>
</tr>
</table>
@@ -262,9 +262,9 @@ Default destructor destroys a module class.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00304 { }
+<div class="fragment"><pre>00306 { }
</pre></div> </td>
</tr>
</table>
@@ -298,11 +298,11 @@ Returns the version number of a Module.
<p>
The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#a0">Version::Version</a>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00054">VF_VENDOR</a>.
<p>
-<div class="fragment"><pre>00316 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); }
+<div class="fragment"><pre>00318 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); }
</pre></div> </td>
</tr>
</table>
@@ -336,9 +336,9 @@ Called when a 005 numeric is about to be output.
<p>
The module should modify the 005 numeric if needed to indicate its features.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00328 { };
+<div class="fragment"><pre>00330 { };
</pre></div> </td>
</tr>
</table>
@@ -405,11 +405,11 @@ This function is called before many functions which check a users status on a ch
<br>
Upon returning from your function you must return either ACR_DEFAULT, to indicate the module wishes to do nothing, or ACR_DENY where approprate to deny the action, and ACR_ALLOW where appropriate to allow the action. Please note that in the case of some access checks (such as AC_GENERAL_MODE) access may be denied 'upstream' causing other checks such as AC_DEOP to not be reached. Be very careful with use of the AC_GENERAL_MODE type, as it may inadvertently override the behaviour of other modules. When the access_type is AC_GENERAL_MODE, the destination of the mode will be NULL (as it has not yet been determined).
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.
<p>
-<div class="fragment"><pre>00325 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
+<div class="fragment"><pre>00327 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
</pre></div> </td>
</tr>
</table>
@@ -458,9 +458,9 @@ Called whenever a ban is added to a channel's list.
<p>
Return a non-zero value to 'eat' the mode change and prevent the ban from being added.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00353 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00355 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -494,9 +494,9 @@ Called once every five seconds for background processing.
<p>
This timer can be used to control timed features. Its period is not accurate enough to be used as a clock, but it is gauranteed to be called at least once in any five second period, directly from the main loop of the server.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00331 { };
+<div class="fragment"><pre>00333 { };
</pre></div> </td>
</tr>
</table>
@@ -539,9 +539,9 @@ Called whenever a change of a local users GECOS (fullname field) is attempted.
<p>
return 1 to deny the name change, or 0 to allow it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00345 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00347 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -584,9 +584,9 @@ Called whenever a change of a local users displayed host is attempted.
<p>
Return 1 to deny the host change, or 0 to allow it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00344 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00346 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -620,11 +620,11 @@ Called during a netburst to sync channel data.
<p>
This is called during the netburst on a per-channel basis. You should use this call to up any special channel-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00068">string_list</a>.
<p>
-<div class="fragment"><pre>00327 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<div class="fragment"><pre>00329 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
</pre></div> </td>
</tr>
</table>
@@ -667,9 +667,9 @@ Called whenever a user joins a channel, to determine if banlist checks should go
<p>
This method will always be called for each join, wether or not the user actually matches a channel ban, and determines the outcome of an if statement around the whole section of ban checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00342 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00344 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -712,9 +712,9 @@ Called whenever a user joins a channel, to determine if invite checks should go
<p>
This method will always be called for each join, wether or not the channel is actually +i, and determines the outcome of an if statement around the whole section of invite checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00339 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00341 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -763,9 +763,9 @@ Called whenever a user joins a channel, to determine if key checks should go ahe
<p>
This method will always be called for each join, wether or not the channel is actually +k, and determines the outcome of an if statement around the whole section of key checking code. if the user specified no key, the keygiven string will be a valid but empty value. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00340 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00342 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -808,9 +808,9 @@ Called whenever a user joins a channel, to determine if channel limit checks sho
<p>
This method will always be called for each join, wether or not the channel is actually +l, and determines the outcome of an if statement around the whole section of channel limit checking code. return 1 to explicitly allow the join to go ahead or 0 to ignore the event.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00341 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00343 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -844,9 +844,9 @@ Called to check if a user who is connecting can now be allowed to register If an
<p>
For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00334 { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
+<div class="fragment"><pre>00336 { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
</pre></div> </td>
</tr>
</table>
@@ -895,9 +895,9 @@ Called whenever a ban is removed from a channel's list.
<p>
Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00354 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00356 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -931,9 +931,9 @@ Called whenever an <a class="el" href="classEvent.html">Event</a> class is sent
<p>
Please see the documentation of <a class="el" href="classEvent.html#a4">Event::Send()</a> for further information. The <a class="el" href="classEvent.html">Event</a> sent can always be assumed to be non-NULL, you should *always* check the value of <a class="el" href="classEvent.html#a3">Event::GetEventID()</a> before doing anything to the event data, and you should *not* change the event data in any way!
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00348 { <span class="keywordflow">return</span>; };
+<div class="fragment"><pre>00350 { <span class="keywordflow">return</span>; };
</pre></div> </td>
</tr>
</table>
@@ -1000,9 +1000,9 @@ Called whenever an extended mode is to be processed.
<p>
The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a24">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00315 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+<div class="fragment"><pre>00317 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
</pre></div> </td>
</tr>
</table>
@@ -1036,9 +1036,9 @@ Called whenever a user connects, anywhere on the network.
<p>
This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00352 { };
+<div class="fragment"><pre>00354 { };
</pre></div> </td>
</tr>
</table>
@@ -1072,9 +1072,9 @@ Called whenever a user is given usermode +o, anywhere on the network.
<p>
You cannot override this and prevent it from happening as it is already happened and such a task must be performed by another server. You can however bounce modes by sending servermodes out to reverse mode changes.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00351 { };
+<div class="fragment"><pre>00353 { };
</pre></div> </td>
</tr>
</table>
@@ -1109,9 +1109,9 @@ Called whenever a user types /INFO.
The userrec will contain the information of the user who typed the command. Modules may use this method to output their own credits in /INFO (which is the ircd's version of an about box). It is purposefully not possible to modify any info that has already been output, or halt the list. You must write a 371 numeric to the user, containing your info in the following format:<p>
&lt;nick&gt; :information here
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00318 { };
+<div class="fragment"><pre>00320 { };
</pre></div> </td>
</tr>
</table>
@@ -1160,9 +1160,9 @@ Called when a client is disconnected by KILL.
<p>
If a client is killed by a server, e.g. a nickname collision or protocol error, source is NULL. Return 1 from this function to prevent the kill, and 0 from this function to allow it as normal. If you prevent the kill no output will be sent to the client, it is down to your module to generate this information. NOTE: It is NOT advisable to stop kills which originate from servers. If you do so youre risking race conditions, desyncs and worse!
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00329 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00331 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1205,9 +1205,9 @@ Called whenever a module is loaded.
<p>
mod will contain a pointer to the module, and string will contain its name, for example m_widgets.so. This function is primary for dependency checking, your module may decide to enable some extra features if it sees that you have for example loaded "m_killwidgets.so" with "m_makewidgets.so". It is highly recommended that modules do *NOT* bail if they cannot satisfy dependencies, but instead operate under reduced functionality, unless the dependency is absolutely neccessary (e.g. a module that extends the features of another module).
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00330 { };
+<div class="fragment"><pre>00332 { };
</pre></div> </td>
</tr>
</table>
@@ -1256,9 +1256,9 @@ Called whenever a topic is changed by a local user.
<p>
Return 1 to deny the topic change, or 0 to allow it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00346 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00348 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1331,9 +1331,9 @@ Called whenever an unknown token is received in a server to server link.
<p>
The token value is the unknown token -- please check that no other modules are using the token that you use. Returning 1 supresses the 'unknown token type' error which is usually sent to all opers with +s. The params list is a list of parameters, and if any parameters start with a colon (:) it is treated as the whole of the last parameter, identical to how RFC messages are handled. source is the sender of the message, and reply is what should be replied to for a unicast message. Note that there are not many messages in the mesh protocol which require unicast messaging. tcp_host is the server name as a string, ipaddr is its ip address in dotted decimal notation and port is the port number it is using.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00347 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00349 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1367,9 +1367,9 @@ Called whenever a user opers locally.
<p>
The userrec will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00317 { };
+<div class="fragment"><pre>00319 { };
</pre></div> </td>
</tr>
</table>
@@ -1412,9 +1412,9 @@ Called whenever an oper password is to be compared to what a user has input.
<p>
The password field (from the config file) is in 'password' and is to be compared against 'input'. This method allows for encryption of oper passwords and much more besides. You should return a nonzero value if you want to allow the comparison or zero if you wish to do nothing.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00350 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00352 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1457,9 +1457,9 @@ Called after a packet is received from another irc server.
<p>
This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00311 { }
+<div class="fragment"><pre>00313 { }
</pre></div> </td>
</tr>
</table>
@@ -1502,9 +1502,9 @@ Called before a packet is transmitted across the irc network between two irc ser
<p>
This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00310 { }
+<div class="fragment"><pre>00312 { }
</pre></div> </td>
</tr>
</table>
@@ -1559,9 +1559,9 @@ Called whenever any command is about to be executed.
<p>
This event occurs for all registered commands, wether they are registered in the core, or another module, but it will not occur for invalid commands (e.g. ones which do not exist within the command table). By returning 1 from this method you may prevent the command being executed. If you do this, no output is created by the core, and it is down to your module to produce any output neccessary. Note that unless you return 1, you should not destroy any structures (e.g. by using <a class="el" href="classServer.html#a32">Server::QuitUser</a>) otherwise when the command's handler function executes after your method returns, it will be passed an invalid pointer to the user object and crash!)
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00333 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00335 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1628,9 +1628,9 @@ Called whenever a mode character is processed.
<p>
Return 1 from this function to block the mode character from being processed entirely, so that you may perform your own code instead. Note that this method allows you to override modes defined by other modes, but this is NOT RECOMMENDED!
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00338 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00340 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1679,9 +1679,9 @@ Called immediately after any connection is accepted.
<p>
This is intended for raw socket processing (e.g. modules which wrap the tcp connection within another library) and provides no information relating to a user record as the connection has not been assigned yet. There are no return values from this call as all modules get an opportunity if required to process the connection.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00355 { };
+<div class="fragment"><pre>00357 { };
</pre></div> </td>
</tr>
</table>
@@ -1715,9 +1715,9 @@ Called immediately before any socket is closed.
<p>
When this event is called, shutdown() has not yet been called on the socket.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00357 { };
+<div class="fragment"><pre>00359 { };
</pre></div> </td>
</tr>
</table>
@@ -1772,9 +1772,9 @@ Called immediately before any read() operation on a client socket in the core.
<p>
This occurs AFTER the select() or poll() so there is always data waiting to be read when this event occurs. Your event should return 1 if it has handled the reading itself, which prevents the core just using read(). You should place any data read into buffer, up to but NOT GREATER THAN the value of count. The value of readresult must be identical to an actual result that might be returned from the read() system call, for example, number of bytes read upon success, 0 upon EOF or closed socket, and -1 for error. If your function returns a nonzero value, you MUST set readresult.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00360">360</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00358 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00360 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1823,9 +1823,9 @@ Called immediately before any write() operation on a user's socket in the core.
<p>
Because this event is a low level event no user information is associated with it. It is intended for use by modules which may wrap connections within another API such as SSL for example. return a non-zero result if you have handled the write operation, in which case the core will not call write().
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00356 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00358 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1858,9 +1858,9 @@ Called on rehash.
<p>
This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00312 { }
+<div class="fragment"><pre>00314 { }
</pre></div> </td>
</tr>
</table>
@@ -1894,11 +1894,11 @@ Called whenever a <a class="el" href="classRequest.html">Request</a> class is se
<p>
Please see the documentation of <a class="el" href="classRequest.html#a4">Request::Send()</a> for further information. The <a class="el" href="classRequest.html">Request</a> sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00266">Request::Send()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00268">Request::Send()</a>.
<p>
-<div class="fragment"><pre>00349 { <span class="keywordflow">return</span> NULL; };
+<div class="fragment"><pre>00351 { <span class="keywordflow">return</span> NULL; };
</pre></div> </td>
</tr>
</table>
@@ -1947,9 +1947,9 @@ Called whenever a list is needed for a listmode.
<p>
For example, when a /MODE #channel +b (without any other parameters) is called, if a module was handling +b this function would be called. The function can then output any lists it wishes to. Please note that all modules will see all mode characters to provide the ability to extend each other, so please only output a list if the mode character given matches the one(s) you want to handle.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00332 { };
+<div class="fragment"><pre>00334 { };
</pre></div> </td>
</tr>
</table>
@@ -1998,9 +1998,9 @@ Called when a raw command is transmitted or received.
<p>
This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed. For INBOUND messages only (where inbound is set to true) the value of user will be the userrec of the connection sending the data. This is not possible for outbound data because the data may be being routed to multiple targets.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00313 { }
+<div class="fragment"><pre>00315 { }
</pre></div> </td>
</tr>
</table>
@@ -2034,9 +2034,9 @@ Called on all /STATS commands This method is triggered for all /STATS use, inclu
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00343 { };
+<div class="fragment"><pre>00345 { };
</pre></div> </td>
</tr>
</table>
@@ -2070,9 +2070,9 @@ Called when a user connects.
<p>
The details of the connecting user are available to you in the parameter userrec *user
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00305 { }
+<div class="fragment"><pre>00307 { }
</pre></div> </td>
</tr>
</table>
@@ -2106,9 +2106,9 @@ Called whenever a user's socket is closed.
<p>
The details of the exiting user are available to you in the parameter userrec *user This event is called for all users, registered or not, as a cleanup method for modules which might assign resources to user, such as dns lookups, objects and sockets.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00307 { }
+<div class="fragment"><pre>00309 { }
</pre></div> </td>
</tr>
</table>
@@ -2151,9 +2151,9 @@ Called when a user joins a channel.
<p>
The details of the joining user are available to you in the parameter userrec *user, and the details of the channel they have joined is available in the variable chanrec *channel
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00308 { }
+<div class="fragment"><pre>00310 { }
</pre></div> </td>
</tr>
</table>
@@ -2208,9 +2208,9 @@ Called whenever a user is kicked.
<p>
If this method is called, the kick is already underway and cannot be prevented, so to prevent a kick, please use <a class="el" href="classModule.html#a14">Module::OnUserPreKick</a> instead of this method.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00337 { };
+<div class="fragment"><pre>00339 { };
</pre></div> </td>
</tr>
</table>
@@ -2253,9 +2253,9 @@ Called when a user parts a channel.
<p>
The details of the leaving user are available to you in the parameter userrec *user, and the details of the channel they have left is available in the variable chanrec *channel
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00309 { }
+<div class="fragment"><pre>00311 { }
</pre></div> </td>
</tr>
</table>
@@ -2298,9 +2298,9 @@ Called after any nickchange, local or remote.
<p>
This can be used to track users after nickchanges have been applied. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user-&gt;server before taking any action (including returning nonzero from the method). Because this method is called after the nickchange is taken place, no return values are possible to indicate forbidding of the nick change. Use OnUserPreNick for this.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00324 { };
+<div class="fragment"><pre>00326 { };
</pre></div> </td>
</tr>
</table>
@@ -2349,9 +2349,9 @@ Called whenever a user is about to invite another user into a channel, before an
<p>
Returning 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter invites to channels.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00320 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00322 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2402,9 +2402,9 @@ Returning a value of 1 from this function stops the process immediately, causing
IMPORTANT NOTE!<p>
If the user joins a NEW channel which does not exist yet, OnUserPreJoin will be called BEFORE the channel record is created. This will cause chanrec* chan to be NULL. There is very little you can do in form of processing on the actual channel record at this point, however the channel NAME will still be passed in char* cname, so that you could for example implement a channel blacklist or whitelist, etc.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00314 { <span class="keywordflow">return</span> 0; }
+<div class="fragment"><pre>00316 { <span class="keywordflow">return</span> 0; }
</pre></div> </td>
</tr>
</table>
@@ -2459,9 +2459,9 @@ Called whenever a user is about to be kicked.
<p>
Returning a value of 1 from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00336 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00338 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2516,9 +2516,9 @@ Called whenever a user is about to PRIVMSG A user or a channel, before any proce
<p>
Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00321 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00323 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2561,9 +2561,9 @@ Called before any nickchange, local or remote.
<p>
This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc. check user-&gt;server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00323 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00325 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2618,9 +2618,9 @@ Called whenever a user is about to NOTICE A user or a channel, before any proces
<p>
Returning any nonzero value from this function stops the process immediately, causing no output to be sent to the user by the core. If you do this you must produce your own numerics, notices etc. This is useful for modules which may want to filter or redirect messages. target_type can be one of TYPE_USER or TYPE_CHANNEL. If the target_type value is a user, you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details of where the message is destined to be sent. You may alter the message text as you wish before relinquishing control to the next module in the chain, and if no other modules block the text this altered form of the text will be sent out to the user and possibly to other servers.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00322 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00324 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2654,9 +2654,9 @@ Called when a user quits.
<p>
The details of the exiting user are available to you in the parameter userrec *user This event is only called when the user is fully registered when they quit. To catch raw disconnections, use the OnUserDisconnect method.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00306 { }
+<div class="fragment"><pre>00308 { }
</pre></div> </td>
</tr>
</table>
@@ -2690,9 +2690,9 @@ Called whenever a user is about to register their connection (e.g.
<p>
before the user is sent the MOTD etc). Modules can use this method if they are performing a function which must be done before the actual connection is completed (e.g. ident lookups, dnsbl lookups, etc). Note that you should NOT delete the user record here by causing a disconnection! Use OnUserConnect for that instead.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00335 { };
+<div class="fragment"><pre>00337 { };
</pre></div> </td>
</tr>
</table>
@@ -2726,11 +2726,11 @@ Called during a netburst to sync user data.
<p>
This is called during the netburst on a per-user basis. You should use this call to up any special user-related things which are implemented by your module, e.g. sending listmodes. You may return multiple commands in the string_list.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00068">string_list</a>.
<p>
-<div class="fragment"><pre>00326 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<div class="fragment"><pre>00328 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
</pre></div> </td>
</tr>
</table>
@@ -2773,15 +2773,15 @@ Called whenever a /WHOIS is performed on a local user.
<p>
The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00319 { };
+<div class="fragment"><pre>00321 { };
</pre></div> </td>
</tr>
</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 Wed May 25 22:03:16 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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 838f4a443..c9066625b 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 Wed May 25 22:03:16 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index 4f0d5ba4f..5696482fb 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 Wed May 25 22:03:16 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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-members.html b/docs/module-doc/classModuleMessage-members.html
index fd297c619..4249074f2 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 Wed May 25 22:03:17 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classModuleMessage.html b/docs/module-doc/classModuleMessage.html
index 05f108e79..d194e7af9 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 Wed May 25 22:03:17 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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-members.html b/docs/module-doc/classQLine-members.html
index 868bbbdce..a03e71840 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 Wed May 25 22:03:19 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classQLine.html b/docs/module-doc/classQLine.html
index bcd2d68b3..a6cf3b6fa 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 Wed May 25 22:03:19 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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-members.html b/docs/module-doc/classRequest-members.html
index e65b772a6..bad7f7120 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 Wed May 25 22:03:20 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classRequest.html b/docs/module-doc/classRequest.html
index 17f49f7cc..be396252c 100644
--- a/docs/module-doc/classRequest.html
+++ b/docs/module-doc/classRequest.html
@@ -103,9 +103,9 @@ Create a new Request.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00249">249</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00251">251</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00249 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { };
+<div class="fragment"><pre>00251 : <a class="code" href="classRequest.html#p0">data</a>(anydata), <a class="code" href="classRequest.html#p1">source</a>(src), <a class="code" href="classRequest.html#p2">dest</a>(dst) { };
</pre></div> </td>
</tr>
</table>
@@ -139,13 +139,13 @@ Fetch the Request data.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00251">251</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00253">253</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00159">data</a>.
<p>
-<div class="fragment"><pre>00252 {
-00253 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
-00254 }
+<div class="fragment"><pre>00254 {
+00255 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
+00256 }
</pre></div> </td>
</tr>
</table>
@@ -178,13 +178,13 @@ Fetch the request destination (should be 'this' in the receiving module).
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00261">261</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00263">263</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00166">dest</a>.
<p>
-<div class="fragment"><pre>00262 {
-00263 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
-00264 }
+<div class="fragment"><pre>00264 {
+00265 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
+00266 }
</pre></div> </td>
</tr>
</table>
@@ -217,13 +217,13 @@ Fetch the request source.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00256">256</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00258">258</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00163">source</a>.
<p>
-<div class="fragment"><pre>00257 {
-00258 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
-00259 }
+<div class="fragment"><pre>00259 {
+00260 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
+00261 }
</pre></div> </td>
</tr>
</table>
@@ -258,20 +258,20 @@ Upon returning the result will be arbitary data returned by the module you sent
<p>
Implements <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a>.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00266">266</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00268">268</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00349">Module::OnRequest()</a>.
+References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00351">Module::OnRequest()</a>.
<p>
-<div class="fragment"><pre>00267 {
-00268 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
-00269 {
-00270 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-&gt;<a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>);
-00271 }
-00272 <span class="keywordflow">else</span>
-00273 {
-00274 <span class="keywordflow">return</span> NULL;
-00275 }
-00276 }
+<div class="fragment"><pre>00269 {
+00270 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
+00271 {
+00272 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-&gt;<a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>);
+00273 }
+00274 <span class="keywordflow">else</span>
+00275 {
+00276 <span class="keywordflow">return</span> NULL;
+00277 }
+00278 }
</pre></div> </td>
</tr>
</table>
@@ -301,7 +301,7 @@ This member holds a pointer to arbitary data set by the emitter of the message.
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00159">159</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#l00251">GetData()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00253">GetData()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="Request::dest"></a><p>
@@ -329,7 +329,7 @@ The single destination of the Request.
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00166">166</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#l00261">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00266">Send()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00263">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00268">Send()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="Request::source"></a><p>
@@ -357,12 +357,12 @@ This is a pointer to the sender of the message, which can be used to directly tr
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00163">163</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#l00256">GetSource()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00258">GetSource()</a>. </td>
</tr>
</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 Wed May 25 22:03:20 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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-members.html b/docs/module-doc/classServer-members.html
index c29f89c05..3556406cd 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 Wed May 25 22:03:22 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classServer.html b/docs/module-doc/classServer.html
index 3c3059c44..b53879f8d 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -242,10 +242,10 @@ Default constructor.
<p>
Creates a Server object.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00366">366</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00365 {
-00366 }
+<div class="fragment"><pre>00367 {
+00368 }
</pre></div> </td>
</tr>
</table>
@@ -278,10 +278,10 @@ Default destructor.
<p>
Destroys a Server object.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00370">370</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00369 {
-00370 }
+<div class="fragment"><pre>00371 {
+00372 }
</pre></div> </td>
</tr>
</table>
@@ -345,13 +345,13 @@ This allows modules to add extra commands into the command table. You must place
typedef void (handlerfunc) (char**, int, userrec*); ... void <a class="el" href="commands_8h.html#a5">handle_kill(char **parameters, int pcnt, userrec *user)</a><p>
When the command is typed, the parameters will be placed into the parameters array (similar to argv) and the parameter count will be placed into pcnt (similar to argv). There will never be any less parameters than the 'minparams' value you specified when creating the command. The *user parameter is the class of the user which caused the command to trigger, who will always have the flag you specified in 'flags' when creating the initial command. For example to create an oper only command create the commands with flags='o'. The source parameter is used for resource tracking, and should contain the name of your module (with file extension) e.g. "m_blarp.so". If you place the wrong identifier here, you can cause crashes if your module is unloaded.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00437">437</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00439">439</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h.html#a35">createcommand()</a>.
<p>
-<div class="fragment"><pre>00438 {
-00439 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
-00440 }
+<div class="fragment"><pre>00440 {
+00441 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
+00442 }
</pre></div> </td>
</tr>
</table>
@@ -406,13 +406,13 @@ Adds a E-line The E-line is enforced as soon as it is added.
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00699">699</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00701">701</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a5">add_eline()</a>, and <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00700 {
-00701 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00702 }
+<div class="fragment"><pre>00702 {
+00703 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00704 }
</pre></div> </td>
</tr>
</table>
@@ -451,16 +451,16 @@ This call is used to implement modes like +q and +a. The characteristics of thes
(4) The mode and its parameter are NOT stored in the channels modes structure<p>
It is down to the module handling the mode to maintain state and determine what 'items' (e.g. users, or a banlist) have the mode set on them, and process the modes at the correct times, e.g. during access checks on channels, etc. When the extended mode is triggered the OnExtendedMode method will be triggered as above. Note that the target you are given will be a channel, if for example your mode is set 'on a user' (in for example +a) you must use Server::Find to locate the user the mode is operating on. Your mode handler may return 1 to handle the mode AND tell the core to display the mode change, e.g. '+aaa one two three' in the case of the mode for 'two', or it may return -1 to 'eat' the mode change, so the above example would become '+aa one three' after processing.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00605">605</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00607">607</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00228">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
+References <a class="el" href="modules_8cpp-source.html#l00220">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00230">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
<p>
-<div class="fragment"><pre>00606 {
-00607 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1);
-00608 <span class="keywordflow">if</span> (res)
-00609 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar);
-00610 <span class="keywordflow">return</span> res;
-00611 }
+<div class="fragment"><pre>00608 {
+00609 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,MT_CHANNEL,<span class="keyword">false</span>,1,1);
+00610 <span class="keywordflow">if</span> (res)
+00611 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar);
+00612 <span class="keywordflow">return</span> res;
+00613 }
</pre></div> </td>
</tr>
</table>
@@ -521,36 +521,36 @@ Adds an extended mode letter which is parsed by a module.
<p>
This allows modules to add extra mode letters, e.g. +x for hostcloak. the "type" parameter is either MT_CHANNEL, MT_CLIENT, or MT_SERVER, to indicate wether the mode is a channel mode, a client mode, or a server mode. requires_oper is used with MT_CLIENT type modes only to indicate the mode can only be set or unset by an oper. If this is used for MT_CHANNEL type modes it is ignored. params_when_on is the number of modes to expect when the mode is turned on (for type MT_CHANNEL only), e.g. with mode +k, this would have a value of 1. the params_when_off value has a similar value to params_when_on, except it indicates the number of parameters to expect when the mode is disabled. Modes which act in a similar way to channel mode +l (e.g. require a parameter to enable, but not to disable) should use this parameter. The function returns false if the mode is unavailable, and will not attempt to allocate another character, as this will confuse users. This also means that as only one module can claim a specific mode character, the core does not need to keep track of which modules own which modes, which speeds up operation of the server. In this version, a mode can have at most one parameter, attempting to use more parameters will have undefined effects.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>.
-<p>
-<div class="fragment"><pre>00578 {
-00579 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= 'Z')) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
-00580 {
-00581 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
-00582 {
-00583 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
-00584 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00585 }
-00586 <span class="keywordflow">if</span> (((params_when_on&gt;0) || (params_when_off&gt;0)) &amp;&amp; (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>))
-00587 {
-00588 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
-00589 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00590 }
-00591 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-00592 {
-00593 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
-00594 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00595 }
-00596 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
-00597 }
-00598 <span class="keywordflow">else</span>
-00599 {
-00600 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
-00601 }
-00602 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00603 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00579">579</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="modules_8cpp-source.html#l00220">DoAddExtendedMode()</a>, <a class="el" href="modules_8h-source.html#l00032">MT_CLIENT</a>, and <a class="el" href="modules_8h-source.html#l00033">MT_SERVER</a>.
+<p>
+<div class="fragment"><pre>00580 {
+00581 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= 'Z')) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
+00582 {
+00583 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
+00584 {
+00585 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
+00586 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00587 }
+00588 <span class="keywordflow">if</span> (((params_when_on&gt;0) || (params_when_off&gt;0)) &amp;&amp; (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>))
+00589 {
+00590 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
+00591 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00592 }
+00593 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+00594 {
+00595 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
+00596 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00597 }
+00598 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
+00599 }
+00600 <span class="keywordflow">else</span>
+00601 {
+00602 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+00603 }
+00604 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00605 }
</pre></div> </td>
</tr>
</table>
@@ -605,13 +605,13 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00679">679</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00681">681</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a1">add_gline()</a>, and <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00680 {
-00681 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00682 }
+<div class="fragment"><pre>00682 {
+00683 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00684 }
</pre></div> </td>
</tr>
</table>
@@ -666,13 +666,13 @@ Adds a K-line The K-line is enforced as soon as it is added.
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00694">694</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00696">696</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a4">add_kline()</a>, and <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00695 {
-00696 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00697 }
+<div class="fragment"><pre>00697 {
+00698 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00699 }
</pre></div> </td>
</tr>
</table>
@@ -727,13 +727,13 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00684">684</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00686">686</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a2">add_qline()</a>, and <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00685 {
-00686 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
-00687 }
+<div class="fragment"><pre>00687 {
+00688 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
+00689 }
</pre></div> </td>
</tr>
</table>
@@ -788,13 +788,13 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a51">Server::CalcDuration</a> method to convert durations into the 1w2d3h3m6s format used by /GLINE etc. The source is an arbitary string used to indicate who or what sent the data, usually this is the nickname of a person, or a server name.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00689">689</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00691">691</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a3">add_zline()</a>, and <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00690 {
-00691 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-00692 }
+<div class="fragment"><pre>00692 {
+00693 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+00694 }
</pre></div> </td>
</tr>
</table>
@@ -828,13 +828,13 @@ Calculates a duration This method will take a string containing a formatted dura
<p>
"1w2d") and return its value as a total number of seconds. This is the same function used internally by /GLINE etc to set the ban times.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00729">729</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00731">731</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="commands_8h.html#a76">duration()</a>.
<p>
-<div class="fragment"><pre>00730 {
-00731 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a76">duration</a>(delta.c_str());
-00732 }
+<div class="fragment"><pre>00732 {
+00733 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a76">duration</a>(delta.c_str());
+00734 }
</pre></div> </td>
</tr>
</table>
@@ -890,11 +890,11 @@ Calls the handler for a command, either implemented by the core or by another mo
You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <br>
) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih <a class="el" href="classServer.html#a26">AddCommand()</a>. The second parameter is an array of parameters, and the third parameter is a count of parameters in the array. If you do not pass enough parameters to meet the minimum needed by the handler, the functiom will silently ignore it. The final parameter is the user executing the command handler, used for privilage checks, etc.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00427">427</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00429">429</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00428 {
-00429 call_handler(commandname.c_str(),parameters,pcnt,user);
-00430 }
+<div class="fragment"><pre>00430 {
+00431 call_handler(commandname.c_str(),parameters,pcnt,user);
+00432 }
</pre></div> </td>
</tr>
</table>
@@ -937,13 +937,13 @@ Change GECOS (fullname) of a user.
<p>
You should always call this method to change a user's GECOS rather than writing directly to the fullname member of userrec, as any change applied via this method will be propogated to any linked servers.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00520">520</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00522">522</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a8">ChangeName()</a>.
<p>
-<div class="fragment"><pre>00521 {
-00522 <a class="code" href="message_8h.html#a8">ChangeName</a>(user,gecos.c_str());
-00523 }
+<div class="fragment"><pre>00523 {
+00524 <a class="code" href="message_8h.html#a8">ChangeName</a>(user,gecos.c_str());
+00525 }
</pre></div> </td>
</tr>
</table>
@@ -986,13 +986,13 @@ Change displayed hostname of a user.
<p>
You should always call this method to change a user's host rather than writing directly to the dhost member of userrec, as any change applied via this method will be propogated to any linked servers.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00515">515</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00517">517</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a9">ChangeDisplayedHost()</a>.
<p>
-<div class="fragment"><pre>00516 {
-00517 <a class="code" href="message_8h.html#a9">ChangeDisplayedHost</a>(user,host.c_str());
-00518 }
+<div class="fragment"><pre>00518 {
+00519 <a class="code" href="message_8h.html#a9">ChangeDisplayedHost</a>(user,host.c_str());
+00520 }
</pre></div> </td>
</tr>
</table>
@@ -1035,11 +1035,11 @@ Forces a user nickchange.
<p>
This command works similarly to SVSNICK, and can be used to implement Q-lines etc. If you specify an invalid nickname, the nick change will be dropped and the target user will receive the error numeric for it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00412">412</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00413 {
-00414 force_nickchange(user,nickname.c_str());
-00415 }
+<div class="fragment"><pre>00415 {
+00416 force_nickchange(user,nickname.c_str());
+00417 }
</pre></div> </td>
</tr>
</table>
@@ -1082,13 +1082,13 @@ Attempts to look up a user's privilages on a channel.
<p>
This function will return a string containing either @, , +, or an empty string, representing the user's privilages upon the channel you specify.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00545">545</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00547">547</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a12">cmode()</a>.
<p>
-<div class="fragment"><pre>00546 {
-00547 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a12">cmode</a>(User,Chan);
-00548 }
+<div class="fragment"><pre>00548 {
+00549 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a12">cmode</a>(User,Chan);
+00550 }
</pre></div> </td>
</tr>
</table>
@@ -1131,13 +1131,13 @@ Returns true if two users share a common channel.
<p>
This method is used internally by the NICK and QUIT commands, and the <a class="el" href="classServer.html#a11">Server::SendCommon</a> method.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00493">493</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00495">495</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a0">common_channels()</a>.
<p>
-<div class="fragment"><pre>00494 {
-00495 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
-00496 }
+<div class="fragment"><pre>00496 {
+00497 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
+00498 }
</pre></div> </td>
</tr>
</table>
@@ -1171,11 +1171,11 @@ Returns a count of the number of users on a channel.
<p>
This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00613">613</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00615">615</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00614 {
-00615 <span class="keywordflow">return</span> usercount(c);
-00616 }
+<div class="fragment"><pre>00616 {
+00617 <span class="keywordflow">return</span> usercount(c);
+00618 }
</pre></div> </td>
</tr>
</table>
@@ -1209,13 +1209,13 @@ Deletes a local E-Line.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00724">724</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00726">726</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a10">del_eline()</a>.
<p>
-<div class="fragment"><pre>00725 {
-00726 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
-00727 }
+<div class="fragment"><pre>00727 {
+00728 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
+00729 }
</pre></div> </td>
</tr>
</table>
@@ -1249,13 +1249,13 @@ Deletes a G-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00704">704</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00706">706</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a6">del_gline()</a>.
<p>
-<div class="fragment"><pre>00705 {
-00706 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
-00707 }
+<div class="fragment"><pre>00707 {
+00708 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
+00709 }
</pre></div> </td>
</tr>
</table>
@@ -1289,13 +1289,13 @@ Deletes a local K-Line.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00719">719</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00721">721</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a9">del_kline()</a>.
<p>
-<div class="fragment"><pre>00720 {
-00721 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
-00722 }
+<div class="fragment"><pre>00722 {
+00723 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
+00724 }
</pre></div> </td>
</tr>
</table>
@@ -1329,13 +1329,13 @@ Deletes a Q-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00709">709</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00711">711</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a7">del_qline()</a>.
<p>
-<div class="fragment"><pre>00710 {
-00711 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
-00712 }
+<div class="fragment"><pre>00712 {
+00713 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
+00714 }
</pre></div> </td>
</tr>
</table>
@@ -1369,13 +1369,13 @@ Deletes a Z-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00714">714</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00716">716</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="xline_8h.html#a8">del_zline()</a>.
<p>
-<div class="fragment"><pre>00715 {
-00716 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
-00717 }
+<div class="fragment"><pre>00717 {
+00718 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
+00719 }
</pre></div> </td>
</tr>
</table>
@@ -1409,11 +1409,11 @@ Attempts to look up a channel and return a pointer to it.
<p>
This function will return NULL if the channel does not exist.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00540">540</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00542">542</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00541 {
-00542 <span class="keywordflow">return</span> FindChan(channel.c_str());
-00543 }
+<div class="fragment"><pre>00543 {
+00544 <span class="keywordflow">return</span> FindChan(channel.c_str());
+00545 }
</pre></div> </td>
</tr>
</table>
@@ -1447,13 +1447,13 @@ Attempts to look up a nick using the file descriptor associated with that nick.
<p>
This function will return NULL if the file descriptor is not associated with a valid user.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00535">535</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00537">537</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00116">fd_ref_table</a>.
+References <a class="el" href="modules_8cpp-source.html#l00118">fd_ref_table</a>.
<p>
-<div class="fragment"><pre>00536 {
-00537 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a36">fd_ref_table</a>[socket] : NULL);
-00538 }
+<div class="fragment"><pre>00538 {
+00539 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[socket] : NULL);
+00540 }
</pre></div> </td>
</tr>
</table>
@@ -1487,20 +1487,20 @@ This function finds a module by name.
<p>
You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00807">807</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00809">809</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l01016">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00086">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00059">modules</a>.
+References <a class="el" href="modules_8cpp-source.html#l01019">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00086">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00059">modules</a>.
<p>
-<div class="fragment"><pre>00808 {
-00809 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++)
-00810 {
-00811 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a26">module_names</a>[i] == name)
-00812 {
-00813 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
-00814 }
-00815 }
-00816 <span class="keywordflow">return</span> NULL;
-00817 }
+<div class="fragment"><pre>00810 {
+00811 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++)
+00812 {
+00813 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a26">module_names</a>[i] == name)
+00814 {
+00815 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
+00816 }
+00817 }
+00818 <span class="keywordflow">return</span> NULL;
+00819 }
</pre></div> </td>
</tr>
</table>
@@ -1534,11 +1534,11 @@ Attempts to look up a nick and return a pointer to it.
<p>
This function will return NULL if the nick does not exist.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00530">530</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00532">532</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00531 {
-00532 <span class="keywordflow">return</span> Find(nick);
-00533 }
+<div class="fragment"><pre>00533 {
+00534 <span class="keywordflow">return</span> Find(nick);
+00535 }
</pre></div> </td>
</tr>
</table>
@@ -1571,11 +1571,11 @@ Returns the information of the server as returned by the /ADMIN command.
<p>
See the <a class="el" href="classAdmin.html">Admin</a> class for further information of the return value. The members <a class="el" href="classAdmin.html#o2">Admin::Nick</a>, <a class="el" href="classAdmin.html#o1">Admin::Email</a> and <a class="el" href="classAdmin.html#o0">Admin::Name</a> contain the information for the server where the module is loaded.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00570">570</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00572">572</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00571 {
-00572 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-00573 }
+<div class="fragment"><pre>00573 {
+00574 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
+00575 }
</pre></div> </td>
</tr>
</table>
@@ -1608,11 +1608,11 @@ Returns the network name, global to all linked servers.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00560">560</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00562">562</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00561 {
-00562 <span class="keywordflow">return</span> getnetworkname();
-00563 }
+<div class="fragment"><pre>00563 {
+00564 <span class="keywordflow">return</span> getnetworkname();
+00565 }
</pre></div> </td>
</tr>
</table>
@@ -1645,11 +1645,11 @@ Returns the server description string of the local server.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00565">565</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00567">567</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00566 {
-00567 <span class="keywordflow">return</span> getserverdesc();
-00568 }
+<div class="fragment"><pre>00568 {
+00569 <span class="keywordflow">return</span> getserverdesc();
+00570 }
</pre></div> </td>
</tr>
</table>
@@ -1682,11 +1682,11 @@ Returns the server name of the server where the module is loaded.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00555">555</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00557">557</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00556 {
-00557 <span class="keywordflow">return</span> getservername();
-00558 }
+<div class="fragment"><pre>00558 {
+00559 <span class="keywordflow">return</span> getservername();
+00560 }
</pre></div> </td>
</tr>
</table>
@@ -1720,21 +1720,21 @@ Fetches the userlist of a channel.
<p>
This function must be here and not a member of userrec or chanrec due to include constraints.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00400">400</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00221">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00073">list</a>.
<p>
-<div class="fragment"><pre>00401 {
-00402 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
-00403 userl.clear();
-00404 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a7">GetUsers</a>();
-00405 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;end(); i++)
-00406 {
-00407 <span class="keywordtype">char</span>* o = *i;
-00408 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
-00409 }
-00410 <span class="keywordflow">return</span> userl;
-00411 }
+<div class="fragment"><pre>00403 {
+00404 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
+00405 userl.clear();
+00406 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a7">GetUsers</a>();
+00407 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;end(); i++)
+00408 {
+00409 <span class="keywordtype">char</span>* o = *i;
+00410 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+00411 }
+00412 <span class="keywordflow">return</span> userl;
+00413 }
</pre></div> </td>
</tr>
</table>
@@ -1768,13 +1768,13 @@ Returns true if a nick is valid.
<p>
Nicks for unregistered connections will return false.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00525">525</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00527">527</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a11">isnick()</a>.
<p>
-<div class="fragment"><pre>00526 {
-00527 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a11">isnick</a>(nick.c_str()) != 0);
-00528 }
+<div class="fragment"><pre>00528 {
+00529 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a11">isnick</a>(nick.c_str()) != 0);
+00530 }
</pre></div> </td>
</tr>
</table>
@@ -1817,13 +1817,13 @@ Checks if a user is on a channel.
<p>
This function will return true or false to indicate if user 'User' is on channel 'Chan'.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00550">550</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00552">552</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a14">has_channel()</a>.
<p>
-<div class="fragment"><pre>00551 {
-00552 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">has_channel</a>(User,Chan);
-00553 }
+<div class="fragment"><pre>00553 {
+00554 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">has_channel</a>(User,Chan);
+00555 }
</pre></div> </td>
</tr>
</table>
@@ -1857,13 +1857,13 @@ Returns true if the servername you give is ulined.
<p>
ULined servers have extra privilages. They are allowed to change nicknames on remote servers, change modes of clients which are on remote servers and set modes of channels where there are no channel operators for that channel on the ulined server, amongst other things. Ulined server data is also broadcast across the mesh at all times as opposed to selectively messaged in the case of normal servers, as many ulined server types (such as services) do not support meshed links and must operate in this manner.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00422">422</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00424">424</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="commands_8h.html#a75">is_uline()</a>.
<p>
-<div class="fragment"><pre>00423 {
-00424 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">is_uline</a>(server.c_str());
-00425 }
+<div class="fragment"><pre>00425 {
+00426 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">is_uline</a>(server.c_str());
+00427 }
</pre></div> </td>
</tr>
</table>
@@ -1897,35 +1897,35 @@ Returns true if a nick!ident string is correctly formatted, false if otherwise.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00734">734</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00736">736</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00735 {
-00736 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-00737 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-00738 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00739 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+<div class="fragment"><pre>00737 {
+00738 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+00739 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
00740 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00741 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00742 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-00743 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00744 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00745 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-00746 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00747 <span class="keywordtype">int</span> c = 0;
-00748 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00749 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-00750 c++;
-00751 <span class="keywordflow">if</span> (c&gt;1)
-00752 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00753 c = 0;
-00754 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00755 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-00756 c++;
-00757 <span class="keywordflow">if</span> (c&gt;1)
-00758 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00759
-00760 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00761 }
+00741 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+00742 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00743 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00744 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+00745 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00746 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00747 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+00748 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00749 <span class="keywordtype">int</span> c = 0;
+00750 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00751 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+00752 c++;
+00753 <span class="keywordflow">if</span> (c&gt;1)
+00754 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00755 c = 0;
+00756 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00757 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+00758 c++;
+00759 <span class="keywordflow">if</span> (c&gt;1)
+00760 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00761
+00762 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00763 }
</pre></div> </td>
</tr>
</table>
@@ -1974,11 +1974,11 @@ Forces a user to join a channel.
<p>
This is similar to svsjoin and can be used to implement redirection, etc. On success, the return value is a valid pointer to a chanrec* of the channel the user was joined to. On failure, the result is NULL.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00392">392</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00391 {
-00392 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
-00393 }
+<div class="fragment"><pre>00393 {
+00394 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
+00395 }
</pre></div> </td>
</tr>
</table>
@@ -2021,11 +2021,11 @@ Writes a log string.
<p>
This method writes a line of text to the log. If the level given is lower than the level given in the configuration, this command has no effect.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00432">432</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00434">434</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00433 {
-00434 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-00435 }
+<div class="fragment"><pre>00435 {
+00436 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+00437 }
</pre></div> </td>
</tr>
</table>
@@ -2068,14 +2068,14 @@ Matches text against a glob pattern.
<p>
Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com Returns true if the literal successfully matches the pattern, false if otherwise.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00379">379</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00378 {
-00379 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-00380 strlcpy(literal,sliteral.c_str(),MAXBUF);
-00381 strlcpy(pattern,spattern.c_str(),MAXBUF);
-00382 <span class="keywordflow">return</span> match(literal,pattern);
-00383 }
+<div class="fragment"><pre>00380 {
+00381 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+00382 strlcpy(literal,sliteral.c_str(),MAXBUF);
+00383 strlcpy(pattern,spattern.c_str(),MAXBUF);
+00384 <span class="keywordflow">return</span> match(literal,pattern);
+00385 }
</pre></div> </td>
</tr>
</table>
@@ -2118,15 +2118,15 @@ This function is used to check if any users on channel c are on server servernam
<p>
This is used internally by PRIVMSG etc. You should not need to use it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00789">789</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00791">791</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00790 {
-00791 <span class="keywordflow">if</span> (c)
-00792 {
-00793 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
-00794 }
-00795 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00796 }
+<div class="fragment"><pre>00792 {
+00793 <span class="keywordflow">if</span> (c)
+00794 {
+00795 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
+00796 }
+00797 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00798 }
</pre></div> </td>
</tr>
</table>
@@ -2169,15 +2169,15 @@ This function is used to check if user u has any channels in common with users o
<p>
This is used internally by <a class="el" href="classServer.html#a54">Server::MeshSendCommon</a>. You should very rarely need to use it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00798">798</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00800">800</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00799 {
-00800 <span class="keywordflow">if</span> (u)
-00801 {
-00802 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
-00803 }
-00804 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00805 }
+<div class="fragment"><pre>00801 {
+00802 <span class="keywordflow">if</span> (u)
+00803 {
+00804 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
+00805 }
+00806 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00807 }
</pre></div> </td>
</tr>
</table>
@@ -2211,11 +2211,11 @@ Sends a line of text to all connected servers.
<p>
If a server is not directly reachable, the core deals with routing the message, and will also deal with failures transparently.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00763">763</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00765">765</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00764 {
-00765 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
-00766 }
+<div class="fragment"><pre>00766 {
+00767 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
+00768 }
</pre></div> </td>
</tr>
</table>
@@ -2249,11 +2249,11 @@ This function is equivalent to Server::MeshSendToAll except it will only route t
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00774">774</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00776">776</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00775 {
-00776 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
-00777 }
+<div class="fragment"><pre>00777 {
+00778 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
+00779 }
</pre></div> </td>
</tr>
</table>
@@ -2296,11 +2296,11 @@ This function sends to all servers EXCEPT the one you specify.
<p>
You should usually use this function to send messages, specifying the SENDER of your message as 'target'. This will prevent message loops.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00784">784</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00786">786</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00785 {
-00786 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00787 }
+<div class="fragment"><pre>00787 {
+00788 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00789 }
</pre></div> </td>
</tr>
</table>
@@ -2343,12 +2343,12 @@ This method sends a line of text to all servers who have users which share commo
<p>
For example, if user A is on server A, and they are on channels #one and #two, and user B is on server B, and also on channel #one, but user C is on server C and on neither #one or #two, this function will cause the text to only be sent to server B. However, if server B is only reachable via C, it will route it to C (you do not have to worry about this routing, it is done transparently, but its good to know how things work!)
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00768">768</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00770">770</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00769 {
-00770 <span class="keywordflow">if</span> (user)
-00771 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
-00772 }
+<div class="fragment"><pre>00771 {
+00772 <span class="keywordflow">if</span> (user)
+00773 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
+00774 }
</pre></div> </td>
</tr>
</table>
@@ -2391,11 +2391,11 @@ This function sends a line of text directly to a server.
<p>
If the server is not directly routable at this time, the server attempts to route text through the mesh.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00779">779</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00781">781</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00780 {
-00781 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00782 }
+<div class="fragment"><pre>00782 {
+00783 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00784 }
</pre></div> </td>
</tr>
</table>
@@ -2444,11 +2444,11 @@ Forces a user to part a channel.
<p>
This is similar to svspart and can be used to implement redirection, etc. Although the return value of this function is a pointer to a channel record, the returned data is undefined and should not be read or written to. This behaviour may be changed in a future version.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00395">395</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00397">397</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00396 {
-00397 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
-00398 }
+<div class="fragment"><pre>00398 {
+00399 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+00400 }
</pre></div> </td>
</tr>
</table>
@@ -2497,38 +2497,38 @@ This user takes one user, and switches their file descriptor with another user,
<p>
The user in 'alive' is booted off the server with the given message. The user referred to by 'zombie' should have previously been locked with Server::ZombifyUser, otherwise stale sockets and file descriptor leaks can occur. After this call, the pointer to alive will be invalid, and the pointer to zombie will be equivalent in effect to the old pointer to alive.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00649">649</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00224">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00116">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.
-<p>
-<div class="fragment"><pre>00650 {
-00651 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00652 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00653 alive-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
-00654 Write(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,alive-&gt;<a class="code" href="classconnection.html#o1">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00655 kill_link(alive,message.c_str());
-00656 <a class="code" href="modules_8cpp.html#a36">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
-00657 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-00658 {
-00659 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
-00660 {
-00661 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
-00662 {
-00663 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>;
-00664 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00665 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>)
-00666 {
-00667 WriteServ(zombie-&gt;fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o3">topic</a>);
-00668 WriteServ(zombie-&gt;fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>);
-00669 }
-00670 userlist(zombie,Ptr);
-00671 WriteServ(zombie-&gt;fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00672
-00673 }
-00674 }
-00675 }
-00676
-00677 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00651">651</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00146">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00226">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00118">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.
+<p>
+<div class="fragment"><pre>00652 {
+00653 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00654 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00655 alive-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
+00656 Write(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,alive-&gt;<a class="code" href="classconnection.html#o1">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00657 kill_link(alive,message.c_str());
+00658 <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
+00659 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+00660 {
+00661 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
+00662 {
+00663 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
+00664 {
+00665 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>;
+00666 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00667 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>)
+00668 {
+00669 WriteServ(zombie-&gt;fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o3">topic</a>);
+00670 WriteServ(zombie-&gt;fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>);
+00671 }
+00672 userlist(zombie,Ptr);
+00673 WriteServ(zombie-&gt;fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00674
+00675 }
+00676 }
+00677 }
+00678
+00679 }
</pre></div> </td>
</tr>
</table>
@@ -2573,11 +2573,11 @@ To the user, it will appear as if they typed /QUIT themselves, except for the fa
WARNING!<p>
Once you call this function, userrec* user will immediately become INVALID. You MUST NOT write to, or read from this pointer after calling the QuitUser method UNDER ANY CIRCUMSTANCES! The best course of action after calling this method is to immediately bail from your handler.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00417">417</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00419">419</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00418 {
-00419 kill_link(user,reason.c_str());
-00420 }
+<div class="fragment"><pre>00420 {
+00421 kill_link(user,reason.c_str());
+00422 }
</pre></div> </td>
</tr>
</table>
@@ -2620,11 +2620,11 @@ Sends a line of text down a TCP/IP socket.
<p>
This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00447">447</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00449">449</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00448 {
-00449 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00450 }
+<div class="fragment"><pre>00450 {
+00451 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00452 }
</pre></div> </td>
</tr>
</table>
@@ -2679,18 +2679,18 @@ Sends text from a user to a channel (mulicast).
<p>
This method writes a line of text to a channel, with the given user's nick/ident /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in MODE (see RFC 1459).
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00481">481</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-<div class="fragment"><pre>00482 {
-00483 <span class="keywordflow">if</span> (IncludeSender)
-00484 {
-00485 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00486 }
-00487 <span class="keywordflow">else</span>
-00488 {
-00489 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00490 }
-00491 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00483">483</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00484 {
+00485 <span class="keywordflow">if</span> (IncludeSender)
+00486 {
+00487 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00488 }
+00489 <span class="keywordflow">else</span>
+00490 {
+00491 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00492 }
+00493 }
</pre></div> </td>
</tr>
</table>
@@ -2739,11 +2739,11 @@ Writes text to a channel, but from a server, including all.
<p>
This can be used to send server notices to a group of users.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00476">476</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00478">478</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00477 {
-00478 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
-00479 }
+<div class="fragment"><pre>00479 {
+00480 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+00481 }
</pre></div> </td>
</tr>
</table>
@@ -2792,18 +2792,18 @@ Sends text from a user to one or more channels (mulicast).
<p>
This method writes a line of text to all users which share a common channel with a given user, with the user's nick/ident/host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the IncludeSender flag is set, then the text is also sent back to the user from which it originated, as seen in NICK (see RFC 1459). Otherwise, it is only sent to the other recipients, as seen in QUIT.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00498">498</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-<div class="fragment"><pre>00499 {
-00500 <span class="keywordflow">if</span> (IncludeSender)
-00501 {
-00502 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00503 }
-00504 <span class="keywordflow">else</span>
-00505 {
-00506 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00507 }
-00508 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00500">500</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00501 {
+00502 <span class="keywordflow">if</span> (IncludeSender)
+00503 {
+00504 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00505 }
+00506 <span class="keywordflow">else</span>
+00507 {
+00508 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00509 }
+00510 }
</pre></div> </td>
</tr>
</table>
@@ -2852,11 +2852,11 @@ Sends text from a user to a socket.
<p>
This method writes a line of text to an established socket, with the given user's nick/ident /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00459">459</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00458 {
-00459 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00460 }
+<div class="fragment"><pre>00460 {
+00461 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00462 }
</pre></div> </td>
</tr>
</table>
@@ -2912,13 +2912,13 @@ modes[2] = user-&gt;nick;<p>
Srv-&gt;SendMode(modes,3,user);<p>
The modes will originate from the server where the command was issued, however responses (e.g. numerics) will be sent to the user you provide as the third parameter. You must be sure to get the number of parameters correct in the pcnt parameter otherwise you could leave your server in an unstable state!
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00442">442</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00444">444</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="modules_8h.html#a36">server_mode()</a>.
<p>
-<div class="fragment"><pre>00443 {
-00444 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
-00445 }
+<div class="fragment"><pre>00445 {
+00446 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
+00447 }
</pre></div> </td>
</tr>
</table>
@@ -2952,11 +2952,11 @@ Sends text to all opers.
<p>
This method sends a server notice to all opers with the usermode +s.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00374">374</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00373 {
-00374 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
-00375 }
+<div class="fragment"><pre>00375 {
+00376 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+00377 }
</pre></div> </td>
</tr>
</table>
@@ -2999,11 +2999,11 @@ Sends text from the server to a socket.
<p>
This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00452">452</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00454">454</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00453 {
-00454 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00455 }
+<div class="fragment"><pre>00455 {
+00456 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00457 }
</pre></div> </td>
</tr>
</table>
@@ -3056,22 +3056,22 @@ The format will become:<p>
:localserver TEXT<p>
Which is useful for numerics and server notices to single users, etc.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00462">462</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00464">464</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>.
<p>
-<div class="fragment"><pre>00463 {
-00464 <span class="keywordflow">if</span> (!Source)
-00465 {
-00466 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-00467 Write(Dest-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
-00468 }
-00469 <span class="keywordflow">else</span>
-00470 {
-00471 <span class="comment">// otherwise it comes from the user specified</span>
-00472 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-00473 }
-00474 }
+<div class="fragment"><pre>00465 {
+00466 <span class="keywordflow">if</span> (!Source)
+00467 {
+00468 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+00469 Write(Dest-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
+00470 }
+00471 <span class="keywordflow">else</span>
+00472 {
+00473 <span class="comment">// otherwise it comes from the user specified</span>
+00474 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+00475 }
+00476 }
</pre></div> </td>
</tr>
</table>
@@ -3122,11 +3122,11 @@ These can be RFC specified modes such as +i, or module provided modes, including
Serv-&gt;SendToModeMask("xi", WM_OR, "m00");<p>
Then the text 'm00' will be sent to all users with EITHER mode x or i. Conversely if you used WM_AND, the user must have both modes set to receive the message.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00387">387</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00386 {
-00387 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
-00388 }
+<div class="fragment"><pre>00388 {
+00389 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+00390 }
</pre></div> </td>
</tr>
</table>
@@ -3169,11 +3169,11 @@ Sends a WALLOPS message.
<p>
This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00510">510</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00512">512</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00511 {
-00512 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-00513 }
+<div class="fragment"><pre>00513 {
+00514 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+00515 }
</pre></div> </td>
</tr>
</table>
@@ -3216,44 +3216,44 @@ Remove a user's connection to the irc server, but leave their client in existenc
<p>
When you call this function, the user's file descriptor will be replaced with the value of FD_MAGIC_NUMBER and their old file descriptor will be closed. This idle client will remain until it is restored with a valid file descriptor, or is removed from IRC by an operator After this call, the pointer to user will be invalid.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00619">619</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="users_8cpp-source.html#l00224">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, and <a class="el" href="users_8h-source.html#l00125">userrec::ident</a>.
-<p>
-<div class="fragment"><pre>00620 {
-00621 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00622 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00623 user-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
-00624 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,user-&gt;<a class="code" href="classconnection.html#o1">host</a>,message.c_str());
-00625 <span class="preprocessor">#ifdef USE_KQUEUE</span>
-00626 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
-00627 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-00628 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
-00629 <span class="keywordflow">if</span> (i == -1)
-00630 {
-00631 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
-00632 }
-00633 <span class="preprocessor">#endif</span>
-00634 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
-00635 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
-00636 ev.events = EPOLLIN | EPOLLET;
-00637 ev.data.fd = old_fd;
-00638 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
-00639 <span class="keywordflow">if</span> (i &lt; 0)
-00640 {
-00641 log(DEBUG,<span class="stringliteral">"epoll: List deletion failure!"</span>);
-00642 }
-00643 <span class="preprocessor">#endif</span>
-00644 <span class="preprocessor"></span>
-00645 shutdown(old_fd,2);
-00646 close(old_fd);
-00647 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00621">621</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="users_8cpp-source.html#l00226">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, and <a class="el" href="users_8h-source.html#l00126">userrec::ident</a>.
+<p>
+<div class="fragment"><pre>00622 {
+00623 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00624 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00625 user-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
+00626 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,user-&gt;<a class="code" href="classconnection.html#o1">host</a>,message.c_str());
+00627 <span class="preprocessor">#ifdef USE_KQUEUE</span>
+00628 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
+00629 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+00630 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
+00631 <span class="keywordflow">if</span> (i == -1)
+00632 {
+00633 log(DEBUG,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
+00634 }
+00635 <span class="preprocessor">#endif</span>
+00636 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
+00637 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
+00638 ev.events = EPOLLIN | EPOLLET;
+00639 ev.data.fd = old_fd;
+00640 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
+00641 <span class="keywordflow">if</span> (i &lt; 0)
+00642 {
+00643 log(DEBUG,<span class="stringliteral">"epoll: List deletion failure!"</span>);
+00644 }
+00645 <span class="preprocessor">#endif</span>
+00646 <span class="preprocessor"></span>
+00647 shutdown(old_fd,2);
+00648 close(old_fd);
+00649 }
</pre></div> </td>
</tr>
</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 Wed May 25 22:03:22 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:32 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 997bb97f4..e4a6ab61b 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 Wed May 25 22:03:31 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:45 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 21041ae69..712ebc942 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -98,9 +98,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00111">111</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00243">243</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00245">245</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00243 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { };
+<div class="fragment"><pre>00245 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { };
</pre></div> </td>
</tr>
</table>
@@ -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 Wed May 25 22:03:31 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:45 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 4c1504a3d..59188e399 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 Wed May 25 22:03:31 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:45 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 67bd7ae11..726707548 100644
--- a/docs/module-doc/classWhoWasUser.html
+++ b/docs/module-doc/classWhoWasUser.html
@@ -16,13 +16,13 @@ Collaboration diagram for WhoWasUser:<p><center><img src="classWhoWasUser__coll_
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o0">nick</a> [NICKMAX]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o1">ident</a> [16]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o1">ident</a> [IDENTMAX+1]</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o2">dhost</a> [160]</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o3">host</a> [160]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o4">fullname</a> [128]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o4">fullname</a> [MAXGECOS+1]</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWhoWasUser.html#o5">server</a> [256]</td></tr>
@@ -34,7 +34,7 @@ A lightweight userrec used by WHOWAS.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00326">326</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
+Definition at line <a class="el" href="users_8h-source.html#l00325">325</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
<a name="o2" doxytag="WhoWasUser::dhost"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -56,7 +56,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00326">326</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00330">330</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o4" doxytag="WhoWasUser::fullname"></a><p>
@@ -65,7 +65,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of f
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o4">WhoWasUser::fullname</a>[128]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o4">WhoWasUser::fullname</a>[MAXGECOS+1]
</table>
</td>
</tr>
@@ -80,7 +80,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00333">333</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o3" doxytag="WhoWasUser::host"></a><p>
@@ -104,7 +104,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00333">333</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o1" doxytag="WhoWasUser::ident"></a><p>
@@ -113,7 +113,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of f
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o1">WhoWasUser::ident</a>[16]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classWhoWasUser.html#o1">WhoWasUser::ident</a>[IDENTMAX+1]
</table>
</td>
</tr>
@@ -128,7 +128,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00330">330</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00329">329</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o0" doxytag="WhoWasUser::nick"></a><p>
@@ -152,7 +152,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00330">330</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00329">329</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00328">328</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o5" doxytag="WhoWasUser::server"></a><p>
@@ -176,7 +176,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00329">329</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00334">334</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00333">333</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="o6" doxytag="WhoWasUser::signon"></a><p>
@@ -200,12 +200,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00334">334</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00335">335</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00334">334</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</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 Wed May 25 22:03:31 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:45 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 d5e86b274..159aeda02 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 Wed May 25 22:03:33 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classXLine.html b/docs/module-doc/classXLine.html
index cbe5c5075..2c470752c 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 Wed May 25 22:03:33 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classZLine-members.html b/docs/module-doc/classZLine-members.html
index 727b80138..9718d503f 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 Wed May 25 22:03:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classZLine.html b/docs/module-doc/classZLine.html
index 50152b417..c30da86a9 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 Wed May 25 22:03:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index 675be41bf..2e2a013ca 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 Wed May 25 22:02:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:32 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 412bde3bb..610a0043e 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -407,7 +407,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00221">221</a>
<p>
References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00400">Server::GetUsers()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::GetUsers()</a>.
<p>
<div class="fragment"><pre>00222 {
00223 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#o2">internal_userlist</a>;
@@ -846,7 +846,7 @@ The channels name.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00207">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00207">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="chanrec::setby"></a><p>
@@ -874,7 +874,7 @@ If this member is an empty string, no topic was ever set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00131">131</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="chanrec::topic"></a><p>
@@ -902,7 +902,7 @@ If this is an empty string, no channel topic is set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00120">120</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o5" doxytag="chanrec::topicset"></a><p>
@@ -930,12 +930,12 @@ If no topic was ever set, this will be equal to <a class="el" href="classchanrec
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00127">127</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00107">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>. </td>
</tr>
</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 Wed May 25 22:02:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:32 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 16eb0a02b..0b2f5cf09 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 Wed May 25 22:02:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:37 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 5bef9e6a2..ab2130a72 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 Wed May 25 22:02:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:37 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 a03a3ff36..8fe5098a1 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 Wed May 25 22:02:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:40 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 5833c1fd2..81278b3ca 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 Wed May 25 22:02:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classconnection-members.html b/docs/module-doc/classconnection-members.html
index baffa2fba..1ff85057d 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 Wed May 25 22:02:56 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classconnection.html b/docs/module-doc/classconnection.html
index ff5c952db..36140e975 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -134,7 +134,7 @@ Stats counter for bytes inbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00313">313</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="connection::bytes_out"></a><p>
@@ -162,7 +162,7 @@ Stats counter for bytes outbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00317">317</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00262">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00264">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o5" doxytag="connection::cmds_in"></a><p>
@@ -190,7 +190,7 @@ Stats counter for commands inbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00321">321</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="connection::cmds_out"></a><p>
@@ -218,7 +218,7 @@ Stats counter for commands outbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00325">325</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00262">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00264">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="connection::fd"></a><p>
@@ -246,7 +246,7 @@ File descriptor of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00301">301</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#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>
+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#l00919">ConfigReader::DumpErrors()</a>, <a class="el" href="servers_8cpp-source.html#l00182">serverrec::MeshCookie()</a>, <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00075">userrec::ReadData()</a>, <a class="el" href="modules_8cpp-source.html#l00464">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00046">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o7" doxytag="connection::haspassed"></a><p>
@@ -274,7 +274,7 @@ True if server/user has authenticated, false if otherwise.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00329">329</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="connection::host"></a><p>
@@ -302,7 +302,7 @@ Not used if this is a serverrec
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00305">305</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00084">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</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="users_8cpp-source.html#l00085">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o12" doxytag="connection::idle_lastmsg"></a><p>
@@ -330,7 +330,7 @@ Time that the connection last sent data, used to calculate idle time.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00351">351</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="connection::ip"></a><p>
@@ -358,7 +358,7 @@ IP of connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00309">309</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o10" doxytag="connection::lastping"></a><p>
@@ -386,7 +386,7 @@ Time the connection was last pinged.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00343">343</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#l00046">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#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o13" doxytag="connection::nping"></a><p>
@@ -414,7 +414,7 @@ Used by PING checks with clients.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00355">355</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="connection::port"></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#l00335">335</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#l00081">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#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o9" doxytag="connection::registered"></a><p>
@@ -470,7 +470,7 @@ Used by userrec to indicate the registration status of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00339">339</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o11" doxytag="connection::signon"></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#l00347">347</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#l00046">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#l00032">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 Wed May 25 22:02:56 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classes.html b/docs/module-doc/classes.html
index 861b69bd6..718291856 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -7,26 +7,26 @@
<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="qindexHL" 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 Compound Index</h1><table align=center width="95%" border="0" cellspacing="0" cellpadding="0">
<tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;A&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classDNS.html">DNS</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classHostItem.html">HostItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;I&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;U&nbsp;&nbsp;</div></td></tr></table>
-</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;B&nbsp;&nbsp;</div></td></tr></table>
-</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;E&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;N&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classucrec.html">ucrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classELine.html">ELine</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInvited.html">Invited</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a> (<a class="el" href="namespacenspace.html">nspace</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classuserrec.html">userrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classEvent.html">Event</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInviteItem.html">InviteItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a> (<a class="el" href="namespacenspace.html">nspace</a>)&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;V&nbsp;&nbsp;</div></td></tr></table>
-</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExemptItem.html">ExemptItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;Q&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classVersion.html">Version</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classstd_1_1char__traits.html">char_traits</a> (<a class="el" href="namespacestd.html">std</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExtensible.html">Extensible</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classircd__connector.html">ircd_connector</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQLine.html">QLine</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;W&nbsp;&nbsp;</div></td></tr></table>
-</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExtMode.html">ExtMode</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;K&nbsp;&nbsp;</div></td></tr></table>
-</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;R&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;F&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classKLine.html">KLine</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classRequest.html">Request</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;X&nbsp;&nbsp;</div></td></tr></table>
-</td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classFileReader.html">FileReader</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;M&nbsp;&nbsp;</div></td></tr></table>
-</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;S&nbsp;&nbsp;</div></td></tr></table>
-</td><td><a class="el" href="classXLine.html">XLine</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;G&nbsp;&nbsp;</div></td></tr></table>
-</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;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 Wed May 25 22:02:44 2005 for InspIRCd by
+</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structirc_1_1StrHashComp.html">StrHashComp</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classAdmin.html">Admin</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classDNS.html">DNS</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classHostItem.html">HostItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;U&nbsp;&nbsp;</div></td></tr></table>
+</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;B&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;I&nbsp;&nbsp;</div></td></tr></table>
+</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;N&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classucrec.html">ucrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classBanItem.html">BanItem</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;E&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">InAddr_HashComp</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a> (<a class="el" href="namespacenspace.html">nspace</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classuserrec.html">userrec</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classBoolSet.html">BoolSet</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classELine.html">ELine</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInvited.html">Invited</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a> (<a class="el" href="namespacenspace.html">nspace</a>)&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;V&nbsp;&nbsp;</div></td></tr></table>
+</td></tr><tr><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;C&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classEvent.html">Event</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classInviteItem.html">InviteItem</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;Q&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classVersion.html">Version</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classchanrec.html">chanrec</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExemptItem.html">ExemptItem</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc_char_traits</a> (<a class="el" href="namespaceirc.html">irc</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classQLine.html">QLine</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;W&nbsp;&nbsp;</div></td></tr></table>
+</td></tr><tr><td><a class="el" href="classstd_1_1char__traits.html">char_traits</a> (<a class="el" href="namespacestd.html">std</a>)&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExtensible.html">Extensible</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classircd__connector.html">ircd_connector</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;R&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classclassbase.html">classbase</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classExtMode.html">ExtMode</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;K&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classRequest.html">Request</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;X&nbsp;&nbsp;</div></td></tr></table>
+</td></tr><tr><td><a class="el" href="classcommand__t.html">command_t</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;F&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classKLine.html">KLine</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;S&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classXLine.html">XLine</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classConfigReader.html">ConfigReader</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classFileReader.html">FileReader</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;M&nbsp;&nbsp;</div></td></tr></table>
+</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="classConnectClass.html">ConnectClass</a>&nbsp;&nbsp;&nbsp;</td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;G&nbsp;&nbsp;</div></td></tr></table>
+</td><td><a class="el" href="classModeParameter.html">ModeParameter</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><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></tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html
index ccb7798f5..8d838171f 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 Wed May 25 22:03:11 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:18 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 047c68bdd..930a30da1 100644
--- a/docs/module-doc/classircd__connector.html
+++ b/docs/module-doc/classircd__connector.html
@@ -270,7 +270,7 @@ Fails if there is an error pending on the connection.<p>
<dl compact><dt><b>Returns:</b></dt><dd>True on success, false if the connection is down or the buffer is full</dd></dl>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="ircd_connector::BufferIsComplete"></a><p>
@@ -395,7 +395,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#l00336">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a22" doxytag="ircd_connector::FlushWriteBuf"></a><p>
@@ -428,7 +428,7 @@ Flushes as much of the data from the buffer as possible, and advances the queue
<dl compact><dt><b>Returns:</b></dt><dd>True if the flush succeeded, false if the connection is down</dd></dl>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a18" doxytag="ircd_connector::GetBuffer"></a><p>
@@ -584,7 +584,7 @@ Return the servername on this established connection.
<p>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a11" doxytag="ircd_connector::GetServerPort"></a><p>
@@ -648,7 +648,7 @@ Get the state flags for this connection.
<dl compact><dt><b>Returns:</b></dt><dd>The state flags associated with this connection</dd></dl>
<p>
-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>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a20" doxytag="ircd_connector::GetVersionString"></a><p>
@@ -713,7 +713,7 @@ Gets the error string for this connection.
<dl compact><dt><b>Returns:</b></dt><dd>The last error to occur or an empty string</dd></dl>
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00336">serverrec::SendPacket()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a25" doxytag="ircd_connector::HasBufferedOutput"></a><p>
@@ -1091,7 +1091,7 @@ Set the state flags for this connection.
</dl>
<p>
-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>
+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#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a19" doxytag="ircd_connector::SetVersionString"></a><p>
@@ -1534,7 +1534,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 Wed May 25 22:03:11 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:18 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 549e78433..c2bf7d4d3 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 Wed May 25 22:03:25 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:37 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 4eab4d420..87775403b 100644
--- a/docs/module-doc/classserverrec.html
+++ b/docs/module-doc/classserverrec.html
@@ -384,7 +384,7 @@ Begin an outbound link to another ircd at targethost.
<p>
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#l00301">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>.
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00301">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#l00350">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>00143 {
00144 <span class="keywordtype">char</span> connect[MAXBUF];
@@ -564,7 +564,7 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00242">242</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#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>.
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">BeginLink()</a>, and <a class="el" href="servers_8cpp-source.html#l00350">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++)
@@ -608,60 +608,84 @@ 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#l00284">284</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#l00274">274</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))
+<div class="fragment"><pre>00275 {
+00276 <span class="keywordtype">char</span> buffer[MAXBUF];
+00277 <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++)
+00278 {
+00279 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00280 <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))
+00281 {
+00282 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00283 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00284 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00285 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00286 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00287 <span class="keywordflow">return</span>;
+00288 }
+00289 <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))
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 }
+00291 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00292 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00294 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00295 <span class="keywordflow">return</span>;
+00296 }
+00297 <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00298 {
+00299 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00300 {
+00301 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00302 this-&gt;connectors[i].CloseConnection();
+00303 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00304 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00308 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00309 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00310 }
+00311 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00312 }
+00313 }
+00314 <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetWriteError() !=<span class="stringliteral">""</span>) &amp;&amp; (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00315 {
+00316 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00317 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());
+00318 this-&gt;connectors[i].CloseConnection();
+00319 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00320 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00321 {
+00322 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00323 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00324 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00325 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00326 }
+00327 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00328 }
+00329 <span class="keywordflow">if</span> ((this-&gt;connectors[i].HasBufferedOutput()) &amp;&amp; (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00330 {
+00331 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00332 {
+00333 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00334 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());
+00335 this-&gt;connectors[i].CloseConnection();
+00336 this-&gt;connectors[i].SetState(STATE_DISCONNECTED);
+00337 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00338 {
+00339 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00340 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00341 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00342 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00343 }
+00344 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00345 }
+00346 }
+00347 }
+00348 }
</pre></div> </td>
</tr>
</table>
@@ -718,7 +742,7 @@ Begin an outbound mesh link to another ircd on a network you are already an auth
<p>
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#l00301">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>.
+References <a class="el" href="servers_8h-source.html#l00081">connectors</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector::MakeOutboundConnection()</a>, <a class="el" href="servers_8cpp-source.html#l00350">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];
@@ -796,107 +820,126 @@ 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#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())
+Definition at line <a class="el" href="servers_8cpp-source.html#l00445">445</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
+<p>
+References <a class="el" href="servers_8cpp-source.html#l00425">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>00446 {
+00447 <span class="keywordtype">char</span> data[65536],buffer[MAXBUF];
+00448 memset(data, 0, 65536);
+00449 <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++)
+00450 {
+00451 <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>)
+00452 {
+00453 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00454 <span class="keywordtype">int</span> rcvsize = 0;
+00455
+00456 <span class="comment">// check if theres any data on this socket</span>
+00457 <span class="comment">// if not, continue onwards to the next.</span>
+00458 pollfd polls;
+00459 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00460 polls.events = POLLIN;
+00461 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00462 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00463
+00464 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00465 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00466 <span class="keywordflow">if</span> (rcvsize == 0)
+00467 {
+00468 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): EOF"</span>);
+00469 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00470 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00471 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00472 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00473 {
+00474 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting (EOF)"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00475 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00476 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00477 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00478 }
+00479 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00480 }
+00481 <span class="keywordflow">if</span> (rcvsize == -1)
+00482 {
+00483 <span class="keywordflow">if</span> (errno != EAGAIN)
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 }
+00485 log(DEBUG,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00486 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00487 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00488 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00489 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00490 {
+00491 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00492 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00493 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00494 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00495 }
+00496 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00497 }
+00498 }
+00499 <span class="keywordtype">int</span> pushed = 0;
+00500 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00501 {
+00502 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00503 {
+00504 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00505 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00506 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(STATE_DISCONNECTED);
+00507 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00508 {
+00509 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00510 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00511 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00512 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00513 }
+00514 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00515 }
+00516 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00517 {
+00518 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00519 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00520 {
+00521 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00522 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00523 {
+00524 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00525 {
+00526 std::string orig = text;
+00527 log(DEBUG,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00528 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00529 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00530 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00531 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00532 {
+00533 sums.push_back(<span class="stringliteral">"*"</span>);
+00534 text = orig;
+00535 log(DEBUG,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00536 }
+00537 <span class="keywordflow">else</span>
+00538 {
+00539 log(DEBUG,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00540 <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>))
+00541 {
+00542 <span class="comment">// we don't accept dupes</span>
+00543 <span class="keywordflow">continue</span>;
+00544 }
+00545 sums.push_back(sum.c_str());
+00546 }
+00547 }
+00548 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00549 messages.push_back(text.c_str());
+00550 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00551 log(DEBUG,<span class="stringliteral">"serverrec::RecvPacket() %d:%s-&gt;%s"</span>,pushed++,recvhost,text.c_str());
+00552 }
+00553 }
+00554 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00555 }
+00556 }
+00557 }
+00558 }
+00559 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00560 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00561 }
</pre></div> </td>
</tr>
</table>
@@ -939,85 +982,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#l00336">336</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#l00350">350</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 }
+<div class="fragment"><pre>00351 {
+00352 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00353 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00354
+00355 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00356
+00357 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00358 {
+00359 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00360 }
+00361
+00362 <span class="keywordflow">if</span> (cn)
+00363 {
+00364 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());
+00365
+00366 <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>)
+00367 {
+00368 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00369 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00370 {
+00371 log(DEBUG,<span class="stringliteral">"Not a double reroute"</span>);
+00372 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00373 <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++)
+00374 {
+00375 log(DEBUG,<span class="stringliteral">"Check connector %d: %s"</span>,k,this-&gt;connectors[k].GetServerName().c_str());
+00376 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00377 <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++)
+00378 {
+00379 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00380 {
+00381 log(DEBUG,<span class="stringliteral">"Found alternative route for packet: %s"</span>,this-&gt;connectors[k].GetServerName().c_str());
+00382 <span class="keywordtype">char</span> buffer[MAXBUF];
+00383 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00384 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00385 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00386 }
+00387 }
+00388 }
+00389 }
+00390 <span class="keywordtype">char</span> buffer[MAXBUF];
+00391 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00392 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00393 NetSendToAllExcept(sendhost,buffer);
+00394 DoSplit(sendhost);
+00395 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00396 }
+00397
+00398 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00399 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00400 {
+00401 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00402 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());
+00403 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00404 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00405 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00406 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());
+00407 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00408 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00409 }
+00410 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00411 {
+00412 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00413 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());
+00414 log(DEBUG,<span class="stringliteral">"Disabling connector: %s"</span>,cn-&gt;<a class="code" href="classircd__connector.html#a2">GetServerName</a>().c_str());
+00415 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00416 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(STATE_DISCONNECTED);
+00417 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());
+00418 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00419 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00420 }
+00421 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00422 }
+00423 }
</pre></div> </td>
</tr>
</table>
@@ -1087,7 +1130,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#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>
+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#l00274">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#l00445">RecvPacket()</a>, <a class="el" href="servers_8cpp-source.html#l00350">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>
@@ -1396,7 +1439,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00046">serverrec()</
</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 Wed May 25 22:03:25 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:37 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 76d5faf9b..198368101 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 Wed May 25 22:02:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/classucrec-members.html b/docs/module-doc/classucrec-members.html
index 05c869dd8..3eb9e08bf 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 Wed May 25 22:03:26 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classucrec.html b/docs/module-doc/classucrec.html
index bd40b4b66..000120d15 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -134,7 +134,7 @@ If the record is not in use, this value will be NULL.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00252">252</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="ucrec::uc_modes"></a><p>
@@ -162,12 +162,12 @@ UCMODE_FOUNDER values. If this value is zero, the user has no privilages upon th
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00247">247</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec::userrec()</a>. </td>
</tr>
</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 Wed May 25 22:03:26 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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-members.html b/docs/module-doc/classuserrec-members.html
index ed3a8add4..8e2584e0c 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -21,10 +21,10 @@
<tr class="memlist"><td><a class="el" href="classconnection.html#o6">cmds_out</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#a0">connection</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#o2">dhost</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o12">dns_done</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o11">dns_done</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#a0">Extend</a>(std::string key, char *p)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o0">fd</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o9">flood</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o8">flood</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a16">FlushWriteBuf</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#o3">fullname</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a12">GetBuffer</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
@@ -43,34 +43,33 @@
<tr class="memlist"><td><a class="el" href="classconnection.html#o2">ip</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a4">IsInvited</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o10">lastping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o17">lines_in</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o16">lines_in</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#o4">modes</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#o0">nick</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o13">nping</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o11">oper</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o14">password</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o13">pingmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o10">oper</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o13">password</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o12">pingmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o8">port</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a8">ReadData</a>(void *buffer, size_t size)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o15">recvq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o22">recvqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o14">recvq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o21">recvqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#o9">registered</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a6">RemoveInvite</a>(char *channel)</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o18">reset_due</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o8">result</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o16">sendq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o21">sendqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o17">reset_due</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o15">sendq</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o20">sendqmax</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#o6">server</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a13">SetWriteError</a>(std::string error)</td><td><a class="el" href="classuserrec.html">userrec</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="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="classuserrec.html#o19">threshold</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classuserrec.html#o10">timeout</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o18">threshold</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#o9">timeout</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a0">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
- <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="classuserrec.html#o19">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 Wed May 25 22:03:30 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classuserrec.html b/docs/module-doc/classuserrec.html
index e67ee6fd5..c96dc5009 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -18,8 +18,8 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for userrec:<p><center><img src="classuserrec__coll__graph.gif" border="0" usemap="#userrec__coll__map" alt="Collaboration graph"></center>
<map name="userrec__coll__map">
-<area href="classconnection.html" shape="rect" coords="199,462,285,489" alt="">
-<area href="classucrec.html" shape="rect" coords="215,7,269,34" alt="">
+<area href="classconnection.html" shape="rect" coords="199,430,285,457" alt="">
+<area href="classucrec.html" shape="rect" coords="215,8,269,34" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classuserrec-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
@@ -83,68 +83,65 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o0">nick</a> [NICKMAX]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The users nickname. </em> <a href="#o0"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o1">ident</a> [16]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o1">ident</a> [IDENTMAX+2]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The users ident reply. </em> <a href="#o1"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o2">dhost</a> [160]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The host displayed to non-opers (used for cloaking etc). </em> <a href="#o2"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o3">fullname</a> [128]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o3">fullname</a> [MAXGECOS+1]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The users full name. </em> <a href="#o3"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o4">modes</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o4">modes</a> [54]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The user's mode string. </em> <a href="#o4"></a><em><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classucrec.html">ucrec</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o5">chans</a> [MAXCHANS]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o6">server</a> [256]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o6">server</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The server the user is connected to. </em> <a href="#o6"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o7">awaymsg</a> [512]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o7">awaymsg</a> [MAXAWAY+1]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The user's away message. </em> <a href="#o7"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o8">result</a> [256]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o8">flood</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stores the result of the last GetFullHost or GetRealHost call. </em> <a href="#o8"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o9">flood</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. </em> <a href="#o8"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o9">timeout</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of lines the user can place into the buffer (up to the global NetBufferSize bytes) before they are disconnected for excess flood. </em> <a href="#o9"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o10">timeout</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. </em> <a href="#o9"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o10">oper</a> [NICKMAX]</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected. </em> <a href="#o10"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o11">oper</a> [NICKMAX]</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The oper type they logged in as, if they are an oper. </em> <a href="#o10"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o11">dns_done</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The oper type they logged in as, if they are an oper. </em> <a href="#o11"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o12">dns_done</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True when <a class="el" href="classDNS.html">DNS</a> lookups are completed. </em> <a href="#o11"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o12">pingmax</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True when <a class="el" href="classDNS.html">DNS</a> lookups are completed. </em> <a href="#o12"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o13">pingmax</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of seconds between PINGs for this user (set from &lt;connect:allow&gt; tag. </em> <a href="#o12"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o13">password</a> [MAXBUF]</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of seconds between PINGs for this user (set from &lt;connect:allow&gt; tag. </em> <a href="#o13"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o14">password</a> [MAXBUF]</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Password specified by the user when they registered. </em> <a href="#o13"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o14">recvq</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Password specified by the user when they registered. </em> <a href="#o14"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o15">recvq</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User's receive queue. </em> <a href="#o14"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o15">sendq</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User's receive queue. </em> <a href="#o15"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o16">sendq</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User's send queue. </em> <a href="#o15"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o16">lines_in</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User's send queue. </em> <a href="#o16"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o17">lines_in</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flood counters. </em> <a href="#o16"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o17">reset_due</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flood counters. </em> <a href="#o17"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o18">reset_due</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o18">threshold</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o19">threshold</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o19">WriteError</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o20">WriteError</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o20">sendqmax</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o21">sendqmax</a></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size this user's sendq can become. </em> <a href="#o20"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o21">recvqmax</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size this user's sendq can become. </em> <a href="#o21"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#o22">recvqmax</a></td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size this user's recvq can become. </em> <a href="#o22"></a><em><br><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximum size this user's recvq can become. </em> <a href="#o21"></a><em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="users_8h.html#a6">InvitedList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#r0">invites</a></td></tr>
@@ -185,32 +182,31 @@ Definition at line <a class="el" href="users_8h-source.html#l00108">108</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00031">31</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00032">32</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00313">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00317">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00142">chans</a>, <a class="el" href="connection_8h-source.html#l00321">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00325">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00179">dns_done</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="users_8h-source.html#l00162">flood</a>, <a class="el" href="users_8h-source.html#l00134">fullname</a>, <a class="el" href="connection_8h-source.html#l00329">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="connection_8h-source.html#l00351">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00309">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00343">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00204">lines_in</a>, <a class="el" href="users_8h-source.html#l00140">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00355">connection::nping</a>, <a class="el" href="users_8h-source.html#l00175">oper</a>, <a class="el" href="connection_8h-source.html#l00335">connection::port</a>, <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="connection_8h-source.html#l00339">connection::registered</a>, <a class="el" href="users_8h-source.html#l00205">reset_due</a>, <a class="el" href="users_8h-source.html#l00156">result</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00146">server</a>, <a class="el" href="connection_8h-source.html#l00347">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="users_8h-source.html#l00168">timeout</a>, and <a class="el" href="channels_8h-source.html#l00247">ucrec::uc_modes</a>.
+References <a class="el" href="users_8h-source.html#l00155">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00313">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00317">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00146">chans</a>, <a class="el" href="connection_8h-source.html#l00321">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00325">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00131">dhost</a>, <a class="el" href="users_8h-source.html#l00178">dns_done</a>, <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>, <a class="el" href="users_8h-source.html#l00161">flood</a>, <a class="el" href="users_8h-source.html#l00135">fullname</a>, <a class="el" href="connection_8h-source.html#l00329">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, <a class="el" href="connection_8h-source.html#l00351">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00309">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00343">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00203">lines_in</a>, <a class="el" href="users_8h-source.html#l00144">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00355">connection::nping</a>, <a class="el" href="users_8h-source.html#l00174">oper</a>, <a class="el" href="connection_8h-source.html#l00335">connection::port</a>, <a class="el" href="users_8h-source.html#l00194">recvq</a>, <a class="el" href="connection_8h-source.html#l00339">connection::registered</a>, <a class="el" href="users_8h-source.html#l00204">reset_due</a>, <a class="el" href="users_8h-source.html#l00199">sendq</a>, <a class="el" href="users_8h-source.html#l00150">server</a>, <a class="el" href="channels_8cpp-source.html#l00063">ServerName</a>, <a class="el" href="connection_8h-source.html#l00347">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00101">TIME</a>, <a class="el" href="users_8h-source.html#l00167">timeout</a>, and <a class="el" href="channels_8h-source.html#l00247">ucrec::uc_modes</a>.
<p>
-<div class="fragment"><pre>00032 {
-00033 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
-00034 strcpy(nick,<span class="stringliteral">""</span>);
-00035 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>);
-00036 <a class="code" href="classuserrec.html#o10">timeout</a> = 0;
-00037 strcpy(ident,<span class="stringliteral">""</span>);
-00038 strcpy(host,<span class="stringliteral">""</span>);
-00039 strcpy(dhost,<span class="stringliteral">""</span>);
-00040 strcpy(fullname,<span class="stringliteral">""</span>);
-00041 strcpy(modes,<span class="stringliteral">""</span>);
-00042 strcpy(server,<span class="stringliteral">""</span>);
-00043 strcpy(awaymsg,<span class="stringliteral">""</span>);
-00044 strcpy(oper,<span class="stringliteral">""</span>);
-00045 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00046 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0;
-00047 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0;
-00048 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0;
-00049 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>;
-00050 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
-00052 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>;
-00053 strcpy(result,<span class="stringliteral">""</span>);
+<div class="fragment"><pre>00033 {
+00034 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
+00035 strcpy(nick,<span class="stringliteral">""</span>);
+00036 strcpy(ip,<span class="stringliteral">"127.0.0.1"</span>);
+00037 <a class="code" href="classuserrec.html#o9">timeout</a> = 0;
+00038 strcpy(ident,<span class="stringliteral">""</span>);
+00039 strcpy(host,<span class="stringliteral">""</span>);
+00040 strcpy(dhost,<span class="stringliteral">""</span>);
+00041 strcpy(fullname,<span class="stringliteral">""</span>);
+00042 strcpy(modes,<span class="stringliteral">""</span>);
+00043 <a class="code" href="classuserrec.html#o6">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(ServerName);
+00044 strcpy(awaymsg,<span class="stringliteral">""</span>);
+00045 strcpy(oper,<span class="stringliteral">""</span>);
+00046 <a class="code" href="classuserrec.html#o17">reset_due</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00047 <a class="code" href="classuserrec.html#o16">lines_in</a> = 0;
+00048 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0;
+00049 <a class="code" href="classuserrec.html#o8">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0;
+00050 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>;
+00051 <a class="code" href="classuserrec.html#o11">dns_done</a> = <span class="keyword">false</span>;
+00052 <a class="code" href="classuserrec.html#o14">recvq</a> = <span class="stringliteral">""</span>;
+00053 <a class="code" href="classuserrec.html#o15">sendq</a> = <span class="stringliteral">""</span>;
00054 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00055 {
00056 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
@@ -248,9 +244,9 @@ References <a class="el" href="users_8h-source.html#l00151">awaymsg</a>, <a clas
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00222">222</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00221">221</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-<div class="fragment"><pre>00222 { }
+<div class="fragment"><pre>00221 { }
</pre></div> </td>
</tr>
</table>
@@ -285,34 +281,34 @@ This method adds data to the buffer of the user.
<p>
The buffer can grow to any size within limits of the available memory, managed by the size of a std::string, however if any individual line in the buffer grows over 600 bytes in length (which is 88 chars over the RFC-specified limit per line) then the method will return false and the text will not be inserted.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00190">190</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00195">recvq</a>, <a class="el" href="users_8h-source.html#l00218">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00284">SetWriteError()</a>.
-<p>
-<div class="fragment"><pre>00191 {
-00192 std::string b = <span class="stringliteral">""</span>;
-00193 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
-00194 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) &amp;&amp; (a[i] != <span class="charliteral">'\0'</span>) &amp;&amp; (a[i] != 7))
-00195 b = b + a[i];
-00196 std::stringstream stream(recvq);
-00197 stream &lt;&lt; b;
-00198 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str();
-00199 <span class="keywordtype">int</span> i = 0;
-00200 <span class="comment">// count the size of the first line in the buffer.</span>
-00201 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length())
-00202 {
-00203 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
-00204 <span class="keywordflow">break</span>;
-00205 }
-00206 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o22">recvqmax</a>)
-00207 {
-00208 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
-00209 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#o22">recvqmax</a>);
-00210 }
-00211 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
-00212 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
-00213 <span class="keywordflow">return</span> (i &lt; 600);
-00214 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00192">192</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00194">recvq</a>, <a class="el" href="users_8h-source.html#l00217">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00286">SetWriteError()</a>.
+<p>
+<div class="fragment"><pre>00193 {
+00194 std::string b = <span class="stringliteral">""</span>;
+00195 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+00196 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) &amp;&amp; (a[i] != <span class="charliteral">'\0'</span>) &amp;&amp; (a[i] != 7))
+00197 b = b + a[i];
+00198 std::stringstream stream(recvq);
+00199 stream &lt;&lt; b;
+00200 <a class="code" href="classuserrec.html#o14">recvq</a> = stream.str();
+00201 <span class="keywordtype">int</span> i = 0;
+00202 <span class="comment">// count the size of the first line in the buffer.</span>
+00203 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o14">recvq</a>.length())
+00204 {
+00205 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+00206 <span class="keywordflow">break</span>;
+00207 }
+00208 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o21">recvqmax</a>)
+00209 {
+00210 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
+00211 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o14">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#o21">recvqmax</a>);
+00212 }
+00213 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+00214 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+00215 <span class="keywordflow">return</span> (i &lt; 600);
+00216 }
</pre></div> </td>
</tr>
</table>
@@ -346,23 +342,23 @@ Adds to the user's write buffer.
<p>
You may add any amount of text up to this users sendq value, if you exceed the sendq value, <a class="el" href="classuserrec.html#a13">SetWriteError()</a> will be called to set the users error string to "SendQ exceeded", and further buffer adds will be dropped.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00246">246</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8cpp-source.html#l00292">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, <a class="el" href="users_8h-source.html#l00214">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00284">SetWriteError()</a>.
-<p>
-<div class="fragment"><pre>00247 {
-00248 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#a14">GetWriteError</a>() != <span class="stringliteral">""</span>)
-00249 <span class="keywordflow">return</span>;
-00250 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o21">sendqmax</a>)
-00251 {
-00252 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#o21">sendqmax</a>);
-00253 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
-00254 <span class="keywordflow">return</span>;
-00255 }
-00256 std::stringstream stream;
-00257 stream &lt;&lt; <a class="code" href="classuserrec.html#o16">sendq</a> &lt;&lt; data;
-00258 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str();
-00259 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00248">248</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8cpp-source.html#l00294">GetWriteError()</a>, <a class="el" href="users_8h-source.html#l00199">sendq</a>, <a class="el" href="users_8h-source.html#l00213">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00286">SetWriteError()</a>.
+<p>
+<div class="fragment"><pre>00249 {
+00250 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#a14">GetWriteError</a>() != <span class="stringliteral">""</span>)
+00251 <span class="keywordflow">return</span>;
+00252 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">sendq</a>.length() + data.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o20">sendqmax</a>)
+00253 {
+00254 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o15">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#o20">sendqmax</a>);
+00255 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
+00256 <span class="keywordflow">return</span>;
+00257 }
+00258 std::stringstream stream;
+00259 stream &lt;&lt; <a class="code" href="classuserrec.html#o15">sendq</a> &lt;&lt; data;
+00260 <a class="code" href="classuserrec.html#o15">sendq</a> = stream.str();
+00261 }
</pre></div> </td>
</tr>
</table>
@@ -395,16 +391,16 @@ This method returns true if the buffer contains at least one carriage return cha
<p>
one complete line may be read)
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00216">216</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00218">218</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00195">recvq</a>.
+References <a class="el" href="users_8h-source.html#l00194">recvq</a>.
<p>
-<div class="fragment"><pre>00217 {
-00218 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++)
-00219 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>)
-00220 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00221 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00222 }
+<div class="fragment"><pre>00219 {
+00220 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#o14">recvq</a>.length(); i++)
+00221 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+00222 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00223 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00224 }
</pre></div> </td>
</tr>
</table>
@@ -437,15 +433,15 @@ This function clears the entire buffer by setting it to an empty string.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00224">224</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00226">226</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00195">recvq</a>.
+References <a class="el" href="users_8h-source.html#l00194">recvq</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>.
<p>
-<div class="fragment"><pre>00225 {
-00226 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
-00227 }
+<div class="fragment"><pre>00227 {
+00228 <a class="code" href="classuserrec.html#o14">recvq</a> = <span class="stringliteral">""</span>;
+00229 }
</pre></div> </td>
</tr>
</table>
@@ -516,30 +512,30 @@ Flushes as much of the user's buffer to the file descriptor as possible.
<p>
This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00262">262</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="connection_8h-source.html#l00317">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00325">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00200">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00284">SetWriteError()</a>.
-<p>
-<div class="fragment"><pre>00263 {
-00264 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length())
-00265 {
-00266 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#o16">sendq</a>.c_str();
-00267 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
-00268 <span class="keywordflow">if</span> (n_sent == -1)
-00269 {
-00270 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(strerror(errno));
-00271 }
-00272 <span class="keywordflow">else</span>
-00273 {
-00274 <span class="comment">// advance the queue</span>
-00275 tb += n_sent;
-00276 this-&gt;<a class="code" href="classuserrec.html#o16">sendq</a> = tb;
-00277 <span class="comment">// update the user's stats counters</span>
-00278 this-&gt;<a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent;
-00279 this-&gt;<a class="code" href="classconnection.html#o6">cmds_out</a>++;
-00280 }
-00281 }
-00282 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00264">264</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="connection_8h-source.html#l00317">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00325">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00199">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00286">SetWriteError()</a>.
+<p>
+<div class="fragment"><pre>00265 {
+00266 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">sendq</a>.length())
+00267 {
+00268 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#o15">sendq</a>.c_str();
+00269 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
+00270 <span class="keywordflow">if</span> (n_sent == -1)
+00271 {
+00272 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(strerror(errno));
+00273 }
+00274 <span class="keywordflow">else</span>
+00275 {
+00276 <span class="comment">// advance the queue</span>
+00277 tb += n_sent;
+00278 this-&gt;<a class="code" href="classuserrec.html#o15">sendq</a> = tb;
+00279 <span class="comment">// update the user's stats counters</span>
+00280 this-&gt;<a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent;
+00281 this-&gt;<a class="code" href="classconnection.html#o6">cmds_out</a>++;
+00282 }
+00283 }
+00284 }
</pre></div> </td>
</tr>
</table>
@@ -572,25 +568,25 @@ This method returns the first available string at the tail end of the buffer and
<p>
This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use <a class="el" href="classuserrec.html#a10">BufferIsReady()</a> to check if it is ok to read the buffer before calling <a class="el" href="classuserrec.html#a12">GetBuffer()</a>.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00229">229</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00195">recvq</a>.
-<p>
-<div class="fragment"><pre>00230 {
-00231 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>)
-00232 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-00233 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str();
-00234 std::string ret = <span class="stringliteral">""</span>;
-00235 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
-00236 {
-00237 ret = ret + *line;
-00238 line++;
-00239 }
-00240 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
-00241 line++;
-00242 <a class="code" href="classuserrec.html#o15">recvq</a> = line;
-00243 <span class="keywordflow">return</span> ret;
-00244 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00231">231</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00194">recvq</a>.
+<p>
+<div class="fragment"><pre>00232 {
+00233 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a> == <span class="stringliteral">""</span>)
+00234 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00235 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o14">recvq</a>.c_str();
+00236 std::string ret = <span class="stringliteral">""</span>;
+00237 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+00238 {
+00239 ret = ret + *line;
+00240 line++;
+00241 }
+00242 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+00243 line++;
+00244 <a class="code" href="classuserrec.html#o14">recvq</a> = line;
+00245 <span class="keywordflow">return</span> ret;
+00246 }
</pre></div> </td>
</tr>
</table>
@@ -625,12 +621,13 @@ Returns the full displayed host of the user This member function returns the hos
<p>
Definition at line <a class="el" href="users_8cpp-source.html#l00068">68</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00130">dhost</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>.
+References <a class="el" href="users_8h-source.html#l00131">dhost</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, and <a class="el" href="users_8h-source.html#l00121">nick</a>.
<p>
<div class="fragment"><pre>00069 {
-00070 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
-00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00072 }
+00070 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
+00071 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
+00072 <span class="keywordflow">return</span> result;
+00073 }
</pre></div> </td>
</tr>
</table>
@@ -663,14 +660,15 @@ Returns the full real host of the user This member function returns the hostname
<p>
If any form of hostname cloaking is in operation, e.g. through a module, then this method will ignore it and return the true hostname.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00084">84</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00085">85</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00125">ident</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, and <a class="el" href="users_8h-source.html#l00156">result</a>.
+References <a class="el" href="connection_8h-source.html#l00305">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, and <a class="el" href="users_8h-source.html#l00121">nick</a>.
<p>
-<div class="fragment"><pre>00085 {
-00086 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
-00087 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00088 }
+<div class="fragment"><pre>00086 {
+00087 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
+00088 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
+00089 <span class="keywordflow">return</span> fresult;
+00090 }
</pre></div> </td>
</tr>
</table>
@@ -703,13 +701,13 @@ Returns the list of channels this user has been invited to but has not yet joine
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00104">104</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00106">106</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00094">InvitedList</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>.
<p>
-<div class="fragment"><pre>00105 {
-00106 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#r0">invites</a>;
-00107 }
+<div class="fragment"><pre>00107 {
+00108 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#r0">invites</a>;
+00109 }
</pre></div> </td>
</tr>
</table>
@@ -742,15 +740,15 @@ Returns the write error which last occured on this connection or an empty string
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00292">292</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00294">294</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00210">WriteError</a>.
+References <a class="el" href="users_8h-source.html#l00209">WriteError</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</a>.
+Referenced by <a class="el" href="users_8cpp-source.html#l00248">AddWriteBuf()</a>.
<p>
-<div class="fragment"><pre>00293 {
-00294 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a>;
-00295 }
+<div class="fragment"><pre>00295 {
+00296 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a>;
+00297 }
</pre></div> </td>
</tr>
</table>
@@ -782,61 +780,61 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</
<p>
Returns true or false for if a user can execute a privilaged oper command.
<p>
-This is done by looking up their oper type from <a class="el" href="classuserrec.html#o11">userrec::oper</a>, then referencing this to their oper classes and checking the commands they can execute.
+This is done by looking up their oper type from <a class="el" href="classuserrec.html#o10">userrec::oper</a>, then referencing this to their oper classes and checking the commands they can execute.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00138">138</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00140">140</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="channels_8cpp-source.html#l00095">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.
<p>
-<div class="fragment"><pre>00139 {
-00140 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00141 <span class="keywordtype">char</span>* mycmd;
-00142 <span class="keywordtype">char</span>* savept;
-00143 <span class="keywordtype">char</span>* savept2;
-00144
-00145 <span class="comment">// are they even an oper at all?</span>
-00146 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-00147 {
-00148 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-00149 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
-00150 {
-00151 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
-00152 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-00153 {
-00154 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-00155 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
-00156 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-00157 <span class="keywordflow">while</span> (myclass)
-00158 {
-00159 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-00160 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
-00161 {
-00162 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
-00163 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-00164 {
-00165 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
-00166 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-00167
-00168
-00169 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-00170 <span class="keywordflow">while</span> (mycmd)
-00171 {
-00172 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-00173 {
-00174 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-00175 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00176 }
-00177 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-00178 }
-00179 }
-00180 }
-00181 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-00182 }
-00183 }
-00184 }
-00185 }
-00186 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00187 }
+<div class="fragment"><pre>00141 {
+00142 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00143 <span class="keywordtype">char</span>* mycmd;
+00144 <span class="keywordtype">char</span>* savept;
+00145 <span class="keywordtype">char</span>* savept2;
+00146
+00147 <span class="comment">// are they even an oper at all?</span>
+00148 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+00149 {
+00150 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
+00151 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
+00152 {
+00153 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
+00154 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+00155 {
+00156 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
+00157 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
+00158 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+00159 <span class="keywordflow">while</span> (myclass)
+00160 {
+00161 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
+00162 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
+00163 {
+00164 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
+00165 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+00166 {
+00167 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
+00168 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
+00169
+00170
+00171 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+00172 <span class="keywordflow">while</span> (mycmd)
+00173 {
+00174 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
+00175 {
+00176 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
+00177 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00178 }
+00179 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+00180 }
+00181 }
+00182 }
+00183 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+00184 }
+00185 }
+00186 }
+00187 }
+00188 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00189 }
</pre></div> </td>
</tr>
</table>
@@ -870,15 +868,15 @@ Adds a channel to a users invite list (invites them to a channel).
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00109">109</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00111">111</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>.
<p>
-<div class="fragment"><pre>00110 {
-00111 <a class="code" href="classInvited.html">Invited</a> i;
-00112 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
-00113 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
-00114 }
+<div class="fragment"><pre>00112 {
+00113 <a class="code" href="classInvited.html">Invited</a> i;
+00114 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
+00115 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
+00116 }
</pre></div> </td>
</tr>
</table>
@@ -912,22 +910,22 @@ Returns true if a user is invited to a channel.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00090">90</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00092">92</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="users_8h-source.html#l00114">invites</a>.
<p>
-<div class="fragment"><pre>00091 {
-00092 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00093 {
-00094 <span class="keywordflow">if</span> (i-&gt;channel) {
-00095 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00096 {
-00097 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00098 }
-00099 }
-00100 }
-00101 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00102 }
+<div class="fragment"><pre>00093 {
+00094 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00095 {
+00096 <span class="keywordflow">if</span> (i-&gt;channel) {
+00097 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00098 {
+00099 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00100 }
+00101 }
+00102 }
+00103 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00104 }
</pre></div> </td>
</tr>
</table>
@@ -970,17 +968,17 @@ Calls read() to read some data for this user using their fd.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00074">74</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00075">75</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="connection_8h-source.html#l00301">connection::fd</a>.
<p>
-<div class="fragment"><pre>00075 {
-00076 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a> &gt; -1)
-00077 {
-00078 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
-00079 }
-00080 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
-00081 }
+<div class="fragment"><pre>00076 {
+00077 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a> &gt; -1)
+00078 {
+00079 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
+00080 }
+00081 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
+00082 }
</pre></div> </td>
</tr>
</table>
@@ -1014,30 +1012,30 @@ Removes a channel from a users invite list.
<p>
This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00116">116</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00118">118</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>.
<p>
-<div class="fragment"><pre>00117 {
-00118 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
-00119 <span class="keywordflow">if</span> (channel)
-00120 {
-00121 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
-00122 {
-00123 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00124 {
-00125 <span class="keywordflow">if</span> (i-&gt;channel)
-00126 {
-00127 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00128 {
-00129 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
-00130 <span class="keywordflow">return</span>;
-00131 }
-00132 }
-00133 }
-00134 }
-00135 }
-00136 }
+<div class="fragment"><pre>00119 {
+00120 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
+00121 <span class="keywordflow">if</span> (channel)
+00122 {
+00123 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
+00124 {
+00125 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00126 {
+00127 <span class="keywordflow">if</span> (i-&gt;channel)
+00128 {
+00129 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00130 {
+00131 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
+00132 <span class="keywordflow">return</span>;
+00133 }
+00134 }
+00135 }
+00136 }
+00137 }
+00138 }
</pre></div> </td>
</tr>
</table>
@@ -1071,18 +1069,18 @@ Sets the write error for a connection.
<p>
This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00284">284</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00286">286</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00210">WriteError</a>.
+References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00209">WriteError</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00190">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00262">FlushWriteBuf()</a>.
+Referenced by <a class="el" href="users_8cpp-source.html#l00192">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00248">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00264">FlushWriteBuf()</a>.
<p>
-<div class="fragment"><pre>00285 {
-00286 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
-00287 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
-00288 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>)
-00289 this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a> = error;
-00290 }
+<div class="fragment"><pre>00287 {
+00288 log(DEBUG,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
+00289 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
+00290 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a> == <span class="stringliteral">""</span>)
+00291 this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a> = error;
+00292 }
</pre></div> </td>
</tr>
</table>
@@ -1093,7 +1091,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00190">AddBuffer()</a>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o7">userrec::awaymsg</a>[512]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o7">userrec::awaymsg</a>[MAXAWAY+1]
</table>
</td>
</tr>
@@ -1110,9 +1108,9 @@ The user's away message.
<p>
If this string is empty, the user is not marked as away.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00151">151</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00155">155</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o5" doxytag="userrec::chans"></a><p>
@@ -1136,9 +1134,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00142">142</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00146">146</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="userrec::dhost"></a><p>
@@ -1164,18 +1162,18 @@ The host displayed to non-opers (used for cloaking etc).
<p>
This usually matches the value of <a class="el" href="classconnection.html#o1">userrec::host</a>.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00130">130</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00131">131</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o12" doxytag="userrec::dns_done"></a><p>
+<a name="o11" doxytag="userrec::dns_done"></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="classuserrec.html#o12">userrec::dns_done</a>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="classuserrec.html#o11">userrec::dns_done</a>
</table>
</td>
</tr>
@@ -1192,18 +1190,18 @@ True when <a class="el" href="classDNS.html">DNS</a> lookups are completed.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00179">179</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00178">178</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o9" doxytag="userrec::flood"></a><p>
+<a name="o8" doxytag="userrec::flood"></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"> int <a class="el" href="classuserrec.html#o9">userrec::flood</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="classuserrec.html#o8">userrec::flood</a>
</table>
</td>
</tr>
@@ -1220,9 +1218,9 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00162">162</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00161">161</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="userrec::fullname"></a><p>
@@ -1231,7 +1229,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o3">userrec::fullname</a>[128]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o3">userrec::fullname</a>[MAXGECOS+1]
</table>
</td>
</tr>
@@ -1248,9 +1246,9 @@ The users full name.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00134">134</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00135">135</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="userrec::ident"></a><p>
@@ -1259,7 +1257,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o1">userrec::ident</a>[16]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o1">userrec::ident</a>[IDENTMAX+2]
</table>
</td>
</tr>
@@ -1274,11 +1272,11 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<p>
The users ident reply.
<p>
-
+Two characters are added to the user-defined limit to compensate for the tilde etc.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00125">125</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00126">126</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00084">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00619">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00085">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="r0" doxytag="userrec::invites"></a><p>
@@ -1306,16 +1304,16 @@ A list of channels the user has a pending invite to.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00114">114</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00104">GetInviteList()</a>, <a class="el" href="users_8cpp-source.html#l00109">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00090">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00116">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00106">GetInviteList()</a>, <a class="el" href="users_8cpp-source.html#l00111">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00092">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00118">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o17" doxytag="userrec::lines_in"></a><p>
+<a name="o16" doxytag="userrec::lines_in"></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"> int <a class="el" href="classuserrec.html#o17">userrec::lines_in</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="classuserrec.html#o16">userrec::lines_in</a>
</table>
</td>
</tr>
@@ -1332,9 +1330,9 @@ Flood counters.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00204">204</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00203">203</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="userrec::modes"></a><p>
@@ -1343,7 +1341,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o4">userrec::modes</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o4">userrec::modes</a>[54]
</table>
</td>
</tr>
@@ -1358,11 +1356,11 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<p>
The user's mode string.
<p>
-This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit.
+This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit. it is limited to length 54, as there can only be a maximum of 52 user modes (26 upper, 26 lower case) a null terminating char, and an optional + character.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00140">140</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00144">144</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="userrec::nick"></a><p>
@@ -1390,16 +1388,16 @@ An invalid nickname indicates an unregistered connection prior to the NICK comma
<p>
Definition at line <a class="el" href="users_8h-source.html#l00121">121</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00916">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00084">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00919">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00085">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o11" doxytag="userrec::oper"></a><p>
+<a name="o10" doxytag="userrec::oper"></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"> char <a class="el" href="classuserrec.html#o11">userrec::oper</a>[NICKMAX]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o10">userrec::oper</a>[NICKMAX]
</table>
</td>
</tr>
@@ -1416,18 +1414,18 @@ The oper type they logged in as, if they are an oper.
<p>
This is used to check permissions in operclasses, so that we can say 'yay' or 'nay' to any commands they issue. The value of this is the value of a valid 'type name=' tag.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00175">175</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00174">174</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o14" doxytag="userrec::password"></a><p>
+<a name="o13" doxytag="userrec::password"></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"> char <a class="el" href="classuserrec.html#o14">userrec::password</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o13">userrec::password</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1444,16 +1442,16 @@ Password specified by the user when they registered.
<p>
This is stored even if the block doesnt need a password, so that modules may check it.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00189">189</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00188">188</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
-<a name="o13" doxytag="userrec::pingmax"></a><p>
+<a name="o12" doxytag="userrec::pingmax"></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"> unsigned int <a class="el" href="classuserrec.html#o13">userrec::pingmax</a>
+ <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classuserrec.html#o12">userrec::pingmax</a>
</table>
</td>
</tr>
@@ -1470,16 +1468,16 @@ Number of seconds between PINGs for this user (set from &lt;connect:allow&gt; ta
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00183">183</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00182">182</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
-<a name="o15" doxytag="userrec::recvq"></a><p>
+<a name="o14" doxytag="userrec::recvq"></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::string <a class="el" href="classuserrec.html#o15">userrec::recvq</a>
+ <td class="md" nowrap valign="top"> std::string <a class="el" href="classuserrec.html#o14">userrec::recvq</a>
</table>
</td>
</tr>
@@ -1496,18 +1494,18 @@ User's receive queue.
<p>
Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, old system a bit hairy.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00195">195</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00194">194</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00190">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00216">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00224">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00229">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00192">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00218">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00226">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00231">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o22" doxytag="userrec::recvqmax"></a><p>
+<a name="o21" doxytag="userrec::recvqmax"></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"> long <a class="el" href="classuserrec.html#o22">userrec::recvqmax</a>
+ <td class="md" nowrap valign="top"> long <a class="el" href="classuserrec.html#o21">userrec::recvqmax</a>
</table>
</td>
</tr>
@@ -1524,18 +1522,18 @@ Maximum size this user's recvq can become.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00218">218</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00217">217</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00190">AddBuffer()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00192">AddBuffer()</a>. </td>
</tr>
</table>
-<a name="o18" doxytag="userrec::reset_due"></a><p>
+<a name="o17" doxytag="userrec::reset_due"></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"> time_t <a class="el" href="classuserrec.html#o18">userrec::reset_due</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="classuserrec.html#o17">userrec::reset_due</a>
</table>
</td>
</tr>
@@ -1550,46 +1548,18 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00190">AddBuffer()</a>
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00205">205</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
-<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
- </tr>
-</table>
-<a name="o8" doxytag="userrec::result"></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"> char <a class="el" href="classuserrec.html#o8">userrec::result</a>[256]
- </table>
- </td>
- </tr>
-</table>
-<table cellspacing=5 cellpadding=0 border=0>
- <tr>
- <td>
- &nbsp;
- </td>
- <td>
-
-<p>
-Stores the result of the last GetFullHost or GetRealHost call.
-<p>
-You may use this to increase the speed of use of this class.
-<p>
-Definition at line <a class="el" href="users_8h-source.html#l00156">156</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00204">204</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00068">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00084">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o16" doxytag="userrec::sendq"></a><p>
+<a name="o15" doxytag="userrec::sendq"></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::string <a class="el" href="classuserrec.html#o16">userrec::sendq</a>
+ <td class="md" nowrap valign="top"> std::string <a class="el" href="classuserrec.html#o15">userrec::sendq</a>
</table>
</td>
</tr>
@@ -1606,18 +1576,18 @@ User's send queue.
<p>
Lines waiting to be sent are stored here until their buffer is flushed.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00200">200</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00199">199</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00262">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00248">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00264">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o21" doxytag="userrec::sendqmax"></a><p>
+<a name="o20" doxytag="userrec::sendqmax"></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"> long <a class="el" href="classuserrec.html#o21">userrec::sendqmax</a>
+ <td class="md" nowrap valign="top"> long <a class="el" href="classuserrec.html#o20">userrec::sendqmax</a>
</table>
</td>
</tr>
@@ -1634,9 +1604,9 @@ Maximum size this user's sendq can become.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00214">214</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00213">213</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00248">AddWriteBuf()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="userrec::server"></a><p>
@@ -1645,7 +1615,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00246">AddWriteBuf()</
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> char <a class="el" href="classuserrec.html#o6">userrec::server</a>[256]
+ <td class="md" nowrap valign="top"> char* <a class="el" href="classuserrec.html#o6">userrec::server</a>
</table>
</td>
</tr>
@@ -1662,18 +1632,18 @@ The server the user is connected to.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00146">146</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00150">150</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o19" doxytag="userrec::threshold"></a><p>
+<a name="o18" doxytag="userrec::threshold"></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"> long <a class="el" href="classuserrec.html#o19">userrec::threshold</a>
+ <td class="md" nowrap valign="top"> long <a class="el" href="classuserrec.html#o18">userrec::threshold</a>
</table>
</td>
</tr>
@@ -1688,16 +1658,16 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00206">206</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00205">205</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
-<a name="o10" doxytag="userrec::timeout"></a><p>
+<a name="o9" doxytag="userrec::timeout"></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"> unsigned int <a class="el" href="classuserrec.html#o10">userrec::timeout</a>
+ <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classuserrec.html#o9">userrec::timeout</a>
</table>
</td>
</tr>
@@ -1714,18 +1684,18 @@ Number of seconds this user is given to send USER/NICK If they do not send their
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00168">168</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00167">167</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00032">userrec()</a>. </td>
</tr>
</table>
-<a name="o20" doxytag="userrec::WriteError"></a><p>
+<a name="o19" doxytag="userrec::WriteError"></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::string <a class="el" href="classuserrec.html#o20">userrec::WriteError</a>
+ <td class="md" nowrap valign="top"> std::string <a class="el" href="classuserrec.html#o19">userrec::WriteError</a>
</table>
</td>
</tr>
@@ -1740,14 +1710,14 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00031">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00210">210</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00209">209</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00292">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00284">SetWriteError()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00294">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00286">SetWriteError()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:03:30 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/classuserrec__coll__graph.gif b/docs/module-doc/classuserrec__coll__graph.gif
index 60ce17f24..0ad5e4f3c 100644
--- a/docs/module-doc/classuserrec__coll__graph.gif
+++ b/docs/module-doc/classuserrec__coll__graph.gif
Binary files differ
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index 6164f1b27..13f8808b6 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -121,7 +121,7 @@
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 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/commands_8h.html b/docs/module-doc/commands_8h.html
index 729507cbf..4b0bab91c 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -265,7 +265,7 @@ Other useful functions.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00679">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00694">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00684">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00689">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00729">Server::CalcDuration()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00701">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00696">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00686">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00691">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00731">Server::CalcDuration()</a>. </td>
</tr>
</table>
<a name="a59" doxytag="commands.h::handle_a"></a><p>
@@ -3962,7 +3962,7 @@ Functions for u:lined servers.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00422">Server::IsUlined()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00424">Server::IsUlined()</a>. </td>
</tr>
</table>
<a name="a52" doxytag="commands.h::process_restricted_commands"></a><p>
@@ -4039,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 Wed May 25 22:02:18 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index d4a476e54..5cdf3e511 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -178,7 +178,7 @@
00361
00362
00363 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/connection_8h.html b/docs/module-doc/connection_8h.html
index 4cc0463e3..e1be7b23c 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -111,7 +111,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00036">36</a>
<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#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>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00274">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#l00445">serverrec::RecvPacket()</a>, and <a class="el" href="servers_8cpp-source.html#l00350">serverrec::SendPacket()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="connection.h::STATE_NOAUTH_INBOUND"></a><p>
@@ -137,7 +137,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00142">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#l00212">serverrec::AddIncoming()</a>, and <a class="el" href="servers_8cpp-source.html#l00284">serverrec::FlushWriteBuffers()</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#l00274">serverrec::FlushWriteBuffers()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="connection.h::STATE_NOAUTH_OUTBOUND"></a><p>
@@ -163,7 +163,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00212">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#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>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00142">serverrec::BeginLink()</a>, <a class="el" href="servers_8cpp-source.html#l00274">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>
@@ -243,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 Wed May 25 22:02:20 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index 8ef70afa8..bee8c71b5 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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/ctables_8h.html b/docs/module-doc/ctables_8h.html
index 641d0fb1a..595e4ab7b 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 Wed May 25 22:02:22 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
index f9851d2f4..345e37b57 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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/dns_8h.html b/docs/module-doc/dns_8h.html
index 4dab8de41..5a8a4b150 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 Wed May 25 22:02:22 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/files.html b/docs/module-doc/files.html
index a8911db1a..b3b6ba61c 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 Wed May 25 22:02:04 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:18 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 6b9b0a945..09463bc62 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -36,7 +36,9 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classchanrec.html#o10">chanrec</a><li>BeginLink()
: <a class="el" href="classserverrec.html#a4">serverrec</a><li>binarymodes
: <a class="el" href="classchanrec.html#o9">chanrec</a><li>binip
-: <a class="el" href="classDNS.html#r0">DNS</a><li>BufferIsComplete()
+: <a class="el" href="classDNS.html#r0">DNS</a><li>bits
+: <a class="el" href="classBoolSet.html#r0">BoolSet</a><li>BoolSet()
+: <a class="el" href="classBoolSet.html#a1">BoolSet</a><li>BufferIsComplete()
: <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>BufferIsReady()
: <a class="el" href="classuserrec.html#a10">userrec</a><li>Build
: <a class="el" href="classVersion.html#o3">Version</a><li>bytes_in
@@ -91,7 +93,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classDNS.html#d2">DNS</a><li>dns_aton4_r()
: <a class="el" href="classDNS.html#d11">DNS</a><li>dns_aton4_s()
: <a class="el" href="classDNS.html#d8">DNS</a><li>dns_done
-: <a class="el" href="classuserrec.html#o12">userrec</a><li>dns_getip4()
+: <a class="el" href="classuserrec.html#o11">userrec</a><li>dns_getip4()
: <a class="el" href="classDNS.html#d4">DNS</a><li>dns_getip4list()
: <a class="el" href="classDNS.html#d5">DNS</a><li>dns_getname4()
: <a class="el" href="classDNS.html#d6">DNS</a><li>dns_getresult()
@@ -134,14 +136,15 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classServer.html#a15">Server</a><li>Flags
: <a class="el" href="classVersion.html#o4">Version</a><li>flags_needed
: <a class="el" href="classcommand__t.html#o2">command_t</a><li>flood
-: <a class="el" href="classuserrec.html#o9">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>FlushWriteBuf()
+: <a class="el" href="classuserrec.html#o8">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>FlushWriteBuf()
: <a class="el" href="classuserrec.html#a16">userrec</a>, <a class="el" href="classircd__connector.html#a22">ircd_connector</a><li>FlushWriteBuffers()
: <a class="el" href="classserverrec.html#a11">serverrec</a><li>ForwardLookup()
: <a class="el" href="classDNS.html#a4">DNS</a><li>fullname
: <a class="el" href="classWhoWasUser.html#o4">WhoWasUser</a>, <a class="el" href="classuserrec.html#o3">userrec</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
-<li>GetAdmin()
+<li>Get()
+: <a class="el" href="classBoolSet.html#a3">BoolSet</a><li>GetAdmin()
: <a class="el" href="classServer.html#a23">Server</a><li>GetBuffer()
: <a class="el" href="classuserrec.html#a12">userrec</a>, <a class="el" href="classircd__connector.html#a18">ircd_connector</a><li>GetData()
: <a class="el" href="classEvent.html#a1">Event</a>, <a class="el" href="classRequest.html#a1">Request</a><li>GetDescription()
@@ -188,7 +191,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classEvent.html#p2">Event</a><li>ident
: <a class="el" href="classWhoWasUser.html#o1">WhoWasUser</a>, <a class="el" href="classuserrec.html#o1">userrec</a><li>idle_lastmsg
: <a class="el" href="classconnection.html#o12">connection</a><li>internal_userlist
-: <a class="el" href="classchanrec.html#o2">chanrec</a><li>invites
+: <a class="el" href="classchanrec.html#o2">chanrec</a><li>Invert()
+: <a class="el" href="classBoolSet.html#a5">BoolSet</a><li>invites
: <a class="el" href="classuserrec.html#r0">userrec</a><li>InviteTo()
: <a class="el" href="classuserrec.html#a5">userrec</a><li>ip
: <a class="el" href="structdns__ip4list.html#o0">dns_ip4list</a>, <a class="el" href="classconnection.html#o2">connection</a><li>ipaddr
@@ -216,7 +220,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>lastping
: <a class="el" href="classconnection.html#o10">connection</a><li>limit
: <a class="el" href="classchanrec.html#o7">chanrec</a><li>lines_in
-: <a class="el" href="classuserrec.html#o17">userrec</a><li>list
+: <a class="el" href="classuserrec.html#o16">userrec</a><li>list
: <a class="el" href="classExtMode.html#o5">ExtMode</a><li>LoadFile()
: <a class="el" href="classFileReader.html#a3">FileReader</a><li>Log()
: <a class="el" href="classServer.html#a3">Server</a><li>lt()
@@ -245,9 +249,9 @@ Here is a list of all class members with links to the classes they belong to:<h3
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>n_matches
-: <a class="el" href="classXLine.html#o4">XLine</a><li>Name
-: <a class="el" href="classAdmin.html#o0">Admin</a><li>name
-: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>ne()
+: <a class="el" href="classXLine.html#o4">XLine</a><li>name
+: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>Name
+: <a class="el" href="classAdmin.html#o0">Admin</a><li>ne()
: <a class="el" href="structirc_1_1irc__char__traits.html#e1">irc::irc_char_traits</a><li>needsoper
: <a class="el" href="classExtMode.html#o4">ExtMode</a><li>next
: <a class="el" href="structdns__ip4list.html#o1">dns_ip4list</a><li>nextping
@@ -312,8 +316,12 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classModule.html#a34">Module</a><li>OnUserSync()
: <a class="el" href="classModule.html#a25">Module</a><li>OnWhois()
: <a class="el" href="classModule.html#a18">Module</a><li>oper
-: <a class="el" href="classuserrec.html#o11">userrec</a><li>operator()()
-: <a class="el" href="structirc_1_1InAddr__HashComp.html#a0">irc::InAddr_HashComp</a>, <a class="el" href="structirc_1_1StrHashComp.html#a0">irc::StrHashComp</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">nspace::hash&lt; string &gt;</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">nspace::hash&lt; in_addr &gt;</a><li>opercount
+: <a class="el" href="classuserrec.html#o10">userrec</a><li>operator &amp;()
+: <a class="el" href="classBoolSet.html#a8">BoolSet</a><li>operator()()
+: <a class="el" href="structirc_1_1InAddr__HashComp.html#a0">irc::InAddr_HashComp</a>, <a class="el" href="structirc_1_1StrHashComp.html#a0">irc::StrHashComp</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">nspace::hash&lt; string &gt;</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">nspace::hash&lt; in_addr &gt;</a><li>operator=()
+: <a class="el" href="classBoolSet.html#a9">BoolSet</a><li>operator==()
+: <a class="el" href="classBoolSet.html#a6">BoolSet</a><li>operator|()
+: <a class="el" href="classBoolSet.html#a7">BoolSet</a><li>opercount
: <a class="el" href="classserverrec.html#o4">serverrec</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
@@ -323,8 +331,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classExtMode.html#o2">ExtMode</a><li>PartUserFromChannel()
: <a class="el" href="classServer.html#a30">Server</a><li>pass
: <a class="el" href="classConnectClass.html#o5">ConnectClass</a><li>password
-: <a class="el" href="classuserrec.html#o14">userrec</a><li>pingmax
-: <a class="el" href="classuserrec.html#o13">userrec</a><li>pingtime
+: <a class="el" href="classuserrec.html#o13">userrec</a><li>pingmax
+: <a class="el" href="classuserrec.html#o12">userrec</a><li>pingtime
: <a class="el" href="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port
: <a class="el" href="classconnection.html#o8">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>PseudoToUser()
: <a class="el" href="classServer.html#a40">Server</a></ul>
@@ -342,16 +350,16 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classConfigReader.html#a3">ConfigReader</a><li>reason
: <a class="el" href="classXLine.html#o3">XLine</a><li>RecvPacket()
: <a class="el" href="classserverrec.html#a8">serverrec</a><li>recvq
-: <a class="el" href="classuserrec.html#o15">userrec</a><li>recvqmax
-: <a class="el" href="classuserrec.html#o22">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered
+: <a class="el" href="classuserrec.html#o14">userrec</a><li>recvqmax
+: <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered
: <a class="el" href="classconnection.html#o9">connection</a><li>registration_timeout
: <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>RemoveInvite()
: <a class="el" href="classuserrec.html#a6">userrec</a><li>replied
: <a class="el" href="classircd__connector.html#r9">ircd_connector</a><li>Request()
: <a class="el" href="classRequest.html#a0">Request</a><li>reset_due
-: <a class="el" href="classuserrec.html#o18">userrec</a><li>ResetPing()
+: <a class="el" href="classuserrec.html#o17">userrec</a><li>ResetPing()
: <a class="el" href="classircd__connector.html#a27">ircd_connector</a><li>result
-: <a class="el" href="classuserrec.html#o8">userrec</a>, <a class="el" href="classDNS.html#r1">DNS</a><li>ReverseLookup()
+: <a class="el" href="classDNS.html#r1">DNS</a><li>ReverseLookup()
: <a class="el" href="classDNS.html#a3">DNS</a><li>Revision
: <a class="el" href="classVersion.html#o2">Version</a><li>routes
: <a class="el" href="classircd__connector.html#o3">ircd_connector</a></ul>
@@ -366,8 +374,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classServer.html#a27">Server</a><li>SendOpers()
: <a class="el" href="classServer.html#a2">Server</a><li>SendPacket()
: <a class="el" href="classserverrec.html#a7">serverrec</a><li>sendq
-: <a class="el" href="classuserrec.html#o16">userrec</a>, <a class="el" href="classircd__connector.html#r6">ircd_connector</a><li>sendqmax
-: <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>SendServ()
+: <a class="el" href="classuserrec.html#o15">userrec</a>, <a class="el" href="classircd__connector.html#r6">ircd_connector</a><li>sendqmax
+: <a class="el" href="classuserrec.html#o20">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>SendServ()
: <a class="el" href="classServer.html#a5">Server</a><li>SendTo()
: <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask()
: <a class="el" href="classServer.html#a28">Server</a><li>SendWallops()
@@ -375,7 +383,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classServer.html#a0">Server</a><li>server
: <a class="el" href="classWhoWasUser.html#o5">WhoWasUser</a>, <a class="el" href="classuserrec.html#o6">userrec</a><li>servername
: <a class="el" href="classircd__connector.html#r2">ircd_connector</a><li>serverrec()
-: <a class="el" href="classserverrec.html#a1">serverrec</a><li>set_by
+: <a class="el" href="classserverrec.html#a1">serverrec</a><li>Set()
+: <a class="el" href="classBoolSet.html#a2">BoolSet</a><li>set_by
: <a class="el" href="classHostItem.html#o1">HostItem</a><li>set_time
: <a class="el" href="classXLine.html#o0">XLine</a>, <a class="el" href="classHostItem.html#o0">HostItem</a><li>setby
: <a class="el" href="classchanrec.html#o6">chanrec</a><li>SetCustomMode()
@@ -401,8 +410,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>t
: <a class="el" href="classDNS.html#r2">DNS</a><li>TerminateLink()
: <a class="el" href="classserverrec.html#a6">serverrec</a><li>threshold
-: <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout
-: <a class="el" href="classuserrec.html#o10">userrec</a><li>topic
+: <a class="el" href="classuserrec.html#o18">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout
+: <a class="el" href="classuserrec.html#o9">userrec</a><li>topic
: <a class="el" href="classchanrec.html#o3">chanrec</a><li>topicset
: <a class="el" href="classchanrec.html#o5">chanrec</a><li>total_bytes
: <a class="el" href="classcommand__t.html#o5">command_t</a><li>type
@@ -411,7 +420,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>uc_modes
: <a class="el" href="classucrec.html#o0">ucrec</a><li>ucrec()
-: <a class="el" href="classucrec.html#a0">ucrec</a><li>use_count
+: <a class="el" href="classucrec.html#a0">ucrec</a><li>Unset()
+: <a class="el" href="classBoolSet.html#a4">BoolSet</a><li>use_count
: <a class="el" href="classcommand__t.html#o4">command_t</a><li>usercount
: <a class="el" href="classserverrec.html#o3">serverrec</a><li>usercount_i
: <a class="el" href="classserverrec.html#o2">serverrec</a><li>userrec()
@@ -426,7 +436,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
<h3><a name="index_w">- w -</a>
</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>
+: <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classircd__connector.html#r7">ircd_connector</a></ul>
<h3><a name="index_~">- ~ -</a>
</h3><ul>
<li>~chanrec()
@@ -442,7 +452,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 Wed May 25 22:02:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/functions_func.html b/docs/module-doc/functions_func.html
index a64a27354..e50d53891 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -30,7 +30,8 @@
<h3><a name="index_b">- b -</a>
</h3><ul>
<li>BeginLink()
-: <a class="el" href="classserverrec.html#a4">serverrec</a><li>BufferIsComplete()
+: <a class="el" href="classserverrec.html#a4">serverrec</a><li>BoolSet()
+: <a class="el" href="classBoolSet.html#a1">BoolSet</a><li>BufferIsComplete()
: <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>BufferIsReady()
: <a class="el" href="classuserrec.html#a10">userrec</a></ul>
<h3><a name="index_c">- c -</a>
@@ -107,7 +108,8 @@
: <a class="el" href="classDNS.html#a4">DNS</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
-<li>GetAdmin()
+<li>Get()
+: <a class="el" href="classBoolSet.html#a3">BoolSet</a><li>GetAdmin()
: <a class="el" href="classServer.html#a23">Server</a><li>GetBuffer()
: <a class="el" href="classuserrec.html#a12">userrec</a>, <a class="el" href="classircd__connector.html#a18">ircd_connector</a><li>GetData()
: <a class="el" href="classEvent.html#a1">Event</a>, <a class="el" href="classRequest.html#a1">Request</a><li>GetDescription()
@@ -145,7 +147,8 @@
: <a class="el" href="classHostItem.html#a0">HostItem</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
-<li>InviteTo()
+<li>Invert()
+: <a class="el" href="classBoolSet.html#a5">BoolSet</a><li>InviteTo()
: <a class="el" href="classuserrec.html#a5">userrec</a><li>ircd_connector()
: <a class="el" href="classircd__connector.html#a0">ircd_connector</a><li>IsCustomModeSet()
: <a class="el" href="classchanrec.html#a2">chanrec</a><li>IsInvited()
@@ -238,8 +241,12 @@
: <a class="el" href="classModule.html#a4">Module</a><li>OnUserRegister()
: <a class="el" href="classModule.html#a34">Module</a><li>OnUserSync()
: <a class="el" href="classModule.html#a25">Module</a><li>OnWhois()
-: <a class="el" href="classModule.html#a18">Module</a><li>operator()()
-: <a class="el" href="structirc_1_1InAddr__HashComp.html#a0">irc::InAddr_HashComp</a>, <a class="el" href="structirc_1_1StrHashComp.html#a0">irc::StrHashComp</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">nspace::hash&lt; string &gt;</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">nspace::hash&lt; in_addr &gt;</a></ul>
+: <a class="el" href="classModule.html#a18">Module</a><li>operator &amp;()
+: <a class="el" href="classBoolSet.html#a8">BoolSet</a><li>operator()()
+: <a class="el" href="structirc_1_1InAddr__HashComp.html#a0">irc::InAddr_HashComp</a>, <a class="el" href="structirc_1_1StrHashComp.html#a0">irc::StrHashComp</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">nspace::hash&lt; string &gt;</a>, <a class="el" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">nspace::hash&lt; in_addr &gt;</a><li>operator=()
+: <a class="el" href="classBoolSet.html#a9">BoolSet</a><li>operator==()
+: <a class="el" href="classBoolSet.html#a6">BoolSet</a><li>operator|()
+: <a class="el" href="classBoolSet.html#a7">BoolSet</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>PartUserFromChannel()
@@ -277,7 +284,8 @@
: <a class="el" href="classServer.html#a28">Server</a><li>SendWallops()
: <a class="el" href="classServer.html#a12">Server</a><li>Server()
: <a class="el" href="classServer.html#a0">Server</a><li>serverrec()
-: <a class="el" href="classserverrec.html#a1">serverrec</a><li>SetCustomMode()
+: <a class="el" href="classserverrec.html#a1">serverrec</a><li>Set()
+: <a class="el" href="classBoolSet.html#a2">BoolSet</a><li>SetCustomMode()
: <a class="el" href="classchanrec.html#a0">chanrec</a><li>SetCustomModeParam()
: <a class="el" href="classchanrec.html#a1">chanrec</a><li>SetDescription()
: <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>SetDescriptor()
@@ -298,7 +306,8 @@
<h3><a name="index_u">- u -</a>
</h3><ul>
<li>ucrec()
-: <a class="el" href="classucrec.html#a0">ucrec</a><li>userrec()
+: <a class="el" href="classucrec.html#a0">ucrec</a><li>Unset()
+: <a class="el" href="classBoolSet.html#a4">BoolSet</a><li>userrec()
: <a class="el" href="classuserrec.html#a0">userrec</a><li>UserToPseudo()
: <a class="el" href="classServer.html#a39">Server</a></ul>
<h3><a name="index_v">- v -</a>
@@ -321,7 +330,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 Wed May 25 22:02:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/functions_vars.html b/docs/module-doc/functions_vars.html
index 62f7166a3..ab822c58f 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -22,7 +22,8 @@
<li>bans
: <a class="el" href="classchanrec.html#o10">chanrec</a><li>binarymodes
: <a class="el" href="classchanrec.html#o9">chanrec</a><li>binip
-: <a class="el" href="classDNS.html#r0">DNS</a><li>Build
+: <a class="el" href="classDNS.html#r0">DNS</a><li>bits
+: <a class="el" href="classBoolSet.html#r0">BoolSet</a><li>Build
: <a class="el" href="classVersion.html#o3">Version</a><li>bytes_in
: <a class="el" href="classconnection.html#o3">connection</a><li>bytes_out
: <a class="el" href="classconnection.html#o4">connection</a></ul>
@@ -45,7 +46,7 @@
: <a class="el" href="classserverrec.html#o8">serverrec</a>, <a class="el" href="classircd__connector.html#r3">ircd_connector</a><li>dest
: <a class="el" href="classRequest.html#p2">Request</a><li>dhost
: <a class="el" href="classWhoWasUser.html#o2">WhoWasUser</a>, <a class="el" href="classuserrec.html#o2">userrec</a><li>dns_done
-: <a class="el" href="classuserrec.html#o12">userrec</a><li>duration
+: <a class="el" href="classuserrec.html#o11">userrec</a><li>duration
: <a class="el" href="classXLine.html#o1">XLine</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
@@ -61,7 +62,7 @@
: <a class="el" href="classDNS.html#r3">DNS</a>, <a class="el" href="classconnection.html#o0">connection</a>, <a class="el" href="classircd__connector.html#r1">ircd_connector</a><li>Flags
: <a class="el" href="classVersion.html#o4">Version</a><li>flags_needed
: <a class="el" href="classcommand__t.html#o2">command_t</a><li>flood
-: <a class="el" href="classuserrec.html#o9">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>fullname
+: <a class="el" href="classuserrec.html#o8">userrec</a>, <a class="el" href="classConnectClass.html#o2">ConnectClass</a><li>fullname
: <a class="el" href="classWhoWasUser.html#o4">WhoWasUser</a>, <a class="el" href="classuserrec.html#o3">userrec</a></ul>
<h3><a name="index_h">- h -</a>
</h3><ul>
@@ -96,7 +97,7 @@
<li>lastping
: <a class="el" href="classconnection.html#o10">connection</a><li>limit
: <a class="el" href="classchanrec.html#o7">chanrec</a><li>lines_in
-: <a class="el" href="classuserrec.html#o17">userrec</a><li>list
+: <a class="el" href="classuserrec.html#o16">userrec</a><li>list
: <a class="el" href="classExtMode.html#o5">ExtMode</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
@@ -110,9 +111,9 @@
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>n_matches
-: <a class="el" href="classXLine.html#o4">XLine</a><li>Name
-: <a class="el" href="classAdmin.html#o0">Admin</a><li>name
-: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>needsoper
+: <a class="el" href="classXLine.html#o4">XLine</a><li>name
+: <a class="el" href="classserverrec.html#o0">serverrec</a>, <a class="el" href="classchanrec.html#o0">chanrec</a><li>Name
+: <a class="el" href="classAdmin.html#o0">Admin</a><li>needsoper
: <a class="el" href="classExtMode.html#o4">ExtMode</a><li>next
: <a class="el" href="structdns__ip4list.html#o1">dns_ip4list</a><li>nextping
: <a class="el" href="classircd__connector.html#r8">ircd_connector</a><li>Nick
@@ -123,7 +124,7 @@
<h3><a name="index_o">- o -</a>
</h3><ul>
<li>oper
-: <a class="el" href="classuserrec.html#o11">userrec</a><li>opercount
+: <a class="el" href="classuserrec.html#o10">userrec</a><li>opercount
: <a class="el" href="classserverrec.html#o4">serverrec</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
@@ -132,8 +133,8 @@
: <a class="el" href="classExtMode.html#o3">ExtMode</a><li>params_when_on
: <a class="el" href="classExtMode.html#o2">ExtMode</a><li>pass
: <a class="el" href="classConnectClass.html#o5">ConnectClass</a><li>password
-: <a class="el" href="classuserrec.html#o14">userrec</a><li>pingmax
-: <a class="el" href="classuserrec.html#o13">userrec</a><li>pingtime
+: <a class="el" href="classuserrec.html#o13">userrec</a><li>pingmax
+: <a class="el" href="classuserrec.html#o12">userrec</a><li>pingtime
: <a class="el" href="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port
: <a class="el" href="classconnection.html#o8">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a></ul>
<h3><a name="index_r">- r -</a>
@@ -141,20 +142,20 @@
<li>readerror
: <a class="el" href="classConfigReader.html#p2">ConfigReader</a><li>reason
: <a class="el" href="classXLine.html#o3">XLine</a><li>recvq
-: <a class="el" href="classuserrec.html#o15">userrec</a><li>recvqmax
-: <a class="el" href="classuserrec.html#o22">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered
+: <a class="el" href="classuserrec.html#o14">userrec</a><li>recvqmax
+: <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o8">ConnectClass</a><li>registered
: <a class="el" href="classconnection.html#o9">connection</a><li>registration_timeout
: <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>replied
: <a class="el" href="classircd__connector.html#r9">ircd_connector</a><li>reset_due
-: <a class="el" href="classuserrec.html#o18">userrec</a><li>result
-: <a class="el" href="classuserrec.html#o8">userrec</a>, <a class="el" href="classDNS.html#r1">DNS</a><li>Revision
+: <a class="el" href="classuserrec.html#o17">userrec</a><li>result
+: <a class="el" href="classDNS.html#r1">DNS</a><li>Revision
: <a class="el" href="classVersion.html#o2">Version</a><li>routes
: <a class="el" href="classircd__connector.html#o3">ircd_connector</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>sendq
-: <a class="el" href="classuserrec.html#o16">userrec</a>, <a class="el" href="classircd__connector.html#r6">ircd_connector</a><li>sendqmax
-: <a class="el" href="classuserrec.html#o21">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>server
+: <a class="el" href="classuserrec.html#o15">userrec</a>, <a class="el" href="classircd__connector.html#r6">ircd_connector</a><li>sendqmax
+: <a class="el" href="classuserrec.html#o20">userrec</a>, <a class="el" href="classConnectClass.html#o7">ConnectClass</a><li>server
: <a class="el" href="classWhoWasUser.html#o5">WhoWasUser</a>, <a class="el" href="classuserrec.html#o6">userrec</a><li>servername
: <a class="el" href="classircd__connector.html#r2">ircd_connector</a><li>set_by
: <a class="el" href="classHostItem.html#o1">HostItem</a><li>set_time
@@ -168,8 +169,8 @@
</h3><ul>
<li>t
: <a class="el" href="classDNS.html#r2">DNS</a><li>threshold
-: <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout
-: <a class="el" href="classuserrec.html#o10">userrec</a><li>topic
+: <a class="el" href="classuserrec.html#o18">userrec</a>, <a class="el" href="classConnectClass.html#o6">ConnectClass</a><li>timeout
+: <a class="el" href="classuserrec.html#o9">userrec</a><li>topic
: <a class="el" href="classchanrec.html#o3">chanrec</a><li>topicset
: <a class="el" href="classchanrec.html#o5">chanrec</a><li>total_bytes
: <a class="el" href="classcommand__t.html#o5">command_t</a><li>type
@@ -188,8 +189,8 @@
<h3><a name="index_w">- w -</a>
</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 Wed May 25 22:02:44 2005 for InspIRCd by
+: <a class="el" href="classuserrec.html#o19">userrec</a>, <a class="el" href="classircd__connector.html#r7">ircd_connector</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/globals.html b/docs/module-doc/globals.html
index 94f33e685..f0bafa43d 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -32,51 +32,52 @@ 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#a4">xline.h</a><li>add_qline()
: <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>address_cache
-: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>AdminEmail
-: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName
-: <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="modules_8cpp.html#a40">modules.cpp</a><li>AdminEmail
+: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName
+: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick
+: <a class="el" href="modules_8cpp.html#a11">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#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>
+: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
<li>BanList
-: <a class="el" href="channels_8h.html#a11">channels.h</a><li>Blocking()
+: <a class="el" href="channels_8h.html#a11">channels.h</a><li>bitfields
+: <a class="el" href="base_8h.html#a1">base.h</a><li>Blocking()
: <a class="el" href="message_8h.html#a3">message.h</a><li>boundPortCount
-: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a></ul>
<h3><a name="index_c">- c -</a>
</h3><ul>
<li>c_count()
: <a class="el" href="message_8h.html#a6">message.h</a><li>CC_ALLOW
: <a class="el" href="users_8h.html#a4">users.h</a><li>CC_DENY
: <a class="el" href="users_8h.html#a5">users.h</a><li>chan_hash
-: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>ChangeDisplayedHost()
+: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>ChangeDisplayedHost()
: <a class="el" href="message_8h.html#a9">message.h</a><li>ChangeName()
: <a class="el" href="message_8h.html#a8">message.h</a><li>chanlist
-: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>chanuserlist
+: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>chanuserlist
: <a class="el" href="modules_8h.html#a33">modules.h</a><li>chlist()
: <a class="el" href="message_8h.html#a16">message.h</a><li>chop()
: <a class="el" href="message_8h.html#a1">message.h</a><li>ClassVector
: <a class="el" href="users_8h.html#a7">users.h</a><li>CleanAndResolve()
: <a class="el" href="message_8h.html#a5">message.h</a><li>clientlist
-: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>CM_INVITEONLY
+: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>CM_INVITEONLY
: <a class="el" href="channels_8h.html#a2">channels.h</a><li>CM_MODERATED
: <a class="el" href="channels_8h.html#a3">channels.h</a><li>CM_NOEXTERNAL
: <a class="el" href="channels_8h.html#a1">channels.h</a><li>CM_PRIVATE
: <a class="el" href="channels_8h.html#a5">channels.h</a><li>CM_SECRET
: <a class="el" href="channels_8h.html#a4">channels.h</a><li>CM_TOPICLOCK
: <a class="el" href="channels_8h.html#a0">channels.h</a><li>cmdlist
-: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>cmode()
+: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>cmode()
: <a class="el" href="message_8h.html#a12">message.h</a><li>command_table
-: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>common_channels()
+: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>common_channels()
: <a class="el" href="message_8h.html#a0">message.h</a><li>CONF_FILE_NOT_FOUND
: <a class="el" href="modules_8h.html#a30">modules.h</a><li>CONF_NOT_A_NUMBER
: <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>ConnectServer()
+: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">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()
@@ -86,33 +87,33 @@ Here is a list of all file members with links to the files they belong to:<h3><a
</h3><ul>
<li>DEBUG
: <a class="el" href="modules_8h.html#a0">modules.h</a><li>debugging
-: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT
+: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>DEFAULT
: <a class="el" href="modules_8h.html#a2">modules.h</a><li>defaultRoute
-: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>del_eline()
+: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>del_eline()
: <a class="el" href="xline_8h.html#a10">xline.h</a><li>del_gline()
: <a class="el" href="xline_8h.html#a6">xline.h</a><li>del_kline()
: <a class="el" href="xline_8h.html#a9">xline.h</a><li>del_qline()
: <a class="el" href="xline_8h.html#a7">xline.h</a><li>del_zline()
: <a class="el" href="xline_8h.html#a8">xline.h</a><li>DieDelay
-: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass
-: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue
-: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode()
-: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>duration()
+: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass
+: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue
+: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a><li>DoAddExtendedMode()
+: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration()
: <a class="el" href="commands_8h.html#a76">commands.h</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
<li>EMode
-: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>ExemptList
+: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ExemptList
: <a class="el" href="channels_8h.html#a12">channels.h</a><li>expire_lines()
: <a class="el" href="xline_8h.html#a16">xline.h</a><li>ExtModeList
-: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ExtModeListIter
-: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExtModeListIter
+: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a></ul>
<h3><a name="index_f">- f -</a>
</h3><ul>
<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_MAGIC_NUMBER
+: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a><li>FD_MAGIC_NUMBER
: <a class="el" href="modules_8h.html#a26">modules.h</a><li>fd_ref_table
-: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a><li>file_cache
+: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>file_cache
: <a class="el" href="modules_8h.html#a31">modules.h</a><li>FOREACH_MOD
: <a class="el" href="modules_8h.html#a24">modules.h</a><li>FOREACH_RESULT
: <a class="el" href="modules_8h.html#a25">modules.h</a></ul>
@@ -155,9 +156,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#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#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#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()
@@ -185,9 +186,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#a47">commands.h</a><li>handle_squit()
: <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats()
: <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon()
-: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t()
-: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_T()
-: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time()
+: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T()
+: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_t()
+: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_time()
: <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic()
: <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace()
: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule()
@@ -206,10 +207,12 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="message_8h.html#a7">message.h</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
-<li>InvitedList
+<li>include_stack
+: <a class="el" href="modules_8cpp.html#a3">modules.cpp</a><li>inverted_bitfields
+: <a class="el" href="base_8h.html#a2">base.h</a><li>InvitedList
: <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList
: <a class="el" href="channels_8h.html#a13">channels.h</a><li>IP
-: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a><li>ircd_module
+: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ircd_module
: <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()
@@ -220,9 +223,9 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<li>LINK_ACTIVE
: <a class="el" href="servers_8h.html#a0">servers.h</a><li>LINK_INACTIVE
: <a class="el" href="servers_8h.html#a1">servers.h</a><li>list
-: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file
-: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>LogLevel
-: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file
+: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>LogLevel
+: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>matches_exception()
@@ -232,39 +235,39 @@ 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#a11">xline.h</a><li>matches_zline()
: <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="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="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a35">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()
-: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeDefinedOff()
-: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOn()
-: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOper()
-: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeIsListMode()
-: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeMakeList()
-: <a class="el" href="modules_8cpp.html#a58">modules.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
-: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD
-: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>MT_CHANNEL
+: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff()
+: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn()
+: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper()
+: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode()
+: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList()
+: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>module_names
+: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>modules
+: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd
+: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD
+: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a><li>MT_CHANNEL
: <a class="el" href="modules_8h.html#a5">modules.h</a><li>MT_CLIENT
: <a class="el" href="modules_8h.html#a6">modules.h</a><li>MT_SERVER
: <a class="el" href="modules_8h.html#a7">modules.h</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>nb_start
-: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize
-: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network
-: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking()
+: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize
+: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network
+: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a><li>NonBlocking()
: <a class="el" href="message_8h.html#a4">message.h</a><li>NONE
: <a class="el" href="modules_8h.html#a4">modules.h</a><li>nspace
: <a class="el" href="hashcomp_8h.html#a0">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#a0">channels.cpp</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>portCount
-: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a><li>ports
-: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>PrefixQuit
-: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes()
+: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a><li>ports
+: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>PrefixQuit
+: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a><li>process_modes()
: <a class="el" href="mode_8h.html#a8">mode.h</a><li>process_module_umode()
: <a class="el" href="mode_8h.html#a10">mode.h</a><li>process_restricted_commands()
: <a class="el" href="commands_8h.html#a52">commands.h</a></ul>
@@ -277,19 +280,19 @@ Here is a list of all file members with links to the files they belong to:<h3><a
</h3><ul>
<li>read_xline_defaults()
: <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass
-: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules
-: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES
-: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules
+: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES
+: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>send_network_quit()
: <a class="el" href="message_8h.html#a17">message.h</a><li>server_mode()
: <a class="el" href="modules_8h.html#a36">modules.h</a>, <a class="el" href="mode_8h.html#a12">mode.h</a><li>ServerDesc
-: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName
-: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount
-: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>SPARSE
+: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName
+: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount
+: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>SPARSE
: <a class="el" href="modules_8h.html#a3">modules.h</a><li>startup_time
-: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED
+: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a><li>STATE_CONNECTED
: <a class="el" href="connection_8h.html#a1">connection.h</a><li>STATE_DISCONNECTED
: <a class="el" href="connection_8h.html#a0">connection.h</a><li>STATE_NOAUTH_INBOUND
: <a class="el" href="connection_8h.html#a3">connection.h</a><li>STATE_NOAUTH_OUTBOUND
@@ -316,7 +319,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="mode_8h.html#a5">mode.h</a><li>TidyBan()
: <a class="el" href="message_8h.html#a15">message.h</a><li>tidystring()
: <a class="el" href="message_8h.html#a2">message.h</a><li>TIME
-: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a3">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a></ul>
+: <a class="el" href="users_8cpp.html#a2">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a></ul>
<h3><a name="index_u">- u -</a>
</h3><ul>
<li>UCMODE_FOUNDER
@@ -325,7 +328,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="channels_8h.html#a6">channels.h</a><li>UCMODE_PROTECT
: <a class="el" href="channels_8h.html#a9">channels.h</a><li>UCMODE_VOICE
: <a class="el" href="channels_8h.html#a7">channels.h</a><li>user_hash
-: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>VERBOSE
@@ -338,10 +341,10 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<h3><a name="index_w">- w -</a>
</h3><ul>
<li>whowas
-: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>whowas_hash
-: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>WHOWAS_MAX
-: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE
-: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>whowas_hash
+: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>WHOWAS_MAX
+: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE
+: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul>
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
@@ -351,7 +354,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/globals_defs.html b/docs/module-doc/globals_defs.html
index 6ae018be0..8d0992220 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/globals_func.html b/docs/module-doc/globals_func.html
index c7c0247bb..981d5daed 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -50,7 +50,7 @@
: <a class="el" href="xline_8h.html#a9">xline.h</a><li>del_qline()
: <a class="el" href="xline_8h.html#a7">xline.h</a><li>del_zline()
: <a class="el" href="xline_8h.html#a8">xline.h</a><li>DoAddExtendedMode()
-: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>duration()
+: <a class="el" href="modules_8cpp.html#a58">modules.cpp</a><li>duration()
: <a class="el" href="commands_8h.html#a76">commands.h</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
@@ -59,7 +59,7 @@
<h3><a name="index_f">- f -</a>
</h3><ul>
<li>factory()
-: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a61">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a3">channels.cpp</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
<li>give_hops()
@@ -99,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#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#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#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()
@@ -129,9 +129,9 @@
: <a class="el" href="commands_8h.html#a47">commands.h</a><li>handle_squit()
: <a class="el" href="commands_8h.html#a37">commands.h</a><li>handle_stats()
: <a class="el" href="commands_8h.html#a35">commands.h</a><li>handle_summon()
-: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_t()
-: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_T()
-: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_time()
+: <a class="el" href="commands_8h.html#a6">commands.h</a><li>handle_T()
+: <a class="el" href="commands_8h.html#a70">commands.h</a><li>handle_t()
+: <a class="el" href="commands_8h.html#a71">commands.h</a><li>handle_time()
: <a class="el" href="commands_8h.html#a15">commands.h</a><li>handle_topic()
: <a class="el" href="commands_8h.html#a10">commands.h</a><li>handle_trace()
: <a class="el" href="commands_8h.html#a33">commands.h</a><li>handle_unloadmodule()
@@ -164,13 +164,13 @@
: <a class="el" href="xline_8h.html#a13">xline.h</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>ModeDefined()
-: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a><li>ModeDefinedOff()
-: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOn()
-: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeDefinedOper()
-: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeIsListMode()
-: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeMakeList()
-: <a class="el" href="modules_8cpp.html#a58">modules.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></ul>
+: <a class="el" href="modules_8cpp.html#a53">modules.cpp</a><li>ModeDefinedOff()
+: <a class="el" href="modules_8cpp.html#a57">modules.cpp</a><li>ModeDefinedOn()
+: <a class="el" href="modules_8cpp.html#a56">modules.cpp</a><li>ModeDefinedOper()
+: <a class="el" href="modules_8cpp.html#a55">modules.cpp</a><li>ModeIsListMode()
+: <a class="el" href="modules_8cpp.html#a54">modules.cpp</a><li>ModeMakeList()
+: <a class="el" href="modules_8cpp.html#a59">modules.cpp</a><li>modules()
+: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>NonBlocking()
@@ -215,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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/globals_type.html b/docs/module-doc/globals_type.html
index b3fab91a1..df2fab38b 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -10,24 +10,24 @@
<p>
<ul>
<li>address_cache
-: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>BanList
+: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>BanList
: <a class="el" href="channels_8h.html#a11">channels.h</a><li>chan_hash
-: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a><li>chanuserlist
+: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>chanuserlist
: <a class="el" href="modules_8h.html#a33">modules.h</a><li>ClassVector
: <a class="el" href="users_8h.html#a7">users.h</a><li>command_table
-: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>ExemptList
+: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>ExemptList
: <a class="el" href="channels_8h.html#a12">channels.h</a><li>ExtModeList
-: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a><li>ExtModeListIter
-: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>file_cache
+: <a class="el" href="modules_8cpp.html#a50">modules.cpp</a><li>ExtModeListIter
+: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a><li>file_cache
: <a class="el" href="modules_8h.html#a31">modules.h</a><li>InvitedList
: <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList
: <a class="el" href="channels_8h.html#a13">channels.h</a><li>ircd_module
: <a class="el" href="modules_8h.html#a34">modules.h</a><li>string_list
: <a class="el" href="modules_8h.html#a32">modules.h</a><li>user_hash
-: <a class="el" href="modules_8cpp.html#a37">modules.cpp</a><li>VoidPointer
+: <a class="el" href="modules_8cpp.html#a38">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 Wed May 25 22:03:35 2005 for InspIRCd by
+: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/globals_vars.html b/docs/module-doc/globals_vars.html
index 0f18413e7..a9d64c70a 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -14,104 +14,107 @@
<h3><a name="index_a">- a -</a>
</h3><ul>
<li>AdminEmail
-: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName
-: <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>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>
+: <a class="el" href="modules_8cpp.html#a10">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a9">channels.cpp</a><li>AdminName
+: <a class="el" href="modules_8cpp.html#a9">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a8">channels.cpp</a><li>AdminNick
+: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a10">channels.cpp</a><li>auth_cookies
+: <a class="el" href="modules_8cpp.html#a33">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a32">channels.cpp</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
-<li>boundPortCount
-: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a></ul>
+<li>bitfields
+: <a class="el" href="base_8h.html#a1">base.h</a><li>boundPortCount
+: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">channels.cpp</a></ul>
<h3><a name="index_c">- c -</a>
</h3><ul>
<li>chanlist
-: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>clientlist
-: <a class="el" href="modules_8cpp.html#a42">modules.cpp</a><li>cmdlist
-: <a class="el" href="modules_8cpp.html#a45">modules.cpp</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>custom_mode_params
+: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>clientlist
+: <a class="el" href="modules_8cpp.html#a43">modules.cpp</a><li>cmdlist
+: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a><li>config_f
+: <a class="el" href="users_8cpp.html#a0">users.cpp</a>, <a class="el" href="modules_8cpp.html#a34">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a33">channels.cpp</a><li>custom_mode_params
: <a class="el" href="channels_8cpp.html#a37">channels.cpp</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<li>debugging
-: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute
-: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>DieDelay
-: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass
-: <a class="el" href="modules_8cpp.html#a11">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue
-: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a18">channels.cpp</a><li>defaultRoute
+: <a class="el" href="modules_8cpp.html#a32">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a31">channels.cpp</a><li>DieDelay
+: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a21">channels.cpp</a><li>diepass
+: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a11">channels.cpp</a><li>DieValue
+: <a class="el" href="modules_8cpp.html#a18">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a17">channels.cpp</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
<li>EMode
-: <a class="el" href="modules_8cpp.html#a51">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a52">modules.cpp</a></ul>
<h3><a name="index_f">- f -</a>
</h3><ul>
<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>
+: <a class="el" href="modules_8cpp.html#a61">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#a37">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
-: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul>
+<li>include_stack
+: <a class="el" href="modules_8cpp.html#a3">modules.cpp</a><li>inverted_bitfields
+: <a class="el" href="base_8h.html#a2">base.h</a><li>IP
+: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>list
-: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file
-: <a class="el" href="modules_8cpp.html#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>LogLevel
-: <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a15">channels.cpp</a><li>log_file
+: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>LogLevel
+: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a4">channels.cpp</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<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="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#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a24">channels.cpp</a><li>me
+: <a class="el" href="servers_8cpp.html#a2">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a35">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
-: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD
-: <a class="el" href="modules_8cpp.html#a46">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>modules
+: <a class="el" href="modules_8cpp.html#a60">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a2">channels.cpp</a><li>motd
+: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a13">channels.cpp</a><li>MOTD
+: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>nb_start
-: <a class="el" href="modules_8cpp.html#a25">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize
-: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network
-: <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a26">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a25">channels.cpp</a><li>NetBufferSize
+: <a class="el" href="modules_8cpp.html#a24">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a23">channels.cpp</a><li>Network
+: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a6">channels.cpp</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>portCount
-: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a><li>ports
-: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>PrefixQuit
-: <a class="el" href="modules_8cpp.html#a16">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a28">channels.cpp</a><li>ports
+: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>PrefixQuit
+: <a class="el" href="modules_8cpp.html#a17">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a16">channels.cpp</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>restartpass
-: <a class="el" href="modules_8cpp.html#a12">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules
-: <a class="el" href="modules_8cpp.html#a14">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES
-: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a13">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a12">channels.cpp</a><li>rules
+: <a class="el" href="modules_8cpp.html#a15">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a14">channels.cpp</a><li>RULES
+: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>ServerDesc
-: <a class="el" href="modules_8cpp.html#a7">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName
-: <a class="el" href="modules_8cpp.html#a5">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount
-: <a class="el" href="modules_8cpp.html#a29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>startup_time
-: <a class="el" href="modules_8cpp.html#a22">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a8">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a7">channels.cpp</a><li>ServerName
+: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="modules_8cpp.html#a6">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a5">channels.cpp</a><li>SERVERportCount
+: <a class="el" href="modules_8cpp.html#a30">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a29">channels.cpp</a><li>startup_time
+: <a class="el" href="modules_8cpp.html#a23">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a22">channels.cpp</a></ul>
<h3><a name="index_t">- t -</a>
</h3><ul>
<li>TIME
-: <a class="el" href="users_8cpp.html#a1">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a3">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a></ul>
+: <a class="el" href="users_8cpp.html#a2">users.cpp</a>, <a class="el" href="servers_8cpp.html#a0">servers.cpp</a>, <a class="el" href="modules_8cpp.html#a4">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a36">channels.cpp</a></ul>
<h3><a name="index_w">- w -</a>
</h3><ul>
<li>whowas
-: <a class="el" href="modules_8cpp.html#a44">modules.cpp</a><li>WHOWAS_MAX
-: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE
-: <a class="el" href="modules_8cpp.html#a19">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a45">modules.cpp</a><li>WHOWAS_MAX
+: <a class="el" href="modules_8cpp.html#a21">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a20">channels.cpp</a><li>WHOWAS_STALE
+: <a class="el" href="modules_8cpp.html#a20">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a19">channels.cpp</a></ul>
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>xsums
: <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 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/graph_legend.html b/docs/module-doc/graph_legend.html
index a244aef95..c8f5acbd1 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html
index ccda92bd1..84f243c94 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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html
index 586fd0266..37cefd163 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 Wed May 25 22:02:23 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:48 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 254ac1423..c40919099 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -8,6 +8,7 @@
<h1>InspIRCd Class Hierarchy</h1><a href="inherits.html">Go to the graphical class hierarchy</a>
<p>
This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
+<li><a class="el" href="classBoolSet.html">BoolSet</a>
<li><a class="el" href="classstd_1_1char__traits.html">char_traits</a>
<ul>
<li><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a>
@@ -65,7 +66,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 Wed May 25 22:02:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/inherit__graph__0.gif b/docs/module-doc/inherit__graph__0.gif
index 397bfc922..2e31b9795 100644
--- a/docs/module-doc/inherit__graph__0.gif
+++ b/docs/module-doc/inherit__graph__0.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__1.gif b/docs/module-doc/inherit__graph__1.gif
index a434ea0a7..397bfc922 100644
--- a/docs/module-doc/inherit__graph__1.gif
+++ b/docs/module-doc/inherit__graph__1.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__2.gif b/docs/module-doc/inherit__graph__2.gif
index 992d6ed85..a434ea0a7 100644
--- a/docs/module-doc/inherit__graph__2.gif
+++ b/docs/module-doc/inherit__graph__2.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__3.gif b/docs/module-doc/inherit__graph__3.gif
index 224232736..992d6ed85 100644
--- a/docs/module-doc/inherit__graph__3.gif
+++ b/docs/module-doc/inherit__graph__3.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__4.gif b/docs/module-doc/inherit__graph__4.gif
index 3ae3517db..224232736 100644
--- a/docs/module-doc/inherit__graph__4.gif
+++ b/docs/module-doc/inherit__graph__4.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__5.gif b/docs/module-doc/inherit__graph__5.gif
index 8ad8a7b50..3ae3517db 100644
--- a/docs/module-doc/inherit__graph__5.gif
+++ b/docs/module-doc/inherit__graph__5.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__6.gif b/docs/module-doc/inherit__graph__6.gif
index d85abdb1b..8ad8a7b50 100644
--- a/docs/module-doc/inherit__graph__6.gif
+++ b/docs/module-doc/inherit__graph__6.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__7.gif b/docs/module-doc/inherit__graph__7.gif
index 516567cb0..d85abdb1b 100644
--- a/docs/module-doc/inherit__graph__7.gif
+++ b/docs/module-doc/inherit__graph__7.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__8.gif b/docs/module-doc/inherit__graph__8.gif
index a7d4324c4..516567cb0 100644
--- a/docs/module-doc/inherit__graph__8.gif
+++ b/docs/module-doc/inherit__graph__8.gif
Binary files differ
diff --git a/docs/module-doc/inherit__graph__9.gif b/docs/module-doc/inherit__graph__9.gif
new file mode 100644
index 000000000..a7d4324c4
--- /dev/null
+++ b/docs/module-doc/inherit__graph__9.gif
Binary files differ
diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html
index 8b434de2b..7ab174b01 100644
--- a/docs/module-doc/inherits.html
+++ b/docs/module-doc/inherits.html
@@ -8,12 +8,16 @@
<h1>InspIRCd Graphical Class Hierarchy</h1><a href="hierarchy.html">Go to the textual class hierarchy</a>
<p>
<table border=0 cellspacing=10 cellpadding=0>
-<tr><td><img src="inherit__graph__0.gif" border="0" alt="" usemap="#char__traits_map">
+<tr><td><img src="inherit__graph__0.gif" border="0" alt="" usemap="#BoolSet_map">
+<map name="BoolSet_map">
+<area href="classBoolSet.html" shape="rect" coords="7,8,77,34" alt="">
+</map></td></tr>
+<tr><td><img src="inherit__graph__1.gif" border="0" alt="" usemap="#char__traits_map">
<map name="char__traits_map">
<area href="classstd_1_1char__traits.html" shape="rect" coords="9,8,91,34" alt="">
<area href="structirc_1_1irc__char__traits.html" shape="rect" coords="141,8,269,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__1.gif" border="0" alt="" usemap="#classbase_map">
+<tr><td><img src="inherit__graph__2.gif" border="0" alt="" usemap="#classbase_map">
<map name="classbase_map">
<area href="classclassbase.html" shape="rect" coords="9,388,89,414" alt="">
<area href="classAdmin.html" shape="rect" coords="168,8,229,34" alt="">
@@ -49,36 +53,36 @@
<area href="classQLine.html" shape="rect" coords="332,818,390,845" alt="">
<area href="classZLine.html" shape="rect" coords="333,869,389,896" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__2.gif" border="0" alt="" usemap="#DNS_map">
+<tr><td><img src="inherit__graph__3.gif" border="0" alt="" usemap="#DNS_map">
<map name="DNS_map">
<area href="classDNS.html" shape="rect" coords="8,8,58,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__3.gif" border="0" alt="" usemap="#dns__ip4list_map">
+<tr><td><img src="inherit__graph__4.gif" border="0" alt="" usemap="#dns__ip4list_map">
<map name="dns__ip4list_map">
<area href="structdns__ip4list.html" shape="rect" coords="7,8,93,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__4.gif" border="0" alt="" usemap="#irc_1_1InAddr__HashComp_map">
+<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#irc_1_1InAddr__HashComp_map">
<map name="irc_1_1InAddr__HashComp_map">
<area href="structirc_1_1InAddr__HashComp.html" shape="rect" coords="7,8,165,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__5.gif" border="0" alt="" usemap="#irc_1_1StrHashComp_map">
+<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#irc_1_1StrHashComp_map">
<map name="irc_1_1StrHashComp_map">
<area href="structirc_1_1StrHashComp.html" shape="rect" coords="8,8,136,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__6.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01in__addr_01_4_map">
+<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01in__addr_01_4_map">
<map name="nspace_1_1hash_3_01in__addr_01_4_map">
<area href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html" shape="rect" coords="9,8,177,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__7.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01string_01_4_map">
+<tr><td><img src="inherit__graph__8.gif" border="0" alt="" usemap="#nspace_1_1hash_3_01string_01_4_map">
<map name="nspace_1_1hash_3_01string_01_4_map">
<area href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html" shape="rect" coords="7,8,165,34" alt="">
</map></td></tr>
-<tr><td><img src="inherit__graph__8.gif" border="0" alt="" usemap="#WhoWasUser_map">
+<tr><td><img src="inherit__graph__9.gif" border="0" alt="" usemap="#WhoWasUser_map">
<map name="WhoWasUser_map">
<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 Wed May 25 22:03:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/main.html b/docs/module-doc/main.html
index c1b4ad9bb..20bf96001 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 Wed May 25 22:02:04 2005 for InspIRCd by
+<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15:18 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 eae99e138..9f7777694 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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/message_8h.html b/docs/module-doc/message_8h.html
index 9a5e99355..4b37ebd9b 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -165,7 +165,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00515">Server::ChangeHost()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00517">Server::ChangeHost()</a>. </td>
</tr>
</table>
<a name="a8" doxytag="message.h::ChangeName"></a><p>
@@ -205,7 +205,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00515">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00520">Server::ChangeGECOS()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00522">Server::ChangeGECOS()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="message.h::chlist"></a><p>
@@ -350,7 +350,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00520">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::ChanMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00547">Server::ChanMode()</a>. </td>
</tr>
</table>
<a name="a0" doxytag="message.h::common_channels"></a><p>
@@ -390,7 +390,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::ChanM
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00493">Server::CommonChannels()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00495">Server::CommonChannels()</a>. </td>
</tr>
</table>
<a name="a13" doxytag="message.h::cstatus"></a><p>
@@ -468,7 +468,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00493">Server::Commo
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00550">Server::IsOnChannel()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00552">Server::IsOnChannel()</a>. </td>
</tr>
</table>
<a name="a7" doxytag="message.h::hasumode"></a><p>
@@ -566,7 +566,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00550">Server::IsOnC
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00525">Server::IsNick()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00527">Server::IsNick()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="message.h::NonBlocking"></a><p>
@@ -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 Wed May 25 22:02:24 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 270319362..7c422c413 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 Wed May 25 22:02:04 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/mode_8h.html b/docs/module-doc/mode_8h.html
index 82fa55758..d8d40dfdf 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 Wed May 25 22:02:26 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index 17f4bbe57..51b7ddda5 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -23,10 +23,10 @@
00016
00017 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
00018
-00019 <span class="preprocessor">#include "inspircd.h"</span>
-00020 <span class="preprocessor">#include "inspircd_io.h"</span>
-00021 <span class="preprocessor">#include "inspircd_util.h"</span>
-00022 <span class="preprocessor">#include "inspircd_config.h"</span>
+00019 <span class="preprocessor">#include "inspircd_config.h"</span>
+00020 <span class="preprocessor">#include "inspircd.h"</span>
+00021 <span class="preprocessor">#include "inspircd_io.h"</span>
+00022 <span class="preprocessor">#include "inspircd_util.h"</span>
00023 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
00024 <span class="preprocessor">#include &lt;sys/errno.h&gt;</span>
00025
@@ -79,951 +79,954 @@
<a name="l00072"></a><a class="code" href="modules_8cpp.html#a1">00072</a> <span class="keyword">extern</span> std::vector&lt;Module*&gt; <a class="code" href="channels_8cpp.html#a2">modules</a>;
<a name="l00073"></a><a class="code" href="modules_8cpp.html#a2">00073</a> <span class="keyword">extern</span> std::vector&lt;ircd_module*&gt; <a class="code" href="channels_8cpp.html#a3">factory</a>;
00074
-<a name="l00075"></a><a class="code" href="modules_8cpp.html#a3">00075</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+<a name="l00075"></a><a class="code" href="modules_8cpp.html#a3">00075</a> <span class="keyword">extern</span> std::vector&lt;std::string&gt; <a class="code" href="modules_8cpp.html#a3">include_stack</a>;
00076
-<a name="l00077"></a><a class="code" href="modules_8cpp.html#a4">00077</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>;
-<a name="l00078"></a><a class="code" href="modules_8cpp.html#a5">00078</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF];
-<a name="l00079"></a><a class="code" href="modules_8cpp.html#a6">00079</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF];
-<a name="l00080"></a><a class="code" href="modules_8cpp.html#a7">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF];
-<a name="l00081"></a><a class="code" href="modules_8cpp.html#a8">00081</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF];
-<a name="l00082"></a><a class="code" href="modules_8cpp.html#a9">00082</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF];
-<a name="l00083"></a><a class="code" href="modules_8cpp.html#a10">00083</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF];
-<a name="l00084"></a><a class="code" href="modules_8cpp.html#a11">00084</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF];
-<a name="l00085"></a><a class="code" href="modules_8cpp.html#a12">00085</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF];
-<a name="l00086"></a><a class="code" href="modules_8cpp.html#a13">00086</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF];
-<a name="l00087"></a><a class="code" href="modules_8cpp.html#a14">00087</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF];
-<a name="l00088"></a><a class="code" href="modules_8cpp.html#a15">00088</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF];
-<a name="l00089"></a><a class="code" href="modules_8cpp.html#a16">00089</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF];
-<a name="l00090"></a><a class="code" href="modules_8cpp.html#a17">00090</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF];
-00091
-<a name="l00092"></a><a class="code" href="modules_8cpp.html#a18">00092</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>;
-<a name="l00093"></a><a class="code" href="modules_8cpp.html#a19">00093</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>;
-<a name="l00094"></a><a class="code" href="modules_8cpp.html#a20">00094</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>;
-<a name="l00095"></a><a class="code" href="modules_8cpp.html#a21">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>;
-<a name="l00096"></a><a class="code" href="modules_8cpp.html#a22">00096</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>;
-<a name="l00097"></a><a class="code" href="modules_8cpp.html#a23">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>;
-<a name="l00098"></a><a class="code" href="modules_8cpp.html#a24">00098</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>;
-<a name="l00099"></a><a class="code" href="modules_8cpp.html#a25">00099</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>;
-00100
-<a name="l00101"></a><a class="code" href="modules_8cpp.html#a26">00101</a> <span class="keyword">extern</span> std::vector&lt;std::string&gt; <a class="code" href="channels_8cpp.html#a26">module_names</a>;
+<a name="l00077"></a><a class="code" href="modules_8cpp.html#a4">00077</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00078
+<a name="l00079"></a><a class="code" href="modules_8cpp.html#a5">00079</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a4">LogLevel</a>;
+<a name="l00080"></a><a class="code" href="modules_8cpp.html#a6">00080</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF];
+<a name="l00081"></a><a class="code" href="modules_8cpp.html#a7">00081</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a6">Network</a>[MAXBUF];
+<a name="l00082"></a><a class="code" href="modules_8cpp.html#a8">00082</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a7">ServerDesc</a>[MAXBUF];
+<a name="l00083"></a><a class="code" href="modules_8cpp.html#a9">00083</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a8">AdminName</a>[MAXBUF];
+<a name="l00084"></a><a class="code" href="modules_8cpp.html#a10">00084</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a9">AdminEmail</a>[MAXBUF];
+<a name="l00085"></a><a class="code" href="modules_8cpp.html#a11">00085</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a10">AdminNick</a>[MAXBUF];
+<a name="l00086"></a><a class="code" href="modules_8cpp.html#a12">00086</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a11">diepass</a>[MAXBUF];
+<a name="l00087"></a><a class="code" href="modules_8cpp.html#a13">00087</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a12">restartpass</a>[MAXBUF];
+<a name="l00088"></a><a class="code" href="modules_8cpp.html#a14">00088</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a13">motd</a>[MAXBUF];
+<a name="l00089"></a><a class="code" href="modules_8cpp.html#a15">00089</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a14">rules</a>[MAXBUF];
+<a name="l00090"></a><a class="code" href="modules_8cpp.html#a16">00090</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a15">list</a>[MAXBUF];
+<a name="l00091"></a><a class="code" href="modules_8cpp.html#a17">00091</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a16">PrefixQuit</a>[MAXBUF];
+<a name="l00092"></a><a class="code" href="modules_8cpp.html#a18">00092</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a17">DieValue</a>[MAXBUF];
+00093
+<a name="l00094"></a><a class="code" href="modules_8cpp.html#a19">00094</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a18">debugging</a>;
+<a name="l00095"></a><a class="code" href="modules_8cpp.html#a20">00095</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a19">WHOWAS_STALE</a>;
+<a name="l00096"></a><a class="code" href="modules_8cpp.html#a21">00096</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a20">WHOWAS_MAX</a>;
+<a name="l00097"></a><a class="code" href="modules_8cpp.html#a22">00097</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a21">DieDelay</a>;
+<a name="l00098"></a><a class="code" href="modules_8cpp.html#a23">00098</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a22">startup_time</a>;
+<a name="l00099"></a><a class="code" href="modules_8cpp.html#a24">00099</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a23">NetBufferSize</a>;
+<a name="l00100"></a><a class="code" href="modules_8cpp.html#a25">00100</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a24">MaxWhoResults</a>;
+<a name="l00101"></a><a class="code" href="modules_8cpp.html#a26">00101</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a25">nb_start</a>;
00102
-<a name="l00103"></a><a class="code" href="modules_8cpp.html#a27">00103</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a27">boundPortCount</a>;
-<a name="l00104"></a><a class="code" href="modules_8cpp.html#a28">00104</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">portCount</a>;
-<a name="l00105"></a><a class="code" href="modules_8cpp.html#a29">00105</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">SERVERportCount</a>;
-<a name="l00106"></a><a class="code" href="modules_8cpp.html#a30">00106</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">ports</a>[MAXSOCKS];
-<a name="l00107"></a><a class="code" href="modules_8cpp.html#a31">00107</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">defaultRoute</a>;
-00108
-<a name="l00109"></a><a class="code" href="modules_8cpp.html#a32">00109</a> <span class="keyword">extern</span> std::vector&lt;long&gt; <a class="code" href="channels_8cpp.html#a32">auth_cookies</a>;
-<a name="l00110"></a><a class="code" href="modules_8cpp.html#a33">00110</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a33">config_f</a>;
-00111
-<a name="l00112"></a><a class="code" href="modules_8cpp.html#a34">00112</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];
+<a name="l00103"></a><a class="code" href="modules_8cpp.html#a27">00103</a> <span class="keyword">extern</span> std::vector&lt;std::string&gt; <a class="code" href="channels_8cpp.html#a26">module_names</a>;
+00104
+<a name="l00105"></a><a class="code" href="modules_8cpp.html#a28">00105</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a27">boundPortCount</a>;
+<a name="l00106"></a><a class="code" href="modules_8cpp.html#a29">00106</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a28">portCount</a>;
+<a name="l00107"></a><a class="code" href="modules_8cpp.html#a30">00107</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a29">SERVERportCount</a>;
+<a name="l00108"></a><a class="code" href="modules_8cpp.html#a31">00108</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a30">ports</a>[MAXSOCKS];
+<a name="l00109"></a><a class="code" href="modules_8cpp.html#a32">00109</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#a31">defaultRoute</a>;
+00110
+<a name="l00111"></a><a class="code" href="modules_8cpp.html#a33">00111</a> <span class="keyword">extern</span> std::vector&lt;long&gt; <a class="code" href="channels_8cpp.html#a32">auth_cookies</a>;
+<a name="l00112"></a><a class="code" href="modules_8cpp.html#a34">00112</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a33">config_f</a>;
00113
-<a name="l00114"></a><a class="code" href="modules_8cpp.html#a35">00114</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a35">log_file</a>;
+<a name="l00114"></a><a class="code" href="modules_8cpp.html#a35">00114</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];
00115
-<a name="l00116"></a><a class="code" href="modules_8cpp.html#a36">00116</a> <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#a36">fd_ref_table</a>[65536];
+<a name="l00116"></a><a class="code" href="modules_8cpp.html#a36">00116</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a35">log_file</a>;
00117
-<a name="l00118"></a><a class="code" href="modules_8cpp.html#a37">00118</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, userrec*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a37">user_hash</a>;
-<a name="l00119"></a><a class="code" href="modules_8cpp.html#a38">00119</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, chanrec*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a38">chan_hash</a>;
-<a name="l00120"></a><a class="code" href="modules_8cpp.html#a39">00120</a> <span class="keyword">typedef</span> nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="code" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>&gt; <a class="code" href="modules_8cpp.html#a39">address_cache</a>;
-<a name="l00121"></a><a class="code" href="modules_8cpp.html#a40">00121</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, WhoWasUser*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a40">whowas_hash</a>;
-<a name="l00122"></a><a class="code" href="modules_8cpp.html#a41">00122</a> <span class="keyword">typedef</span> std::deque&lt;command_t&gt; <a class="code" href="modules_8cpp.html#a41">command_table</a>;
-00123
-00124
-<a name="l00125"></a><a class="code" href="modules_8cpp.html#a42">00125</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a37">user_hash</a> <a class="code" href="modules_8cpp.html#a42">clientlist</a>;
-<a name="l00126"></a><a class="code" href="modules_8cpp.html#a43">00126</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">chan_hash</a> <a class="code" href="modules_8cpp.html#a43">chanlist</a>;
-<a name="l00127"></a><a class="code" href="modules_8cpp.html#a44">00127</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">whowas_hash</a> <a class="code" href="modules_8cpp.html#a44">whowas</a>;
-<a name="l00128"></a><a class="code" href="modules_8cpp.html#a45">00128</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">command_table</a> <a class="code" href="modules_8cpp.html#a45">cmdlist</a>;
-<a name="l00129"></a><a class="code" href="modules_8cpp.html#a46">00129</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a46">MOTD</a>;
-<a name="l00130"></a><a class="code" href="modules_8cpp.html#a47">00130</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a47">RULES</a>;
-<a name="l00131"></a><a class="code" href="modules_8cpp.html#a48">00131</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">address_cache</a> <a class="code" href="modules_8cpp.html#a48">IP</a>;
-00132
-00133
-00134 <span class="comment">// class type for holding an extended mode character - internal to core</span>
+<a name="l00118"></a><a class="code" href="modules_8cpp.html#a37">00118</a> <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[65536];
+00119
+<a name="l00120"></a><a class="code" href="modules_8cpp.html#a38">00120</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, userrec*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a38">user_hash</a>;
+<a name="l00121"></a><a class="code" href="modules_8cpp.html#a39">00121</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, chanrec*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a39">chan_hash</a>;
+<a name="l00122"></a><a class="code" href="modules_8cpp.html#a40">00122</a> <span class="keyword">typedef</span> nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="code" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>&gt; <a class="code" href="modules_8cpp.html#a40">address_cache</a>;
+<a name="l00123"></a><a class="code" href="modules_8cpp.html#a41">00123</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, WhoWasUser*, nspace::hash&lt;string&gt;, <a class="code" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a41">whowas_hash</a>;
+<a name="l00124"></a><a class="code" href="modules_8cpp.html#a42">00124</a> <span class="keyword">typedef</span> std::deque&lt;command_t&gt; <a class="code" href="modules_8cpp.html#a42">command_table</a>;
+00125
+00126
+<a name="l00127"></a><a class="code" href="modules_8cpp.html#a43">00127</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a43">clientlist</a>;
+<a name="l00128"></a><a class="code" href="modules_8cpp.html#a44">00128</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">chan_hash</a> <a class="code" href="modules_8cpp.html#a44">chanlist</a>;
+<a name="l00129"></a><a class="code" href="modules_8cpp.html#a45">00129</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">whowas_hash</a> <a class="code" href="modules_8cpp.html#a45">whowas</a>;
+<a name="l00130"></a><a class="code" href="modules_8cpp.html#a46">00130</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a42">command_table</a> <a class="code" href="modules_8cpp.html#a46">cmdlist</a>;
+<a name="l00131"></a><a class="code" href="modules_8cpp.html#a47">00131</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a47">MOTD</a>;
+<a name="l00132"></a><a class="code" href="modules_8cpp.html#a48">00132</a> <span class="keyword">extern</span> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="modules_8cpp.html#a48">RULES</a>;
+<a name="l00133"></a><a class="code" href="modules_8cpp.html#a49">00133</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">address_cache</a> <a class="code" href="modules_8cpp.html#a49">IP</a>;
+00134
00135
-<a name="l00136"></a><a class="code" href="classExtMode.html">00136</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-00137 {
-00138 <span class="keyword">public</span>:
-<a name="l00139"></a><a class="code" href="classExtMode.html#o0">00139</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>;
-<a name="l00140"></a><a class="code" href="classExtMode.html#o1">00140</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>;
-<a name="l00141"></a><a class="code" href="classExtMode.html#o2">00141</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>;
-<a name="l00142"></a><a class="code" href="classExtMode.html#o3">00142</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>;
-<a name="l00143"></a><a class="code" href="classExtMode.html#o4">00143</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>;
-<a name="l00144"></a><a class="code" href="classExtMode.html#o5">00144</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>;
-<a name="l00145"></a><a class="code" href="classExtMode.html#a0">00145</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { };
-00146 };
-00147
-<a name="l00148"></a><a class="code" href="modules_8cpp.html#a49">00148</a> <span class="keyword">typedef</span> std::vector&lt;ExtMode&gt; <a class="code" href="modules_8cpp.html#a49">ExtModeList</a>;
-<a name="l00149"></a><a class="code" href="modules_8cpp.html#a50">00149</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a>;
-00150
-00151
-<a name="l00152"></a><a class="code" href="modules_8cpp.html#a51">00152</a> <a class="code" href="modules_8cpp.html#a49">ExtModeList</a> <a class="code" href="modules_8cpp.html#a51">EMode</a>;
+00136 <span class="comment">// class type for holding an extended mode character - internal to core</span>
+00137
+<a name="l00138"></a><a class="code" href="classExtMode.html">00138</a> <span class="keyword">class </span><a class="code" href="classExtMode.html">ExtMode</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+00139 {
+00140 <span class="keyword">public</span>:
+<a name="l00141"></a><a class="code" href="classExtMode.html#o0">00141</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>;
+<a name="l00142"></a><a class="code" href="classExtMode.html#o1">00142</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>;
+<a name="l00143"></a><a class="code" href="classExtMode.html#o2">00143</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>;
+<a name="l00144"></a><a class="code" href="classExtMode.html#o3">00144</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>;
+<a name="l00145"></a><a class="code" href="classExtMode.html#o4">00145</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>;
+<a name="l00146"></a><a class="code" href="classExtMode.html#o5">00146</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>;
+<a name="l00147"></a><a class="code" href="classExtMode.html#a0">00147</a> <a class="code" href="classExtMode.html#a0">ExtMode</a>(<span class="keywordtype">char</span> mc, <span class="keywordtype">int</span> ty, <span class="keywordtype">bool</span> oper, <span class="keywordtype">int</span> p_on, <span class="keywordtype">int</span> p_off) : <a class="code" href="classExtMode.html#o0">modechar</a>(mc), <a class="code" href="classExtMode.html#o1">type</a>(ty), <a class="code" href="classExtMode.html#o4">needsoper</a>(oper), <a class="code" href="classExtMode.html#o2">params_when_on</a>(p_on), <a class="code" href="classExtMode.html#o3">params_when_off</a>(p_off) { };
+00148 };
+00149
+<a name="l00150"></a><a class="code" href="modules_8cpp.html#a50">00150</a> <span class="keyword">typedef</span> std::vector&lt;ExtMode&gt; <a class="code" href="modules_8cpp.html#a50">ExtModeList</a>;
+<a name="l00151"></a><a class="code" href="modules_8cpp.html#a51">00151</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a>;
+00152
00153
-00154 <span class="comment">// returns true if an extended mode character is in use</span>
-<a name="l00155"></a><a class="code" href="modules_8cpp.html#a52">00155</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
-00156 {
-00157 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00158 {
-00159 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00160 {
-00161 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00162 }
-00163 }
-00164 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00165 }
-00166
-<a name="l00167"></a><a class="code" href="modules_8cpp.html#a53">00167</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
-00168 {
-00169 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00170 {
-00171 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;list == <span class="keyword">true</span>))
-00172 {
-00173 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00174 }
-00175 }
-00176 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00177 }
-00178
-<a name="l00179"></a><a class="code" href="modules_8cpp.html#a54">00179</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
-00180 {
-00181 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00182 {
-00183 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;needsoper == <span class="keyword">true</span>))
-00184 {
-00185 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00186 }
-00187 }
-00188 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00189 }
-00190
-00191 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
-<a name="l00192"></a><a class="code" href="modules_8cpp.html#a55">00192</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
-00193 {
-00194 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00195 {
-00196 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00197 {
-00198 <span class="keywordflow">return</span> i-&gt;params_when_on;
-00199 }
-00200 }
-00201 <span class="keywordflow">return</span> 0;
-00202 }
-00203
-00204 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
-<a name="l00205"></a><a class="code" href="modules_8cpp.html#a56">00205</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
-00206 {
-00207 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00208 {
-00209 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00210 {
-00211 <span class="keywordflow">return</span> i-&gt;params_when_off;
-00212 }
-00213 }
-00214 <span class="keywordflow">return</span> 0;
-00215 }
-00216
-00217 <span class="comment">// returns true if an extended mode character is in use</span>
-<a name="l00218"></a><a class="code" href="modules_8cpp.html#a57">00218</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off)
-00219 {
-00220 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) {
-00221 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00222 }
-00223 <a class="code" href="modules_8cpp.html#a51">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off));
-00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00225 }
-00226
-00227 <span class="comment">// turns a mode into a listmode</span>
-<a name="l00228"></a><a class="code" href="modules_8cpp.html#a58">00228</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(<span class="keywordtype">char</span> modechar)
-00229 {
-00230 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00231 {
-00232 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>))
-00233 {
-00234 i-&gt;list = <span class="keyword">true</span>;
-00235 <span class="keywordflow">return</span>;
-00236 }
-00237 }
-00238 <span class="keywordflow">return</span>;
-00239 }
-00240
-00241 <span class="comment">// version is a simple class for holding a modules version number</span>
+<a name="l00154"></a><a class="code" href="modules_8cpp.html#a52">00154</a> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a> <a class="code" href="modules_8cpp.html#a52">EMode</a>;
+00155
+00156 <span class="comment">// returns true if an extended mode character is in use</span>
+<a name="l00157"></a><a class="code" href="modules_8cpp.html#a53">00157</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
+00158 {
+00159 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00160 {
+00161 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00162 {
+00163 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00164 }
+00165 }
+00166 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00167 }
+00168
+<a name="l00169"></a><a class="code" href="modules_8cpp.html#a54">00169</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a54">ModeIsListMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
+00170 {
+00171 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00172 {
+00173 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;list == <span class="keyword">true</span>))
+00174 {
+00175 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
+00180
+<a name="l00181"></a><a class="code" href="modules_8cpp.html#a55">00181</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a55">ModeDefinedOper</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
+00182 {
+00183 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00184 {
+00185 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;needsoper == <span class="keyword">true</span>))
+00186 {
+00187 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00188 }
+00189 }
+00190 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00191 }
+00192
+00193 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
+<a name="l00194"></a><a class="code" href="modules_8cpp.html#a56">00194</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a56">ModeDefinedOn</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
+00195 {
+00196 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00197 {
+00198 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00199 {
+00200 <span class="keywordflow">return</span> i-&gt;params_when_on;
+00201 }
+00202 }
+00203 <span class="keywordflow">return</span> 0;
+00204 }
+00205
+00206 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
+<a name="l00207"></a><a class="code" href="modules_8cpp.html#a57">00207</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a57">ModeDefinedOff</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type)
+00208 {
+00209 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00210 {
+00211 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00212 {
+00213 <span class="keywordflow">return</span> i-&gt;params_when_off;
+00214 }
+00215 }
+00216 <span class="keywordflow">return</span> 0;
+00217 }
+00218
+00219 <span class="comment">// returns true if an extended mode character is in use</span>
+<a name="l00220"></a><a class="code" href="modules_8cpp.html#a58">00220</a> <span class="keywordtype">bool</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_on, <span class="keywordtype">int</span> params_off)
+00221 {
+00222 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) {
+00223 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00224 }
+00225 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off));
+00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00227 }
+00228
+00229 <span class="comment">// turns a mode into a listmode</span>
+<a name="l00230"></a><a class="code" href="modules_8cpp.html#a59">00230</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(<span class="keywordtype">char</span> modechar)
+00231 {
+00232 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00233 {
+00234 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>))
+00235 {
+00236 i-&gt;list = <span class="keyword">true</span>;
+00237 <span class="keywordflow">return</span>;
+00238 }
+00239 }
+00240 <span class="keywordflow">return</span>;
+00241 }
00242
-<a name="l00243"></a><a class="code" href="classVersion.html#a0">00243</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
+00243 <span class="comment">// version is a simple class for holding a modules version number</span>
00244
-00245 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
+<a name="l00245"></a><a class="code" href="classVersion.html#a0">00245</a> <a class="code" href="classVersion.html#a0">Version::Version</a>(<span class="keywordtype">int</span> major, <span class="keywordtype">int</span> minor, <span class="keywordtype">int</span> revision, <span class="keywordtype">int</span> build, <span class="keywordtype">int</span> flags) : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
00246
-<a name="l00247"></a><a class="code" href="classAdmin.html#a0">00247</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { };
+00247 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
00248
-<a name="l00249"></a><a class="code" href="classRequest.html#a0">00249</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { };
+<a name="l00249"></a><a class="code" href="classAdmin.html#a0">00249</a> <a class="code" href="classAdmin.html#a0">Admin::Admin</a>(std::string name, std::string email, std::string nick) : Name(name), Email(email), Nick(nick) { };
00250
-<a name="l00251"></a><a class="code" href="classRequest.html#a1">00251</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>()
-00252 {
-00253 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
-00254 }
-00255
-<a name="l00256"></a><a class="code" href="classRequest.html#a2">00256</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>()
-00257 {
-00258 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
-00259 }
-00260
-<a name="l00261"></a><a class="code" href="classRequest.html#a3">00261</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>()
-00262 {
-00263 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
-00264 }
-00265
-<a name="l00266"></a><a class="code" href="classRequest.html#a4">00266</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>()
-00267 {
-00268 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
-00269 {
-00270 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-&gt;<a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>);
-00271 }
-00272 <span class="keywordflow">else</span>
-00273 {
-00274 <span class="keywordflow">return</span> NULL;
-00275 }
-00276 }
-00277
-<a name="l00278"></a><a class="code" href="classEvent.html#a0">00278</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { };
+<a name="l00251"></a><a class="code" href="classRequest.html#a0">00251</a> <a class="code" href="classRequest.html#a0">Request::Request</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="classModule.html">Module</a>* dst) : data(anydata), source(src), dest(dst) { };
+00252
+<a name="l00253"></a><a class="code" href="classRequest.html#a1">00253</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>()
+00254 {
+00255 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
+00256 }
+00257
+<a name="l00258"></a><a class="code" href="classRequest.html#a2">00258</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>()
+00259 {
+00260 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
+00261 }
+00262
+<a name="l00263"></a><a class="code" href="classRequest.html#a3">00263</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>()
+00264 {
+00265 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
+00266 }
+00267
+<a name="l00268"></a><a class="code" href="classRequest.html#a4">00268</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>()
+00269 {
+00270 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
+00271 {
+00272 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#p2">dest</a>-&gt;<a class="code" href="classModule.html#a46">OnRequest</a>(<span class="keyword">this</span>);
+00273 }
+00274 <span class="keywordflow">else</span>
+00275 {
+00276 <span class="keywordflow">return</span> NULL;
+00277 }
+00278 }
00279
-<a name="l00280"></a><a class="code" href="classEvent.html#a1">00280</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>()
-00281 {
-00282 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
-00283 }
-00284
-<a name="l00285"></a><a class="code" href="classEvent.html#a2">00285</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>()
-00286 {
-00287 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
-00288 }
-00289
-<a name="l00290"></a><a class="code" href="classEvent.html#a4">00290</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>()
-00291 {
-00292 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
-00293 <span class="keywordflow">return</span> NULL;
-00294 }
-00295
-<a name="l00296"></a><a class="code" href="classEvent.html#a3">00296</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>()
-00297 {
-00298 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
-00299 }
-00300
-00301
-00302 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span>
-<a name="l00303"></a><a class="code" href="classModule.html#a0">00303</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
-<a name="l00304"></a><a class="code" href="classModule.html#a1">00304</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
-<a name="l00305"></a><a class="code" href="classModule.html#a3">00305</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00306"></a><a class="code" href="classModule.html#a4">00306</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00307"></a><a class="code" href="classModule.html#a5">00307</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00308"></a><a class="code" href="classModule.html#a6">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
-<a name="l00309"></a><a class="code" href="classModule.html#a7">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
-<a name="l00310"></a><a class="code" href="classModule.html#a8">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &amp;data, std::string serv) { }
-<a name="l00311"></a><a class="code" href="classModule.html#a9">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &amp;data, std::string serv) { }
-<a name="l00312"></a><a class="code" href="classModule.html#a10">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { }
-<a name="l00313"></a><a class="code" href="classModule.html#a11">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &amp;raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00314"></a><a class="code" href="classModule.html#a13">00314</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; }
-<a name="l00315"></a><a class="code" href="classModule.html#a12">00315</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &amp;params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
-<a name="l00316"></a><a class="code" href="classModule.html#a2">00316</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); }
-<a name="l00317"></a><a class="code" href="classModule.html#a16">00317</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00318"></a><a class="code" href="classModule.html#a17">00318</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00319"></a><a class="code" href="classModule.html#a18">00319</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { };
-<a name="l00320"></a><a class="code" href="classModule.html#a19">00320</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; };
-<a name="l00321"></a><a class="code" href="classModule.html#a20">00321</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &amp;text) { <span class="keywordflow">return</span> 0; };
-<a name="l00322"></a><a class="code" href="classModule.html#a21">00322</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &amp;text) { <span class="keywordflow">return</span> 0; };
-<a name="l00323"></a><a class="code" href="classModule.html#a22">00323</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; };
-<a name="l00324"></a><a class="code" href="classModule.html#a23">00324</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { };
-<a name="l00325"></a><a class="code" href="classModule.html#a24">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
-<a name="l00326"></a><a class="code" href="classModule.html#a25">00326</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
-<a name="l00327"></a><a class="code" href="classModule.html#a26">00327</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
-<a name="l00328"></a><a class="code" href="classModule.html#a27">00328</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &amp;output) { };
-<a name="l00329"></a><a class="code" href="classModule.html#a28">00329</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; };
-<a name="l00330"></a><a class="code" href="classModule.html#a29">00330</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { };
-<a name="l00331"></a><a class="code" href="classModule.html#a30">00331</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { };
-<a name="l00332"></a><a class="code" href="classModule.html#a31">00332</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { };
-<a name="l00333"></a><a class="code" href="classModule.html#a32">00333</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; };
-<a name="l00334"></a><a class="code" href="classModule.html#a33">00334</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
-<a name="l00335"></a><a class="code" href="classModule.html#a34">00335</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00336"></a><a class="code" href="classModule.html#a14">00336</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; };
-<a name="l00337"></a><a class="code" href="classModule.html#a15">00337</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { };
-<a name="l00338"></a><a class="code" href="classModule.html#a35">00338</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; };
-<a name="l00339"></a><a class="code" href="classModule.html#a36">00339</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
-<a name="l00340"></a><a class="code" href="classModule.html#a37">00340</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; };
-<a name="l00341"></a><a class="code" href="classModule.html#a38">00341</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
-<a name="l00342"></a><a class="code" href="classModule.html#a39">00342</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
-<a name="l00343"></a><a class="code" href="classModule.html#a40">00343</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { };
-<a name="l00344"></a><a class="code" href="classModule.html#a41">00344</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; };
-<a name="l00345"></a><a class="code" href="classModule.html#a42">00345</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; };
-<a name="l00346"></a><a class="code" href="classModule.html#a43">00346</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; };
-<a name="l00347"></a><a class="code" href="classModule.html#a44">00347</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; };
-<a name="l00348"></a><a class="code" href="classModule.html#a45">00348</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; };
-<a name="l00349"></a><a class="code" href="classModule.html#a46">00349</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; };
-<a name="l00350"></a><a class="code" href="classModule.html#a47">00350</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; };
-<a name="l00351"></a><a class="code" href="classModule.html#a48">00351</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00352"></a><a class="code" href="classModule.html#a49">00352</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00353"></a><a class="code" href="classModule.html#a50">00353</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; };
-<a name="l00354"></a><a class="code" href="classModule.html#a51">00354</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; };
-<a name="l00355"></a><a class="code" href="classModule.html#a52">00355</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { };
-<a name="l00356"></a><a class="code" href="classModule.html#a53">00356</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; };
-<a name="l00357"></a><a class="code" href="classModule.html#a54">00357</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { };
-<a name="l00358"></a><a class="code" href="classModule.html#a55">00358</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &amp;readresult) { <span class="keywordflow">return</span> 0; };
-00359
-00360 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
-00361 <span class="comment">// exports in the core</span>
-00362 <span class="comment">//</span>
-00363
-<a name="l00364"></a><a class="code" href="classServer.html#a0">00364</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
-00365 {
-00366 }
-00367
-<a name="l00368"></a><a class="code" href="classServer.html#a1">00368</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
-00369 {
-00370 }
-00371
-<a name="l00372"></a><a class="code" href="classServer.html#a2">00372</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s)
-00373 {
-00374 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
-00375 }
-00376
-<a name="l00377"></a><a class="code" href="classServer.html#a33">00377</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a33">Server::MatchText</a>(std::string sliteral, std::string spattern)
-00378 {
-00379 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-00380 strlcpy(literal,sliteral.c_str(),MAXBUF);
-00381 strlcpy(pattern,spattern.c_str(),MAXBUF);
-00382 <span class="keywordflow">return</span> match(literal,pattern);
-00383 }
-00384
-<a name="l00385"></a><a class="code" href="classServer.html#a28">00385</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text)
-00386 {
-00387 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
-00388 }
-00389
-<a name="l00390"></a><a class="code" href="classServer.html#a29">00390</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key)
-00391 {
-00392 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
-00393 }
-00394
-<a name="l00395"></a><a class="code" href="classServer.html#a30">00395</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a30">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason)
-00396 {
-00397 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
-00398 }
-00399
-<a name="l00400"></a><a class="code" href="classServer.html#a38">00400</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a38">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
-00401 {
-00402 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
-00403 userl.clear();
-00404 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a7">GetUsers</a>();
-00405 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;end(); i++)
-00406 {
-00407 <span class="keywordtype">char</span>* o = *i;
-00408 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
-00409 }
-00410 <span class="keywordflow">return</span> userl;
-00411 }
-<a name="l00412"></a><a class="code" href="classServer.html#a31">00412</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname)
-00413 {
-00414 force_nickchange(user,nickname.c_str());
-00415 }
-00416
-<a name="l00417"></a><a class="code" href="classServer.html#a32">00417</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason)
-00418 {
-00419 kill_link(user,reason.c_str());
-00420 }
-00421
-<a name="l00422"></a><a class="code" href="classServer.html#a37">00422</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">Server::IsUlined</a>(std::string server)
-00423 {
-00424 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">is_uline</a>(server.c_str());
-00425 }
-00426
-<a name="l00427"></a><a class="code" href="classServer.html#a34">00427</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user)
-00428 {
-00429 call_handler(commandname.c_str(),parameters,pcnt,user);
-00430 }
-00431
-<a name="l00432"></a><a class="code" href="classServer.html#a3">00432</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s)
-00433 {
-00434 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-00435 }
-00436
-<a name="l00437"></a><a class="code" href="classServer.html#a26">00437</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source)
-00438 {
-00439 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
-00440 }
-00441
-<a name="l00442"></a><a class="code" href="classServer.html#a27">00442</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
-00443 {
-00444 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
-00445 }
-00446
-<a name="l00447"></a><a class="code" href="classServer.html#a4">00447</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s)
-00448 {
-00449 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00450 }
-00451
-<a name="l00452"></a><a class="code" href="classServer.html#a5">00452</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s)
-00453 {
-00454 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00455 }
-00456
-<a name="l00457"></a><a class="code" href="classServer.html#a7">00457</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s)
-00458 {
-00459 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00460 }
-00461
-<a name="l00462"></a><a class="code" href="classServer.html#a8">00462</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s)
-00463 {
-00464 <span class="keywordflow">if</span> (!Source)
-00465 {
-00466 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-00467 Write(Dest-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
-00468 }
-00469 <span class="keywordflow">else</span>
-00470 {
-00471 <span class="comment">// otherwise it comes from the user specified</span>
-00472 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-00473 }
-00474 }
-00475
-<a name="l00476"></a><a class="code" href="classServer.html#a6">00476</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text)
-00477 {
-00478 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
-00479 }
-00480
-<a name="l00481"></a><a class="code" href="classServer.html#a9">00481</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender)
-00482 {
-00483 <span class="keywordflow">if</span> (IncludeSender)
-00484 {
-00485 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00486 }
-00487 <span class="keywordflow">else</span>
-00488 {
-00489 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00490 }
-00491 }
-00492
-<a name="l00493"></a><a class="code" href="classServer.html#a10">00493</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2)
-00494 {
-00495 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
-00496 }
-00497
-<a name="l00498"></a><a class="code" href="classServer.html#a11">00498</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender)
-00499 {
-00500 <span class="keywordflow">if</span> (IncludeSender)
-00501 {
-00502 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00503 }
-00504 <span class="keywordflow">else</span>
-00505 {
-00506 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00507 }
-00508 }
-00509
-<a name="l00510"></a><a class="code" href="classServer.html#a12">00510</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text)
-00511 {
-00512 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-00513 }
-00514
-<a name="l00515"></a><a class="code" href="classServer.html#a35">00515</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host)
-00516 {
-00517 <a class="code" href="message_8h.html#a9">ChangeDisplayedHost</a>(user,host.c_str());
-00518 }
-00519
-<a name="l00520"></a><a class="code" href="classServer.html#a36">00520</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a36">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos)
-00521 {
-00522 <a class="code" href="message_8h.html#a8">ChangeName</a>(user,gecos.c_str());
-00523 }
-00524
-<a name="l00525"></a><a class="code" href="classServer.html#a13">00525</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick)
-00526 {
-00527 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a11">isnick</a>(nick.c_str()) != 0);
-00528 }
-00529
-<a name="l00530"></a><a class="code" href="classServer.html#a15">00530</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick)
-00531 {
-00532 <span class="keywordflow">return</span> Find(nick);
-00533 }
-00534
-<a name="l00535"></a><a class="code" href="classServer.html#a16">00535</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket)
-00536 {
-00537 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a36">fd_ref_table</a>[socket] : NULL);
-00538 }
-00539
-<a name="l00540"></a><a class="code" href="classServer.html#a17">00540</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel)
-00541 {
-00542 <span class="keywordflow">return</span> FindChan(channel.c_str());
-00543 }
-00544
-<a name="l00545"></a><a class="code" href="classServer.html#a18">00545</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-00546 {
-00547 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a12">cmode</a>(User,Chan);
-00548 }
-00549
-<a name="l00550"></a><a class="code" href="classServer.html#a19">00550</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-00551 {
-00552 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">has_channel</a>(User,Chan);
-00553 }
-00554
-<a name="l00555"></a><a class="code" href="classServer.html#a20">00555</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>()
-00556 {
-00557 <span class="keywordflow">return</span> getservername();
-00558 }
-00559
-<a name="l00560"></a><a class="code" href="classServer.html#a21">00560</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>()
-00561 {
-00562 <span class="keywordflow">return</span> getnetworkname();
-00563 }
-00564
-<a name="l00565"></a><a class="code" href="classServer.html#a22">00565</a> std::string <a class="code" href="classServer.html#a22">Server::GetServerDescription</a>()
-00566 {
-00567 <span class="keywordflow">return</span> getserverdesc();
-00568 }
-00569
-<a name="l00570"></a><a class="code" href="classServer.html#a23">00570</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a23">Server::GetAdmin</a>()
-00571 {
-00572 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-00573 }
-00574
-00575
+<a name="l00280"></a><a class="code" href="classEvent.html#a0">00280</a> <a class="code" href="classEvent.html#a0">Event::Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, std::string eventid) : data(anydata), source(src), id(eventid) { };
+00281
+<a name="l00282"></a><a class="code" href="classEvent.html#a1">00282</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>()
+00283 {
+00284 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
+00285 }
+00286
+<a name="l00287"></a><a class="code" href="classEvent.html#a2">00287</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>()
+00288 {
+00289 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
+00290 }
+00291
+<a name="l00292"></a><a class="code" href="classEvent.html#a4">00292</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>()
+00293 {
+00294 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
+00295 <span class="keywordflow">return</span> NULL;
+00296 }
+00297
+<a name="l00298"></a><a class="code" href="classEvent.html#a3">00298</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>()
+00299 {
+00300 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
+00301 }
+00302
+00303
+00304 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span>
+<a name="l00305"></a><a class="code" href="classModule.html#a0">00305</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
+<a name="l00306"></a><a class="code" href="classModule.html#a1">00306</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
+<a name="l00307"></a><a class="code" href="classModule.html#a3">00307</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a3">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00308"></a><a class="code" href="classModule.html#a4">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a4">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00309"></a><a class="code" href="classModule.html#a5">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a5">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00310"></a><a class="code" href="classModule.html#a6">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a6">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
+<a name="l00311"></a><a class="code" href="classModule.html#a7">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a7">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
+<a name="l00312"></a><a class="code" href="classModule.html#a8">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a8">Module::OnPacketTransmit</a>(std::string &amp;data, std::string serv) { }
+<a name="l00313"></a><a class="code" href="classModule.html#a9">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a9">Module::OnPacketReceive</a>(std::string &amp;data, std::string serv) { }
+<a name="l00314"></a><a class="code" href="classModule.html#a10">00314</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { }
+<a name="l00315"></a><a class="code" href="classModule.html#a11">00315</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a11">Module::OnServerRaw</a>(std::string &amp;raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00316"></a><a class="code" href="classModule.html#a13">00316</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a13">Module::OnUserPreJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keyword">const</span> <span class="keywordtype">char</span>* cname) { <span class="keywordflow">return</span> 0; }
+<a name="l00317"></a><a class="code" href="classModule.html#a12">00317</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a12">Module::OnExtendedMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* target, <span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> mode_on, string_list &amp;params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+<a name="l00318"></a><a class="code" href="classModule.html#a2">00318</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#a2">Module::GetVersion</a>() { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#a21">VF_VENDOR</a>); }
+<a name="l00319"></a><a class="code" href="classModule.html#a16">00319</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a16">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00320"></a><a class="code" href="classModule.html#a17">00320</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a17">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00321"></a><a class="code" href="classModule.html#a18">00321</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a18">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { };
+<a name="l00322"></a><a class="code" href="classModule.html#a19">00322</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a19">Module::OnUserPreInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel) { <span class="keywordflow">return</span> 0; };
+<a name="l00323"></a><a class="code" href="classModule.html#a20">00323</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a20">Module::OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &amp;text) { <span class="keywordflow">return</span> 0; };
+<a name="l00324"></a><a class="code" href="classModule.html#a21">00324</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a21">Module::OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, std::string &amp;text) { <span class="keywordflow">return</span> 0; };
+<a name="l00325"></a><a class="code" href="classModule.html#a22">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a22">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newnick) { <span class="keywordflow">return</span> 0; };
+<a name="l00326"></a><a class="code" href="classModule.html#a23">00326</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a23">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string oldnick) { };
+<a name="l00327"></a><a class="code" href="classModule.html#a24">00327</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a24">Module::OnAccessCheck</a>(<a class="code" href="classuserrec.html">userrec</a>* source,<a class="code" href="classuserrec.html">userrec</a>* dest,<a class="code" href="classchanrec.html">chanrec</a>* channel,<span class="keywordtype">int</span> access_type) { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
+<a name="l00328"></a><a class="code" href="classModule.html#a25">00328</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a25">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<a name="l00329"></a><a class="code" href="classModule.html#a26">00329</a> <a class="code" href="modules_8h.html#a32">string_list</a> <a class="code" href="classModule.html#a26">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<a name="l00330"></a><a class="code" href="classModule.html#a27">00330</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &amp;output) { };
+<a name="l00331"></a><a class="code" href="classModule.html#a28">00331</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a28">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, std::string reason) { <span class="keywordflow">return</span> 0; };
+<a name="l00332"></a><a class="code" href="classModule.html#a29">00332</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,std::string name) { };
+<a name="l00333"></a><a class="code" href="classModule.html#a30">00333</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { };
+<a name="l00334"></a><a class="code" href="classModule.html#a31">00334</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a31">Module::OnSendList</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel, <span class="keywordtype">char</span> mode) { };
+<a name="l00335"></a><a class="code" href="classModule.html#a32">00335</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a32">Module::OnPreCommand</a>(std::string command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user) { <span class="keywordflow">return</span> 0; };
+<a name="l00336"></a><a class="code" href="classModule.html#a33">00336</a> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#a33">Module::OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
+<a name="l00337"></a><a class="code" href="classModule.html#a34">00337</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a34">Module::OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00338"></a><a class="code" href="classModule.html#a14">00338</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a14">Module::OnUserPreKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { <span class="keywordflow">return</span> 0; };
+<a name="l00339"></a><a class="code" href="classModule.html#a15">00339</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a15">Module::OnUserKick</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string reason) { };
+<a name="l00340"></a><a class="code" href="classModule.html#a35">00340</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a35">Module::OnRawMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <span class="keywordtype">char</span> mode, std::string param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt) { <span class="keywordflow">return</span> 0; };
+<a name="l00341"></a><a class="code" href="classModule.html#a36">00341</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a36">Module::OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
+<a name="l00342"></a><a class="code" href="classModule.html#a37">00342</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a37">Module::OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string keygiven) { <span class="keywordflow">return</span> 0; };
+<a name="l00343"></a><a class="code" href="classModule.html#a38">00343</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a38">Module::OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
+<a name="l00344"></a><a class="code" href="classModule.html#a39">00344</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a39">Module::OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan) { <span class="keywordflow">return</span> 0; };
+<a name="l00345"></a><a class="code" href="classModule.html#a40">00345</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { };
+<a name="l00346"></a><a class="code" href="classModule.html#a41">00346</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a41">Module::OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; };
+<a name="l00347"></a><a class="code" href="classModule.html#a42">00347</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a42">Module::OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string newhost) { <span class="keywordflow">return</span> 0; };
+<a name="l00348"></a><a class="code" href="classModule.html#a43">00348</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a43">Module::OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, std::string topic) { <span class="keywordflow">return</span> 0; };
+<a name="l00349"></a><a class="code" href="classModule.html#a44">00349</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a44">Module::OnMeshToken</a>(<span class="keywordtype">char</span> token,string_list params,<a class="code" href="classserverrec.html">serverrec</a>* source,<a class="code" href="classserverrec.html">serverrec</a>* reply, std::string tcp_host,std::string ipaddr,<span class="keywordtype">int</span> port) { <span class="keywordflow">return</span> 0; };
+<a name="l00350"></a><a class="code" href="classModule.html#a45">00350</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a45">Module::OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event) { <span class="keywordflow">return</span>; };
+<a name="l00351"></a><a class="code" href="classModule.html#a46">00351</a> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#a46">Module::OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request) { <span class="keywordflow">return</span> NULL; };
+<a name="l00352"></a><a class="code" href="classModule.html#a47">00352</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a47">Module::OnOperCompare</a>(std::string password, std::string input) { <span class="keywordflow">return</span> 0; };
+<a name="l00353"></a><a class="code" href="classModule.html#a48">00353</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a48">Module::OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00354"></a><a class="code" href="classModule.html#a49">00354</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">Module::OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00355"></a><a class="code" href="classModule.html#a50">00355</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">Module::OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; };
+<a name="l00356"></a><a class="code" href="classModule.html#a51">00356</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">Module::OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask) { <span class="keywordflow">return</span> 0; };
+<a name="l00357"></a><a class="code" href="classModule.html#a52">00357</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">Module::OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport) { };
+<a name="l00358"></a><a class="code" href="classModule.html#a53">00358</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">Module::OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count) { <span class="keywordflow">return</span> 0; };
+<a name="l00359"></a><a class="code" href="classModule.html#a54">00359</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { };
+<a name="l00360"></a><a class="code" href="classModule.html#a55">00360</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">Module::OnRawSocketRead</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> &amp;readresult) { <span class="keywordflow">return</span> 0; };
+00361
+00362 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
+00363 <span class="comment">// exports in the core</span>
+00364 <span class="comment">//</span>
+00365
+<a name="l00366"></a><a class="code" href="classServer.html#a0">00366</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
+00367 {
+00368 }
+00369
+<a name="l00370"></a><a class="code" href="classServer.html#a1">00370</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
+00371 {
+00372 }
+00373
+<a name="l00374"></a><a class="code" href="classServer.html#a2">00374</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s)
+00375 {
+00376 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+00377 }
+00378
+<a name="l00379"></a><a class="code" href="classServer.html#a33">00379</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a33">Server::MatchText</a>(std::string sliteral, std::string spattern)
+00380 {
+00381 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+00382 strlcpy(literal,sliteral.c_str(),MAXBUF);
+00383 strlcpy(pattern,spattern.c_str(),MAXBUF);
+00384 <span class="keywordflow">return</span> match(literal,pattern);
+00385 }
+00386
+<a name="l00387"></a><a class="code" href="classServer.html#a28">00387</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text)
+00388 {
+00389 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+00390 }
+00391
+<a name="l00392"></a><a class="code" href="classServer.html#a29">00392</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key)
+00393 {
+00394 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
+00395 }
+00396
+<a name="l00397"></a><a class="code" href="classServer.html#a30">00397</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a30">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason)
+00398 {
+00399 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+00400 }
+00401
+<a name="l00402"></a><a class="code" href="classServer.html#a38">00402</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a38">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
+00403 {
+00404 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
+00405 userl.clear();
+00406 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a7">GetUsers</a>();
+00407 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;begin(); i != <a class="code" href="channels_8cpp.html#a15">list</a>-&gt;end(); i++)
+00408 {
+00409 <span class="keywordtype">char</span>* o = *i;
+00410 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+00411 }
+00412 <span class="keywordflow">return</span> userl;
+00413 }
+<a name="l00414"></a><a class="code" href="classServer.html#a31">00414</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname)
+00415 {
+00416 force_nickchange(user,nickname.c_str());
+00417 }
+00418
+<a name="l00419"></a><a class="code" href="classServer.html#a32">00419</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason)
+00420 {
+00421 kill_link(user,reason.c_str());
+00422 }
+00423
+<a name="l00424"></a><a class="code" href="classServer.html#a37">00424</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">Server::IsUlined</a>(std::string server)
+00425 {
+00426 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">is_uline</a>(server.c_str());
+00427 }
+00428
+<a name="l00429"></a><a class="code" href="classServer.html#a34">00429</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::CallCommandHandler</a>(std::string commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user)
+00430 {
+00431 call_handler(commandname.c_str(),parameters,pcnt,user);
+00432 }
+00433
+<a name="l00434"></a><a class="code" href="classServer.html#a3">00434</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Server::Log</a>(<span class="keywordtype">int</span> level, std::string s)
+00435 {
+00436 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+00437 }
+00438
+<a name="l00439"></a><a class="code" href="classServer.html#a26">00439</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::AddCommand</a>(<span class="keywordtype">char</span>* cmd, handlerfunc f, <span class="keywordtype">char</span> flags, <span class="keywordtype">int</span> minparams, <span class="keywordtype">char</span>* source)
+00440 {
+00441 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
+00442 }
+00443
+<a name="l00444"></a><a class="code" href="classServer.html#a27">00444</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
+00445 {
+00446 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
+00447 }
+00448
+<a name="l00449"></a><a class="code" href="classServer.html#a4">00449</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Server::Send</a>(<span class="keywordtype">int</span> Socket, std::string s)
+00450 {
+00451 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00452 }
+00453
+<a name="l00454"></a><a class="code" href="classServer.html#a5">00454</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s)
+00455 {
+00456 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00457 }
+00458
+<a name="l00459"></a><a class="code" href="classServer.html#a7">00459</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s)
+00460 {
+00461 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00462 }
+00463
+<a name="l00464"></a><a class="code" href="classServer.html#a8">00464</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s)
+00465 {
+00466 <span class="keywordflow">if</span> (!Source)
+00467 {
+00468 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+00469 Write(Dest-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
+00470 }
+00471 <span class="keywordflow">else</span>
+00472 {
+00473 <span class="comment">// otherwise it comes from the user specified</span>
+00474 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+00475 }
+00476 }
+00477
+<a name="l00478"></a><a class="code" href="classServer.html#a6">00478</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text)
+00479 {
+00480 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+00481 }
+00482
+<a name="l00483"></a><a class="code" href="classServer.html#a9">00483</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string s,<span class="keywordtype">bool</span> IncludeSender)
+00484 {
+00485 <span class="keywordflow">if</span> (IncludeSender)
+00486 {
+00487 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00488 }
+00489 <span class="keywordflow">else</span>
+00490 {
+00491 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00492 }
+00493 }
+00494
+<a name="l00495"></a><a class="code" href="classServer.html#a10">00495</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2)
+00496 {
+00497 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
+00498 }
+00499
+<a name="l00500"></a><a class="code" href="classServer.html#a11">00500</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender)
+00501 {
+00502 <span class="keywordflow">if</span> (IncludeSender)
+00503 {
+00504 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00505 }
+00506 <span class="keywordflow">else</span>
+00507 {
+00508 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00509 }
+00510 }
+00511
+<a name="l00512"></a><a class="code" href="classServer.html#a12">00512</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text)
+00513 {
+00514 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+00515 }
+00516
+<a name="l00517"></a><a class="code" href="classServer.html#a35">00517</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host)
+00518 {
+00519 <a class="code" href="message_8h.html#a9">ChangeDisplayedHost</a>(user,host.c_str());
+00520 }
+00521
+<a name="l00522"></a><a class="code" href="classServer.html#a36">00522</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a36">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos)
+00523 {
+00524 <a class="code" href="message_8h.html#a8">ChangeName</a>(user,gecos.c_str());
+00525 }
+00526
+<a name="l00527"></a><a class="code" href="classServer.html#a13">00527</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick)
+00528 {
+00529 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a11">isnick</a>(nick.c_str()) != 0);
+00530 }
+00531
+<a name="l00532"></a><a class="code" href="classServer.html#a15">00532</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick)
+00533 {
+00534 <span class="keywordflow">return</span> Find(nick);
+00535 }
+00536
+<a name="l00537"></a><a class="code" href="classServer.html#a16">00537</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket)
+00538 {
+00539 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[socket] : NULL);
+00540 }
+00541
+<a name="l00542"></a><a class="code" href="classServer.html#a17">00542</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel)
+00543 {
+00544 <span class="keywordflow">return</span> FindChan(channel.c_str());
+00545 }
+00546
+<a name="l00547"></a><a class="code" href="classServer.html#a18">00547</a> std::string <a class="code" href="classServer.html#a18">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
+00548 {
+00549 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a12">cmode</a>(User,Chan);
+00550 }
+00551
+<a name="l00552"></a><a class="code" href="classServer.html#a19">00552</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
+00553 {
+00554 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">has_channel</a>(User,Chan);
+00555 }
+00556
+<a name="l00557"></a><a class="code" href="classServer.html#a20">00557</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>()
+00558 {
+00559 <span class="keywordflow">return</span> getservername();
+00560 }
+00561
+<a name="l00562"></a><a class="code" href="classServer.html#a21">00562</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>()
+00563 {
+00564 <span class="keywordflow">return</span> getnetworkname();
+00565 }
+00566
+<a name="l00567"></a><a class="code" href="classServer.html#a22">00567</a> std::string <a class="code" href="classServer.html#a22">Server::GetServerDescription</a>()
+00568 {
+00569 <span class="keywordflow">return</span> getserverdesc();
+00570 }
+00571
+<a name="l00572"></a><a class="code" href="classServer.html#a23">00572</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a23">Server::GetAdmin</a>()
+00573 {
+00574 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
+00575 }
00576
-<a name="l00577"></a><a class="code" href="classServer.html#a24">00577</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off)
-00578 {
-00579 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= 'Z')) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
-00580 {
-00581 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
-00582 {
-00583 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
-00584 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00585 }
-00586 <span class="keywordflow">if</span> (((params_when_on&gt;0) || (params_when_off&gt;0)) &amp;&amp; (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>))
-00587 {
-00588 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
-00589 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00590 }
-00591 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-00592 {
-00593 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
-00594 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00595 }
-00596 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
-00597 }
-00598 <span class="keywordflow">else</span>
-00599 {
-00600 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
-00601 }
-00602 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00603 }
-00604
-<a name="l00605"></a><a class="code" href="classServer.html#a25">00605</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a25">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
-00606 {
-00607 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a57">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
-00608 <span class="keywordflow">if</span> (res)
-00609 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar);
-00610 <span class="keywordflow">return</span> res;
-00611 }
-00612
-<a name="l00613"></a><a class="code" href="classServer.html#a14">00613</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c)
-00614 {
-00615 <span class="keywordflow">return</span> usercount(c);
-00616 }
-00617
-00618
-<a name="l00619"></a><a class="code" href="classServer.html#a39">00619</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message)
-00620 {
-00621 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00622 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00623 user-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
-00624 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,user-&gt;<a class="code" href="classconnection.html#o1">host</a>,message.c_str());
-00625 <span class="preprocessor">#ifdef USE_KQUEUE</span>
-00626 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
-00627 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-00628 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
-00629 <span class="keywordflow">if</span> (i == -1)
-00630 {
-00631 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
-00632 }
-00633 <span class="preprocessor">#endif</span>
-00634 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
-00635 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
-00636 ev.events = EPOLLIN | EPOLLET;
-00637 ev.data.fd = old_fd;
-00638 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
-00639 <span class="keywordflow">if</span> (i &lt; 0)
-00640 {
-00641 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
-00642 }
-00643 <span class="preprocessor">#endif</span>
-00644 <span class="preprocessor"></span>
-00645 shutdown(old_fd,2);
-00646 close(old_fd);
-00647 }
-00648
-<a name="l00649"></a><a class="code" href="classServer.html#a40">00649</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a40">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message)
-00650 {
-00651 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00652 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00653 alive-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
-00654 Write(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,alive-&gt;<a class="code" href="classconnection.html#o1">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00655 kill_link(alive,message.c_str());
-00656 <a class="code" href="modules_8cpp.html#a36">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
-00657 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-00658 {
-00659 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
-00660 {
-00661 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
-00662 {
-00663 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>;
-00664 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00665 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>)
-00666 {
-00667 WriteServ(zombie-&gt;fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o3">topic</a>);
-00668 WriteServ(zombie-&gt;fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>);
-00669 }
-00670 userlist(zombie,Ptr);
-00671 WriteServ(zombie-&gt;fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00672
-00673 }
-00674 }
-00675 }
-00676
-00677 }
+00577
+00578
+<a name="l00579"></a><a class="code" href="classServer.html#a24">00579</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedMode</a>(<span class="keywordtype">char</span> modechar, <span class="keywordtype">int</span> type, <span class="keywordtype">bool</span> requires_oper, <span class="keywordtype">int</span> params_when_on, <span class="keywordtype">int</span> params_when_off)
+00580 {
+00581 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= 'Z')) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
+00582 {
+00583 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
+00584 {
+00585 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
+00586 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00587 }
+00588 <span class="keywordflow">if</span> (((params_when_on&gt;0) || (params_when_off&gt;0)) &amp;&amp; (type == <a class="code" href="modules_8h.html#a6">MT_CLIENT</a>))
+00589 {
+00590 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
+00591 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00592 }
+00593 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+00594 {
+00595 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
+00596 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00597 }
+00598 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
+00599 }
+00600 <span class="keywordflow">else</span>
+00601 {
+00602 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+00603 }
+00604 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00605 }
+00606
+<a name="l00607"></a><a class="code" href="classServer.html#a25">00607</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a25">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
+00608 {
+00609 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#a58">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
+00610 <span class="keywordflow">if</span> (res)
+00611 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar);
+00612 <span class="keywordflow">return</span> res;
+00613 }
+00614
+<a name="l00615"></a><a class="code" href="classServer.html#a14">00615</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c)
+00616 {
+00617 <span class="keywordflow">return</span> usercount(c);
+00618 }
+00619
+00620
+<a name="l00621"></a><a class="code" href="classServer.html#a39">00621</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message)
+00622 {
+00623 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00624 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00625 user-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
+00626 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,user-&gt;<a class="code" href="classconnection.html#o1">host</a>,message.c_str());
+00627 <span class="preprocessor">#ifdef USE_KQUEUE</span>
+00628 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
+00629 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+00630 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
+00631 <span class="keywordflow">if</span> (i == -1)
+00632 {
+00633 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
+00634 }
+00635 <span class="preprocessor">#endif</span>
+00636 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
+00637 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
+00638 ev.events = EPOLLIN | EPOLLET;
+00639 ev.data.fd = old_fd;
+00640 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
+00641 <span class="keywordflow">if</span> (i &lt; 0)
+00642 {
+00643 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
+00644 }
+00645 <span class="preprocessor">#endif</span>
+00646 <span class="preprocessor"></span>
+00647 shutdown(old_fd,2);
+00648 close(old_fd);
+00649 }
+00650
+<a name="l00651"></a><a class="code" href="classServer.html#a40">00651</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a40">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message)
+00652 {
+00653 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00654 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00655 alive-&gt;<a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
+00656 Write(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#o1">ident</a>,alive-&gt;<a class="code" href="classconnection.html#o1">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00657 kill_link(alive,message.c_str());
+00658 <a class="code" href="modules_8cpp.html#a37">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
+00659 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+00660 {
+00661 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
+00662 {
+00663 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
+00664 {
+00665 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>;
+00666 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00667 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>)
+00668 {
+00669 WriteServ(zombie-&gt;fd,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o3">topic</a>);
+00670 WriteServ(zombie-&gt;fd,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o5">topicset</a>);
+00671 }
+00672 userlist(zombie,Ptr);
+00673 WriteServ(zombie-&gt;fd,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;nick, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00674
+00675 }
+00676 }
+00677 }
00678
-<a name="l00679"></a><a class="code" href="classServer.html#a41">00679</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00680 {
-00681 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00682 }
-00683
-<a name="l00684"></a><a class="code" href="classServer.html#a42">00684</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname)
-00685 {
-00686 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
-00687 }
-00688
-<a name="l00689"></a><a class="code" href="classServer.html#a43">00689</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr)
-00690 {
-00691 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
-00692 }
-00693
-<a name="l00694"></a><a class="code" href="classServer.html#a44">00694</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00695 {
-00696 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00697 }
-00698
-<a name="l00699"></a><a class="code" href="classServer.html#a45">00699</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a45">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00700 {
-00701 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00702 }
-00703
-<a name="l00704"></a><a class="code" href="classServer.html#a46">00704</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelGLine</a>(std::string hostmask)
-00705 {
-00706 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
-00707 }
-00708
-<a name="l00709"></a><a class="code" href="classServer.html#a47">00709</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelQLine</a>(std::string nickname)
-00710 {
-00711 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
-00712 }
-00713
-<a name="l00714"></a><a class="code" href="classServer.html#a48">00714</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelZLine</a>(std::string ipaddr)
-00715 {
-00716 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
-00717 }
-00718
-<a name="l00719"></a><a class="code" href="classServer.html#a49">00719</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelKLine</a>(std::string hostmask)
-00720 {
-00721 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
-00722 }
-00723
-<a name="l00724"></a><a class="code" href="classServer.html#a50">00724</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a50">Server::DelELine</a>(std::string hostmask)
-00725 {
-00726 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
-00727 }
-00728
-<a name="l00729"></a><a class="code" href="classServer.html#a51">00729</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a51">Server::CalcDuration</a>(std::string delta)
-00730 {
-00731 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a76">duration</a>(delta.c_str());
-00732 }
-00733
-<a name="l00734"></a><a class="code" href="classServer.html#a52">00734</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a52">Server::IsValidMask</a>(std::string mask)
-00735 {
-00736 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-00737 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-00738 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00739 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+00679 }
+00680
+<a name="l00681"></a><a class="code" href="classServer.html#a41">00681</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00682 {
+00683 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00684 }
+00685
+<a name="l00686"></a><a class="code" href="classServer.html#a42">00686</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname)
+00687 {
+00688 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
+00689 }
+00690
+<a name="l00691"></a><a class="code" href="classServer.html#a43">00691</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr)
+00692 {
+00693 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
+00694 }
+00695
+<a name="l00696"></a><a class="code" href="classServer.html#a44">00696</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00697 {
+00698 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00699 }
+00700
+<a name="l00701"></a><a class="code" href="classServer.html#a45">00701</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a45">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00702 {
+00703 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a76">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00704 }
+00705
+<a name="l00706"></a><a class="code" href="classServer.html#a46">00706</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelGLine</a>(std::string hostmask)
+00707 {
+00708 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
+00709 }
+00710
+<a name="l00711"></a><a class="code" href="classServer.html#a47">00711</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelQLine</a>(std::string nickname)
+00712 {
+00713 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
+00714 }
+00715
+<a name="l00716"></a><a class="code" href="classServer.html#a48">00716</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelZLine</a>(std::string ipaddr)
+00717 {
+00718 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
+00719 }
+00720
+<a name="l00721"></a><a class="code" href="classServer.html#a49">00721</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelKLine</a>(std::string hostmask)
+00722 {
+00723 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
+00724 }
+00725
+<a name="l00726"></a><a class="code" href="classServer.html#a50">00726</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a50">Server::DelELine</a>(std::string hostmask)
+00727 {
+00728 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
+00729 }
+00730
+<a name="l00731"></a><a class="code" href="classServer.html#a51">00731</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a51">Server::CalcDuration</a>(std::string delta)
+00732 {
+00733 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a76">duration</a>(delta.c_str());
+00734 }
+00735
+<a name="l00736"></a><a class="code" href="classServer.html#a52">00736</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a52">Server::IsValidMask</a>(std::string mask)
+00737 {
+00738 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+00739 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
00740 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00741 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00742 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-00743 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00744 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00745 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-00746 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00747 <span class="keywordtype">int</span> c = 0;
-00748 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00749 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-00750 c++;
-00751 <span class="keywordflow">if</span> (c&gt;1)
-00752 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00753 c = 0;
-00754 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00755 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-00756 c++;
-00757 <span class="keywordflow">if</span> (c&gt;1)
-00758 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00759
-00760 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00761 }
-00762
-<a name="l00763"></a><a class="code" href="classServer.html#a53">00763</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendAll</a>(std::string text)
-00764 {
-00765 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
-00766 }
-00767
-<a name="l00768"></a><a class="code" href="classServer.html#a54">00768</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text)
-00769 {
-00770 <span class="keywordflow">if</span> (user)
-00771 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
-00772 }
-00773
-<a name="l00774"></a><a class="code" href="classServer.html#a55">00774</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendAllAlive</a>(std::string text)
-00775 {
-00776 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
-00777 }
-00778
-<a name="l00779"></a><a class="code" href="classServer.html#a56">00779</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendUnicast</a>(std::string destination, std::string text)
-00780 {
-00781 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00782 }
-00783
-<a name="l00784"></a><a class="code" href="classServer.html#a57">00784</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a57">Server::MeshSendAllExcept</a>(std::string target, std::string text)
-00785 {
-00786 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00787 }
-00788
-<a name="l00789"></a><a class="code" href="classServer.html#a58">00789</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername)
-00790 {
-00791 <span class="keywordflow">if</span> (c)
-00792 {
-00793 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
-00794 }
-00795 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00796 }
-00797
-<a name="l00798"></a><a class="code" href="classServer.html#a59">00798</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a59">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername)
-00799 {
-00800 <span class="keywordflow">if</span> (u)
-00801 {
-00802 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
-00803 }
-00804 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00805 }
-00806
-<a name="l00807"></a><a class="code" href="classServer.html#a60">00807</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a60">Server::FindModule</a>(std::string name)
-00808 {
-00809 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++)
-00810 {
-00811 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a26">module_names</a>[i] == name)
-00812 {
-00813 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
-00814 }
-00815 }
-00816 <span class="keywordflow">return</span> NULL;
-00817 }
-00818
-<a name="l00819"></a><a class="code" href="classConfigReader.html#a0">00819</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
-00820 {
-00821 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00822 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00823 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-00824 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00825 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00826 }
-00827
-00828
-<a name="l00829"></a><a class="code" href="classConfigReader.html#a2">00829</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
-00830 {
-00831 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
-00832 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
-00833 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
-00834 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-00835 }
-00836
-00837
-<a name="l00838"></a><a class="code" href="classConfigReader.html#a1">00838</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename)
-00839 {
-00840 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00841 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00842 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
-00843 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00844 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00845 };
-00846
-<a name="l00847"></a><a class="code" href="classConfigReader.html#a3">00847</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index)
-00848 {
-00849 <span class="keywordtype">char</span> val[MAXBUF];
-00850 <span class="keywordtype">char</span> t[MAXBUF];
-00851 <span class="keywordtype">char</span> n[MAXBUF];
-00852 strlcpy(t,tag.c_str(),MAXBUF);
-00853 strlcpy(n,name.c_str(),MAXBUF);
-00854 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
-00855 <span class="keywordflow">if</span> (!res)
-00856 {
-00857 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00858 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-00859 }
-00860 <span class="keywordflow">return</span> val;
-00861 }
-00862
-<a name="l00863"></a><a class="code" href="classConfigReader.html#a4">00863</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index)
-00864 {
-00865 <span class="keywordtype">char</span> val[MAXBUF];
-00866 <span class="keywordtype">char</span> t[MAXBUF];
-00867 <span class="keywordtype">char</span> n[MAXBUF];
-00868 strlcpy(t,tag.c_str(),MAXBUF);
-00869 strlcpy(n,name.c_str(),MAXBUF);
-00870 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
-00871 <span class="keywordflow">if</span> (!res)
-00872 {
-00873 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00874 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00875 }
-00876 std::string s = val;
-00877 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
-00878 }
-00879
-<a name="l00880"></a><a class="code" href="classConfigReader.html#a5">00880</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned)
-00881 {
-00882 <span class="keywordtype">char</span> val[MAXBUF];
-00883 <span class="keywordtype">char</span> t[MAXBUF];
-00884 <span class="keywordtype">char</span> n[MAXBUF];
-00885 strlcpy(t,tag.c_str(),MAXBUF);
-00886 strlcpy(n,name.c_str(),MAXBUF);
-00887 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
-00888 <span class="keywordflow">if</span> (!res)
-00889 {
-00890 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00891 <span class="keywordflow">return</span> 0;
-00892 }
-00893 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-00894 {
-00895 <span class="keywordflow">if</span> (!isdigit(val[i]))
-00896 {
-00897 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
-00898 <span class="keywordflow">return</span> 0;
-00899 }
-00900 }
-00901 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-00902 {
-00903 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
-00904 <span class="keywordflow">return</span> 0;
-00905 }
-00906 <span class="keywordflow">return</span> atoi(val);
-00907 }
-00908
-<a name="l00909"></a><a class="code" href="classConfigReader.html#a6">00909</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>()
-00910 {
-00911 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
-00912 this-&gt;error = 0;
-00913 <span class="keywordflow">return</span> olderr;
-00914 }
-00915
-<a name="l00916"></a><a class="code" href="classConfigReader.html#a9">00916</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user)
-00917 {
-00918 <span class="keywordflow">if</span> (bail)
-00919 {
-00920 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
-00921 exit(0);
-00922 }
-00923 <span class="keywordflow">else</span>
-00924 {
-00925 <span class="keywordtype">char</span> dataline[1024];
-00926 <span class="keywordflow">if</span> (user)
-00927 {
-00928 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00929 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00930 {
-00931 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00932 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
-00933 }
-00934 }
-00935 <span class="keywordflow">else</span>
-00936 {
-00937 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00938 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00939 {
-00940 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00941 WriteOpers(dataline);
-00942 }
-00943 }
-00944 <span class="keywordflow">return</span>;
-00945 }
-00946 }
-00947
-00948
-<a name="l00949"></a><a class="code" href="classConfigReader.html#a7">00949</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag)
-00950 {
-00951 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str());
-00952 }
-00953
-<a name="l00954"></a><a class="code" href="classConfigReader.html#a10">00954</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index)
-00955 {
-00956 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index);
-00957 }
-00958
-<a name="l00959"></a><a class="code" href="classConfigReader.html#a8">00959</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>()
-00960 {
-00961 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
-00962 }
-00963
-00964
-<a name="l00965"></a><a class="code" href="classFileReader.html#a1">00965</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename)
-00966 {
-00967 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00968 readfile(c,filename.c_str());
-00969 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00970 }
-00971
-<a name="l00972"></a><a class="code" href="classFileReader.html#a0">00972</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
-00973 {
-00974 }
-00975
-<a name="l00976"></a><a class="code" href="classFileReader.html#a3">00976</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename)
-00977 {
-00978 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00979 readfile(c,filename.c_str());
-00980 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00981 }
-00982
-00983
-<a name="l00984"></a><a class="code" href="classFileReader.html#a2">00984</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
-00985 {
-00986 }
-00987
-<a name="l00988"></a><a class="code" href="classFileReader.html#a4">00988</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>()
-00989 {
-00990 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
-00991 {
-00992 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-00993 }
-00994 <span class="keywordflow">else</span>
-00995 {
-00996 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-00997 }
-00998 }
-00999
-<a name="l01000"></a><a class="code" href="classFileReader.html#a5">01000</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
-01001 {
-01002 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
-01003 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-01004 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
-01005 }
-01006
-<a name="l01007"></a><a class="code" href="classFileReader.html#a6">01007</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>()
-01008 {
-01009 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
-01010 }
-01011
-01012
-01013 std::vector&lt;Module*&gt; <a class="code" href="modules_8cpp.html#a59">modules</a>(255);
-01014 std::vector&lt;ircd_module*&gt; <a class="code" href="modules_8cpp.html#a60">factory</a>(255);
+00741 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+00742 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00743 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00744 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+00745 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00746 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00747 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+00748 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00749 <span class="keywordtype">int</span> c = 0;
+00750 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00751 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+00752 c++;
+00753 <span class="keywordflow">if</span> (c&gt;1)
+00754 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00755 c = 0;
+00756 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00757 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+00758 c++;
+00759 <span class="keywordflow">if</span> (c&gt;1)
+00760 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00761
+00762 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00763 }
+00764
+<a name="l00765"></a><a class="code" href="classServer.html#a53">00765</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendAll</a>(std::string text)
+00766 {
+00767 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
+00768 }
+00769
+<a name="l00770"></a><a class="code" href="classServer.html#a54">00770</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text)
+00771 {
+00772 <span class="keywordflow">if</span> (user)
+00773 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
+00774 }
+00775
+<a name="l00776"></a><a class="code" href="classServer.html#a55">00776</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendAllAlive</a>(std::string text)
+00777 {
+00778 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
+00779 }
+00780
+<a name="l00781"></a><a class="code" href="classServer.html#a56">00781</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendUnicast</a>(std::string destination, std::string text)
+00782 {
+00783 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00784 }
+00785
+<a name="l00786"></a><a class="code" href="classServer.html#a57">00786</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a57">Server::MeshSendAllExcept</a>(std::string target, std::string text)
+00787 {
+00788 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00789 }
+00790
+<a name="l00791"></a><a class="code" href="classServer.html#a58">00791</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername)
+00792 {
+00793 <span class="keywordflow">if</span> (c)
+00794 {
+00795 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
+00796 }
+00797 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00798 }
+00799
+<a name="l00800"></a><a class="code" href="classServer.html#a59">00800</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a59">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername)
+00801 {
+00802 <span class="keywordflow">if</span> (u)
+00803 {
+00804 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
+00805 }
+00806 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00807 }
+00808
+<a name="l00809"></a><a class="code" href="classServer.html#a60">00809</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a60">Server::FindModule</a>(std::string name)
+00810 {
+00811 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a>; i++)
+00812 {
+00813 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a26">module_names</a>[i] == name)
+00814 {
+00815 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
+00816 }
+00817 }
+00818 <span class="keywordflow">return</span> NULL;
+00819 }
+00820
+<a name="l00821"></a><a class="code" href="classConfigReader.html#a0">00821</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
+00822 {
+00823 <a class="code" href="modules_8cpp.html#a3">include_stack</a>.clear();
+00824 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00825 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00826 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+00827 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00828 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00829 }
+00830
+00831
+<a name="l00832"></a><a class="code" href="classConfigReader.html#a2">00832</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
+00833 {
+00834 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
+00835 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
+00836 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
+00837 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+00838 }
+00839
+00840
+<a name="l00841"></a><a class="code" href="classConfigReader.html#a1">00841</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename)
+00842 {
+00843 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00844 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00845 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>);
+00846 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00847 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00848 };
+00849
+<a name="l00850"></a><a class="code" href="classConfigReader.html#a3">00850</a> std::string <a class="code" href="classConfigReader.html#a3">ConfigReader::ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index)
+00851 {
+00852 <span class="keywordtype">char</span> val[MAXBUF];
+00853 <span class="keywordtype">char</span> t[MAXBUF];
+00854 <span class="keywordtype">char</span> n[MAXBUF];
+00855 strlcpy(t,tag.c_str(),MAXBUF);
+00856 strlcpy(n,name.c_str(),MAXBUF);
+00857 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
+00858 <span class="keywordflow">if</span> (!res)
+00859 {
+00860 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00861 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00862 }
+00863 <span class="keywordflow">return</span> val;
+00864 }
+00865
+<a name="l00866"></a><a class="code" href="classConfigReader.html#a4">00866</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ConfigReader::ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index)
+00867 {
+00868 <span class="keywordtype">char</span> val[MAXBUF];
+00869 <span class="keywordtype">char</span> t[MAXBUF];
+00870 <span class="keywordtype">char</span> n[MAXBUF];
+00871 strlcpy(t,tag.c_str(),MAXBUF);
+00872 strlcpy(n,name.c_str(),MAXBUF);
+00873 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
+00874 <span class="keywordflow">if</span> (!res)
+00875 {
+00876 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00877 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00878 }
+00879 std::string s = val;
+00880 <span class="keywordflow">return</span> ((s == <span class="stringliteral">"yes"</span>) || (s == <span class="stringliteral">"YES"</span>) || (s == <span class="stringliteral">"true"</span>) || (s == <span class="stringliteral">"TRUE"</span>) || (s == <span class="stringliteral">"1"</span>));
+00881 }
+00882
+<a name="l00883"></a><a class="code" href="classConfigReader.html#a5">00883</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ConfigReader::ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned)
+00884 {
+00885 <span class="keywordtype">char</span> val[MAXBUF];
+00886 <span class="keywordtype">char</span> t[MAXBUF];
+00887 <span class="keywordtype">char</span> n[MAXBUF];
+00888 strlcpy(t,tag.c_str(),MAXBUF);
+00889 strlcpy(n,name.c_str(),MAXBUF);
+00890 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
+00891 <span class="keywordflow">if</span> (!res)
+00892 {
+00893 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00894 <span class="keywordflow">return</span> 0;
+00895 }
+00896 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+00897 {
+00898 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00899 {
+00900 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
+00901 <span class="keywordflow">return</span> 0;
+00902 }
+00903 }
+00904 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+00905 {
+00906 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
+00907 <span class="keywordflow">return</span> 0;
+00908 }
+00909 <span class="keywordflow">return</span> atoi(val);
+00910 }
+00911
+<a name="l00912"></a><a class="code" href="classConfigReader.html#a6">00912</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>()
+00913 {
+00914 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
+00915 this-&gt;error = 0;
+00916 <span class="keywordflow">return</span> olderr;
+00917 }
+00918
+<a name="l00919"></a><a class="code" href="classConfigReader.html#a9">00919</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user)
+00920 {
+00921 <span class="keywordflow">if</span> (bail)
+00922 {
+00923 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;str().c_str());
+00924 exit(0);
+00925 }
+00926 <span class="keywordflow">else</span>
+00927 {
+00928 <span class="keywordtype">char</span> dataline[1024];
+00929 <span class="keywordflow">if</span> (user)
+00930 {
+00931 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00932 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00933 {
+00934 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00935 WriteServ(user-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,dataline);
+00936 }
+00937 }
+00938 <span class="keywordflow">else</span>
+00939 {
+00940 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00941 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00942 {
+00943 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00944 WriteOpers(dataline);
+00945 }
+00946 }
+00947 <span class="keywordflow">return</span>;
+00948 }
+00949 }
+00950
+00951
+<a name="l00952"></a><a class="code" href="classConfigReader.html#a7">00952</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag)
+00953 {
+00954 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str());
+00955 }
+00956
+<a name="l00957"></a><a class="code" href="classConfigReader.html#a10">00957</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">ConfigReader::EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index)
+00958 {
+00959 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index);
+00960 }
+00961
+<a name="l00962"></a><a class="code" href="classConfigReader.html#a8">00962</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>()
+00963 {
+00964 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00965 }
+00966
+00967
+<a name="l00968"></a><a class="code" href="classFileReader.html#a1">00968</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename)
+00969 {
+00970 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+00971 readfile(c,filename.c_str());
+00972 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+00973 }
+00974
+<a name="l00975"></a><a class="code" href="classFileReader.html#a0">00975</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
+00976 {
+00977 }
+00978
+<a name="l00979"></a><a class="code" href="classFileReader.html#a3">00979</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename)
+00980 {
+00981 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+00982 readfile(c,filename.c_str());
+00983 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+00984 }
+00985
+00986
+<a name="l00987"></a><a class="code" href="classFileReader.html#a2">00987</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
+00988 {
+00989 }
+00990
+<a name="l00991"></a><a class="code" href="classFileReader.html#a4">00991</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>()
+00992 {
+00993 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
+00994 {
+00995 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+00996 }
+00997 <span class="keywordflow">else</span>
+00998 {
+00999 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+01000 }
+01001 }
+01002
+<a name="l01003"></a><a class="code" href="classFileReader.html#a5">01003</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
+01004 {
+01005 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
+01006 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+01007 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
+01008 }
+01009
+<a name="l01010"></a><a class="code" href="classFileReader.html#a6">01010</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>()
+01011 {
+01012 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
+01013 }
+01014
01015
-<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
+01016 std::vector&lt;Module*&gt; <a class="code" href="modules_8cpp.html#a60">modules</a>(255);
+01017 std::vector&lt;ircd_module*&gt; <a class="code" href="modules_8cpp.html#a61">factory</a>(255);
01018
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:05 2005 for InspIRCd by
+<a name="l01019"></a><a class="code" href="modules_8cpp.html#a0">01019</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1;
+01020
+01021
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index a8ec1be39..97b101a7f 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -5,10 +5,10 @@
</head><body>
<!-- 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="qindex" href="globals.html">File&nbsp;Members</a></div>
-<h1>modules.cpp File Reference</h1><code>#include "inspircd.h"</code><br>
+<h1>modules.cpp File Reference</h1><code>#include "inspircd_config.h"</code><br>
+<code>#include "inspircd.h"</code><br>
<code>#include "inspircd_io.h"</code><br>
<code>#include "inspircd_util.h"</code><br>
-<code>#include "inspircd_config.h"</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;sys/errno.h&gt;</code><br>
<code>#include &lt;time.h&gt;</code><br>
@@ -37,16 +37,16 @@
<p>
Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl.gif" border="0" usemap="#modules.cpp_map" alt="Include dependency graph"></center>
<map name="modules.cpp_map">
-<area href="ctables_8h.html" shape="rect" coords="190,374,265,401" alt="">
-<area href="connection_8h.html" shape="rect" coords="178,628,277,654" alt="">
-<area href="users_8h.html" shape="rect" coords="341,1033,405,1060" alt="">
-<area href="servers_8h.html" shape="rect" coords="334,526,412,553" alt="">
-<area href="hashcomp_8h.html" shape="rect" coords="326,577,420,604" alt="">
-<area href="modules_8h.html" shape="rect" coords="332,729,414,756" alt="">
-<area href="message_8h.html" shape="rect" coords="478,1514,564,1541" alt="">
-<area href="mode_8h.html" shape="rect" coords="488,1616,554,1642" alt="">
-<area href="xline_8h.html" shape="rect" coords="490,1565,552,1592" alt="">
-<area href="commands_8h.html" shape="rect" coords="472,1109,570,1136" alt="">
+<area href="connection_8h.html" shape="rect" coords="178,616,277,642" alt="">
+<area href="users_8h.html" shape="rect" coords="341,1021,405,1048" alt="">
+<area href="servers_8h.html" shape="rect" coords="334,565,412,592" alt="">
+<area href="ctables_8h.html" shape="rect" coords="190,362,265,389" alt="">
+<area href="hashcomp_8h.html" shape="rect" coords="326,501,420,528" alt="">
+<area href="modules_8h.html" shape="rect" coords="332,717,414,744" alt="">
+<area href="message_8h.html" shape="rect" coords="478,1502,564,1529" alt="">
+<area href="mode_8h.html" shape="rect" coords="488,1604,554,1630" alt="">
+<area href="xline_8h.html" shape="rect" coords="490,1553,552,1580" alt="">
+<area href="commands_8h.html" shape="rect" coords="472,1097,570,1124" alt="">
</map>
<p>
@@ -58,44 +58,44 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map&lt;<br>
std::string, <a class="el" href="classuserrec.html">userrec</a> *, nspace::hash&lt;<br>
- string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">user_hash</a></td></tr>
+ string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">user_hash</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map&lt;<br>
std::string, <a class="el" href="classchanrec.html">chanrec</a> *, nspace::hash&lt;<br>
- string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">chan_hash</a></td></tr>
+ string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">chan_hash</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map&lt;<br>
in_addr, string *, nspace::hash&lt;<br>
- in_addr &gt;, <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">address_cache</a></td></tr>
+ in_addr &gt;, <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">address_cache</a></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef nspace::hash_map&lt;<br>
std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a> *,<br>
- nspace::hash&lt; string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">whowas_hash</a></td></tr>
+ nspace::hash&lt; string &gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">whowas_hash</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque&lt; <a class="el" href="classcommand__t.html">command_t</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">command_table</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::deque&lt; <a class="el" href="classcommand__t.html">command_t</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">command_table</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classExtMode.html">ExtMode</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">ExtModeList</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::vector&lt; <a class="el" href="classExtMode.html">ExtMode</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">ExtModeList</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a50">ExtModeListIter</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef ExtModeList::iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a></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="modules_8cpp.html#a52">ModeDefined</a> (char modechar, int type)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">ModeDefined</a> (char modechar, int type)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a53">ModeIsListMode</a> (char modechar, int type)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeIsListMode</a> (char modechar, int type)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a54">ModeDefinedOper</a> (char modechar, int type)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeDefinedOper</a> (char modechar, int type)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a55">ModeDefinedOn</a> (char modechar, int type)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOn</a> (char modechar, int type)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a56">ModeDefinedOff</a> (char modechar, int type)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">ModeDefinedOff</a> (char modechar, int type)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a57">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">DoAddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_on, int params_off)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a58">ModeMakeList</a> (char modechar)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">ModeMakeList</a> (char modechar)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="classModule.html">Module</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a59">modules</a> (255)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="classModule.html">Module</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">modules</a> (255)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="modules_8h.html#a34">ircd_module</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a60">factory</a> (255)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="modules_8h.html#a34">ircd_module</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a61">factory</a> (255)</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a0">MODCOUNT</a> = -1</td></tr>
@@ -104,99 +104,101 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl
<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="modules_8h.html#a34">ircd_module</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a2">factory</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">TIME</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a3">include_stack</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">LogLevel</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a4">TIME</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a5">ServerName</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a5">LogLevel</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">Network</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a6">ServerName</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">ServerDesc</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a7">Network</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">AdminName</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a8">ServerDesc</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminEmail</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a9">AdminName</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminNick</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a10">AdminEmail</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">diepass</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a11">AdminNick</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">restartpass</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a12">diepass</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">motd</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a13">restartpass</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">rules</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a14">motd</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">list</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a15">rules</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">PrefixQuit</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a16">list</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">DieValue</a> [MAXBUF]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a17">PrefixQuit</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a18">debugging</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a18">DieValue</a> [MAXBUF]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a19">debugging</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">DieDelay</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a22">startup_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="modules_8cpp.html#a22">DieDelay</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">NetBufferSize</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a23">startup_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="modules_8cpp.html#a24">MaxWhoResults</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a24">NetBufferSize</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">nb_start</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a25">MaxWhoResults</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">module_names</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a26">nb_start</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">boundPortCount</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a27">module_names</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">portCount</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a28">boundPortCount</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">SERVERportCount</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a29">portCount</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">ports</a> [MAXSOCKS]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a30">SERVERportCount</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a31">defaultRoute</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a31">ports</a> [MAXSOCKS]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; long &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">auth_cookies</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a32">defaultRoute</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">config_f</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; long &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a33">auth_cookies</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="modules_8cpp.html#a34">me</a> [32]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a34">config_f</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>FILE *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a35">log_file</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="modules_8cpp.html#a35">me</a> [32]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">fd_ref_table</a> [65536]</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>FILE *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a36">log_file</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a37">user_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a42">clientlist</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">fd_ref_table</a> [65536]</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">chan_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">chanlist</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a38">user_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a43">clientlist</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">whowas_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">whowas</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">chan_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a44">chanlist</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">command_table</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">cmdlist</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a41">whowas_hash</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a45">whowas</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">MOTD</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a42">command_table</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a46">cmdlist</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">RULES</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a47">MOTD</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">address_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">IP</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8h.html#a31">file_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a48">RULES</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a49">ExtModeList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a51">EMode</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a40">address_cache</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a49">IP</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a50">ExtModeList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a52">EMode</a></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
-<a name="a39" doxytag="modules.cpp::address_cache"></a><p>
+<a name="a40" doxytag="modules.cpp::address_cache"></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"> typedef nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>&gt; <a class="el" href="modules_8cpp.html#a39">address_cache</a>
+ <td class="md" nowrap valign="top"> typedef nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>&gt; <a class="el" href="modules_8cpp.html#a40">address_cache</a>
</table>
</td>
</tr>
@@ -211,16 +213,16 @@ Include dependency graph for modules.cpp:<p><center><img src="modules_8cpp__incl
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a38" doxytag="modules.cpp::chan_hash"></a><p>
+<a name="a39" doxytag="modules.cpp::chan_hash"></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"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classchanrec.html">chanrec</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a38">chan_hash</a>
+ <td class="md" nowrap valign="top"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classchanrec.html">chanrec</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a39">chan_hash</a>
</table>
</td>
</tr>
@@ -235,16 +237,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a41" doxytag="modules.cpp::command_table"></a><p>
+<a name="a42" doxytag="modules.cpp::command_table"></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"> typedef std::deque&lt;<a class="el" href="classcommand__t.html">command_t</a>&gt; <a class="el" href="modules_8cpp.html#a41">command_table</a>
+ <td class="md" nowrap valign="top"> typedef std::deque&lt;<a class="el" href="classcommand__t.html">command_t</a>&gt; <a class="el" href="modules_8cpp.html#a42">command_table</a>
</table>
</td>
</tr>
@@ -259,16 +261,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00119">119</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00124">124</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a49" doxytag="modules.cpp::ExtModeList"></a><p>
+<a name="a50" doxytag="modules.cpp::ExtModeList"></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"> typedef std::vector&lt;<a class="el" href="classExtMode.html">ExtMode</a>&gt; <a class="el" href="modules_8cpp.html#a49">ExtModeList</a>
+ <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="classExtMode.html">ExtMode</a>&gt; <a class="el" href="modules_8cpp.html#a50">ExtModeList</a>
</table>
</td>
</tr>
@@ -283,16 +285,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00122">122</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00148">148</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00150">150</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a50" doxytag="modules.cpp::ExtModeListIter"></a><p>
+<a name="a51" doxytag="modules.cpp::ExtModeListIter"></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"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a50">ExtModeListIter</a>
+ <td class="md" nowrap valign="top"> typedef ExtModeList::iterator <a class="el" href="modules_8cpp.html#a51">ExtModeListIter</a>
</table>
</td>
</tr>
@@ -307,18 +309,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00148">148</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00149">149</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00151">151</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00155">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00205">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00192">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00179">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00167">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00228">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00157">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00207">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00194">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00181">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00169">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00230">ModeMakeList()</a>. </td>
</tr>
</table>
-<a name="a37" doxytag="modules.cpp::user_hash"></a><p>
+<a name="a38" doxytag="modules.cpp::user_hash"></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"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classuserrec.html">userrec</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a37">user_hash</a>
+ <td class="md" nowrap valign="top"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classuserrec.html">userrec</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a38">user_hash</a>
</table>
</td>
</tr>
@@ -333,16 +335,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00155">ModeDefined()
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00120">120</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a40" doxytag="modules.cpp::whowas_hash"></a><p>
+<a name="a41" doxytag="modules.cpp::whowas_hash"></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"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a40">whowas_hash</a>
+ <td class="md" nowrap valign="top"> typedef nspace::hash_map&lt;std::string, <a class="el" href="classWhoWasUser.html">WhoWasUser</a>*, nspace::hash&lt;string&gt;, <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a41">whowas_hash</a>
</table>
</td>
</tr>
@@ -357,11 +359,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00123">123</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
-<a name="a57" doxytag="modules.cpp::DoAddExtendedMode"></a><p>
+<a name="a58" doxytag="modules.cpp::DoAddExtendedMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -416,23 +418,23 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00121">121</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00218">218</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00220">220</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00155">ModeDefined()</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00157">ModeDefined()</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00577">Server::AddExtendedMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00607">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedMode()</a>.
<p>
-<div class="fragment"><pre>00219 {
-00220 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) {
-00221 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00222 }
-00223 <a class="code" href="modules_8cpp.html#a51">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off));
-00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00225 }
+<div class="fragment"><pre>00221 {
+00222 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) {
+00223 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00224 }
+00225 <a class="code" href="modules_8cpp.html#a52">EMode</a>.push_back(<a class="code" href="classExtMode.html">ExtMode</a>(modechar,type,requires_oper,params_on,params_off));
+00226 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00227 }
</pre></div> </td>
</tr>
</table>
-<a name="a60" doxytag="modules.cpp::factory"></a><p>
+<a name="a61" doxytag="modules.cpp::factory"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -461,7 +463,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddEx
</td>
</tr>
</table>
-<a name="a52" doxytag="modules.cpp::ModeDefined"></a><p>
+<a name="a53" doxytag="modules.cpp::ModeDefined"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -498,26 +500,26 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddEx
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00155">155</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00157">157</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtendedMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00220">DoAddExtendedMode()</a>.
<p>
-<div class="fragment"><pre>00156 {
-00157 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00158 {
-00159 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00160 {
-00161 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00162 }
-00163 }
-00164 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00165 }
+<div class="fragment"><pre>00158 {
+00159 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00160 {
+00161 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00162 {
+00163 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00164 }
+00165 }
+00166 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00167 }
</pre></div> </td>
</tr>
</table>
-<a name="a56" doxytag="modules.cpp::ModeDefinedOff"></a><p>
+<a name="a57" doxytag="modules.cpp::ModeDefinedOff"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -554,24 +556,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtended
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00205">205</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00207">207</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00206 {
-00207 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00208 {
-00209 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00210 {
-00211 <span class="keywordflow">return</span> i-&gt;params_when_off;
-00212 }
-00213 }
-00214 <span class="keywordflow">return</span> 0;
-00215 }
+<div class="fragment"><pre>00208 {
+00209 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00210 {
+00211 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00212 {
+00213 <span class="keywordflow">return</span> i-&gt;params_when_off;
+00214 }
+00215 }
+00216 <span class="keywordflow">return</span> 0;
+00217 }
</pre></div> </td>
</tr>
</table>
-<a name="a55" doxytag="modules.cpp::ModeDefinedOn"></a><p>
+<a name="a56" doxytag="modules.cpp::ModeDefinedOn"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -608,24 +610,24 @@ References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00192">192</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00194">194</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00193 {
-00194 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00195 {
-00196 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00197 {
-00198 <span class="keywordflow">return</span> i-&gt;params_when_on;
-00199 }
-00200 }
-00201 <span class="keywordflow">return</span> 0;
-00202 }
+<div class="fragment"><pre>00195 {
+00196 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00197 {
+00198 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00199 {
+00200 <span class="keywordflow">return</span> i-&gt;params_when_on;
+00201 }
+00202 }
+00203 <span class="keywordflow">return</span> 0;
+00204 }
</pre></div> </td>
</tr>
</table>
-<a name="a54" doxytag="modules.cpp::ModeDefinedOper"></a><p>
+<a name="a55" doxytag="modules.cpp::ModeDefinedOper"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -662,24 +664,24 @@ References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00179">179</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00181">181</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00180 {
-00181 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00182 {
-00183 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;needsoper == <span class="keyword">true</span>))
-00184 {
-00185 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00186 }
-00187 }
-00188 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00189 }
+<div class="fragment"><pre>00182 {
+00183 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00184 {
+00185 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;needsoper == <span class="keyword">true</span>))
+00186 {
+00187 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00188 }
+00189 }
+00190 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00191 }
</pre></div> </td>
</tr>
</table>
-<a name="a53" doxytag="modules.cpp::ModeIsListMode"></a><p>
+<a name="a54" doxytag="modules.cpp::ModeIsListMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -716,24 +718,24 @@ References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00167">167</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00169">169</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00168 {
-00169 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00170 {
-00171 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;list == <span class="keyword">true</span>))
-00172 {
-00173 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00174 }
-00175 }
-00176 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00177 }
+<div class="fragment"><pre>00170 {
+00171 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00172 {
+00173 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type) &amp;&amp; (i-&gt;list == <span class="keyword">true</span>))
+00174 {
+00175 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00176 }
+00177 }
+00178 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00179 }
</pre></div> </td>
</tr>
</table>
-<a name="a58" doxytag="modules.cpp::ModeMakeList"></a><p>
+<a name="a59" doxytag="modules.cpp::ModeMakeList"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -761,27 +763,27 @@ References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, and <
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00228">228</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00230">230</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00152">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00149">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
+References <a class="el" href="modules_8cpp-source.html#l00154">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00151">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddExtendedListMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00607">Server::AddExtendedListMode()</a>.
<p>
-<div class="fragment"><pre>00229 {
-00230 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a51">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a51">EMode</a>.end(); i++)
-00231 {
-00232 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>))
-00233 {
-00234 i-&gt;list = <span class="keyword">true</span>;
-00235 <span class="keywordflow">return</span>;
-00236 }
-00237 }
-00238 <span class="keywordflow">return</span>;
-00239 }
+<div class="fragment"><pre>00231 {
+00232 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#a52">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#a52">EMode</a>.end(); i++)
+00233 {
+00234 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == <a class="code" href="modules_8h.html#a5">MT_CHANNEL</a>))
+00235 {
+00236 i-&gt;list = <span class="keyword">true</span>;
+00237 <span class="keywordflow">return</span>;
+00238 }
+00239 }
+00240 <span class="keywordflow">return</span>;
+00241 }
</pre></div> </td>
</tr>
</table>
-<a name="a59" doxytag="modules.cpp::modules"></a><p>
+<a name="a60" doxytag="modules.cpp::modules"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -811,13 +813,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddEx
</tr>
</table>
<hr><h2>Variable Documentation</h2>
-<a name="a9" doxytag="modules.cpp::AdminEmail"></a><p>
+<a name="a10" doxytag="modules.cpp::AdminEmail"></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"> char <a class="el" href="modules_8cpp.html#a9">AdminEmail</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a10">AdminEmail</a>[MAXBUF]
</table>
</td>
</tr>
@@ -832,16 +834,16 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddEx
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a8" doxytag="modules.cpp::AdminName"></a><p>
+<a name="a9" doxytag="modules.cpp::AdminName"></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"> char <a class="el" href="modules_8cpp.html#a8">AdminName</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a9">AdminName</a>[MAXBUF]
</table>
</td>
</tr>
@@ -856,16 +858,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a10" doxytag="modules.cpp::AdminNick"></a><p>
+<a name="a11" doxytag="modules.cpp::AdminNick"></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"> char <a class="el" href="modules_8cpp.html#a10">AdminNick</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a11">AdminNick</a>[MAXBUF]
</table>
</td>
</tr>
@@ -880,16 +882,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a32" doxytag="modules.cpp::auth_cookies"></a><p>
+<a name="a33" doxytag="modules.cpp::auth_cookies"></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::vector&lt;long&gt; <a class="el" href="modules_8cpp.html#a32">auth_cookies</a>
+ <td class="md" nowrap valign="top"> std::vector&lt;long&gt; <a class="el" href="modules_8cpp.html#a33">auth_cookies</a>
</table>
</td>
</tr>
@@ -904,16 +906,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00083">83</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00111">111</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a27" doxytag="modules.cpp::boundPortCount"></a><p>
+<a name="a28" doxytag="modules.cpp::boundPortCount"></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"> int <a class="el" href="modules_8cpp.html#a27">boundPortCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a28">boundPortCount</a>
</table>
</td>
</tr>
@@ -928,16 +930,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a43" doxytag="modules.cpp::chanlist"></a><p>
+<a name="a44" doxytag="modules.cpp::chanlist"></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="modules_8cpp.html#a38">chan_hash</a> <a class="el" href="modules_8cpp.html#a43">chanlist</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a39">chan_hash</a> <a class="el" href="modules_8cpp.html#a44">chanlist</a>
</table>
</td>
</tr>
@@ -952,16 +954,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00126">126</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00128">128</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a42" doxytag="modules.cpp::clientlist"></a><p>
+<a name="a43" doxytag="modules.cpp::clientlist"></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="modules_8cpp.html#a37">user_hash</a> <a class="el" href="modules_8cpp.html#a42">clientlist</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a38">user_hash</a> <a class="el" href="modules_8cpp.html#a43">clientlist</a>
</table>
</td>
</tr>
@@ -976,16 +978,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00126">126</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00127">127</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a45" doxytag="modules.cpp::cmdlist"></a><p>
+<a name="a46" doxytag="modules.cpp::cmdlist"></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="modules_8cpp.html#a41">command_table</a> <a class="el" href="modules_8cpp.html#a45">cmdlist</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a42">command_table</a> <a class="el" href="modules_8cpp.html#a46">cmdlist</a>
</table>
</td>
</tr>
@@ -1000,10 +1002,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00125">125</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00128">128</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00130">130</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a33" doxytag="modules.cpp::config_f"></a><p>
+<a name="a34" doxytag="modules.cpp::config_f"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1024,16 +1026,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00128">128</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a18" doxytag="modules.cpp::debugging"></a><p>
+<a name="a19" doxytag="modules.cpp::debugging"></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"> int <a class="el" href="modules_8cpp.html#a18">debugging</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a19">debugging</a>
</table>
</td>
</tr>
@@ -1048,16 +1050,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00110">110</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a31" doxytag="modules.cpp::defaultRoute"></a><p>
+<a name="a32" doxytag="modules.cpp::defaultRoute"></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"> int <a class="el" href="modules_8cpp.html#a31">defaultRoute</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a32">defaultRoute</a>
</table>
</td>
</tr>
@@ -1072,16 +1074,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00109">109</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a21" doxytag="modules.cpp::DieDelay"></a><p>
+<a name="a22" doxytag="modules.cpp::DieDelay"></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"> int <a class="el" href="modules_8cpp.html#a21">DieDelay</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a22">DieDelay</a>
</table>
</td>
</tr>
@@ -1096,16 +1098,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a11" doxytag="modules.cpp::diepass"></a><p>
+<a name="a12" doxytag="modules.cpp::diepass"></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"> char <a class="el" href="modules_8cpp.html#a11">diepass</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a12">diepass</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1120,16 +1122,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a17" doxytag="modules.cpp::DieValue"></a><p>
+<a name="a18" doxytag="modules.cpp::DieValue"></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"> char <a class="el" href="modules_8cpp.html#a17">DieValue</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a18">DieValue</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1144,16 +1146,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00084">84</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00092">92</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a51" doxytag="modules.cpp::EMode"></a><p>
+<a name="a52" doxytag="modules.cpp::EMode"></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="modules_8cpp.html#a49">ExtModeList</a> <a class="el" href="modules_8cpp.html#a51">EMode</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a50">ExtModeList</a> <a class="el" href="modules_8cpp.html#a52">EMode</a>
</table>
</td>
</tr>
@@ -1168,9 +1170,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00152">152</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00154">154</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00155">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00205">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00192">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00179">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00167">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00228">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00220">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00157">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00207">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00194">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00181">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00169">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00230">ModeMakeList()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.cpp::factory"></a><p>
@@ -1197,13 +1199,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00218">DoAddExtended
Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a36" doxytag="modules.cpp::fd_ref_table"></a><p>
+<a name="a37" doxytag="modules.cpp::fd_ref_table"></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="classuserrec.html">userrec</a>* <a class="el" href="modules_8cpp.html#a36">fd_ref_table</a>[65536]
+ <td class="md" nowrap valign="top"> <a class="el" href="classuserrec.html">userrec</a>* <a class="el" href="modules_8cpp.html#a37">fd_ref_table</a>[65536]
</table>
</td>
</tr>
@@ -1218,18 +1220,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00073">73</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00118">118</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00535">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00649">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00537">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00651">Server::PseudoToUser()</a>. </td>
</tr>
</table>
-<a name="a48" doxytag="modules.cpp::IP"></a><p>
+<a name="a3" doxytag="modules.cpp::include_stack"></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="modules_8cpp.html#a39">address_cache</a> <a class="el" href="modules_8cpp.html#a48">IP</a>
+ <td class="md" nowrap valign="top"> std::vector&lt;std::string&gt; <a class="el" href="modules_8cpp.html#a3">include_stack</a>
</table>
</td>
</tr>
@@ -1244,16 +1246,18 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00535">Server::FindD
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00131">131</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader::ConfigReader()</a>. </td>
</tr>
</table>
-<a name="a15" doxytag="modules.cpp::list"></a><p>
+<a name="a49" doxytag="modules.cpp::IP"></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"> char <a class="el" href="modules_8cpp.html#a15">list</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a40">address_cache</a> <a class="el" href="modules_8cpp.html#a49">IP</a>
</table>
</td>
</tr>
@@ -1268,16 +1272,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00131">131</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00133">133</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a35" doxytag="modules.cpp::log_file"></a><p>
+<a name="a16" doxytag="modules.cpp::list"></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"> FILE* <a class="el" href="modules_8cpp.html#a35">log_file</a>
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a16">list</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1292,16 +1296,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00090">90</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a4" doxytag="modules.cpp::LogLevel"></a><p>
+<a name="a36" doxytag="modules.cpp::log_file"></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"> int <a class="el" href="modules_8cpp.html#a4">LogLevel</a>
+ <td class="md" nowrap valign="top"> FILE* <a class="el" href="modules_8cpp.html#a36">log_file</a>
</table>
</td>
</tr>
@@ -1316,16 +1320,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00116">116</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a24" doxytag="modules.cpp::MaxWhoResults"></a><p>
+<a name="a5" doxytag="modules.cpp::LogLevel"></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"> int <a class="el" href="modules_8cpp.html#a24">MaxWhoResults</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a5">LogLevel</a>
</table>
</td>
</tr>
@@ -1340,10 +1344,34 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a34" doxytag="modules.cpp::me"></a><p>
+<a name="a25" doxytag="modules.cpp::MaxWhoResults"></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"> int <a class="el" href="modules_8cpp.html#a25">MaxWhoResults</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="modules_8cpp-source.html#l00100">100</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a35" doxytag="modules.cpp::me"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1364,7 +1392,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00114">114</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a0" doxytag="modules.cpp::MODCOUNT"></a><p>
@@ -1388,16 +1416,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00112">112</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l01019">1019</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a26" doxytag="modules.cpp::module_names"></a><p>
+<a name="a27" doxytag="modules.cpp::module_names"></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::vector&lt;std::string&gt; <a class="el" href="modules_8cpp.html#a26">module_names</a>
+ <td class="md" nowrap valign="top"> std::vector&lt;std::string&gt; <a class="el" href="modules_8cpp.html#a27">module_names</a>
</table>
</td>
</tr>
@@ -1412,7 +1440,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l01016">1016</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a1" doxytag="modules.cpp::modules"></a><p>
@@ -1439,13 +1467,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a>
Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a46" doxytag="modules.cpp::MOTD"></a><p>
+<a name="a47" doxytag="modules.cpp::MOTD"></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="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a46">MOTD</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a47">MOTD</a>
</table>
</td>
</tr>
@@ -1460,16 +1488,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00072">72</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00131">131</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a13" doxytag="modules.cpp::motd"></a><p>
+<a name="a14" doxytag="modules.cpp::motd"></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"> char <a class="el" href="modules_8cpp.html#a13">motd</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a14">motd</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1484,16 +1512,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00088">88</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a25" doxytag="modules.cpp::nb_start"></a><p>
+<a name="a26" doxytag="modules.cpp::nb_start"></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"> time_t <a class="el" href="modules_8cpp.html#a25">nb_start</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a26">nb_start</a>
</table>
</td>
</tr>
@@ -1508,16 +1536,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00086">86</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00101">101</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a23" doxytag="modules.cpp::NetBufferSize"></a><p>
+<a name="a24" doxytag="modules.cpp::NetBufferSize"></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"> int <a class="el" href="modules_8cpp.html#a23">NetBufferSize</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a24">NetBufferSize</a>
</table>
</td>
</tr>
@@ -1532,16 +1560,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00099">99</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a6" doxytag="modules.cpp::Network"></a><p>
+<a name="a7" doxytag="modules.cpp::Network"></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"> char <a class="el" href="modules_8cpp.html#a6">Network</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a7">Network</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1556,16 +1584,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00097">97</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00081">81</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a28" doxytag="modules.cpp::portCount"></a><p>
+<a name="a29" doxytag="modules.cpp::portCount"></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"> int <a class="el" href="modules_8cpp.html#a28">portCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a29">portCount</a>
</table>
</td>
</tr>
@@ -1580,16 +1608,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00079">79</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a30" doxytag="modules.cpp::ports"></a><p>
+<a name="a31" doxytag="modules.cpp::ports"></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"> int <a class="el" href="modules_8cpp.html#a30">ports</a>[MAXSOCKS]
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a31">ports</a>[MAXSOCKS]
</table>
</td>
</tr>
@@ -1604,16 +1632,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00104">104</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00108">108</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a16" doxytag="modules.cpp::PrefixQuit"></a><p>
+<a name="a17" doxytag="modules.cpp::PrefixQuit"></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"> char <a class="el" href="modules_8cpp.html#a16">PrefixQuit</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a17">PrefixQuit</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1628,16 +1656,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00106">106</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00091">91</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a12" doxytag="modules.cpp::restartpass"></a><p>
+<a name="a13" doxytag="modules.cpp::restartpass"></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"> char <a class="el" href="modules_8cpp.html#a12">restartpass</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a13">restartpass</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1652,16 +1680,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a47" doxytag="modules.cpp::RULES"></a><p>
+<a name="a48" doxytag="modules.cpp::RULES"></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="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a47">RULES</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a31">file_cache</a> <a class="el" href="modules_8cpp.html#a48">RULES</a>
</table>
</td>
</tr>
@@ -1676,16 +1704,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00085">85</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00130">130</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00132">132</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a14" doxytag="modules.cpp::rules"></a><p>
+<a name="a15" doxytag="modules.cpp::rules"></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"> char <a class="el" href="modules_8cpp.html#a14">rules</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a15">rules</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1700,16 +1728,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00130">130</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00089">89</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a7" doxytag="modules.cpp::ServerDesc"></a><p>
+<a name="a8" doxytag="modules.cpp::ServerDesc"></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"> char <a class="el" href="modules_8cpp.html#a7">ServerDesc</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="modules_8cpp.html#a8">ServerDesc</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1724,16 +1752,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a5" doxytag="modules.cpp::ServerName"></a><p>
+<a name="a6" doxytag="modules.cpp::ServerName"></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"> char <a class="el" href="modules_8cpp.html#a5">ServerName</a>[MAXBUF]
+ <td class="md" nowrap valign="top"> char <a class="el" href="users_8cpp.html#a1">ServerName</a>[MAXBUF]
</table>
</td>
</tr>
@@ -1748,16 +1776,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00078">78</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00080">80</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a29" doxytag="modules.cpp::SERVERportCount"></a><p>
+<a name="a30" doxytag="modules.cpp::SERVERportCount"></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"> int <a class="el" href="modules_8cpp.html#a29">SERVERportCount</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a30">SERVERportCount</a>
</table>
</td>
</tr>
@@ -1772,16 +1800,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00078">78</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00107">107</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a22" doxytag="modules.cpp::startup_time"></a><p>
+<a name="a23" doxytag="modules.cpp::startup_time"></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"> time_t <a class="el" href="modules_8cpp.html#a22">startup_time</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="modules_8cpp.html#a23">startup_time</a>
</table>
</td>
</tr>
@@ -1796,16 +1824,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00105">105</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00098">98</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a3" doxytag="modules.cpp::TIME"></a><p>
+<a name="a4" doxytag="modules.cpp::TIME"></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"> time_t <a class="el" href="users_8cpp.html#a1">TIME</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a2">TIME</a>
</table>
</td>
</tr>
@@ -1820,16 +1848,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a44" doxytag="modules.cpp::whowas"></a><p>
+<a name="a45" doxytag="modules.cpp::whowas"></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="modules_8cpp.html#a40">whowas_hash</a> <a class="el" href="modules_8cpp.html#a44">whowas</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="modules_8cpp.html#a41">whowas_hash</a> <a class="el" href="modules_8cpp.html#a45">whowas</a>
</table>
</td>
</tr>
@@ -1844,16 +1872,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00075">75</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00127">127</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00129">129</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a20" doxytag="modules.cpp::WHOWAS_MAX"></a><p>
+<a name="a21" doxytag="modules.cpp::WHOWAS_MAX"></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"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_MAX</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a21">WHOWAS_MAX</a>
</table>
</td>
</tr>
@@ -1868,16 +1896,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00127">127</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00096">96</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a19" doxytag="modules.cpp::WHOWAS_STALE"></a><p>
+<a name="a20" doxytag="modules.cpp::WHOWAS_STALE"></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"> int <a class="el" href="modules_8cpp.html#a19">WHOWAS_STALE</a>
+ <td class="md" nowrap valign="top"> int <a class="el" href="modules_8cpp.html#a20">WHOWAS_STALE</a>
</table>
</td>
</tr>
@@ -1892,10 +1920,10 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00094">94</a> o
<p>
<p>
-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>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</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 Wed May 25 22:02:33 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:04 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__incl.gif b/docs/module-doc/modules_8cpp__incl.gif
index b041fb6b8..f603ade24 100644
--- a/docs/module-doc/modules_8cpp__incl.gif
+++ b/docs/module-doc/modules_8cpp__incl.gif
Binary files differ
diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index e73c3c739..9e01f90aa 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 Wed May 25 22:02:05 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/modules_8h.html b/docs/module-doc/modules_8h.html
index 1cb2966a1..872327ad6 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -404,7 +404,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00039">39</a> of
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00037">37</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#l00325">Module::OnAccessCheck()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnAccessCheck()</a>. </td>
</tr>
</table>
<a name="a9" doxytag="modules.h::ACR_DENY"></a><p>
@@ -454,7 +454,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01141">1141</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#l00819">ConfigReader::ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00821">ConfigReader::ConfigReader()</a>. </td>
</tr>
</table>
<a name="a27" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p>
@@ -480,7 +480,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00819">ConfigReader:
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01138">1138</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#l00880">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00883">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a name="a28" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p>
@@ -506,7 +506,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00880">ConfigReader:
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01139">1139</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#l00880">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00883">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a name="a29" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p>
@@ -532,7 +532,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00880">ConfigReader:
<p>
Definition at line <a class="el" href="modules_8h-source.html#l01140">1140</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#l00863">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00880">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00847">ConfigReader::ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00866">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00883">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00850">ConfigReader::ReadValue()</a>. </td>
</tr>
</table>
<a name="a0" doxytag="modules.h::DEBUG"></a><p>
@@ -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#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>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00579">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#l00140">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00175">chanrec::IsCustomModeSet()</a>, <a class="el" href="servers_8cpp-source.html#l00445">serverrec::RecvPacket()</a>, <a class="el" href="users_8cpp-source.html#l00118">userrec::RemoveInvite()</a>, <a class="el" href="servers_8cpp-source.html#l00350">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#l00286">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.h::DEFAULT"></a><p>
@@ -608,7 +608,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00099">99</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#l00649">Server::PseudoToUser()</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#l00651">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00621">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p>
@@ -634,7 +634,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00649">Server::Pseud
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00079">79</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#l00290">Event::Send()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00292">Event::Send()</a>. </td>
</tr>
</table>
<a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p>
@@ -698,7 +698,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00087">87</a> of
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00031">31</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#l00605">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00228">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00607">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00230">ModeMakeList()</a>. </td>
</tr>
</table>
<a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
@@ -724,7 +724,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00605">Server::AddEx
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00032">32</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>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
@@ -750,7 +750,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::AddEx
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00033">33</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>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00579">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="modules.h::NONE"></a><p>
@@ -920,7 +920,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00054">54</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#l00316">Module::GetVersion()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00318">Module::GetVersion()</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@@ -949,7 +949,7 @@ Holds a list of users in a channel.
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00072">72</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#l00400">Server::GetUsers()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::GetUsers()</a>. </td>
</tr>
</table>
<a name="a31" doxytag="modules.h::file_cache"></a><p>
@@ -977,7 +977,7 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00067">67</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#l00965">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00976">FileReader::LoadFile()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00968">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00979">FileReader::LoadFile()</a>. </td>
</tr>
</table>
<a name="a34" doxytag="modules.h::ircd_module"></a><p>
@@ -1027,7 +1027,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01307">1307</a> o
<p>
Definition at line <a class="el" href="modules_8h-source.html#l00068">68</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#l00327">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00326">Module::OnUserSync()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00329">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00328">Module::OnUserSync()</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
@@ -1086,7 +1086,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00327">Module::OnCha
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00437">Server::AddCommand()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00439">Server::AddCommand()</a>. </td>
</tr>
</table>
<a name="a36" doxytag="modules.h::server_mode"></a><p>
@@ -1132,10 +1132,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00437">Server::AddCo
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00442">Server::SendMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00444">Server::SendMode()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/namespaceirc.html b/docs/module-doc/namespaceirc.html
index e60cd6356..47f0d4f5b 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 Wed May 25 22:03:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/namespacemembers.html b/docs/module-doc/namespacemembers.html
index 20d41958d..6f45cfcc7 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html
index ca5bbac62..73b7d247d 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/namespacenspace.html b/docs/module-doc/namespacenspace.html
index e0e274198..af8ef2b4b 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 8d103848c..3d097df49 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 Wed May 25 22:03:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/namespacestd.html b/docs/module-doc/namespacestd.html
index 956df240e..0224b440b 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 7b6994181..297f887fa 100644
--- a/docs/module-doc/servers_8cpp-source.html
+++ b/docs/module-doc/servers_8cpp-source.html
@@ -262,279 +262,312 @@
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))
+00258 <span class="keywordtype">int</span> c = 0;
+00259 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++)
+00260 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00261 {
+00262 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00263 {
+00264 <span class="keywordflow">if</span> ((<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == servername) &amp;&amp; (<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00265 {
+00266 c++;
+00267 }
+00268 }
+00269 }
+00270 <span class="keywordflow">return</span> (c != 0);
+00271 }
+00272
+00273
+<a name="l00274"></a><a class="code" href="classserverrec.html#a11">00274</a> <span class="keywordtype">void</span> <a class="code" href="classserverrec.html#a11">serverrec::FlushWriteBuffers</a>()
+00275 {
+00276 <span class="keywordtype">char</span> buffer[MAXBUF];
+00277 <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++)
+00278 {
+00279 <span class="comment">// don't try and ping a NOAUTH_OUTBOUND state, its not authed yet!</span>
+00280 <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))
+00281 {
+00282 <span class="comment">// however if we reach this timer its connected timed out :)</span>
+00283 WriteOpers(<span class="stringliteral">"*** Connection to %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00284 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00285 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00286 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00287 <span class="keywordflow">return</span>;
+00288 }
+00289 <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))
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 <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;
+00291 WriteOpers(<span class="stringliteral">"*** Connection from %s timed out"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00292 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00293 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00294 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00295 <span class="keywordflow">return</span>;
+00296 }
+00297 <span class="keywordflow">if</span> (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>)
+00298 {
+00299 <span class="keywordflow">if</span> (!this-&gt;connectors[i].CheckPing())
+00300 {
+00301 WriteOpers(<span class="stringliteral">"*** Lost single connection to %s: Ping timeout"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00302 this-&gt;connectors[i].CloseConnection();
+00303 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00304 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00305 {
+00306 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00307 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00308 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00309 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00310 }
+00311 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00312 }
+00313 }
+00314 <span class="keywordflow">if</span> ((this-&gt;connectors[i].GetWriteError() !=<span class="stringliteral">""</span>) &amp;&amp; (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00315 {
+00316 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00317 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());
+00318 this-&gt;connectors[i].CloseConnection();
+00319 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00320 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00321 {
+00322 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00323 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00324 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00325 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00326 }
+00327 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00328 }
+00329 <span class="keywordflow">if</span> ((this-&gt;connectors[i].HasBufferedOutput()) &amp;&amp; (this-&gt;connectors[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00330 {
+00331 <span class="keywordflow">if</span> (!this-&gt;connectors[i].FlushWriteBuf())
+00332 {
+00333 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00334 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());
+00335 this-&gt;connectors[i].CloseConnection();
+00336 this-&gt;connectors[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00337 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00338 {
+00339 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00340 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00341 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00342 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00343 }
+00344 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00345 }
+00346 }
+00347 }
+00348 }
+00349
+<a name="l00350"></a><a class="code" href="classserverrec.html#a7">00350</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)
+00351 {
+00352 <span class="keywordflow">if</span> ((!message) || (!sendhost))
+00353 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00354
+00355 <a class="code" href="classircd__connector.html">ircd_connector</a>* cn = this-&gt;<a class="code" href="classserverrec.html#a9">FindHost</a>(sendhost);
+00356
+00357 <span class="keywordflow">if</span> (!strchr(message,<span class="charliteral">'\n'</span>))
+00358 {
+00359 strlcat(message,<span class="stringliteral">"\n"</span>,MAXBUF);
+00360 }
+00361
+00362 <span class="keywordflow">if</span> (cn)
+00363 {
+00364 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());
+00365
+00366 <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>)
+00367 {
+00368 <span class="comment">// fix: can only route one hop to avoid a loop</span>
+00369 <span class="keywordflow">if</span> (strncmp(message,<span class="stringliteral">"R "</span>,2))
+00370 {
+00371 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Not a double reroute"</span>);
+00372 <span class="comment">// this route is down, we must re-route the packet through an available point in the mesh.</span>
+00373 <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++)
+00374 {
+00375 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());
+00376 <span class="comment">// search for another point in the mesh which can 'reach' where we want to go</span>
+00377 <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++)
+00378 {
+00379 <span class="keywordflow">if</span> (!strcasecmp(this-&gt;connectors[k].routes[m].c_str(),sendhost))
+00380 {
+00381 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());
+00382 <span class="keywordtype">char</span> buffer[MAXBUF];
+00383 snprintf(buffer,MAXBUF,<span class="stringliteral">"R %s %s"</span>,sendhost,message);
+00384 this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(buffer,this-&gt;connectors[k].GetServerName().c_str());
+00385 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00386 }
+00387 }
+00388 }
+00389 }
+00390 <span class="keywordtype">char</span> buffer[MAXBUF];
+00391 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,sendhost);
+00392 WriteOpers(<span class="stringliteral">"*** All connections to %s lost."</span>,sendhost);
+00393 NetSendToAllExcept(sendhost,buffer);
+00394 DoSplit(sendhost);
+00395 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00396 }
+00397
+00398 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00399 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a21">AddWriteBuf</a>(message))
+00400 {
+00401 <span class="comment">// if we're here, there was an error pending, and the send cannot proceed</span>
+00402 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());
+00403 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());
+00404 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00405 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00406 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());
+00407 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed (bugfix)</span>
+00408 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00409 }
+00410 <span class="keywordflow">if</span> (!cn-&gt;<a class="code" href="classircd__connector.html#a22">FlushWriteBuf</a>())
+00411 {
+00412 <span class="comment">// if we're here the write() caused an error, we cannot proceed</span>
+00413 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());
+00414 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());
+00415 cn-&gt;<a class="code" href="classircd__connector.html#a14">CloseConnection</a>();
+00416 cn-&gt;<a class="code" href="classircd__connector.html#a7">SetState</a>(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00417 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());
+00418 <span class="comment">// retry the packet along a new route so either arrival OR failure are gauranteed</span>
+00419 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classserverrec.html#a7">SendPacket</a>(message,sendhost);
+00420 }
+00421 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00422 }
+00423 }
+00424
+<a name="l00425"></a><a class="code" href="servers_8cpp.html#a6">00425</a> <span class="keywordtype">bool</span> <a class="code" href="servers_8cpp.html#a6">already_have_sum</a>(std::string sum)
+00426 {
+00427 <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++)
+00428 {
+00429 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00430 {
+00431 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00432 }
+00433 }
+00434 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00435 {
+00436 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00437 }
+00438 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00439 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00440 }
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())
+00442 <span class="comment">// receives a packet from any where there is data waiting, first come, first served</span>
+00443 <span class="comment">// fills the message and host values with the host where the data came from.</span>
+00444
+<a name="l00445"></a><a class="code" href="classserverrec.html#a8">00445</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)
+00446 {
+00447 <span class="keywordtype">char</span> data[65536],buffer[MAXBUF];
+00448 memset(data, 0, 65536);
+00449 <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++)
+00450 {
+00451 <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>)
+00452 {
+00453 <span class="comment">// returns false if the packet could not be sent (e.g. target host down)</span>
+00454 <span class="keywordtype">int</span> rcvsize = 0;
+00455
+00456 <span class="comment">// check if theres any data on this socket</span>
+00457 <span class="comment">// if not, continue onwards to the next.</span>
+00458 pollfd polls;
+00459 polls.fd = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetDescriptor();
+00460 polls.events = POLLIN;
+00461 <span class="keywordtype">int</span> ret = poll(&amp;polls,1,1);
+00462 <span class="keywordflow">if</span> (ret &lt;= 0) <span class="keywordflow">continue</span>;
+00463
+00464 rcvsize = recv(this-&gt;connectors[i].GetDescriptor(),data,65000,0);
+00465 data[rcvsize] = <span class="charliteral">'\0'</span>;
+00466 <span class="keywordflow">if</span> (rcvsize == 0)
+00467 {
+00468 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): EOF"</span>);
+00469 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());
+00470 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00471 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00472 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00473 {
+00474 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting (EOF)"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00475 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00476 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00477 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00478 }
+00479 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00480 }
+00481 <span class="keywordflow">if</span> (rcvsize == -1)
+00482 {
+00483 <span class="keywordflow">if</span> (errno != EAGAIN)
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 22:02:05 2005 for InspIRCd by
+00485 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"recv() failed for serverrec::RecvPacket(): %s"</span>,strerror(errno));
+00486 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());
+00487 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00488 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00489 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00490 {
+00491 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00492 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00493 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00494 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00495 }
+00496 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00497 }
+00498 }
+00499 <span class="keywordtype">int</span> pushed = 0;
+00500 <span class="keywordflow">if</span> (rcvsize &gt; 0)
+00501 {
+00502 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].AddBuffer(data))
+00503 {
+00504 WriteOpers(<span class="stringliteral">"*** Read buffer for %s exceeds maximum, closing connection!"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00505 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].CloseConnection();
+00506 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].SetState(<a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>);
+00507 <span class="keywordflow">if</span> (!<a class="code" href="servers_8cpp.html#a5">IsRoutable</a>(this-&gt;connectors[i].GetServerName()))
+00508 {
+00509 WriteOpers(<span class="stringliteral">"*** Server %s is no longer routable, disconnecting."</span>,this-&gt;connectors[i].GetServerName().c_str());
+00510 snprintf(buffer,MAXBUF,<span class="stringliteral">"&amp; %s"</span>,this-&gt;connectors[i].GetServerName().c_str());
+00511 NetSendToAllExcept(this-&gt;connectors[i].GetServerName().c_str(),buffer);
+00512 DoSplit(this-&gt;connectors[i].GetServerName().c_str());
+00513 }
+00514 <a class="code" href="servers_8cpp.html#a3">has_been_netsplit</a> = <span class="keyword">true</span>;
+00515 }
+00516 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00517 {
+00518 this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].ResetPing();
+00519 <span class="keywordflow">while</span> (this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].BufferIsComplete())
+00520 {
+00521 std::string text = this-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetBuffer();
+00522 <span class="keywordflow">if</span> (text != <span class="stringliteral">""</span>)
+00523 {
+00524 <span class="keywordflow">if</span> ((text[0] == <span class="charliteral">':'</span>) &amp;&amp; (text.find(<span class="stringliteral">" "</span>) != std::string::npos))
+00525 {
+00526 std::string orig = text;
+00527 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Original: %s"</span>,text.c_str());
+00528 std::string sum = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00529 text = text.substr(text.find(<span class="stringliteral">" "</span>)+1,text.length());
+00530 std::string possible_token = text.substr(1,text.find(<span class="stringliteral">" "</span>)-1);
+00531 <span class="keywordflow">if</span> (possible_token.length() &gt; 1)
+00532 {
+00533 sums.push_back(<span class="stringliteral">"*"</span>);
+00534 text = orig;
+00535 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Non-mesh, non-tokenized string passed up the chain"</span>);
+00536 }
+00537 <span class="keywordflow">else</span>
+00538 {
+00539 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Packet sum: '%s'"</span>,sum.c_str());
+00540 <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>))
+00541 {
+00542 <span class="comment">// we don't accept dupes</span>
+00543 <span class="keywordflow">continue</span>;
+00544 }
+00545 sums.push_back(sum.c_str());
+00546 }
+00547 }
+00548 <span class="keywordflow">else</span> sums.push_back(<span class="stringliteral">"*"</span>);
+00549 messages.push_back(text.c_str());
+00550 strlcpy(recvhost,this-&gt;connectors[i].GetServerName().c_str(),160);
+00551 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());
+00552 }
+00553 }
+00554 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00555 }
+00556 }
+00557 }
+00558 }
+00559 <span class="comment">// nothing new yet -- message and host will be undefined</span>
+00560 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00561 }
+00562
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/servers_8cpp.html b/docs/module-doc/servers_8cpp.html
index 34ef6fb52..f13acac36 100644
--- a/docs/module-doc/servers_8cpp.html
+++ b/docs/module-doc/servers_8cpp.html
@@ -79,27 +79,27 @@ 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#l00411">411</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#l00425">425</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
References <a class="el" href="servers_8cpp-source.html#l00044">xsums</a>.
<p>
-Referenced by <a class="el" href="servers_8cpp-source.html#l00431">serverrec::RecvPacket()</a>.
+Referenced by <a class="el" href="servers_8cpp-source.html#l00445">serverrec::RecvPacket()</a>.
<p>
-<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 }
+<div class="fragment"><pre>00426 {
+00427 <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++)
+00428 {
+00429 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>[i] == sum)
+00430 {
+00431 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00432 }
+00433 }
+00434 <span class="keywordflow">if</span> (<a class="code" href="servers_8cpp.html#a4">xsums</a>.size() &gt;= 128)
+00435 {
+00436 <a class="code" href="servers_8cpp.html#a4">xsums</a>.pop_front();
+00437 }
+00438 <a class="code" href="servers_8cpp.html#a4">xsums</a>.push_back(sum);
+00439 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00440 }
</pre></div> </td>
</tr>
</table>
@@ -133,35 +133,25 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00431">serverrec::Re
<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>.
+References <a class="el" href="servers_8h-source.html#l00081">serverrec::connectors</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>.
+Referenced by <a class="el" href="servers_8cpp-source.html#l00274">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00445">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 }
+00258 <span class="keywordtype">int</span> c = 0;
+00259 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x &lt; 32; x++)
+00260 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a34">me</a>[x])
+00261 {
+00262 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>.size(); i++)
+00263 {
+00264 <span class="keywordflow">if</span> ((<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetServerName() == servername) &amp;&amp; (<a class="code" href="channels_8cpp.html#a34">me</a>[x]-&gt;<a class="code" href="classserverrec.html#o11">connectors</a>[i].GetState() != <a class="code" href="connection_8h.html#a0">STATE_DISCONNECTED</a>))
+00265 {
+00266 c++;
+00267 }
+00268 }
+00269 }
+00270 <span class="keywordflow">return</span> (c != 0);
+00271 }
</pre></div> </td>
</tr>
</table>
@@ -189,7 +179,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00284">serverrec::Fl
<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>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00274">serverrec::FlushWriteBuffers()</a>, and <a class="el" href="servers_8cpp-source.html#l00445">serverrec::RecvPacket()</a>. </td>
</tr>
</table>
<a name="a1" doxytag="servers.cpp::MaxConn"></a><p>
@@ -248,7 +238,7 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00040">40</a> o
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a1">TIME</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a2">TIME</a>
</table>
</td>
</tr>
@@ -289,10 +279,10 @@ Definition at line <a class="el" href="servers_8cpp-source.html#l00037">37</a> o
<p>
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#l00411">already_have_sum()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00425">already_have_sum()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:38 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/servers_8h-source.html b/docs/module-doc/servers_8h-source.html
index 581826f44..fcd6e5a65 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 Wed May 25 22:02:05 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/servers_8h.html b/docs/module-doc/servers_8h.html
index f24199749..116bd61c4 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 Wed May 25 22:02:39 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
index de88c9851..9465068a3 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 Wed May 25 22:02:57 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:48 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 df67f051a..2a6f35905 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 Wed May 25 22:02:57 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16:48 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 3a9644c7a..d40f6bf76 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 Wed May 25 22:03:34 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html
index d60232d77..f288df35a 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 Wed May 25 22:03:34 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17: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/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html
index cee147926..55f519ec1 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 Wed May 25 22:03:35 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 ca40b2195..f6bedcead 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 abf038bf5..2d267f7c9 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 Wed May 25 22:03:35 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 d3d3816bd..99c7ad995 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 a8ee41044..490602a5f 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 Wed May 25 22:03:35 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 06ae258ac..40bf44d09 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 bfc86b822..9501b6c61 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 Wed May 25 22:03:35 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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 8f18e021c..b5995ec50 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 Wed May 25 22:03:35 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:17:50 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/tree.html b/docs/module-doc/tree.html
index 3eccb6439..cab4f4129 100644
--- a/docs/module-doc/tree.html
+++ b/docs/module-doc/tree.html
@@ -135,6 +135,7 @@
<div id="folder2">
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classAdmin.html" target="basefrm">Admin</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBanItem.html" target="basefrm">BanItem</a></p>
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBoolSet.html" target="basefrm">BoolSet</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classchanrec.html" target="basefrm">chanrec</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classstd_1_1char__traits.html" target="basefrm">char_traits</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classclassbase.html" target="basefrm">classbase</a></p>
@@ -178,6 +179,7 @@
</div>
<p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder3', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p>
<div id="folder3">
+ <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classBoolSet.html" target="basefrm">BoolSet</a></p>
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="classstd_1_1char__traits.html" target="basefrm">char_traits</a></p>
<div id="folder4">
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="structirc_1_1irc__char__traits.html" target="basefrm">irc::irc_char_traits</a></p>
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 05cc3cd9a..95ca9e0b8 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -32,32 +32,32 @@
00025 <span class="preprocessor">#include "helperfuncs.h"</span>
00026
<a name="l00027"></a><a class="code" href="users_8cpp.html#a0">00027</a> <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#a33">config_f</a>;
-00028
-<a name="l00029"></a><a class="code" href="users_8cpp.html#a1">00029</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00030
-<a name="l00031"></a><a class="code" href="classuserrec.html#a0">00031</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>()
-00032 {
-00033 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
-00034 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>);
-00035 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
-00036 <a class="code" href="classuserrec.html#o10">timeout</a> = 0;
-00037 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>);
-00038 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>);
-00039 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>);
-00040 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>);
-00041 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>);
-00042 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>);
-00043 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>);
-00044 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>);
-00045 <a class="code" href="classuserrec.html#o18">reset_due</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
-00046 <a class="code" href="classuserrec.html#o17">lines_in</a> = 0;
-00047 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0;
-00048 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0;
-00049 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>;
-00050 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
-00051 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
-00052 <a class="code" href="classuserrec.html#o16">sendq</a> = <span class="stringliteral">""</span>;
-00053 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>);
+<a name="l00028"></a><a class="code" href="users_8cpp.html#a1">00028</a> <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#a5">ServerName</a>[MAXBUF];
+00029
+<a name="l00030"></a><a class="code" href="users_8cpp.html#a2">00030</a> <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00031
+<a name="l00032"></a><a class="code" href="classuserrec.html#a0">00032</a> <a class="code" href="classuserrec.html#a0">userrec::userrec</a>()
+00033 {
+00034 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
+00035 strcpy(<a class="code" href="classuserrec.html#o0">nick</a>,<span class="stringliteral">""</span>);
+00036 strcpy(<a class="code" href="classconnection.html#o2">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
+00037 <a class="code" href="classuserrec.html#o9">timeout</a> = 0;
+00038 strcpy(<a class="code" href="classuserrec.html#o1">ident</a>,<span class="stringliteral">""</span>);
+00039 strcpy(<a class="code" href="classconnection.html#o1">host</a>,<span class="stringliteral">""</span>);
+00040 strcpy(<a class="code" href="classuserrec.html#o2">dhost</a>,<span class="stringliteral">""</span>);
+00041 strcpy(<a class="code" href="classuserrec.html#o3">fullname</a>,<span class="stringliteral">""</span>);
+00042 strcpy(<a class="code" href="classuserrec.html#o4">modes</a>,<span class="stringliteral">""</span>);
+00043 <a class="code" href="classuserrec.html#o6">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(<a class="code" href="channels_8cpp.html#a5">ServerName</a>);
+00044 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>);
+00045 strcpy(<a class="code" href="classuserrec.html#o10">oper</a>,<span class="stringliteral">""</span>);
+00046 <a class="code" href="classuserrec.html#o17">reset_due</a> = <a class="code" href="channels_8cpp.html#a36">TIME</a>;
+00047 <a class="code" href="classuserrec.html#o16">lines_in</a> = 0;
+00048 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o10">lastping</a> = <a class="code" href="classconnection.html#o11">signon</a> = <a class="code" href="classconnection.html#o12">idle_lastmsg</a> = <a class="code" href="classconnection.html#o13">nping</a> = <a class="code" href="classconnection.html#o9">registered</a> = 0;
+00049 <a class="code" href="classuserrec.html#o8">flood</a> = <a class="code" href="classconnection.html#o8">port</a> = <a class="code" href="classconnection.html#o3">bytes_in</a> = <a class="code" href="classconnection.html#o4">bytes_out</a> = <a class="code" href="classconnection.html#o5">cmds_in</a> = <a class="code" href="classconnection.html#o6">cmds_out</a> = 0;
+00050 <a class="code" href="classconnection.html#o7">haspassed</a> = <span class="keyword">false</span>;
+00051 <a class="code" href="classuserrec.html#o11">dns_done</a> = <span class="keyword">false</span>;
+00052 <a class="code" href="classuserrec.html#o14">recvq</a> = <span class="stringliteral">""</span>;
+00053 <a class="code" href="classuserrec.html#o15">sendq</a> = <span class="stringliteral">""</span>;
00054 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
00055 {
00056 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
@@ -74,233 +74,235 @@
00067
<a name="l00068"></a><a class="code" href="classuserrec.html#a2">00068</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
00069 {
-00070 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>);
-00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00072 }
-00073
-<a name="l00074"></a><a class="code" href="classuserrec.html#a8">00074</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#a8">userrec::ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size)
-00075 {
-00076 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a> &gt; -1)
-00077 {
-00078 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
-00079 }
-00080 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
-00081 }
-00082
+00070 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
+00071 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classuserrec.html#o2">dhost</a>);
+00072 <span class="keywordflow">return</span> result;
+00073 }
+00074
+<a name="l00075"></a><a class="code" href="classuserrec.html#a8">00075</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#a8">userrec::ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size)
+00076 {
+00077 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classconnection.html#o0">fd</a> &gt; -1)
+00078 {
+00079 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
+00080 }
+00081 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
+00082 }
00083
-<a name="l00084"></a><a class="code" href="classuserrec.html#a3">00084</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
-00085 {
-00086 snprintf(<a class="code" href="classuserrec.html#o8">result</a>,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>);
-00087 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00088 }
-00089
-<a name="l00090"></a><a class="code" href="classuserrec.html#a4">00090</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
-00091 {
-00092 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00093 {
-00094 <span class="keywordflow">if</span> (i-&gt;channel) {
-00095 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00096 {
-00097 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00098 }
-00099 }
-00100 }
-00101 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00102 }
-00103
-<a name="l00104"></a><a class="code" href="classuserrec.html#a17">00104</a> <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a17">userrec::GetInviteList</a>()
-00105 {
-00106 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#r0">invites</a>;
-00107 }
-00108
-<a name="l00109"></a><a class="code" href="classuserrec.html#a5">00109</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
-00110 {
-00111 <a class="code" href="classInvited.html">Invited</a> i;
-00112 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
-00113 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
-00114 }
-00115
-<a name="l00116"></a><a class="code" href="classuserrec.html#a6">00116</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
-00117 {
-00118 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
-00119 <span class="keywordflow">if</span> (channel)
-00120 {
-00121 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
-00122 {
-00123 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
-00124 {
-00125 <span class="keywordflow">if</span> (i-&gt;channel)
-00126 {
-00127 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00128 {
-00129 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
-00130 <span class="keywordflow">return</span>;
-00131 }
-00132 }
-00133 }
-00134 }
-00135 }
-00136 }
-00137
-<a name="l00138"></a><a class="code" href="classuserrec.html#a7">00138</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
-00139 {
-00140 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00141 <span class="keywordtype">char</span>* mycmd;
-00142 <span class="keywordtype">char</span>* savept;
-00143 <span class="keywordtype">char</span>* savept2;
-00144
-00145 <span class="comment">// are they even an oper at all?</span>
-00146 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-00147 {
-00148 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-00149 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>); j++)
-00150 {
-00151 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
-00152 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-00153 {
-00154 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-00155 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
-00156 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-00157 <span class="keywordflow">while</span> (myclass)
-00158 {
-00159 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-00160 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>); k++)
-00161 {
-00162 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
-00163 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-00164 {
-00165 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
-00166 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-00167
-00168
-00169 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-00170 <span class="keywordflow">while</span> (mycmd)
-00171 {
-00172 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-00173 {
-00174 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-00175 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00176 }
-00177 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-00178 }
-00179 }
-00180 }
-00181 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-00182 }
-00183 }
-00184 }
-00185 }
-00186 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00187 }
-00188
-00189
-<a name="l00190"></a><a class="code" href="classuserrec.html#a9">00190</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::AddBuffer</a>(std::string a)
-00191 {
-00192 std::string b = <span class="stringliteral">""</span>;
-00193 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
-00194 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) &amp;&amp; (a[i] != <span class="charliteral">'\0'</span>) &amp;&amp; (a[i] != 7))
-00195 b = b + a[i];
-00196 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>);
-00197 stream &lt;&lt; b;
-00198 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str();
-00199 <span class="keywordtype">int</span> i = 0;
-00200 <span class="comment">// count the size of the first line in the buffer.</span>
-00201 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length())
-00202 {
-00203 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
-00204 <span class="keywordflow">break</span>;
-00205 }
-00206 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o22">recvqmax</a>)
-00207 {
-00208 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
-00209 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o15">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#o22">recvqmax</a>);
-00210 }
-00211 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
-00212 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
-00213 <span class="keywordflow">return</span> (i &lt; 600);
-00214 }
-00215
-<a name="l00216"></a><a class="code" href="classuserrec.html#a10">00216</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a10">userrec::BufferIsReady</a>()
-00217 {
-00218 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length(); i++)
-00219 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>)
-00220 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00221 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00222 }
-00223
-<a name="l00224"></a><a class="code" href="classuserrec.html#a11">00224</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a11">userrec::ClearBuffer</a>()
-00225 {
-00226 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
-00227 }
-00228
-<a name="l00229"></a><a class="code" href="classuserrec.html#a12">00229</a> std::string <a class="code" href="classuserrec.html#a12">userrec::GetBuffer</a>()
-00230 {
-00231 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>)
-00232 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-00233 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str();
-00234 std::string ret = <span class="stringliteral">""</span>;
-00235 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
-00236 {
-00237 ret = ret + *line;
-00238 line++;
-00239 }
-00240 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
-00241 line++;
-00242 <a class="code" href="classuserrec.html#o15">recvq</a> = line;
-00243 <span class="keywordflow">return</span> ret;
-00244 }
-00245
-<a name="l00246"></a><a class="code" href="classuserrec.html#a15">00246</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::AddWriteBuf</a>(std::string data)
-00247 {
-00248 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#a14">GetWriteError</a>() != <span class="stringliteral">""</span>)
-00249 <span class="keywordflow">return</span>;
-00250 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o21">sendqmax</a>)
-00251 {
-00252 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o16">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#o21">sendqmax</a>);
-00253 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
-00254 <span class="keywordflow">return</span>;
-00255 }
-00256 std::stringstream stream;
-00257 stream &lt;&lt; <a class="code" href="classuserrec.html#o16">sendq</a> &lt;&lt; data;
-00258 <a class="code" href="classuserrec.html#o16">sendq</a> = stream.str();
-00259 }
-00260
-00261 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span>
-<a name="l00262"></a><a class="code" href="classuserrec.html#a16">00262</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a16">userrec::FlushWriteBuf</a>()
-00263 {
-00264 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o16">sendq</a>.length())
-00265 {
-00266 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#o16">sendq</a>.c_str();
-00267 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
-00268 <span class="keywordflow">if</span> (n_sent == -1)
-00269 {
-00270 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(strerror(errno));
-00271 }
-00272 <span class="keywordflow">else</span>
-00273 {
-00274 <span class="comment">// advance the queue</span>
-00275 tb += n_sent;
-00276 this-&gt;<a class="code" href="classuserrec.html#o16">sendq</a> = tb;
-00277 <span class="comment">// update the user's stats counters</span>
-00278 this-&gt;<a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent;
-00279 this-&gt;<a class="code" href="classconnection.html#o6">cmds_out</a>++;
-00280 }
-00281 }
-00282 }
-00283
-<a name="l00284"></a><a class="code" href="classuserrec.html#a13">00284</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a13">userrec::SetWriteError</a>(std::string error)
-00285 {
-00286 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
-00287 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
-00288 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a> == <span class="stringliteral">""</span>)
-00289 this-&gt;<a class="code" href="classuserrec.html#o20">WriteError</a> = error;
-00290 }
-00291
-<a name="l00292"></a><a class="code" href="classuserrec.html#a14">00292</a> std::string <a class="code" href="classuserrec.html#a14">userrec::GetWriteError</a>()
-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 Wed May 25 22:02:06 2005 for InspIRCd by
+00084
+<a name="l00085"></a><a class="code" href="classuserrec.html#a3">00085</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
+00086 {
+00087 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
+00088 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#o0">nick</a>,<a class="code" href="classuserrec.html#o1">ident</a>,<a class="code" href="classconnection.html#o1">host</a>);
+00089 <span class="keywordflow">return</span> fresult;
+00090 }
+00091
+<a name="l00092"></a><a class="code" href="classuserrec.html#a4">00092</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
+00093 {
+00094 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00095 {
+00096 <span class="keywordflow">if</span> (i-&gt;channel) {
+00097 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00098 {
+00099 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00100 }
+00101 }
+00102 }
+00103 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00104 }
+00105
+<a name="l00106"></a><a class="code" href="classuserrec.html#a17">00106</a> <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a17">userrec::GetInviteList</a>()
+00107 {
+00108 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#r0">invites</a>;
+00109 }
+00110
+<a name="l00111"></a><a class="code" href="classuserrec.html#a5">00111</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
+00112 {
+00113 <a class="code" href="classInvited.html">Invited</a> i;
+00114 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
+00115 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
+00116 }
+00117
+<a name="l00118"></a><a class="code" href="classuserrec.html#a6">00118</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
+00119 {
+00120 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
+00121 <span class="keywordflow">if</span> (channel)
+00122 {
+00123 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
+00124 {
+00125 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#r0">invites</a>.begin(); i != <a class="code" href="classuserrec.html#r0">invites</a>.end(); i++)
+00126 {
+00127 <span class="keywordflow">if</span> (i-&gt;channel)
+00128 {
+00129 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00130 {
+00131 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
+00132 <span class="keywordflow">return</span>;
+00133 }
+00134 }
+00135 }
+00136 }
+00137 }
+00138 }
+00139
+<a name="l00140"></a><a class="code" href="classuserrec.html#a7">00140</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
+00141 {
+00142 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00143 <span class="keywordtype">char</span>* mycmd;
+00144 <span class="keywordtype">char</span>* savept;
+00145 <span class="keywordtype">char</span>* savept2;
+00146
+00147 <span class="comment">// are they even an oper at all?</span>
+00148 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+00149 {
+00150 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
+00151 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>); j++)
+00152 {
+00153 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
+00154 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+00155 {
+00156 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
+00157 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
+00158 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+00159 <span class="keywordflow">while</span> (myclass)
+00160 {
+00161 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
+00162 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>); k++)
+00163 {
+00164 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
+00165 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+00166 {
+00167 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#a33">config_f</a>);
+00168 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
+00169
+00170
+00171 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+00172 <span class="keywordflow">while</span> (mycmd)
+00173 {
+00174 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
+00175 {
+00176 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
+00177 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00178 }
+00179 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+00180 }
+00181 }
+00182 }
+00183 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+00184 }
+00185 }
+00186 }
+00187 }
+00188 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00189 }
+00190
+00191
+<a name="l00192"></a><a class="code" href="classuserrec.html#a9">00192</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">userrec::AddBuffer</a>(std::string a)
+00193 {
+00194 std::string b = <span class="stringliteral">""</span>;
+00195 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+00196 <span class="keywordflow">if</span> ((a[i] != <span class="charliteral">'\r'</span>) &amp;&amp; (a[i] != <span class="charliteral">'\0'</span>) &amp;&amp; (a[i] != 7))
+00197 b = b + a[i];
+00198 std::stringstream stream(<a class="code" href="classuserrec.html#o14">recvq</a>);
+00199 stream &lt;&lt; b;
+00200 <a class="code" href="classuserrec.html#o14">recvq</a> = stream.str();
+00201 <span class="keywordtype">int</span> i = 0;
+00202 <span class="comment">// count the size of the first line in the buffer.</span>
+00203 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o14">recvq</a>.length())
+00204 {
+00205 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+00206 <span class="keywordflow">break</span>;
+00207 }
+00208 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o21">recvqmax</a>)
+00209 {
+00210 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
+00211 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o14">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#o21">recvqmax</a>);
+00212 }
+00213 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+00214 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+00215 <span class="keywordflow">return</span> (i &lt; 600);
+00216 }
+00217
+<a name="l00218"></a><a class="code" href="classuserrec.html#a10">00218</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a10">userrec::BufferIsReady</a>()
+00219 {
+00220 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#o14">recvq</a>.length(); i++)
+00221 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+00222 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00223 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00224 }
+00225
+<a name="l00226"></a><a class="code" href="classuserrec.html#a11">00226</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a11">userrec::ClearBuffer</a>()
+00227 {
+00228 <a class="code" href="classuserrec.html#o14">recvq</a> = <span class="stringliteral">""</span>;
+00229 }
+00230
+<a name="l00231"></a><a class="code" href="classuserrec.html#a12">00231</a> std::string <a class="code" href="classuserrec.html#a12">userrec::GetBuffer</a>()
+00232 {
+00233 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o14">recvq</a> == <span class="stringliteral">""</span>)
+00234 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00235 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o14">recvq</a>.c_str();
+00236 std::string ret = <span class="stringliteral">""</span>;
+00237 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+00238 {
+00239 ret = ret + *line;
+00240 line++;
+00241 }
+00242 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+00243 line++;
+00244 <a class="code" href="classuserrec.html#o14">recvq</a> = line;
+00245 <span class="keywordflow">return</span> ret;
+00246 }
+00247
+<a name="l00248"></a><a class="code" href="classuserrec.html#a15">00248</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">userrec::AddWriteBuf</a>(std::string data)
+00249 {
+00250 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#a14">GetWriteError</a>() != <span class="stringliteral">""</span>)
+00251 <span class="keywordflow">return</span>;
+00252 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">sendq</a>.length() + data.length() &gt; this-&gt;<a class="code" href="classuserrec.html#o20">sendqmax</a>)
+00253 {
+00254 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#o15">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#o20">sendqmax</a>);
+00255 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
+00256 <span class="keywordflow">return</span>;
+00257 }
+00258 std::stringstream stream;
+00259 stream &lt;&lt; <a class="code" href="classuserrec.html#o15">sendq</a> &lt;&lt; data;
+00260 <a class="code" href="classuserrec.html#o15">sendq</a> = stream.str();
+00261 }
+00262
+00263 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span>
+<a name="l00264"></a><a class="code" href="classuserrec.html#a16">00264</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a16">userrec::FlushWriteBuf</a>()
+00265 {
+00266 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">sendq</a>.length())
+00267 {
+00268 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#o15">sendq</a>.c_str();
+00269 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
+00270 <span class="keywordflow">if</span> (n_sent == -1)
+00271 {
+00272 this-&gt;<a class="code" href="classuserrec.html#a13">SetWriteError</a>(strerror(errno));
+00273 }
+00274 <span class="keywordflow">else</span>
+00275 {
+00276 <span class="comment">// advance the queue</span>
+00277 tb += n_sent;
+00278 this-&gt;<a class="code" href="classuserrec.html#o15">sendq</a> = tb;
+00279 <span class="comment">// update the user's stats counters</span>
+00280 this-&gt;<a class="code" href="classconnection.html#o4">bytes_out</a> += n_sent;
+00281 this-&gt;<a class="code" href="classconnection.html#o6">cmds_out</a>++;
+00282 }
+00283 }
+00284 }
+00285
+<a name="l00286"></a><a class="code" href="classuserrec.html#a13">00286</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a13">userrec::SetWriteError</a>(std::string error)
+00287 {
+00288 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
+00289 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
+00290 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a> == <span class="stringliteral">""</span>)
+00291 this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a> = error;
+00292 }
+00293
+<a name="l00294"></a><a class="code" href="classuserrec.html#a14">00294</a> std::string <a class="code" href="classuserrec.html#a14">userrec::GetWriteError</a>()
+00295 {
+00296 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#o19">WriteError</a>;
+00297 }
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/users_8cpp.html b/docs/module-doc/users_8cpp.html
index a1d24c7be..d2d1039ad 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -26,7 +26,9 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::stringstream&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a0">config_f</a></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a1">TIME</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a1">ServerName</a> [MAXBUF]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>time_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="users_8cpp.html#a2">TIME</a></td></tr>
</table>
<hr><h2>Variable Documentation</h2>
@@ -54,13 +56,37 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif
Definition at line <a class="el" href="users_8cpp-source.html#l00027">27</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td>
</tr>
</table>
-<a name="a1" doxytag="users.cpp::TIME"></a><p>
+<a name="a1" doxytag="users.cpp::ServerName"></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"> char <a class="el" href="users_8cpp.html#a1">ServerName</a>[MAXBUF]
+ </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="users_8cpp-source.html#l00028">28</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="users.cpp::TIME"></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"> time_t <a class="el" href="users_8cpp.html#a1">TIME</a>
+ <td class="md" nowrap valign="top"> time_t <a class="el" href="users_8cpp.html#a2">TIME</a>
</table>
</td>
</tr>
@@ -75,10 +101,10 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00027">27</a> of
<p>
<p>
-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>
+Definition at line <a class="el" href="users_8cpp-source.html#l00030">30</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 Wed May 25 22:02:40 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 494ce7d37..b07c91293 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -89,103 +89,101 @@
00116
<a name="l00121"></a><a class="code" href="classuserrec.html#o0">00121</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o0">nick</a>[NICKMAX];
00122
-<a name="l00125"></a><a class="code" href="classuserrec.html#o1">00125</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[16];
-00126
-<a name="l00130"></a><a class="code" href="classuserrec.html#o2">00130</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[160];
-00131
-<a name="l00134"></a><a class="code" href="classuserrec.html#o3">00134</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[128];
-00135
-<a name="l00140"></a><a class="code" href="classuserrec.html#o4">00140</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o4">modes</a>[MAXBUF];
-00141
-<a name="l00142"></a><a class="code" href="classuserrec.html#o5">00142</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#o5">chans</a>[MAXCHANS];
-00143
-<a name="l00146"></a><a class="code" href="classuserrec.html#o6">00146</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o6">server</a>[256];
+<a name="l00126"></a><a class="code" href="classuserrec.html#o1">00126</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[IDENTMAX+2];
+00127
+<a name="l00131"></a><a class="code" href="classuserrec.html#o2">00131</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[160];
+00132
+<a name="l00135"></a><a class="code" href="classuserrec.html#o3">00135</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[MAXGECOS+1];
+00136
+<a name="l00144"></a><a class="code" href="classuserrec.html#o4">00144</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o4">modes</a>[54];
+00145
+<a name="l00146"></a><a class="code" href="classuserrec.html#o5">00146</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#o5">chans</a>[MAXCHANS];
00147
-<a name="l00151"></a><a class="code" href="classuserrec.html#o7">00151</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o7">awaymsg</a>[512];
-00152
-<a name="l00156"></a><a class="code" href="classuserrec.html#o8">00156</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o8">result</a>[256];
-00157
-<a name="l00162"></a><a class="code" href="classuserrec.html#o9">00162</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">flood</a>;
-00163
-<a name="l00168"></a><a class="code" href="classuserrec.html#o10">00168</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o10">timeout</a>;
-00169
-<a name="l00175"></a><a class="code" href="classuserrec.html#o11">00175</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o11">oper</a>[NICKMAX];
-00176
-<a name="l00179"></a><a class="code" href="classuserrec.html#o12">00179</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#o12">dns_done</a>;
-00180
-<a name="l00183"></a><a class="code" href="classuserrec.html#o13">00183</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o13">pingmax</a>;
-00184
-<a name="l00189"></a><a class="code" href="classuserrec.html#o14">00189</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o14">password</a>[MAXBUF];
-00190
-<a name="l00195"></a><a class="code" href="classuserrec.html#o15">00195</a> std::string <a class="code" href="classuserrec.html#o15">recvq</a>;
-00196
-<a name="l00200"></a><a class="code" href="classuserrec.html#o16">00200</a> std::string <a class="code" href="classuserrec.html#o16">sendq</a>;
-00201
-<a name="l00204"></a><a class="code" href="classuserrec.html#o17">00204</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o17">lines_in</a>;
-<a name="l00205"></a><a class="code" href="classuserrec.html#o18">00205</a> time_t <a class="code" href="classuserrec.html#o18">reset_due</a>;
-<a name="l00206"></a><a class="code" href="classuserrec.html#o19">00206</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o19">threshold</a>;
-00207
-00208 <span class="comment">/* Write error string</span>
-00209 <span class="comment"> */</span>
-<a name="l00210"></a><a class="code" href="classuserrec.html#o20">00210</a> std::string <a class="code" href="classuserrec.html#o20">WriteError</a>;
-00211
-<a name="l00214"></a><a class="code" href="classuserrec.html#o21">00214</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o21">sendqmax</a>;
-00215
-<a name="l00218"></a><a class="code" href="classuserrec.html#o22">00218</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o22">recvqmax</a>;
-00219
-00220 <a class="code" href="classuserrec.html#a0">userrec</a>();
-00221
-<a name="l00222"></a><a class="code" href="classuserrec.html#a1">00222</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
-00223
-00228 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
-00229
-00235 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
-00236
-00239 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">IsInvited</a>(<span class="keywordtype">char</span>* channel);
-00240
-00243 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">InviteTo</a>(<span class="keywordtype">char</span>* channel);
-00244
-00249 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
-00250
-00255 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command);
-00256
-00259 <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#a8">ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size);
-00260
-00268 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">AddBuffer</a>(std::string a);
-00269
-00273 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a10">BufferIsReady</a>();
-00274
-00277 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
-00278
-00286 std::string <a class="code" href="classuserrec.html#a12">GetBuffer</a>();
-00287
-00293 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a13">SetWriteError</a>(std::string error);
-00294
-00298 std::string <a class="code" href="classuserrec.html#a14">GetWriteError</a>();
-00299
-00305 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">AddWriteBuf</a>(std::string data);
-00306
-00313 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a16">FlushWriteBuf</a>();
-00314
-00317 <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a17">GetInviteList</a>();
-00318
-00321 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a18">CloseSocket</a>();
-00322 };
-00323
-<a name="l00326"></a><a class="code" href="classWhoWasUser.html">00326</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a>
-00327 {
-00328 <span class="keyword">public</span>:
-<a name="l00329"></a><a class="code" href="classWhoWasUser.html#o0">00329</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o0">nick</a>[NICKMAX];
-<a name="l00330"></a><a class="code" href="classWhoWasUser.html#o1">00330</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o1">ident</a>[16];
-<a name="l00331"></a><a class="code" href="classWhoWasUser.html#o2">00331</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o2">dhost</a>[160];
-<a name="l00332"></a><a class="code" href="classWhoWasUser.html#o3">00332</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o3">host</a>[160];
-<a name="l00333"></a><a class="code" href="classWhoWasUser.html#o4">00333</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o4">fullname</a>[128];
-<a name="l00334"></a><a class="code" href="classWhoWasUser.html#o5">00334</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o5">server</a>[256];
-<a name="l00335"></a><a class="code" href="classWhoWasUser.html#o6">00335</a> time_t <a class="code" href="classWhoWasUser.html#o6">signon</a>;
-00336 };
-00337
-00338 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:06 2005 for InspIRCd by
+<a name="l00150"></a><a class="code" href="classuserrec.html#o6">00150</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#o6">server</a>;
+00151
+<a name="l00155"></a><a class="code" href="classuserrec.html#o7">00155</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o7">awaymsg</a>[MAXAWAY+1];
+00156
+<a name="l00161"></a><a class="code" href="classuserrec.html#o8">00161</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o8">flood</a>;
+00162
+<a name="l00167"></a><a class="code" href="classuserrec.html#o9">00167</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">timeout</a>;
+00168
+<a name="l00174"></a><a class="code" href="classuserrec.html#o10">00174</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o10">oper</a>[NICKMAX];
+00175
+<a name="l00178"></a><a class="code" href="classuserrec.html#o11">00178</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#o11">dns_done</a>;
+00179
+<a name="l00182"></a><a class="code" href="classuserrec.html#o12">00182</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o12">pingmax</a>;
+00183
+<a name="l00188"></a><a class="code" href="classuserrec.html#o13">00188</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o13">password</a>[MAXBUF];
+00189
+<a name="l00194"></a><a class="code" href="classuserrec.html#o14">00194</a> std::string <a class="code" href="classuserrec.html#o14">recvq</a>;
+00195
+<a name="l00199"></a><a class="code" href="classuserrec.html#o15">00199</a> std::string <a class="code" href="classuserrec.html#o15">sendq</a>;
+00200
+<a name="l00203"></a><a class="code" href="classuserrec.html#o16">00203</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o16">lines_in</a>;
+<a name="l00204"></a><a class="code" href="classuserrec.html#o17">00204</a> time_t <a class="code" href="classuserrec.html#o17">reset_due</a>;
+<a name="l00205"></a><a class="code" href="classuserrec.html#o18">00205</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o18">threshold</a>;
+00206
+00207 <span class="comment">/* Write error string</span>
+00208 <span class="comment"> */</span>
+<a name="l00209"></a><a class="code" href="classuserrec.html#o19">00209</a> std::string <a class="code" href="classuserrec.html#o19">WriteError</a>;
+00210
+<a name="l00213"></a><a class="code" href="classuserrec.html#o20">00213</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o20">sendqmax</a>;
+00214
+<a name="l00217"></a><a class="code" href="classuserrec.html#o21">00217</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o21">recvqmax</a>;
+00218
+00219 <a class="code" href="classuserrec.html#a0">userrec</a>();
+00220
+<a name="l00221"></a><a class="code" href="classuserrec.html#a1">00221</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
+00222
+00227 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
+00228
+00234 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
+00235
+00238 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">IsInvited</a>(<span class="keywordtype">char</span>* channel);
+00239
+00242 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">InviteTo</a>(<span class="keywordtype">char</span>* channel);
+00243
+00248 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
+00249
+00254 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command);
+00255
+00258 <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#a8">ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size);
+00259
+00267 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">AddBuffer</a>(std::string a);
+00268
+00272 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a10">BufferIsReady</a>();
+00273
+00276 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a11">ClearBuffer</a>();
+00277
+00285 std::string <a class="code" href="classuserrec.html#a12">GetBuffer</a>();
+00286
+00292 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a13">SetWriteError</a>(std::string error);
+00293
+00297 std::string <a class="code" href="classuserrec.html#a14">GetWriteError</a>();
+00298
+00304 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a15">AddWriteBuf</a>(std::string data);
+00305
+00312 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a16">FlushWriteBuf</a>();
+00313
+00316 <a class="code" href="users_8h.html#a6">InvitedList</a>* <a class="code" href="classuserrec.html#a17">GetInviteList</a>();
+00317
+00320 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a18">CloseSocket</a>();
+00321 };
+00322
+<a name="l00325"></a><a class="code" href="classWhoWasUser.html">00325</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a>
+00326 {
+00327 <span class="keyword">public</span>:
+<a name="l00328"></a><a class="code" href="classWhoWasUser.html#o0">00328</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o0">nick</a>[NICKMAX];
+<a name="l00329"></a><a class="code" href="classWhoWasUser.html#o1">00329</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o1">ident</a>[IDENTMAX+1];
+<a name="l00330"></a><a class="code" href="classWhoWasUser.html#o2">00330</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o2">dhost</a>[160];
+<a name="l00331"></a><a class="code" href="classWhoWasUser.html#o3">00331</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o3">host</a>[160];
+<a name="l00332"></a><a class="code" href="classWhoWasUser.html#o4">00332</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o4">fullname</a>[MAXGECOS+1];
+<a name="l00333"></a><a class="code" href="classWhoWasUser.html#o5">00333</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#o5">server</a>[256];
+<a name="l00334"></a><a class="code" href="classWhoWasUser.html#o6">00334</a> time_t <a class="code" href="classWhoWasUser.html#o6">signon</a>;
+00335 };
+00336
+00337 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/users_8h.html b/docs/module-doc/users_8h.html
index 907498601..5170f4fbb 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -264,10 +264,10 @@ Holds a complete list of all channels to which a user has been invited and has n
<p>
Definition at line <a class="el" href="users_8h-source.html#l00094">94</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00104">userrec::GetInviteList()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00106">userrec::GetInviteList()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Wed May 25 22:02:42 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index aa5a71685..1c81a5aed 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 Wed May 25 22:02:06 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:15: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/xline_8h.html b/docs/module-doc/xline_8h.html
index 0ae55d2ab..30ed335e5 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -159,7 +159,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::AddELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00701">Server::AddELine()</a>. </td>
</tr>
</table>
<a name="a1" doxytag="xline.h::add_gline"></a><p>
@@ -211,7 +211,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00699">Server::AddEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00679">Server::AddGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::AddGLine()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="xline.h::add_kline"></a><p>
@@ -263,7 +263,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00679">Server::AddGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00694">Server::AddKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00696">Server::AddKLine()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="xline.h::add_qline"></a><p>
@@ -315,7 +315,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00694">Server::AddKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00684">Server::AddQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00686">Server::AddQLine()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="xline.h::add_zline"></a><p>
@@ -367,7 +367,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00684">Server::AddQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00689">Server::AddZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00691">Server::AddZLine()</a>. </td>
</tr>
</table>
<a name="a17" doxytag="xline.h::apply_lines"></a><p>
@@ -426,7 +426,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00689">Server::AddZL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00724">Server::DelELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00726">Server::DelELine()</a>. </td>
</tr>
</table>
<a name="a6" doxytag="xline.h::del_gline"></a><p>
@@ -457,7 +457,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00724">Server::DelEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00704">Server::DelGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00706">Server::DelGLine()</a>. </td>
</tr>
</table>
<a name="a9" doxytag="xline.h::del_kline"></a><p>
@@ -488,7 +488,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00704">Server::DelGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00719">Server::DelKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00721">Server::DelKLine()</a>. </td>
</tr>
</table>
<a name="a7" doxytag="xline.h::del_qline"></a><p>
@@ -519,7 +519,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00719">Server::DelKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00709">Server::DelQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00711">Server::DelQLine()</a>. </td>
</tr>
</table>
<a name="a8" doxytag="xline.h::del_zline"></a><p>
@@ -550,7 +550,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00709">Server::DelQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00714">Server::DelZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00716">Server::DelZLine()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="xline.h::expire_lines"></a><p>
@@ -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 Wed May 25 22:02:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Mon May 30 05:16: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>