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/ConfigReader.3274
-rw-r--r--docs/man/man3/ConnectClass.330
-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.384
-rw-r--r--docs/man/man3/GLine.32
-rw-r--r--docs/man/man3/HostItem.32
-rw-r--r--docs/man/man3/InAddr_HashComp.322
-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.3268
-rw-r--r--docs/man/man3/ModuleFactory.312
-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.3763
-rw-r--r--docs/man/man3/StrHashComp.320
-rw-r--r--docs/man/man3/Version.36
-rw-r--r--docs/man/man3/XLine.32
-rw-r--r--docs/man/man3/ZLine.32
-rw-r--r--docs/man/man3/base.h.32
-rw-r--r--docs/man/man3/channels.cpp.38
-rw-r--r--docs/man/man3/channels.h.32
-rw-r--r--docs/man/man3/chanrec.36
-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.349
-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/ircd_connector.345
-rw-r--r--docs/man/man3/message.h.311
-rw-r--r--docs/man/man3/mode.h.32
-rw-r--r--docs/man/man3/modules.cpp.3179
-rw-r--r--docs/man/man3/modules.h.314
-rw-r--r--docs/man/man3/nspace.32
-rw-r--r--docs/man/man3/nspace_nspace_hash_ in_addr _.314
-rw-r--r--docs/man/man3/nspace_nspace_hash_ string _.318
-rw-r--r--docs/man/man3/serverrec.32
-rw-r--r--docs/man/man3/servers.cpp.32
-rw-r--r--docs/man/man3/servers.h.32
-rw-r--r--docs/man/man3/std.32
-rw-r--r--docs/man/man3/ucrec.32
-rw-r--r--docs/man/man3/userrec.3396
-rw-r--r--docs/man/man3/users.cpp.32
-rw-r--r--docs/man/man3/users.h.36
-rw-r--r--docs/man/man3/xline.h.32
-rw-r--r--docs/module-doc/annotated.html2
-rw-r--r--docs/module-doc/base_8h-source.html2
-rw-r--r--docs/module-doc/base_8h.html2
-rw-r--r--docs/module-doc/channels_8cpp-source.html4
-rw-r--r--docs/module-doc/channels_8cpp.html18
-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/classConfigReader-members.html2
-rw-r--r--docs/module-doc/classConfigReader.html320
-rw-r--r--docs/module-doc/classConnectClass-members.html3
-rw-r--r--docs/module-doc/classConnectClass.html62
-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.html96
-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.html8
-rw-r--r--docs/module-doc/classModule.html523
-rw-r--r--docs/module-doc/classModuleFactory-members.html2
-rw-r--r--docs/module-doc/classModuleFactory.html12
-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.html108
-rw-r--r--docs/module-doc/classServer.html1188
-rw-r--r--docs/module-doc/classVersion-members.html2
-rw-r--r--docs/module-doc/classVersion.html6
-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.html14
-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.html3
-rw-r--r--docs/module-doc/classconnection.html79
-rw-r--r--docs/module-doc/classes.html2
-rw-r--r--docs/module-doc/classircd__connector-members.html5
-rw-r--r--docs/module-doc/classircd__connector.html128
-rw-r--r--docs/module-doc/classserverrec-members.html3
-rw-r--r--docs/module-doc/classserverrec.html6
-rw-r--r--docs/module-doc/classucrec-members.html2
-rw-r--r--docs/module-doc/classucrec.html4
-rw-r--r--docs/module-doc/classuserrec-members.html11
-rw-r--r--docs/module-doc/classuserrec.html613
-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.html228
-rw-r--r--docs/module-doc/connection_8h.html2
-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.html156
-rw-r--r--docs/module-doc/functions_func.html138
-rw-r--r--docs/module-doc/functions_vars.html16
-rw-r--r--docs/module-doc/globals.html57
-rw-r--r--docs/module-doc/globals_defs.html2
-rw-r--r--docs/module-doc/globals_func.html26
-rw-r--r--docs/module-doc/globals_type.html14
-rw-r--r--docs/module-doc/globals_vars.html25
-rw-r--r--docs/module-doc/hierarchy.html2
-rw-r--r--docs/module-doc/main.html2
-rw-r--r--docs/module-doc/message_8h-source.html4
-rw-r--r--docs/module-doc/message_8h.html35
-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.html1736
-rw-r--r--docs/module-doc/modules_8cpp.html339
-rw-r--r--docs/module-doc/modules_8h-source.html343
-rw-r--r--docs/module-doc/modules_8h.html46
-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.html2
-rw-r--r--docs/module-doc/servers_8cpp.html2
-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/structInAddr__HashComp-members.html2
-rw-r--r--docs/module-doc/structInAddr__HashComp.html22
-rw-r--r--docs/module-doc/structStrHashComp-members.html2
-rw-r--r--docs/module-doc/structStrHashComp.html20
-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/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.html14
-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.html18
-rw-r--r--docs/module-doc/users_8cpp-source.html302
-rw-r--r--docs/module-doc/users_8cpp.html2
-rw-r--r--docs/module-doc/users_8h-source.html157
-rw-r--r--docs/module-doc/users_8h.html6
-rw-r--r--docs/module-doc/xline_8h-source.html2
-rw-r--r--docs/module-doc/xline_8h.html22
183 files changed, 5471 insertions, 4178 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3
index 6e414dc78..55e088419 100644
--- a/docs/man/man3/Admin.3
+++ b/docs/man/man3/Admin.3
@@ -1,4 +1,4 @@
-.TH "Admin" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Admin" 3 "7 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 306 of file modules.cpp.
+Definition at line 304 of file modules.cpp.
.PP
.nf
-306 : Name(name), Email(email), Nick(nick) { };
+304 : 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 5a7e51df0..c1b9d2b62 100644
--- a/docs/man/man3/BanItem.3
+++ b/docs/man/man3/BanItem.3
@@ -1,4 +1,4 @@
-.TH "BanItem" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "BanItem" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3
index 294eec961..303fdf0d9 100644
--- a/docs/man/man3/ConfigReader.3
+++ b/docs/man/man3/ConfigReader.3
@@ -1,4 +1,4 @@
-.TH "ConfigReader" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConfigReader" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -84,239 +84,239 @@ Allows reading of values from configuration files This class allows a module to
It may either be instantiated with one parameter or none. Constructing the class using one parameter allows you to specify a path to your own configuration file, otherwise, inspircd.conf is read.
.PP
-Definition at line 1097 of file modules.h.
+Definition at line 1147 of file modules.h.
.SH "Constructor & Destructor Documentation"
.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 835 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 851 of file modules.cpp.
.PP
References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
.PP
.nf
-836 {
-837 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-838 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-839 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
-840 if (!this->readerror)
-841 this->error = CONF_FILE_NOT_FOUND;
-842 }
+852 {
+853 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+854 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+855 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
+856 if (!this->readerror)
+857 this->error = CONF_FILE_NOT_FOUND;
+858 }
.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 854 of file modules.cpp.
+Overloaded constructor. This constructor initialises the ConfigReader class to read a user-specified config fileDefinition at line 870 of file modules.cpp.
.PP
References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
.PP
.nf
-855 {
-856 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-857 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-858 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
-859 if (!this->readerror)
-860 this->error = CONF_FILE_NOT_FOUND;
-861 };
+871 {
+872 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+873 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
+874 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
+875 if (!this->readerror)
+876 this->error = CONF_FILE_NOT_FOUND;
+877 };
.fi
.SS "ConfigReader::~\fBConfigReader\fP ()"
.PP
-Default destructor. This method destroys the ConfigReader class.Definition at line 845 of file modules.cpp.
+Default destructor. This method destroys the ConfigReader class.Definition at line 861 of file modules.cpp.
.PP
References cache, and errorlog.
.PP
.nf
-846 {
-847 if (this->cache)
-848 delete this->cache;
-849 if (this->errorlog)
-850 delete this->errorlog;
-851 }
+862 {
+863 if (this->cache)
+864 delete this->cache;
+865 if (this->errorlog)
+866 delete this->errorlog;
+867 }
.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 932 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 948 of file modules.cpp.
.PP
References errorlog, connection::fd, and userrec::nick.
.PP
.nf
-933 {
-934 if (bail)
-935 {
-936 printf('There were errors in your configuration:\n%s',errorlog->str().c_str());
-937 exit(0);
-938 }
-939 else
-940 {
-941 char dataline[1024];
-942 if (user)
-943 {
-944 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick);
-945 while (!errorlog->eof())
-946 {
-947 errorlog->getline(dataline,1024);
-948 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline);
-949 }
-950 }
-951 else
-952 {
-953 WriteOpers('There were errors in the configuration file:',user->nick);
-954 while (!errorlog->eof())
-955 {
-956 errorlog->getline(dataline,1024);
-957 WriteOpers(dataline);
-958 }
-959 }
-960 return;
-961 }
-962 }
+949 {
+950 if (bail)
+951 {
+952 printf('There were errors in your configuration:\n%s',errorlog->str().c_str());
+953 exit(0);
+954 }
+955 else
+956 {
+957 char dataline[1024];
+958 if (user)
+959 {
+960 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick);
+961 while (!errorlog->eof())
+962 {
+963 errorlog->getline(dataline,1024);
+964 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline);
+965 }
+966 }
+967 else
+968 {
+969 WriteOpers('There were errors in the configuration file:',user->nick);
+970 while (!errorlog->eof())
+971 {
+972 errorlog->getline(dataline,1024);
+973 WriteOpers(dataline);
+974 }
+975 }
+976 return;
+977 }
+978 }
.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 965 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 981 of file modules.cpp.
.PP
References cache.
.PP
.nf
-966 {
-967 return EnumConf(cache,tag.c_str());
-968 }
+982 {
+983 return EnumConf(cache,tag.c_str());
+984 }
.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 970 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 986 of file modules.cpp.
.PP
References cache.
.PP
.nf
-971 {
-972 return EnumValues(cache, tag.c_str(), index);
-973 }
+987 {
+988 return EnumValues(cache, tag.c_str(), index);
+989 }
.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 925 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 941 of file modules.cpp.
.PP
References error.
.PP
.nf
-926 {
-927 long olderr = this->error;
-928 this->error = 0;
-929 return olderr;
-930 }
+942 {
+943 long olderr = this->error;
+944 this->error = 0;
+945 return olderr;
+946 }
.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 879 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 895 of file modules.cpp.
.PP
References cache, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-880 {
-881 char val[MAXBUF];
-882 char t[MAXBUF];
-883 char n[MAXBUF];
-884 strlcpy(t,tag.c_str(),MAXBUF);
-885 strlcpy(n,name.c_str(),MAXBUF);
-886 int res = ReadConf(cache,t,n,index,val);
-887 if (!res)
-888 {
-889 this->error = CONF_VALUE_NOT_FOUND;
-890 return false;
-891 }
-892 std::string s = val;
-893 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1'));
-894 }
+896 {
+897 char val[MAXBUF];
+898 char t[MAXBUF];
+899 char n[MAXBUF];
+900 strlcpy(t,tag.c_str(),MAXBUF);
+901 strlcpy(n,name.c_str(),MAXBUF);
+902 int res = ReadConf(cache,t,n,index,val);
+903 if (!res)
+904 {
+905 this->error = CONF_VALUE_NOT_FOUND;
+906 return false;
+907 }
+908 std::string s = val;
+909 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1'));
+910 }
.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 896 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 912 of file modules.cpp.
.PP
References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-897 {
-898 char val[MAXBUF];
-899 char t[MAXBUF];
-900 char n[MAXBUF];
-901 strlcpy(t,tag.c_str(),MAXBUF);
-902 strlcpy(n,name.c_str(),MAXBUF);
-903 int res = ReadConf(cache,t,n,index,val);
-904 if (!res)
-905 {
-906 this->error = CONF_VALUE_NOT_FOUND;
-907 return 0;
-908 }
-909 for (int i = 0; i < strlen(val); i++)
-910 {
-911 if (!isdigit(val[i]))
-912 {
-913 this->error = CONF_NOT_A_NUMBER;
-914 return 0;
-915 }
-916 }
-917 if ((needs_unsigned) && (atoi(val)<0))
-918 {
-919 this->error = CONF_NOT_UNSIGNED;
-920 return 0;
-921 }
-922 return atoi(val);
-923 }
+913 {
+914 char val[MAXBUF];
+915 char t[MAXBUF];
+916 char n[MAXBUF];
+917 strlcpy(t,tag.c_str(),MAXBUF);
+918 strlcpy(n,name.c_str(),MAXBUF);
+919 int res = ReadConf(cache,t,n,index,val);
+920 if (!res)
+921 {
+922 this->error = CONF_VALUE_NOT_FOUND;
+923 return 0;
+924 }
+925 for (int i = 0; i < strlen(val); i++)
+926 {
+927 if (!isdigit(val[i]))
+928 {
+929 this->error = CONF_NOT_A_NUMBER;
+930 return 0;
+931 }
+932 }
+933 if ((needs_unsigned) && (atoi(val)<0))
+934 {
+935 this->error = CONF_NOT_UNSIGNED;
+936 return 0;
+937 }
+938 return atoi(val);
+939 }
.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 863 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 879 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 '';
-875 }
-876 return std::string(val);
-877 }
+880 {
+881 char val[MAXBUF];
+882 char t[MAXBUF];
+883 char n[MAXBUF];
+884 strlcpy(t,tag.c_str(),MAXBUF);
+885 strlcpy(n,name.c_str(),MAXBUF);
+886 int res = ReadConf(cache,t,n,index,val);
+887 if (!res)
+888 {
+889 this->error = CONF_VALUE_NOT_FOUND;
+890 return '';
+891 }
+892 return std::string(val);
+893 }
.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 975 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 991 of file modules.cpp.
.PP
References readerror.
.PP
.nf
-976 {
-977 return this->readerror;
-978 }
+992 {
+993 return this->readerror;
+994 }
.fi
.SH "Member Data Documentation"
.PP
.SS "std::stringstream* \fBConfigReader::cache\fP\fC [protected]\fP"
.PP
-The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 1105 of file modules.h.
+The contents of the configuration file This protected member should never be accessed by a module (and cannot be accessed unless the core is changed). It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.Definition at line 1155 of file modules.h.
.PP
Referenced by ConfigReader(), Enumerate(), EnumerateValues(), ReadFlag(), ReadInteger(), ReadValue(), and ~ConfigReader().
.SS "long \fBConfigReader::error\fP\fC [protected]\fP"
.PP
-Definition at line 1110 of file modules.h.
+Definition at line 1160 of file modules.h.
.PP
Referenced by ConfigReader(), GetError(), ReadFlag(), ReadInteger(), and ReadValue().
.SS "std::stringstream* \fBConfigReader::errorlog\fP\fC [protected]\fP"
.PP
-Definition at line 1106 of file modules.h.
+Definition at line 1156 of file modules.h.
.PP
Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader().
.SS "bool \fBConfigReader::readerror\fP\fC [protected]\fP"
.PP
-Used to store errors. Definition at line 1109 of file modules.h.
+Used to store errors. Definition at line 1159 of file modules.h.
.PP
Referenced by ConfigReader(), and Verify().
diff --git a/docs/man/man3/ConnectClass.3 b/docs/man/man3/ConnectClass.3
index 563c7368c..0721962c6 100644
--- a/docs/man/man3/ConnectClass.3
+++ b/docs/man/man3/ConnectClass.3
@@ -1,4 +1,4 @@
-.TH "ConnectClass" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ConnectClass" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -46,6 +46,10 @@ Inherits \fBclassbase\fP.
.RI "char \fBpass\fP [MAXBUF]"
.br
.RI "\fI(Optional) Password for this line \fP"
+.ti -1c
+.RI "long \fBthreshold\fP"
+.br
+.RI "\fIThreshold value for flood disconnect. \fP"
.in -1c
.SH "Detailed Description"
.PP
@@ -54,18 +58,19 @@ Holds information relevent to <connect allow> and <connect deny> tags in the con
.PP
.SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
.PP
-Definition at line 67 of file users.h.
+Definition at line 71 of file users.h.
.PP
-References flood, host, pass, pingtime, and registration_timeout.
+References flood, host, pass, pingtime, registration_timeout, and threshold.
.PP
.nf
-68 {
-69 registration_timeout = 0;
-70 flood = 0;
-71 pingtime = 0;
-72 strlcpy(host,'',MAXBUF);
-73 strlcpy(pass,'',MAXBUF);
-74 }
+72 {
+73 registration_timeout = 0;
+74 flood = 0;
+75 pingtime = 0;
+76 threshold = 0;
+77 strlcpy(host,'',MAXBUF);
+78 strlcpy(pass,'',MAXBUF);
+79 }
.fi
.SH "Member Data Documentation"
.PP
@@ -94,6 +99,11 @@ Referenced by ConnectClass().
Max time to register the connection in seconds. Definition at line 53 of file users.h.
.PP
Referenced by ConnectClass().
+.SS "long \fBConnectClass::threshold\fP"
+.PP
+Threshold value for flood disconnect. Definition at line 69 of file users.h.
+.PP
+Referenced by ConnectClass().
.SS "int \fBConnectClass::type\fP"
.PP
Type of line, either CC_ALLOW or CC_DENY. Definition at line 50 of file users.h.
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index 8ca9f17b4..cb54283c9 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3
index dac7540a1..1dbd2376f 100644
--- a/docs/man/man3/ELine.3
+++ b/docs/man/man3/ELine.3
@@ -1,4 +1,4 @@
-.TH "ELine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ELine" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3
index 40a9d4ea8..0c5e83e40 100644
--- a/docs/man/man3/Event.3
+++ b/docs/man/man3/Event.3
@@ -1,4 +1,4 @@
-.TH "Event" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Event" 3 "7 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 337 of file modules.cpp.
+Create a new Event. Definition at line 335 of file modules.cpp.
.PP
.nf
-337 : data(anydata), source(src), id(eventid) { };
+335 : data(anydata), source(src), id(eventid) { };
.fi
.SH "Member Function Documentation"
.PP
.SS "char * Event::GetData ()"
.PP
-Get the Event data. Definition at line 339 of file modules.cpp.
+Get the Event data. Definition at line 337 of file modules.cpp.
.PP
References data.
.PP
.nf
-340 {
-341 return this->data;
-342 }
+338 {
+339 return this->data;
+340 }
.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 355 of file modules.cpp.
+Get the event ID. Use this to determine the event type for safe casting of the data Definition at line 353 of file modules.cpp.
.PP
References id.
.PP
.nf
-356 {
-357 return this->id;
-358 }
+354 {
+355 return this->id;
+356 }
.fi
.SS "\fBModule\fP * Event::GetSource ()"
.PP
-Get the event Source. Definition at line 344 of file modules.cpp.
+Get the event Source. Definition at line 342 of file modules.cpp.
.PP
References source.
.PP
.nf
-345 {
-346 return this->source;
-347 }
+343 {
+344 return this->source;
+345 }
.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 349 of file modules.cpp.
+Definition at line 347 of file modules.cpp.
.PP
References FOREACH_MOD.
.PP
.nf
-350 {
-351 FOREACH_MOD OnEvent(this);
-352 return NULL;
-353 }
+348 {
+349 FOREACH_MOD OnEvent(this);
+350 return NULL;
+351 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3
index e8ca07eea..4985ca640 100644
--- a/docs/man/man3/ExemptItem.3
+++ b/docs/man/man3/ExemptItem.3
@@ -1,4 +1,4 @@
-.TH "ExemptItem" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExemptItem" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3
index 3c225024c..5b17a22cb 100644
--- a/docs/man/man3/ExtMode.3
+++ b/docs/man/man3/ExtMode.3
@@ -1,4 +1,4 @@
-.TH "ExtMode" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ExtMode" 3 "7 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 201 of file modules.cpp.
+Definition at line 202 of file modules.cpp.
.PP
References modechar, needsoper, params_when_off, params_when_on, and type.
.PP
.nf
-201 : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
+202 : 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 200 of file modules.cpp.
+Definition at line 201 of file modules.cpp.
.SS "char \fBExtMode::modechar\fP"
.PP
-Definition at line 195 of file modules.cpp.
+Definition at line 196 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "bool \fBExtMode::needsoper\fP"
.PP
-Definition at line 199 of file modules.cpp.
+Definition at line 200 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::params_when_off\fP"
.PP
-Definition at line 198 of file modules.cpp.
+Definition at line 199 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::params_when_on\fP"
.PP
-Definition at line 197 of file modules.cpp.
+Definition at line 198 of file modules.cpp.
.PP
Referenced by ExtMode().
.SS "int \fBExtMode::type\fP"
.PP
-Definition at line 196 of file modules.cpp.
+Definition at line 197 of file modules.cpp.
.PP
Referenced by ExtMode().
diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3
index cd2180659..b58890fb7 100644
--- a/docs/man/man3/Extensible.3
+++ b/docs/man/man3/Extensible.3
@@ -1,4 +1,4 @@
-.TH "Extensible" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Extensible" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3
index a69617742..8373506b9 100644
--- a/docs/man/man3/FileReader.3
+++ b/docs/man/man3/FileReader.3
@@ -1,4 +1,4 @@
-.TH "FileReader" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "FileReader" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -57,100 +57,100 @@ Caches a text file into memory and can be used to retrieve lines from it.
This class contains methods for read-only manipulation of a text file in memory. Either use the constructor type with one parameter to load a file into memory at construction, or use the LoadFile method to load a file.
.PP
-Definition at line 1186 of file modules.h.
+Definition at line 1236 of file modules.h.
.SH "Constructor & Destructor Documentation"
.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 988 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 1004 of file modules.cpp.
.PP
.nf
-989 {
-990 }
+1005 {
+1006 }
.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 981 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 997 of file modules.cpp.
.PP
References fc, and file_cache.
.PP
.nf
-982 {
-983 file_cache c;
-984 readfile(c,filename.c_str());
-985 this->fc = c;
-986 }
+998 {
+999 file_cache c;
+1000 readfile(c,filename.c_str());
+1001 this->fc = c;
+1002 }
.fi
.SS "FileReader::~\fBFileReader\fP ()"
.PP
-Default destructor. This deletes the memory allocated to the file.Definition at line 1000 of file modules.cpp.
+Default destructor. This deletes the memory allocated to the file.Definition at line 1016 of file modules.cpp.
.PP
.nf
-1001 {
-1002 }
+1017 {
+1018 }
.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 1004 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 1020 of file modules.cpp.
.PP
References fc.
.PP
.nf
-1005 {
-1006 if (fc.size() == 0)
-1007 {
-1008 return(false);
-1009 }
-1010 else
-1011 {
-1012 return(true);
-1013 }
-1014 }
+1021 {
+1022 if (fc.size() == 0)
+1023 {
+1024 return(false);
+1025 }
+1026 else
+1027 {
+1028 return(true);
+1029 }
+1030 }
.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 1023 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 1039 of file modules.cpp.
.PP
References fc.
.PP
.nf
-1024 {
-1025 return fc.size();
-1026 }
+1040 {
+1041 return fc.size();
+1042 }
.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 1016 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 1032 of file modules.cpp.
.PP
References fc.
.PP
.nf
-1017 {
-1018 if ((x<0) || (x>fc.size()))
-1019 return '';
-1020 return fc[x];
-1021 }
+1033 {
+1034 if ((x<0) || (x>fc.size()))
+1035 return '';
+1036 return fc[x];
+1037 }
.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 992 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 1008 of file modules.cpp.
.PP
References fc, and file_cache.
.PP
.nf
-993 {
-994 file_cache c;
-995 readfile(c,filename.c_str());
-996 this->fc = c;
-997 }
+1009 {
+1010 file_cache c;
+1011 readfile(c,filename.c_str());
+1012 this->fc = c;
+1013 }
.fi
.SH "Member Data Documentation"
.PP
.SS "\fBfile_cache\fP \fBFileReader::fc\fP\fC [private]\fP"
.PP
-Definition at line 1188 of file modules.h.
+Definition at line 1238 of file modules.h.
.PP
Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
diff --git a/docs/man/man3/GLine.3 b/docs/man/man3/GLine.3
index 118afd97b..155dffeb0 100644
--- a/docs/man/man3/GLine.3
+++ b/docs/man/man3/GLine.3
@@ -1,4 +1,4 @@
-.TH "GLine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "GLine" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3
index cbb5e7b2d..b61539767 100644
--- a/docs/man/man3/HostItem.3
+++ b/docs/man/man3/HostItem.3
@@ -1,4 +1,4 @@
-.TH "HostItem" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "HostItem" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/InAddr_HashComp.3 b/docs/man/man3/InAddr_HashComp.3
index ab6cd4563..70c1be8df 100644
--- a/docs/man/man3/InAddr_HashComp.3
+++ b/docs/man/man3/InAddr_HashComp.3
@@ -1,4 +1,4 @@
-.TH "InAddr_HashComp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "InAddr_HashComp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -17,18 +17,18 @@ InAddr_HashComp \-
.PP
.SS "bool InAddr_HashComp::operator() (const in_addr & s1, const in_addr & s2) const\fC [inline]\fP"
.PP
-Definition at line 161 of file modules.cpp.
+Definition at line 162 of file modules.cpp.
.PP
.nf
-162 {
-163 size_t q;
-164 size_t p;
-165
-166 memcpy(&q,&s1,sizeof(size_t));
-167 memcpy(&p,&s2,sizeof(size_t));
-168
-169 return (q == p);
-170 }
+163 {
+164 size_t q;
+165 size_t p;
+166
+167 memcpy(&q,&s1,sizeof(size_t));
+168 memcpy(&p,&s2,sizeof(size_t));
+169
+170 return (q == p);
+171 }
.fi
diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3
index 9ce27dd83..595b9a85e 100644
--- a/docs/man/man3/InviteItem.3
+++ b/docs/man/man3/InviteItem.3
@@ -1,4 +1,4 @@
-.TH "InviteItem" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "InviteItem" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3
index b0268a92e..cdb965a47 100644
--- a/docs/man/man3/Invited.3
+++ b/docs/man/man3/Invited.3
@@ -1,4 +1,4 @@
-.TH "Invited" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Invited" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3
index 211bfefb1..4fa82add2 100644
--- a/docs/man/man3/KLine.3
+++ b/docs/man/man3/KLine.3
@@ -1,4 +1,4 @@
-.TH "KLine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "KLine" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3
index 41ce3695a..3868a5d81 100644
--- a/docs/man/man3/ModeParameter.3
+++ b/docs/man/man3/ModeParameter.3
@@ -1,4 +1,4 @@
-.TH "ModeParameter" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModeParameter" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3
index 486b10e2f..079f8b674 100644
--- a/docs/man/man3/Module.3
+++ b/docs/man/man3/Module.3
@@ -1,4 +1,4 @@
-.TH "Module" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Module" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -215,6 +215,30 @@ Inherits \fBclassbase\fP.
.RI "virtual void \fBOnGlobalConnect\fP (\fBuserrec\fP *user)"
.br
.RI "\fICalled whenever a user connects, anywhere on the network. \fP"
+.ti -1c
+.RI "virtual int \fBOnAddBan\fP (\fBuserrec\fP *source, \fBchanrec\fP *channel, std::string banmask)"
+.br
+.RI "\fICalled whenever a ban is added to a channel's list. \fP"
+.ti -1c
+.RI "virtual int \fBOnDelBan\fP (\fBuserrec\fP *source, \fBchanrec\fP *channel, std::string banmask)"
+.br
+.RI "\fICalled whenever a ban is removed from a channel's list. \fP"
+.ti -1c
+.RI "virtual void \fBOnRawSocketAccept\fP (int fd, std::string ip, int localport)"
+.br
+.RI "\fICalled immediately after any connection is accepted. \fP"
+.ti -1c
+.RI "virtual int \fBOnRawSocketWrite\fP (int fd, char *buffer, int count)"
+.br
+.RI "\fICalled immediately before any write() operation on a user's socket in the core. \fP"
+.ti -1c
+.RI "virtual void \fBOnRawSocketClose\fP (int fd)"
+.br
+.RI "\fICalled immediately before any socket is closed. \fP"
+.ti -1c
+.RI "virtual int \fBOnRawSocketRead\fP (int fd, char *buffer, unsigned int count, int &readresult)"
+.br
+.RI "\fICalled immediately before any read() operation on a client socket in the core. \fP"
.in -1c
.SH "Detailed Description"
.PP
@@ -227,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 361 of file modules.cpp.
+Default constructor creates a module class. Definition at line 360 of file modules.cpp.
.PP
.nf
-361 { }
+360 { }
.fi
.SS "Module::~\fBModule\fP ()\fC [virtual]\fP"
.PP
-Default destructor destroys a module class. Definition at line 362 of file modules.cpp.
+Default destructor destroys a module class. Definition at line 361 of file modules.cpp.
.PP
.nf
-362 { }
+361 { }
.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 374 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 373 of file modules.cpp.
.PP
References VF_VENDOR.
.PP
.nf
-374 { return Version(1,0,0,0,VF_VENDOR); }
+373 { 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 386 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 385 of file modules.cpp.
.PP
.nf
-386 { };
+385 { };
.fi
.SS "int Module::OnAccessCheck (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel, int access_type)\fC [virtual]\fP"
.PP
@@ -283,270 +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 383 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 382 of file modules.cpp.
.PP
References ACR_DEFAULT.
.PP
.nf
-383 { return ACR_DEFAULT; };
+382 { 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 410 of file modules.cpp.
+.PP
+.nf
+410 { 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 389 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 388 of file modules.cpp.
.PP
.nf
-389 { };
+388 { };
.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 403 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 402 of file modules.cpp.
.PP
.nf
-403 { return 0; };
+402 { 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 402 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 401 of file modules.cpp.
.PP
.nf
-402 { return 0; };
+401 { 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 385 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 384 of file modules.cpp.
.PP
References string_list.
.PP
.nf
-385 { string_list empty; return empty; }
+384 { 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 400 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 399 of file modules.cpp.
.PP
.nf
-400 { return 0; };
+399 { 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 397 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 396 of file modules.cpp.
.PP
.nf
-397 { return 0; };
+396 { 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 398 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 397 of file modules.cpp.
.PP
.nf
-398 { return 0; };
+397 { 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 399 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 398 of file modules.cpp.
.PP
.nf
-399 { return 0; };
+398 { 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 392 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 391 of file modules.cpp.
+.PP
+.nf
+391 { 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 411 of file modules.cpp.
.PP
.nf
-392 { return true; };
+411 { 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 406 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 405 of file modules.cpp.
.PP
.nf
-406 { return; };
+405 { 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 373 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 372 of file modules.cpp.
.PP
.nf
-373 { return false; }
+372 { 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 410 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 409 of file modules.cpp.
.PP
.nf
-410 { };
+409 { };
.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 409 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 408 of file modules.cpp.
.PP
.nf
-409 { };
+408 { };
.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 376 of file modules.cpp.
+<nick> :information hereDefinition at line 375 of file modules.cpp.
.PP
.nf
-376 { };
+375 { };
.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 387 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 386 of file modules.cpp.
.PP
.nf
-387 { return 0; };
+386 { 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 388 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 387 of file modules.cpp.
.PP
.nf
-388 { };
+387 { };
.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 404 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 403 of file modules.cpp.
.PP
.nf
-404 { return 0; };
+403 { 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 405 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 404 of file modules.cpp.
.PP
.nf
-405 { return 0; };
+404 { 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 375 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 374 of file modules.cpp.
.PP
.nf
-375 { };
+374 { };
.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 408 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 407 of file modules.cpp.
.PP
.nf
-408 { return 0; };
+407 { 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 369 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 368 of file modules.cpp.
.PP
.nf
-369 { }
+368 { }
.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 368 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 367 of file modules.cpp.
.PP
.nf
-368 { }
+367 { }
.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 391 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 390 of file modules.cpp.
.PP
.nf
-391 { return 0; };
+390 { 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 396 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 395 of file modules.cpp.
.PP
.nf
-396 { return 0; };
+395 { 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 412 of file modules.cpp.
+.PP
+.nf
+412 { };
+.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 414 of file modules.cpp.
+.PP
+.nf
+414 { };
+.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 415 of file modules.cpp.
+.PP
+.nf
+415 { 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 413 of file modules.cpp.
+.PP
+.nf
+413 { 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 370 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 369 of file modules.cpp.
.PP
.nf
-370 { }
+369 { }
.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 407 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 406 of file modules.cpp.
.PP
Referenced by Request::Send().
.PP
.nf
-407 { return NULL; };
+406 { 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 390 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 389 of file modules.cpp.
.PP
.nf
-390 { };
+389 { };
.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 371 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 370 of file modules.cpp.
.PP
.nf
-371 { }
+370 { }
.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 401 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 400 of file modules.cpp.
.PP
.nf
-401 { };
+400 { };
.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 363 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 362 of file modules.cpp.
.PP
.nf
-363 { }
+362 { }
.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 365 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 364 of file modules.cpp.
.PP
.nf
-365 { }
+364 { }
.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 366 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 365 of file modules.cpp.
.PP
.nf
-366 { }
+365 { }
.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 395 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 394 of file modules.cpp.
.PP
.nf
-395 { };
+394 { };
.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 367 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 366 of file modules.cpp.
.PP
.nf
-367 { }
+366 { }
.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 382 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 381 of file modules.cpp.
.PP
.nf
-382 { };
+381 { };
.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 378 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 377 of file modules.cpp.
.PP
.nf
-378 { return 0; };
+377 { return 0; };
.fi
.SS "int Module::OnUserPreJoin (\fBuserrec\fP * user, \fBchanrec\fP * chan, const char * cname)\fC [virtual]\fP"
.PP
@@ -554,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 372 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 371 of file modules.cpp.
.PP
.nf
-372 { return 0; }
+371 { 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 394 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 393 of file modules.cpp.
.PP
.nf
-394 { return 0; };
+393 { 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 379 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 378 of file modules.cpp.
.PP
.nf
-379 { return 0; };
+378 { 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 381 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 380 of file modules.cpp.
.PP
.nf
-381 { return 0; };
+380 { 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 380 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 379 of file modules.cpp.
.PP
.nf
-380 { return 0; };
+379 { 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 364 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 363 of file modules.cpp.
.PP
.nf
-364 { }
+363 { }
.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 393 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 392 of file modules.cpp.
.PP
.nf
-393 { };
+392 { };
.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 384 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 383 of file modules.cpp.
.PP
References string_list.
.PP
.nf
-384 { string_list empty; return empty; }
+383 { 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 377 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 376 of file modules.cpp.
.PP
.nf
-377 { };
+376 { };
.fi
diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3
index 5e8420840..8ab598e32 100644
--- a/docs/man/man3/ModuleFactory.3
+++ b/docs/man/man3/ModuleFactory.3
@@ -1,4 +1,4 @@
-.TH "ModuleFactory" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleFactory" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -32,22 +32,22 @@ Instantiates classes inherited from \fBModule\fP This class creates a class inhe
This is to allow for modules to create many different variants of \fBModule\fP, dependent on architecture, configuration, etc. In most cases, the simple class shown in the example module m_foobar.so will suffice for most modules.
.PP
-Definition at line 1241 of file modules.h.
+Definition at line 1291 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "ModuleFactory::ModuleFactory ()\fC [inline]\fP"
.PP
-Definition at line 1244 of file modules.h.
+Definition at line 1294 of file modules.h.
.PP
.nf
-1244 { }
+1294 { }
.fi
.SS "virtual ModuleFactory::~\fBModuleFactory\fP ()\fC [inline, virtual]\fP"
.PP
-Definition at line 1245 of file modules.h.
+Definition at line 1295 of file modules.h.
.PP
.nf
-1245 { }
+1295 { }
.fi
.SH "Member Function Documentation"
.PP
diff --git a/docs/man/man3/ModuleMessage.3 b/docs/man/man3/ModuleMessage.3
index 3b04d034a..bcc6a69e0 100644
--- a/docs/man/man3/ModuleMessage.3
+++ b/docs/man/man3/ModuleMessage.3
@@ -1,4 +1,4 @@
-.TH "ModuleMessage" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleMessage" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3
index a8a1adf0b..8558748e9 100644
--- a/docs/man/man3/QLine.3
+++ b/docs/man/man3/QLine.3
@@ -1,4 +1,4 @@
-.TH "QLine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "QLine" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3
index 28a518bc5..e3bc31498 100644
--- a/docs/man/man3/Request.3
+++ b/docs/man/man3/Request.3
@@ -1,4 +1,4 @@
-.TH "Request" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Request" 3 "7 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 308 of file modules.cpp.
+Create a new Request. Definition at line 306 of file modules.cpp.
.PP
.nf
-308 : data(anydata), source(src), dest(dst) { };
+306 : data(anydata), source(src), dest(dst) { };
.fi
.SH "Member Function Documentation"
.PP
.SS "char * Request::GetData ()"
.PP
-Fetch the Request data. Definition at line 310 of file modules.cpp.
+Fetch the Request data. Definition at line 308 of file modules.cpp.
.PP
References data.
.PP
.nf
-311 {
-312 return this->data;
-313 }
+309 {
+310 return this->data;
+311 }
.fi
.SS "\fBModule\fP * Request::GetDest ()"
.PP
-Fetch the request destination (should be 'this' in the receiving module). Definition at line 320 of file modules.cpp.
+Fetch the request destination (should be 'this' in the receiving module). Definition at line 318 of file modules.cpp.
.PP
References dest.
.PP
.nf
-321 {
-322 return this->dest;
-323 }
+319 {
+320 return this->dest;
+321 }
.fi
.SS "\fBModule\fP * Request::GetSource ()"
.PP
-Fetch the request source. Definition at line 315 of file modules.cpp.
+Fetch the request source. Definition at line 313 of file modules.cpp.
.PP
References source.
.PP
.nf
-316 {
-317 return this->source;
-318 }
+314 {
+315 return this->source;
+316 }
.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 325 of file modules.cpp.
+Definition at line 323 of file modules.cpp.
.PP
References dest, and Module::OnRequest().
.PP
.nf
-326 {
-327 if (this->dest)
-328 {
-329 return dest->OnRequest(this);
-330 }
-331 else
-332 {
-333 return NULL;
-334 }
-335 }
+324 {
+325 if (this->dest)
+326 {
+327 return dest->OnRequest(this);
+328 }
+329 else
+330 {
+331 return NULL;
+332 }
+333 }
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3
index 47253deec..739987c2a 100644
--- a/docs/man/man3/Server.3
+++ b/docs/man/man3/Server.3
@@ -1,4 +1,4 @@
-.TH "Server" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Server" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -40,6 +40,10 @@ Inherits \fBclassbase\fP.
.br
.RI "\fISends text from the server to a socket. \fP"
.ti -1c
+.RI "virtual void \fBSendChannelServerNotice\fP (std::string ServName, \fBchanrec\fP *Channel, std::string text)"
+.br
+.RI "\fIWrites text to a channel, but from a server, including all. \fP"
+.ti -1c
.RI "virtual void \fBSendFrom\fP (int Socket, \fBuserrec\fP *User, std::string s)"
.br
.RI "\fISends text from a user to a socket. \fP"
@@ -76,6 +80,10 @@ Inherits \fBclassbase\fP.
.br
.RI "\fIAttempts to look up a nick and return a pointer to it. \fP"
.ti -1c
+.RI "virtual \fBuserrec\fP * \fBFindDescriptor\fP (int socket)"
+.br
+.RI "\fIAttempts to look up a nick using the file descriptor associated with that nick. \fP"
+.ti -1c
.RI "virtual \fBchanrec\fP * \fBFindChannel\fP (std::string channel)"
.br
.RI "\fIAttempts to look up a channel and return a pointer to it. \fP"
@@ -254,24 +262,24 @@ Allows server output and query functions This class contains methods which allow
All modules should instantiate at least one copy of this class, and use its member functions to perform their tasks.
.PP
-Definition at line 652 of file modules.h.
+Definition at line 694 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Server::Server ()"
.PP
-Default constructor. Creates a Server object.Definition at line 416 of file modules.cpp.
+Default constructor. Creates a Server object.Definition at line 421 of file modules.cpp.
.PP
.nf
-417 {
-418 }
+422 {
+423 }
.fi
.SS "Server::~\fBServer\fP ()\fC [virtual]\fP"
.PP
-Default destructor. Destroys a Server object.Definition at line 420 of file modules.cpp.
+Default destructor. Destroys a Server object.Definition at line 425 of file modules.cpp.
.PP
.nf
-421 {
-422 }
+426 {
+427 }
.fi
.SH "Member Function Documentation"
.PP
@@ -281,25 +289,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 497 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 494 of file modules.cpp.
.PP
References createcommand().
.PP
.nf
-498 {
-499 createcommand(cmd,f,flags,minparams,source);
-500 }
+495 {
+496 createcommand(cmd,f,flags,minparams,source);
+497 }
.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 715 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 731 of file modules.cpp.
.PP
References add_eline(), and duration().
.PP
.nf
-716 {
-717 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-718 }
+732 {
+733 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+734 }
.fi
.SS "bool Server::AddExtendedListMode (char modechar)\fC [virtual]\fP"
.PP
@@ -313,528 +321,540 @@ 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 642 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 657 of file modules.cpp.
.PP
References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.
.PP
.nf
-643 {
-644 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
-645 if (res)
-646 ModeMakeList(modechar);
-647 return res;
-648 }
+658 {
+659 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
+660 if (res)
+661 ModeMakeList(modechar);
+662 return res;
+663 }
.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 622 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 629 of file modules.cpp.
.PP
References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.
.PP
.nf
-623 {
-624 if (type == MT_SERVER)
-625 {
-626 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
-627 return false;
-628 }
-629 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-630 {
-631 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
-632 return false;
-633 }
-634 if ((params_when_on>1) || (params_when_off>1))
-635 {
-636 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
-637 return false;
-638 }
-639 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-640 }
+630 {
+631 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z')))
+632 {
+633 if (type == MT_SERVER)
+634 {
+635 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
+636 return false;
+637 }
+638 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+639 {
+640 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
+641 return false;
+642 }
+643 if ((params_when_on>1) || (params_when_off>1))
+644 {
+645 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
+646 return false;
+647 }
+648 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+649 }
+650 else
+651 {
+652 log(DEBUG,'*** API ERROR *** Muppet modechar detected.');
+653 }
+654 return false;
+655 }
.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 695 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 711 of file modules.cpp.
.PP
References add_gline(), and duration().
.PP
.nf
-696 {
-697 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-698 }
+712 {
+713 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+714 }
.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 710 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 726 of file modules.cpp.
.PP
References add_kline(), and duration().
.PP
.nf
-711 {
-712 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-713 }
+727 {
+728 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+729 }
.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 700 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 716 of file modules.cpp.
.PP
References add_qline(), and duration().
.PP
.nf
-701 {
-702 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
-703 }
+717 {
+718 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
+719 }
.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 705 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 721 of file modules.cpp.
.PP
References add_zline(), and duration().
.PP
.nf
-706 {
-707 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-708 }
+722 {
+723 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+724 }
.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 745 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 761 of file modules.cpp.
.PP
References duration().
.PP
.nf
-746 {
-747 return duration(delta.c_str());
-748 }
+762 {
+763 return duration(delta.c_str());
+764 }
.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 487 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 484 of file modules.cpp.
.PP
.nf
-488 {
-489 call_handler(commandname.c_str(),parameters,pcnt,user);
-490 }
+485 {
+486 call_handler(commandname.c_str(),parameters,pcnt,user);
+487 }
.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 575 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 577 of file modules.cpp.
.PP
References ChangeName().
.PP
.nf
-576 {
-577 ChangeName(user,gecos.c_str());
-578 }
+578 {
+579 ChangeName(user,gecos.c_str());
+580 }
.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 570 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 572 of file modules.cpp.
.PP
References ChangeDisplayedHost().
.PP
.nf
-571 {
-572 ChangeDisplayedHost(user,host.c_str());
-573 }
+573 {
+574 ChangeDisplayedHost(user,host.c_str());
+575 }
.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 471 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 469 of file modules.cpp.
.PP
.nf
-472 {
-473 force_nickchange(user,nickname.c_str());
-474 }
+470 {
+471 force_nickchange(user,nickname.c_str());
+472 }
.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 595 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 602 of file modules.cpp.
.PP
References cmode().
.PP
.nf
-596 {
-597 return cmode(User,Chan);
-598 }
+603 {
+604 return cmode(User,Chan);
+605 }
.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 548 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 550 of file modules.cpp.
.PP
References common_channels().
.PP
.nf
-549 {
-550 return (common_channels(u1,u2) != 0);
-551 }
+551 {
+552 return (common_channels(u1,u2) != 0);
+553 }
.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 650 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 665 of file modules.cpp.
.PP
.nf
-651 {
-652 return usercount(c);
-653 }
+666 {
+667 return usercount(c);
+668 }
.fi
.SS "bool Server::DelELine (std::string hostmask)\fC [virtual]\fP"
.PP
-Deletes a local E-Line. Definition at line 740 of file modules.cpp.
+Deletes a local E-Line. Definition at line 756 of file modules.cpp.
.PP
References del_eline().
.PP
.nf
-741 {
-742 del_eline(hostmask.c_str());
-743 }
+757 {
+758 del_eline(hostmask.c_str());
+759 }
.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 720 of file modules.cpp.
+Deletes a G-Line from all servers on the mesh. Definition at line 736 of file modules.cpp.
.PP
References del_gline().
.PP
.nf
-721 {
-722 del_gline(hostmask.c_str());
-723 }
+737 {
+738 del_gline(hostmask.c_str());
+739 }
.fi
.SS "bool Server::DelKLine (std::string hostmask)\fC [virtual]\fP"
.PP
-Deletes a local K-Line. Definition at line 735 of file modules.cpp.
+Deletes a local K-Line. Definition at line 751 of file modules.cpp.
.PP
References del_kline().
.PP
.nf
-736 {
-737 del_kline(hostmask.c_str());
-738 }
+752 {
+753 del_kline(hostmask.c_str());
+754 }
.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 725 of file modules.cpp.
+Deletes a Q-Line from all servers on the mesh. Definition at line 741 of file modules.cpp.
.PP
References del_qline().
.PP
.nf
-726 {
-727 del_qline(nickname.c_str());
-728 }
+742 {
+743 del_qline(nickname.c_str());
+744 }
.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 730 of file modules.cpp.
+Deletes a Z-Line from all servers on the mesh. Definition at line 746 of file modules.cpp.
.PP
References del_zline().
.PP
.nf
-731 {
-732 del_zline(ipaddr.c_str());
-733 }
+747 {
+748 del_zline(ipaddr.c_str());
+749 }
.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 590 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 597 of file modules.cpp.
.PP
.nf
-591 {
-592 return FindChan(channel.c_str());
-593 }
+598 {
+599 return FindChan(channel.c_str());
+600 }
+.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 592 of file modules.cpp.
+.PP
+References fd_ref_table.
+.PP
+.nf
+593 {
+594 return (socket < 65536 ? fd_ref_table[socket] : NULL);
+595 }
.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 823 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 839 of file modules.cpp.
.PP
References MODCOUNT, module_names, and modules.
.PP
.nf
-824 {
-825 for (int i = 0; i <= MODCOUNT; i++)
-826 {
-827 if (module_names[i] == name)
-828 {
-829 return modules[i];
-830 }
-831 }
-832 return NULL;
-833 }
+840 {
+841 for (int i = 0; i <= MODCOUNT; i++)
+842 {
+843 if (module_names[i] == name)
+844 {
+845 return modules[i];
+846 }
+847 }
+848 return NULL;
+849 }
.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 585 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 587 of file modules.cpp.
.PP
.nf
-586 {
-587 return Find(nick);
-588 }
+588 {
+589 return Find(nick);
+590 }
.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 615 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 622 of file modules.cpp.
.PP
.nf
-616 {
-617 return Admin(getadminname(),getadminemail(),getadminnick());
-618 }
+623 {
+624 return Admin(getadminname(),getadminemail(),getadminnick());
+625 }
.fi
.SS "std::string Server::GetNetworkName ()\fC [virtual]\fP"
.PP
-Returns the network name, global to all linked servers. Definition at line 610 of file modules.cpp.
+Returns the network name, global to all linked servers. Definition at line 617 of file modules.cpp.
.PP
.nf
-611 {
-612 return getnetworkname();
-613 }
+618 {
+619 return getnetworkname();
+620 }
.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 605 of file modules.cpp.
+Returns the server name of the server where the module is loaded. Definition at line 612 of file modules.cpp.
.PP
.nf
-606 {
-607 return getservername();
-608 }
+613 {
+614 return getservername();
+615 }
.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 452 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 457 of file modules.cpp.
.PP
-References chanuserlist, clientlist, has_channel(), and isnick().
+References chanuserlist, chanrec::GetUsers(), and list.
.PP
.nf
-453 {
-454 chanuserlist userl;
-455 userl.clear();
-456 for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++)
-457 {
-458 if (i->second)
-459 {
-460 if (has_channel(i->second,chan))
-461 {
-462 if (isnick(i->second->nick))
-463 {
-464 userl.push_back(i->second);
-465 }
-466 }
-467 }
-468 }
-469 return userl;
-470 }
+458 {
+459 chanuserlist userl;
+460 userl.clear();
+461 std::vector<char*> *list = chan->GetUsers();
+462 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++)
+463 {
+464 char* o = *i;
+465 userl.push_back((userrec*)o);
+466 }
+467 return userl;
+468 }
.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 580 of file modules.cpp.
+Returns true if a nick is valid. Nicks for unregistered connections will return false.Definition at line 582 of file modules.cpp.
.PP
References isnick().
.PP
.nf
-581 {
-582 return (isnick(nick.c_str()) != 0);
-583 }
+583 {
+584 return (isnick(nick.c_str()) != 0);
+585 }
.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 600 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 607 of file modules.cpp.
.PP
References has_channel().
.PP
.nf
-601 {
-602 return has_channel(User,Chan);
-603 }
+608 {
+609 return has_channel(User,Chan);
+610 }
.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 482 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 479 of file modules.cpp.
.PP
References is_uline().
.PP
.nf
-483 {
-484 return is_uline(server.c_str());
-485 }
+480 {
+481 return is_uline(server.c_str());
+482 }
.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 750 of file modules.cpp.
-.PP
-.nf
-751 {
-752 const char* dest = mask.c_str();
-753 if (strchr(dest,'!')==0)
-754 return false;
-755 if (strchr(dest,'@')==0)
-756 return false;
-757 for (int i = 0; i < strlen(dest); i++)
-758 if (dest[i] < 32)
-759 return false;
-760 for (int i = 0; i < strlen(dest); i++)
-761 if (dest[i] > 126)
-762 return false;
-763 int c = 0;
-764 for (int i = 0; i < strlen(dest); i++)
-765 if (dest[i] == '!')
-766 c++;
-767 if (c>1)
-768 return false;
-769 c = 0;
-770 for (int i = 0; i < strlen(dest); i++)
-771 if (dest[i] == '@')
-772 c++;
-773 if (c>1)
-774 return false;
-775
-776 return true;
-777 }
+Returns true if a nick!ident string is correctly formatted, false if otherwise. Definition at line 766 of file modules.cpp.
+.PP
+.nf
+767 {
+768 const char* dest = mask.c_str();
+769 if (strchr(dest,'!')==0)
+770 return false;
+771 if (strchr(dest,'@')==0)
+772 return false;
+773 for (int i = 0; i < strlen(dest); i++)
+774 if (dest[i] < 32)
+775 return false;
+776 for (int i = 0; i < strlen(dest); i++)
+777 if (dest[i] > 126)
+778 return false;
+779 int c = 0;
+780 for (int i = 0; i < strlen(dest); i++)
+781 if (dest[i] == '!')
+782 c++;
+783 if (c>1)
+784 return false;
+785 c = 0;
+786 for (int i = 0; i < strlen(dest); i++)
+787 if (dest[i] == '@')
+788 c++;
+789 if (c>1)
+790 return false;
+791
+792 return true;
+793 }
.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 442 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 447 of file modules.cpp.
.PP
.nf
-443 {
-444 return add_channel(user,cname.c_str(),key.c_str(),true);
-445 }
+448 {
+449 return add_channel(user,cname.c_str(),key.c_str(),false);
+450 }
.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 492 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 489 of file modules.cpp.
.PP
.nf
-493 {
-494 log(level,'%s',s.c_str());
-495 }
+490 {
+491 log(level,'%s',s.c_str());
+492 }
.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 429 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 434 of file modules.cpp.
.PP
.nf
-430 {
-431 char literal[MAXBUF],pattern[MAXBUF];
-432 strlcpy(literal,sliteral.c_str(),MAXBUF);
-433 strlcpy(pattern,spattern.c_str(),MAXBUF);
-434 return match(literal,pattern);
-435 }
+435 {
+436 char literal[MAXBUF],pattern[MAXBUF];
+437 strlcpy(literal,sliteral.c_str(),MAXBUF);
+438 strlcpy(pattern,spattern.c_str(),MAXBUF);
+439 return match(literal,pattern);
+440 }
.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 805 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 821 of file modules.cpp.
.PP
.nf
-806 {
-807 if (c)
-808 {
-809 return ChanAnyOnThisServer(c,(char*)servername.c_str());
-810 }
-811 else return false;
-812 }
+822 {
+823 if (c)
+824 {
+825 return ChanAnyOnThisServer(c,(char*)servername.c_str());
+826 }
+827 else return false;
+828 }
.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 814 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 830 of file modules.cpp.
.PP
.nf
-815 {
-816 if (u)
-817 {
-818 return CommonOnThisServer(u,(char*)servername.c_str());
-819 }
-820 else return false;
-821 }
+831 {
+832 if (u)
+833 {
+834 return CommonOnThisServer(u,(char*)servername.c_str());
+835 }
+836 else return false;
+837 }
.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 779 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 795 of file modules.cpp.
.PP
.nf
-780 {
-781 NetSendToAll((char*)text.c_str());
-782 }
+796 {
+797 NetSendToAll((char*)text.c_str());
+798 }
.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 790 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 806 of file modules.cpp.
.PP
.nf
-791 {
-792 NetSendToAllAlive((char*)text.c_str());
-793 }
+807 {
+808 NetSendToAllAlive((char*)text.c_str());
+809 }
.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 800 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 816 of file modules.cpp.
.PP
.nf
-801 {
-802 NetSendToAllExcept(target.c_str(),(char*)text.c_str());
-803 }
+817 {
+818 NetSendToAllExcept(target.c_str(),(char*)text.c_str());
+819 }
.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 784 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 800 of file modules.cpp.
.PP
.nf
-785 {
-786 if (user)
-787 NetSendToCommon(user,(char*)text.c_str());
-788 }
+801 {
+802 if (user)
+803 NetSendToCommon(user,(char*)text.c_str());
+804 }
.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 795 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 811 of file modules.cpp.
.PP
.nf
-796 {
-797 NetSendToOne((char*)destination.c_str(),(char*)text.c_str());
-798 }
+812 {
+813 NetSendToOne((char*)destination.c_str(),(char*)text.c_str());
+814 }
.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 447 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 452 of file modules.cpp.
.PP
.nf
-448 {
-449 return del_channel(user,cname.c_str(),reason.c_str(),false);
-450 }
+453 {
+454 return del_channel(user,cname.c_str(),reason.c_str(),false);
+455 }
.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 665 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 681 of file modules.cpp.
.PP
-References ucrec::channel, userrec::chans, connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset.
+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
-666 {
-667 zombie->fd = alive->fd;
-668 alive->fd = FD_MAGIC_NUMBER;
-669 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
-670 kill_link(alive,message.c_str());
-671 for (int i = 0; i != MAXCHANS; i++)
-672 {
-673 if (zombie->chans[i].channel != NULL)
-674 {
-675 if (zombie->chans[i].channel->name)
-676 {
-677 chanrec* Ptr = zombie->chans[i].channel;
-678 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
-679 if (Ptr->topicset)
-680 {
-681 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
-682 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
-683 }
-684 userlist(zombie,Ptr);
-685 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
-686 //WriteServ(zombie->fd,'324 %s %s +%s',zombie->nick, Ptr->name,chanmodes(Ptr));
-687 //WriteServ(zombie->fd,'329 %s %s %d', zombie->nick, Ptr->name, Ptr->created);
-688
-689 }
-690 }
-691 }
-692
-693 }
+682 {
+683 zombie->fd = alive->fd;
+684 alive->fd = FD_MAGIC_NUMBER;
+685 alive->ClearBuffer();
+686 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
+687 kill_link(alive,message.c_str());
+688 fd_ref_table[zombie->fd] = zombie;
+689 for (int i = 0; i != MAXCHANS; i++)
+690 {
+691 if (zombie->chans[i].channel != NULL)
+692 {
+693 if (zombie->chans[i].channel->name)
+694 {
+695 chanrec* Ptr = zombie->chans[i].channel;
+696 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
+697 if (Ptr->topicset)
+698 {
+699 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
+700 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
+701 }
+702 userlist(zombie,Ptr);
+703 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
+704
+705 }
+706 }
+707 }
+708
+709 }
.fi
.SS "void Server::QuitUser (\fBuserrec\fP * user, std::string reason)\fC [virtual]\fP"
.PP
@@ -842,65 +862,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 476 of file modules.cpp.
-.PP
-References userrec::nick, and send_network_quit().
+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 474 of file modules.cpp.
.PP
.nf
-477 {
-478 send_network_quit(user->nick,reason.c_str());
-479 kill_link(user,reason.c_str());
-480 }
+475 {
+476 kill_link(user,reason.c_str());
+477 }
.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 507 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 504 of file modules.cpp.
.PP
.nf
-508 {
-509 Write(Socket,'%s',s.c_str());
-510 }
+505 {
+506 Write(Socket,'%s',s.c_str());
+507 }
.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 536 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 538 of file modules.cpp.
+.PP
+.nf
+539 {
+540 if (IncludeSender)
+541 {
+542 WriteChannel(Channel,User,'%s',s.c_str());
+543 }
+544 else
+545 {
+546 ChanExceptSender(Channel,User,'%s',s.c_str());
+547 }
+548 }
+.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 533 of file modules.cpp.
.PP
.nf
-537 {
-538 if (IncludeSender)
-539 {
-540 WriteChannel(Channel,User,'%s',s.c_str());
-541 }
-542 else
-543 {
-544 ChanExceptSender(Channel,User,'%s',s.c_str());
-545 }
-546 }
+534 {
+535 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str());
+536 }
.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 553 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 555 of file modules.cpp.
.PP
.nf
-554 {
-555 if (IncludeSender)
-556 {
-557 WriteCommon(User,'%s',text.c_str());
-558 }
-559 else
-560 {
-561 WriteCommonExcept(User,'%s',text.c_str());
-562 }
-563 }
+556 {
+557 if (IncludeSender)
+558 {
+559 WriteCommon(User,'%s',text.c_str());
+560 }
+561 else
+562 {
+563 WriteCommonExcept(User,'%s',text.c_str());
+564 }
+565 }
.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 517 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 514 of file modules.cpp.
.PP
.nf
-518 {
-519 WriteFrom(Socket,User,'%s',s.c_str());
-520 }
+515 {
+516 WriteFrom(Socket,User,'%s',s.c_str());
+517 }
.fi
.SS "void Server::SendMode (char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
@@ -918,32 +944,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 502 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 499 of file modules.cpp.
.PP
References server_mode().
.PP
.nf
-503 {
-504 server_mode(parameters,pcnt,user);
-505 }
+500 {
+501 server_mode(parameters,pcnt,user);
+502 }
.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 424 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 429 of file modules.cpp.
.PP
.nf
-425 {
-426 WriteOpers('%s',s.c_str());
-427 }
+430 {
+431 WriteOpers('%s',s.c_str());
+432 }
.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 512 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 509 of file modules.cpp.
.PP
.nf
-513 {
-514 WriteServ(Socket,'%s',s.c_str());
-515 }
+510 {
+511 WriteServ(Socket,'%s',s.c_str());
+512 }
.fi
.SS "void Server::SendTo (\fBuserrec\fP * Source, \fBuserrec\fP * Dest, std::string s)\fC [virtual]\fP"
.PP
@@ -955,23 +981,23 @@ The format will become:
.PP
:localserver TEXT
.PP
-Which is useful for numerics and server notices to single users, etc.Definition at line 522 of file modules.cpp.
+Which is useful for numerics and server notices to single users, etc.Definition at line 519 of file modules.cpp.
.PP
References connection::fd.
.PP
.nf
-523 {
-524 if (!Source)
-525 {
-526 // if source is NULL, then the message originates from the local server
-527 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
-528 }
-529 else
-530 {
-531 // otherwise it comes from the user specified
-532 WriteTo(Source,Dest,'%s',s.c_str());
-533 }
-534 }
+520 {
+521 if (!Source)
+522 {
+523 // if source is NULL, then the message originates from the local server
+524 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
+525 }
+526 else
+527 {
+528 // otherwise it comes from the user specified
+529 WriteTo(Source,Dest,'%s',s.c_str());
+530 }
+531 }
.fi
.SS "void Server::SendToModeMask (std::string modes, int flags, std::string text)\fC [virtual]\fP"
.PP
@@ -979,36 +1005,37 @@ 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 437 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 442 of file modules.cpp.
.PP
.nf
-438 {
-439 WriteMode(modes.c_str(),flags,'%s',text.c_str());
-440 }
+443 {
+444 WriteMode(modes.c_str(),flags,'%s',text.c_str());
+445 }
.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 565 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 567 of file modules.cpp.
.PP
.nf
-566 {
-567 WriteWallOps(User,false,'%s',text.c_str());
-568 }
+568 {
+569 WriteWallOps(User,false,'%s',text.c_str());
+570 }
.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 656 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 671 of file modules.cpp.
.PP
-References connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident.
+References userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident.
.PP
.nf
-657 {
-658 unsigned int old_fd = user->fd;
-659 user->fd = FD_MAGIC_NUMBER;
-660 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
-661 close(old_fd);
-662 shutdown (old_fd,2);
-663 }
+672 {
+673 unsigned int old_fd = user->fd;
+674 user->fd = FD_MAGIC_NUMBER;
+675 user->ClearBuffer();
+676 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
+677 shutdown(old_fd,2);
+678 close(old_fd);
+679 }
.fi
diff --git a/docs/man/man3/StrHashComp.3 b/docs/man/man3/StrHashComp.3
index bcdf74124..77581534f 100644
--- a/docs/man/man3/StrHashComp.3
+++ b/docs/man/man3/StrHashComp.3
@@ -1,4 +1,4 @@
-.TH "StrHashComp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "StrHashComp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -17,17 +17,17 @@ StrHashComp \-
.PP
.SS "bool StrHashComp::operator() (const string & s1, const string & s2) const\fC [inline]\fP"
.PP
-Definition at line 146 of file modules.cpp.
+Definition at line 147 of file modules.cpp.
.PP
.nf
-147 {
-148 char a[MAXBUF],b[MAXBUF];
-149 strlcpy(a,s1.c_str(),MAXBUF);
-150 strlcpy(b,s2.c_str(),MAXBUF);
-151 strlower(a);
-152 strlower(b);
-153 return (strcasecmp(a,b) == 0);
-154 }
+148 {
+149 char a[MAXBUF],b[MAXBUF];
+150 strlcpy(a,s1.c_str(),MAXBUF);
+151 strlcpy(b,s2.c_str(),MAXBUF);
+152 strlower(a);
+153 strlower(b);
+154 return (strcasecmp(a,b) == 0);
+155 }
.fi
diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3
index 2c0ed2ead..a6a4e7a22 100644
--- a/docs/man/man3/Version.3
+++ b/docs/man/man3/Version.3
@@ -1,4 +1,4 @@
-.TH "Version" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "Version" 3 "7 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 302 of file modules.cpp.
+Definition at line 300 of file modules.cpp.
.PP
.nf
-302 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
+300 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags) { };
.fi
.SH "Member Data Documentation"
.PP
diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3
index caad829bc..9bf0c83b7 100644
--- a/docs/man/man3/XLine.3
+++ b/docs/man/man3/XLine.3
@@ -1,4 +1,4 @@
-.TH "XLine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "XLine" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3
index e350adf0e..4dba12a85 100644
--- a/docs/man/man3/ZLine.3
+++ b/docs/man/man3/ZLine.3
@@ -1,4 +1,4 @@
-.TH "ZLine" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ZLine" 3 "7 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 bceb6d795..2b198832a 100644
--- a/docs/man/man3/base.h.3
+++ b/docs/man/man3/base.h.3
@@ -1,4 +1,4 @@
-.TH "base.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "base.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3
index c1cbe6acb..2d62f95bc 100644
--- a/docs/man/man3/channels.cpp.3
+++ b/docs/man/man3/channels.cpp.3
@@ -1,4 +1,4 @@
-.TH "channels.cpp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.cpp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -257,6 +257,8 @@ Definition at line 91 of file channels.cpp.
.SS "char \fBlist\fP[MAXBUF]"
.PP
Definition at line 78 of file channels.cpp.
+.PP
+Referenced by Server::GetUsers().
.SS "FILE* \fBlog_file\fP"
.PP
Definition at line 105 of file channels.cpp.
@@ -271,7 +273,7 @@ Definition at line 88 of file channels.cpp.
Definition at line 103 of file channels.cpp.
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 1032 of file modules.cpp.
+Definition at line 1048 of file modules.cpp.
.PP
Referenced by Server::FindModule().
.SS "std::vector<std::string> \fBmodule_names\fP"
@@ -324,7 +326,7 @@ Definition at line 86 of file channels.cpp.
.PP
Definition at line 107 of file channels.cpp.
.PP
-Referenced by serverrec::serverrec().
+Referenced by serverrec::serverrec(), and userrec::userrec().
.SS "int \fBUDPportCount\fP"
.PP
Definition at line 96 of file channels.cpp.
diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3
index 5d6c7051e..77dd2caea 100644
--- a/docs/man/man3/channels.h.3
+++ b/docs/man/man3/channels.h.3
@@ -1,4 +1,4 @@
-.TH "channels.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "channels.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3
index 80b5db18d..8dcd2fade 100644
--- a/docs/man/man3/chanrec.3
+++ b/docs/man/man3/chanrec.3
@@ -1,4 +1,4 @@
-.TH "chanrec" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "chanrec" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -254,6 +254,8 @@ Obrain the internal reference list The internal reference list contains a list o
.PP
References internal_userlist.
.PP
+Referenced by Server::GetUsers().
+.PP
.nf
241 {
242 return &internal_userlist;
@@ -292,7 +294,7 @@ References custom_modes, DEBUG, and SetCustomModeParam().
.nf
126 {
127 if (mode_on) {
-128 char m[3];
+128 static char m[3];
129 m[0] = mode;
130 m[1] = '\0';
131 if (!strchr(this->custom_modes,mode))
diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3
index aa5dbd61e..da70de3fc 100644
--- a/docs/man/man3/classbase.3
+++ b/docs/man/man3/classbase.3
@@ -1,4 +1,4 @@
-.TH "classbase" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "classbase" 3 "7 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 b826865e6..9fa5a044c 100644
--- a/docs/man/man3/command_t.3
+++ b/docs/man/man3/command_t.3
@@ -1,4 +1,4 @@
-.TH "command_t" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "command_t" 3 "7 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 7f72427e7..ac7a2a429 100644
--- a/docs/man/man3/commands.h.3
+++ b/docs/man/man3/commands.h.3
@@ -1,4 +1,4 @@
-.TH "commands.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "commands.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3
index ca2a69951..7b1f51029 100644
--- a/docs/man/man3/connection.3
+++ b/docs/man/man3/connection.3
@@ -1,4 +1,4 @@
-.TH "connection" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -53,10 +53,6 @@ Inherited by \fBserverrec\fP, and \fBuserrec\fP.
.RI "bool \fBAddIncoming\fP (int \fBfd\fP, char *targethost, int sourceport)"
.br
.RI "\fIAdd an incoming connection to the connection pool. \fP"
-.ti -1c
-.RI "long \fBGenKey\fP ()"
-.br
-.RI "\fIThis function is deprecated and may be removed in a later alpha/beta. \fP"
.in -1c
.SS "Public Attributes"
@@ -140,7 +136,7 @@ Inherited by \fBserverrec\fP, and \fBuserrec\fP.
.in -1c
.SH "Detailed Description"
.PP
-Please note: classes serverrec and userrec both inherit from class connection. Definition at line 178 of file connection.h.
+Please note: classes serverrec and userrec both inherit from class connection. Definition at line 210 of file connection.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "connection::connection ()"
@@ -160,9 +156,6 @@ Create a listening socket on 'host' using port number 'p'.
.SS "\fBircd_connector\fP* connection::FindHost (std::string host)"
.PP
Find the \fBircd_connector\fP oject related to a certain servername given in 'host'.
-.SS "long connection::GenKey ()"
-.PP
-This function is deprecated and may be removed in a later alpha/beta.
.SS "bool connection::MeshCookie (char * targethost, int port, unsigned long cookie, char * servername)"
.PP
Begin an outbound mesh link to another ircd on a network you are already an authenticated member of.
@@ -179,91 +172,91 @@ Terminate a link to 'targethost' by calling the \fBircd_connector::CloseConnecti
.PP
.SS "long \fBconnection::bytes_in\fP"
.PP
-Stats counter for bytes inbound. Definition at line 199 of file connection.h.
+Stats counter for bytes inbound. Definition at line 231 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "long \fBconnection::bytes_out\fP"
.PP
-Stats counter for bytes outbound. Definition at line 203 of file connection.h.
+Stats counter for bytes outbound. Definition at line 235 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "long \fBconnection::cmds_in\fP"
.PP
-Stats counter for commands inbound. Definition at line 207 of file connection.h.
+Stats counter for commands inbound. Definition at line 239 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "long \fBconnection::cmds_out\fP"
.PP
-Stats counter for commands outbound. Definition at line 211 of file connection.h.
+Stats counter for commands outbound. Definition at line 243 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "std::vector<\fBircd_connector\fP> \fBconnection::connectors\fP"
.PP
-With a serverrec, this is a list of all established server connections. With a userrec this is unused.Definition at line 258 of file connection.h.
+With a serverrec, this is a list of all established server connections. With a userrec this is unused.Definition at line 290 of file connection.h.
.SS "int \fBconnection::fd\fP"
.PP
-File descriptor of the connection. Definition at line 183 of file connection.h.
+File descriptor of the connection. Definition at line 215 of file connection.h.
.PP
Referenced by ConfigReader::DumpErrors(), Server::PseudoToUser(), Server::SendTo(), serverrec::serverrec(), userrec::userrec(), and Server::UserToPseudo().
.SS "bool \fBconnection::haspassed\fP"
.PP
-True if server/user has authenticated, false if otherwise. Definition at line 215 of file connection.h.
+True if server/user has authenticated, false if otherwise. Definition at line 247 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "char \fBconnection::host\fP[256]"
.PP
-Hostname of connection. Not used if this is a serverrecDefinition at line 187 of file connection.h.
+Hostname of connection. Not used if this is a serverrecDefinition at line 219 of file connection.h.
.PP
Referenced by userrec::GetFullRealHost(), Server::PseudoToUser(), userrec::userrec(), and Server::UserToPseudo().
.SS "time_t \fBconnection::idle_lastmsg\fP"
.PP
-Time that the connection last sent data, used to calculate idle time. Definition at line 241 of file connection.h.
+Time that the connection last sent data, used to calculate idle time. Definition at line 273 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "char \fBconnection::inbuf\fP[MAXBUF]"
.PP
-Inbuf of connection. Only used for userrecDefinition at line 195 of file connection.h.
+Inbuf of connection. Only used for userrecDefinition at line 227 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "char \fBconnection::internal_addr\fP[MAXBUF]"
.PP
-Unused, will be removed in a future alpha/beta. Definition at line 249 of file connection.h.
+Unused, will be removed in a future alpha/beta. Definition at line 281 of file connection.h.
.SS "int \fBconnection::internal_port\fP"
.PP
-Unused, will be removed in a future alpha/beta. Definition at line 253 of file connection.h.
+Unused, will be removed in a future alpha/beta. Definition at line 285 of file connection.h.
.SS "char \fBconnection::ip\fP[32]"
.PP
-IP of connection. Reserved for future use.Definition at line 191 of file connection.h.
+IP of connection. Reserved for future use.Definition at line 223 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "time_t \fBconnection::lastping\fP"
.PP
-Time the connection was last pinged. Definition at line 233 of file connection.h.
+Time the connection was last pinged. Definition at line 265 of file connection.h.
.PP
Referenced by serverrec::serverrec(), and userrec::userrec().
.SS "time_t \fBconnection::nping\fP"
.PP
-Used by PING checks with clients. Definition at line 245 of file connection.h.
+Used by PING checks with clients. Definition at line 277 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "int \fBconnection::port\fP"
.PP
-Port number For a userrec, this is the port they connected to the network on. For a serverrec this is the current listening port of the serverrec object.Definition at line 221 of file connection.h.
+Port number For a userrec, this is the port they connected to the network on. For a serverrec this is the current listening port of the serverrec object.Definition at line 253 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "int \fBconnection::registered\fP"
.PP
-Used by userrec to indicate the registration status of the connection. Definition at line 225 of file connection.h.
+Used by userrec to indicate the registration status of the connection. Definition at line 257 of file connection.h.
.PP
Referenced by userrec::userrec().
.SS "time_t \fBconnection::signon\fP"
.PP
-Time the connection was created, set in the constructor. Definition at line 237 of file connection.h.
+Time the connection was created, set in the constructor. Definition at line 269 of file connection.h.
.PP
Referenced by serverrec::serverrec(), and userrec::userrec().
.SS "short int \fBconnection::state\fP"
.PP
-Reserved for future use. Definition at line 229 of file connection.h.
+Reserved for future use. Definition at line 261 of file connection.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/connection.h.3 b/docs/man/man3/connection.h.3
index b0d6374fc..492693091 100644
--- a/docs/man/man3/connection.h.3
+++ b/docs/man/man3/connection.h.3
@@ -1,4 +1,4 @@
-.TH "connection.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "connection.h" 3 "7 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 6541dbb1a..194ed71d7 100644
--- a/docs/man/man3/ctables.h.3
+++ b/docs/man/man3/ctables.h.3
@@ -1,4 +1,4 @@
-.TH "ctables.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ctables.h" 3 "7 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 3b7155194..1f6765422 100644
--- a/docs/man/man3/dns.h.3
+++ b/docs/man/man3/dns.h.3
@@ -1,4 +1,4 @@
-.TH "dns.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns.h" 3 "7 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 f850d584a..eeb799dea 100644
--- a/docs/man/man3/dns_ip4list.3
+++ b/docs/man/man3/dns_ip4list.3
@@ -1,4 +1,4 @@
-.TH "dns_ip4list" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "dns_ip4list" 3 "7 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 5c9e3016b..7e39dd73d 100644
--- a/docs/man/man3/ircd_connector.3
+++ b/docs/man/man3/ircd_connector.3
@@ -1,4 +1,4 @@
-.TH "ircd_connector" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ircd_connector" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -74,15 +74,27 @@ Inherits \fBExtensible\fP.
.ti -1c
.RI "void \fBAddBuffer\fP (std::string a)"
.br
+.RI "\fIThis method adds text to the ircd connection's buffer There is no limitation on how much text of what line width may be added to this buffer. \fP"
.ti -1c
.RI "bool \fBBufferIsComplete\fP ()"
.br
+.RI "\fIThis method returns true if the buffer contains at least one carriage return character, e.g. \fP"
.ti -1c
.RI "void \fBClearBuffer\fP ()"
.br
+.RI "\fIThis method clears the server's buffer by setting it to an empty string. \fP"
.ti -1c
.RI "std::string \fBGetBuffer\fP ()"
.br
+.RI "\fIThis method retrieves the first string from the tail end of the buffer and advances the tail end of the buffer past the returned string, in a similar manner to strtok(). \fP"
+.ti -1c
+.RI "void \fBSetVersionString\fP (std::string newversion)"
+.br
+.RI "\fIThis method sets the version string of the remote server. \fP"
+.ti -1c
+.RI "std::string \fBGetVersionString\fP ()"
+.br
+.RI "\fIThis method returns the version string of the remote server. \fP"
.in -1c
.SS "Public Attributes"
@@ -90,7 +102,9 @@ Inherits \fBExtensible\fP.
.ti -1c
.RI "std::string \fBircdbuffer\fP"
.br
-.RI "\fIIRCD Buffer for input characters, holds one line. \fP"
+.RI "\fIIRCD Buffer for input characters, holds as many lines as are pending - Note that the final line may not be complete and should only be read when there is a
+.br
+ seperator. \fP"
.ti -1c
.RI "char \fBhost\fP [MAXBUF]"
.br
@@ -135,6 +149,10 @@ Inherits \fBExtensible\fP.
.RI "int \fBstate\fP"
.br
.RI "\fIState. \fP"
+.ti -1c
+.RI "std::string \fBversion\fP"
+.br
+.RI "\fIThis string holds the ircd's version response. \fP"
.in -1c
.SH "Detailed Description"
.PP
@@ -147,15 +165,19 @@ Definition at line 54 of file connection.h.
.PP
.SS "void ircd_connector::AddBuffer (std::string a)"
.PP
+This method adds text to the ircd connection's buffer There is no limitation on how much text of what line width may be added to this buffer. It is the sending server's responsibility to ensure sent data is kept within reasonable quanities.
.SS "bool ircd_connector::BufferIsComplete ()"
.PP
+This method returns true if the buffer contains at least one carriage return character, e.g. one line can be read from the buffer successfully.
.SS "void ircd_connector::ClearBuffer ()"
.PP
+This method clears the server's buffer by setting it to an empty string.
.SS "void ircd_connector::CloseConnection ()"
.PP
Close the connection by calling close() on its file descriptor This function call updates no other data.
.SS "std::string ircd_connector::GetBuffer ()"
.PP
+This method retrieves the first string from the tail end of the buffer and advances the tail end of the buffer past the returned string, in a similar manner to strtok().
.SS "std::string ircd_connector::GetDescription ()"
.PP
Get the server description of this connection.
@@ -174,6 +196,9 @@ Get the port number being used for this connection If the connection is outbound
.SS "int ircd_connector::GetState ()"
.PP
Get the state flags for this connection.
+.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.
.SS "bool ircd_connector::MakeOutboundConnection (char * newhost, int newport)"
.PP
Create an outbound connection to a listening socket.
@@ -198,6 +223,9 @@ Set the port used by this connection.
.SS "void ircd_connector::SetState (int state)"
.PP
Set the state flags for this connection.
+.SS "void ircd_connector::SetVersionString (std::string newversion)"
+.PP
+This method sets the version string of the remote server.
.SH "Member Data Documentation"
.PP
.SS "sockaddr_in \fBircd_connector::addr\fP\fC [private]\fP"
@@ -211,22 +239,27 @@ Sockaddr of the outbound ip and port. Definition at line 59 of file connection.h
File descriptor of the connection. Definition at line 63 of file connection.h.
.SS "char \fBircd_connector::host\fP[MAXBUF]"
.PP
-When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 94 of file connection.h.
+When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 99 of file connection.h.
.SS "std::string \fBircd_connector::ircdbuffer\fP"
.PP
-IRCD Buffer for input characters, holds one line. Definition at line 87 of file connection.h.
+IRCD Buffer for input characters, holds as many lines as are pending - Note that the final line may not be complete and should only be read when there is a
+.br
+ seperator. Definition at line 92 of file connection.h.
.SS "int \fBircd_connector::port\fP"
.PP
-When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 100 of file connection.h.
+When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. Definition at line 105 of file connection.h.
.SS "std::vector<std::string> \fBircd_connector::routes\fP"
.PP
-\fBServer\fP names of servers that this server is linked to So for A->B->C, if this was the record for B it would contain A and C whilever both servers are connected to B. Definition at line 106 of file connection.h.
+\fBServer\fP names of servers that this server is linked to So for A->B->C, if this was the record for B it would contain A and C whilever both servers are connected to B. Definition at line 111 of file connection.h.
.SS "std::string \fBircd_connector::servername\fP\fC [private]\fP"
.PP
\fBServer\fP name. Definition at line 67 of file connection.h.
.SS "int \fBircd_connector::state\fP\fC [private]\fP"
.PP
State. STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STATE_CONNECTEDDefinition at line 76 of file connection.h.
+.SS "std::string \fBircd_connector::version\fP\fC [private]\fP"
+.PP
+This string holds the ircd's version response. Definition at line 84 of file connection.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3
index 127926d3e..21aa67806 100644
--- a/docs/man/man3/message.h.3
+++ b/docs/man/man3/message.h.3
@@ -1,4 +1,4 @@
-.TH "message.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "message.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -81,7 +81,7 @@ message.h \-
.RI "void \fBTidyBan\fP (char *ban)"
.br
.ti -1c
-.RI "char * \fBchlist\fP (\fBuserrec\fP *user)"
+.RI "char * \fBchlist\fP (\fBuserrec\fP *user, \fBuserrec\fP *source)"
.br
.ti -1c
.RI "void \fBsend_network_quit\fP (const char *nick, const char *reason)"
@@ -99,7 +99,7 @@ Referenced by Server::ChangeHost().
.SS "void ChangeName (\fBuserrec\fP * user, const char * gecos)"
.PP
Referenced by Server::ChangeGECOS().
-.SS "char* chlist (\fBuserrec\fP * user)"
+.SS "char* chlist (\fBuserrec\fP * user, \fBuserrec\fP * source)"
.PP
.SS "void chop (char * str)"
.PP
@@ -115,14 +115,14 @@ Referenced by Server::CommonChannels().
.PP
.SS "int has_channel (\fBuserrec\fP * u, \fBchanrec\fP * c)"
.PP
-Referenced by Server::GetUsers(), and Server::IsOnChannel().
+Referenced by Server::IsOnChannel().
.SS "bool hasumode (\fBuserrec\fP * user, char mode)"
.PP
.SS "int isident (const char * n)"
.PP
.SS "int isnick (const char * n)"
.PP
-Referenced by Server::GetUsers(), and Server::IsNick().
+Referenced by Server::IsNick().
.SS "void NonBlocking (int s)"
.PP
.SS "void safedelete (\fBuserrec\fP * p)"
@@ -131,7 +131,6 @@ Referenced by Server::GetUsers(), and Server::IsNick().
.PP
.SS "void send_network_quit (const char * nick, const char * reason)"
.PP
-Referenced by Server::QuitUser().
.SS "void TidyBan (char * ban)"
.PP
.SS "void tidystring (char * str)"
diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3
index e6a1628c1..f4a8d3254 100644
--- a/docs/man/man3/mode.h.3
+++ b/docs/man/man3/mode.h.3
@@ -1,4 +1,4 @@
-.TH "mode.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "mode.h" 3 "7 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 cde9a3b91..2bfbe387e 100644
--- a/docs/man/man3/modules.cpp.3
+++ b/docs/man/man3/modules.cpp.3
@@ -1,4 +1,4 @@
-.TH "modules.cpp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.cpp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -266,6 +266,9 @@ modules.cpp \-
.RI "FILE * \fBlog_file\fP"
.br
.ti -1c
+.RI "\fBuserrec\fP * \fBfd_ref_table\fP [65536]"
+.br
+.ti -1c
.RI "\fBuser_hash\fP \fBclientlist\fP"
.br
.ti -1c
@@ -299,56 +302,55 @@ Definition at line 59 of file modules.cpp.
.PP
.SS "typedef nspace::hash_map<in_addr,string*, nspace::hash<in_addr>, \fBInAddr_HashComp\fP> \fBaddress_cache\fP"
.PP
-Definition at line 177 of file modules.cpp.
+Definition at line 178 of file modules.cpp.
.SS "typedef nspace::hash_map<std::string, \fBchanrec\fP*, nspace::hash<string>, \fBStrHashComp\fP> \fBchan_hash\fP"
.PP
-Definition at line 176 of file modules.cpp.
+Definition at line 177 of file modules.cpp.
.SS "typedef std::deque<\fBcommand_t\fP> \fBcommand_table\fP"
.PP
-Definition at line 178 of file modules.cpp.
+Definition at line 179 of file modules.cpp.
.SS "typedef std::vector<\fBExtMode\fP> \fBExtModeList\fP"
.PP
-Definition at line 204 of file modules.cpp.
+Definition at line 205 of file modules.cpp.
.SS "typedef ExtModeList::iterator \fBExtModeListIter\fP"
.PP
-Definition at line 205 of file modules.cpp.
+Definition at line 206 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>, \fBStrHashComp\fP> \fBuser_hash\fP"
.PP
-Definition at line 175 of file modules.cpp.
+Definition at line 176 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 277 of file modules.cpp.
+Definition at line 275 of file modules.cpp.
.PP
References EMode, and ModeDefined().
.PP
Referenced by Server::AddExtendedListMode(), and Server::AddExtendedMode().
.PP
.nf
-278 {
-279 if (ModeDefined(modechar,type)) {
-280 return false;
-281 }
-282 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
-283 return true;
-284 }
+276 {
+277 if (ModeDefined(modechar,type)) {
+278 return false;
+279 }
+280 EMode.push_back(ExtMode(modechar,type,requires_oper,params_on,params_off));
+281 return true;
+282 }
.fi
.SS "std::vector<\fBircd_module\fP*> factory (255)"
.PP
.SS "bool ModeDefined (char modechar, int type)"
.PP
-Definition at line 211 of file modules.cpp.
+Definition at line 212 of file modules.cpp.
.PP
-References DEBUG, EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
.PP
Referenced by DoAddExtendedMode().
.PP
.nf
-212 {
-213 log(DEBUG,'Size of extmodes vector is %d',EMode.size());
+213 {
214 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
215 {
216 if ((i->modechar == modechar) && (i->type == type))
@@ -361,98 +363,96 @@ Referenced by DoAddExtendedMode().
.fi
.SS "int ModeDefinedOff (char modechar, int type)"
.PP
-Definition at line 264 of file modules.cpp.
+Definition at line 262 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-265 {
-266 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-267 {
-268 if ((i->modechar == modechar) && (i->type == type))
-269 {
-270 return i->params_when_off;
-271 }
-272 }
-273 return 0;
-274 }
+263 {
+264 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+265 {
+266 if ((i->modechar == modechar) && (i->type == type))
+267 {
+268 return i->params_when_off;
+269 }
+270 }
+271 return 0;
+272 }
.fi
.SS "int ModeDefinedOn (char modechar, int type)"
.PP
-Definition at line 251 of file modules.cpp.
+Definition at line 249 of file modules.cpp.
.PP
References EMode, and ExtModeListIter.
.PP
.nf
-252 {
-253 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-254 {
-255 if ((i->modechar == modechar) && (i->type == type))
-256 {
-257 return i->params_when_on;
-258 }
-259 }
-260 return 0;
-261 }
+250 {
+251 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+252 {
+253 if ((i->modechar == modechar) && (i->type == type))
+254 {
+255 return i->params_when_on;
+256 }
+257 }
+258 return 0;
+259 }
.fi
.SS "bool ModeDefinedOper (char modechar, int type)"
.PP
-Definition at line 237 of file modules.cpp.
+Definition at line 236 of file modules.cpp.
.PP
-References DEBUG, EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
.PP
.nf
-238 {
-239 log(DEBUG,'Size of extmodes vector is %d',EMode.size());
-240 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-241 {
-242 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
-243 {
-244 return true;
-245 }
-246 }
-247 return false;
-248 }
+237 {
+238 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+239 {
+240 if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true))
+241 {
+242 return true;
+243 }
+244 }
+245 return false;
+246 }
.fi
.SS "bool ModeIsListMode (char modechar, int type)"
.PP
Definition at line 224 of file modules.cpp.
.PP
-References DEBUG, EMode, and ExtModeListIter.
+References EMode, and ExtModeListIter.
.PP
.nf
225 {
-226 log(DEBUG,'Size of extmodes vector is %d',EMode.size());
-227 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-228 {
-229 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
-230 {
-231 return true;
-232 }
-233 }
-234 return false;
-235 }
+226 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+227 {
+228 if ((i->modechar == modechar) && (i->type == type) && (i->list == true))
+229 {
+230 return true;
+231 }
+232 }
+233 return false;
+234 }
.fi
.SS "void ModeMakeList (char modechar)"
.PP
-Definition at line 287 of file modules.cpp.
+Definition at line 285 of file modules.cpp.
.PP
References EMode, ExtModeListIter, and MT_CHANNEL.
.PP
Referenced by Server::AddExtendedListMode().
.PP
.nf
-288 {
-289 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
-290 {
-291 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
-292 {
-293 i->list = true;
-294 return;
-295 }
-296 }
-297 return;
-298 }
+286 {
+287 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++)
+288 {
+289 if ((i->modechar == modechar) && (i->type == MT_CHANNEL))
+290 {
+291 i->list = true;
+292 return;
+293 }
+294 }
+295 return;
+296 }
.fi
.SS "std::vector<\fBModule\fP*> modules (255)"
.PP
@@ -475,15 +475,13 @@ Definition at line 103 of file modules.cpp.
Definition at line 97 of file modules.cpp.
.SS "\fBchan_hash\fP \fBchanlist\fP"
.PP
-Definition at line 182 of file modules.cpp.
+Definition at line 183 of file modules.cpp.
.SS "\fBuser_hash\fP \fBclientlist\fP"
.PP
-Definition at line 181 of file modules.cpp.
-.PP
-Referenced by Server::GetUsers().
+Definition at line 182 of file modules.cpp.
.SS "\fBcommand_table\fP \fBcmdlist\fP"
.PP
-Definition at line 184 of file modules.cpp.
+Definition at line 185 of file modules.cpp.
.SS "std::stringstream \fBconfig_f\fP"
.PP
Definition at line 104 of file modules.cpp.
@@ -504,7 +502,7 @@ Definition at line 77 of file modules.cpp.
Definition at line 83 of file modules.cpp.
.SS "\fBExtModeList\fP \fBEMode\fP"
.PP
-Definition at line 208 of file modules.cpp.
+Definition at line 209 of file modules.cpp.
.PP
Referenced by DoAddExtendedMode(), ModeDefined(), ModeDefinedOff(), ModeDefinedOn(), ModeDefinedOper(), ModeIsListMode(), and ModeMakeList().
.SS "std::vector<\fBircd_module\fP*> factory"
@@ -513,9 +511,14 @@ Definition at line 66 of file modules.cpp.
.SS "std::vector<int> \fBfd_reap\fP"
.PP
Definition at line 94 of file modules.cpp.
+.SS "\fBuserrec\fP* \fBfd_ref_table\fP[65536]"
+.PP
+Definition at line 110 of file modules.cpp.
+.PP
+Referenced by Server::FindDescriptor(), and Server::PseudoToUser().
.SS "\fBaddress_cache\fP \fBIP\fP"
.PP
-Definition at line 187 of file modules.cpp.
+Definition at line 188 of file modules.cpp.
.SS "char \fBlist\fP[MAXBUF]"
.PP
Definition at line 81 of file modules.cpp.
@@ -533,7 +536,7 @@ Definition at line 91 of file modules.cpp.
Definition at line 106 of file modules.cpp.
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 1032 of file modules.cpp.
+Definition at line 1048 of file modules.cpp.
.SS "std::vector<std::string> \fBmodule_names\fP"
.PP
Definition at line 95 of file modules.cpp.
@@ -542,7 +545,7 @@ Definition at line 95 of file modules.cpp.
Definition at line 65 of file modules.cpp.
.SS "\fBfile_cache\fP \fBMOTD\fP"
.PP
-Definition at line 185 of file modules.cpp.
+Definition at line 186 of file modules.cpp.
.SS "char \fBmotd\fP[MAXBUF]"
.PP
Definition at line 79 of file modules.cpp.
@@ -569,7 +572,7 @@ Definition at line 82 of file modules.cpp.
Definition at line 78 of file modules.cpp.
.SS "\fBfile_cache\fP \fBRULES\fP"
.PP
-Definition at line 186 of file modules.cpp.
+Definition at line 187 of file modules.cpp.
.SS "char \fBrules\fP[MAXBUF]"
.PP
Definition at line 80 of file modules.cpp.
@@ -590,7 +593,7 @@ Definition at line 68 of file modules.cpp.
Definition at line 99 of file modules.cpp.
.SS "\fBuser_hash\fP \fBwhowas\fP"
.PP
-Definition at line 183 of file modules.cpp.
+Definition at line 184 of file modules.cpp.
.SS "int \fBWHOWAS_MAX\fP"
.PP
Definition at line 87 of file modules.cpp.
diff --git a/docs/man/man3/modules.h.3 b/docs/man/man3/modules.h.3
index 5b3be2f2a..4be3d09c9 100644
--- a/docs/man/man3/modules.h.3
+++ b/docs/man/man3/modules.h.3
@@ -1,4 +1,4 @@
-.TH "modules.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "modules.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -230,29 +230,29 @@ Referenced by Module::OnAccessCheck().
Definition at line 38 of file modules.h.
.SS "#define CONF_FILE_NOT_FOUND 0x000200"
.PP
-Definition at line 1088 of file modules.h.
+Definition at line 1138 of file modules.h.
.PP
Referenced by ConfigReader::ConfigReader().
.SS "#define CONF_NOT_A_NUMBER 0x000010"
.PP
-Definition at line 1085 of file modules.h.
+Definition at line 1135 of file modules.h.
.PP
Referenced by ConfigReader::ReadInteger().
.SS "#define CONF_NOT_UNSIGNED 0x000080"
.PP
-Definition at line 1086 of file modules.h.
+Definition at line 1136 of file modules.h.
.PP
Referenced by ConfigReader::ReadInteger().
.SS "#define CONF_VALUE_NOT_FOUND 0x000100"
.PP
-Definition at line 1087 of file modules.h.
+Definition at line 1137 of file modules.h.
.PP
Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue().
.SS "#define DEBUG 10"
.PP
Definition at line 23 of file modules.h.
.PP
-Referenced by Server::AddExtendedMode(), chanrec::AddUser(), chanrec::DecUserCounter(), chanrec::DelUser(), userrec::HasPermission(), chanrec::IncUserCounter(), chanrec::IsCustomModeSet(), ModeDefined(), ModeDefinedOper(), ModeIsListMode(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam().
+Referenced by Server::AddExtendedMode(), chanrec::AddUser(), chanrec::DecUserCounter(), chanrec::DelUser(), userrec::HasPermission(), chanrec::IncUserCounter(), chanrec::IsCustomModeSet(), userrec::RemoveInvite(), chanrec::SetCustomMode(), and chanrec::SetCustomModeParam().
.SS "#define DEFAULT 30"
.PP
Definition at line 25 of file modules.h.
@@ -333,7 +333,7 @@ Low level definition of a \fBFileReader\fP classes file cache area. Definition a
Referenced by FileReader::FileReader(), and FileReader::LoadFile().
.SS "typedef DLLFactory<\fBModuleFactory\fP> \fBircd_module\fP"
.PP
-Definition at line 1254 of file modules.h.
+Definition at line 1304 of file modules.h.
.SS "typedef \fBfile_cache\fP \fBstring_list\fP"
.PP
Definition at line 68 of file modules.h.
diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3
index 7cfff7689..c0b5d7ec0 100644
--- a/docs/man/man3/nspace.3
+++ b/docs/man/man3/nspace.3
@@ -1,4 +1,4 @@
-.TH "nspace" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace" 3 "7 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 2f257e697..f4d292abd 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 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< in_addr >" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -20,14 +20,14 @@ nspace::nspace::hash< in_addr > \-
.PP
.SS "size_t nspace::hash< in_addr >::operator() (const struct in_addr & a) const\fC [inline]\fP"
.PP
-Definition at line 119 of file modules.cpp.
+Definition at line 120 of file modules.cpp.
.PP
.nf
-120 {
-121 size_t q;
-122 memcpy(&q,&a,sizeof(size_t));
-123 return q;
-124 }
+121 {
+122 size_t q;
+123 memcpy(&q,&a,sizeof(size_t));
+124 return q;
+125 }
.fi
diff --git a/docs/man/man3/nspace_nspace_hash_ string _.3 b/docs/man/man3/nspace_nspace_hash_ string _.3
index dce6079d6..2ed553162 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 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::nspace::hash< string >" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -20,16 +20,16 @@ nspace::nspace::hash< string > \-
.PP
.SS "size_t nspace::hash< string >::operator() (const string & s) const\fC [inline]\fP"
.PP
-Definition at line 132 of file modules.cpp.
+Definition at line 133 of file modules.cpp.
.PP
.nf
-133 {
-134 char a[MAXBUF];
-135 static struct hash<const char *> strhash;
-136 strlcpy(a,s.c_str(),MAXBUF);
-137 strlower(a);
-138 return strhash(a);
-139 }
+134 {
+135 char a[MAXBUF];
+136 static struct hash<const char *> strhash;
+137 strlcpy(a,s.c_str(),MAXBUF);
+138 strlower(a);
+139 return strhash(a);
+140 }
.fi
diff --git a/docs/man/man3/serverrec.3 b/docs/man/man3/serverrec.3
index 3517dc84d..c5b428a4a 100644
--- a/docs/man/man3/serverrec.3
+++ b/docs/man/man3/serverrec.3
@@ -1,4 +1,4 @@
-.TH "serverrec" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "serverrec" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/servers.cpp.3 b/docs/man/man3/servers.cpp.3
index ef1e28d83..41fd8df92 100644
--- a/docs/man/man3/servers.cpp.3
+++ b/docs/man/man3/servers.cpp.3
@@ -1,4 +1,4 @@
-.TH "servers.cpp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.cpp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/servers.h.3 b/docs/man/man3/servers.h.3
index 13cf46371..b486aef53 100644
--- a/docs/man/man3/servers.h.3
+++ b/docs/man/man3/servers.h.3
@@ -1,4 +1,4 @@
-.TH "servers.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "servers.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3
index 107c01c59..dd1a4d72e 100644
--- a/docs/man/man3/std.3
+++ b/docs/man/man3/std.3
@@ -1,4 +1,4 @@
-.TH "std" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "std" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3
index 5f9098e25..168036a35 100644
--- a/docs/man/man3/ucrec.3
+++ b/docs/man/man3/ucrec.3
@@ -1,4 +1,4 @@
-.TH "ucrec" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "ucrec" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3
index 2e78c5206..7e5c3ea11 100644
--- a/docs/man/man3/userrec.3
+++ b/docs/man/man3/userrec.3
@@ -1,4 +1,4 @@
-.TH "userrec" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "userrec" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -45,6 +45,22 @@ Inherits \fBconnection\fP.
.RI "bool \fBHasPermission\fP (char *command)"
.br
.RI "\fIReturns true or false for if a user can execute a privilaged oper command. \fP"
+.ti -1c
+.RI "bool \fBAddBuffer\fP (std::string a)"
+.br
+.RI "\fIThis method adds data to the buffer of the user. \fP"
+.ti -1c
+.RI "bool \fBBufferIsReady\fP ()"
+.br
+.RI "\fIThis method returns true if the buffer contains at least one carriage return character (e.g. \fP"
+.ti -1c
+.RI "void \fBClearBuffer\fP ()"
+.br
+.RI "\fIThis function clears the entire buffer by setting it to an empty string. \fP"
+.ti -1c
+.RI "std::string \fBGetBuffer\fP ()"
+.br
+.RI "\fIThis method returns the first available string at the tail end of the buffer and advances the tail end of the buffer past the string. \fP"
.in -1c
.SS "Public Attributes"
@@ -108,6 +124,20 @@ Inherits \fBconnection\fP.
.RI "char \fBpassword\fP [MAXBUF]"
.br
.RI "\fIPassword specified by the user when they registered. \fP"
+.ti -1c
+.RI "std::string \fBrecvq\fP"
+.br
+.RI "\fIUser's receive queue. \fP"
+.ti -1c
+.RI "long \fBlines_in\fP"
+.br
+.RI "\fIFlood counters. \fP"
+.ti -1c
+.RI "time_t \fBreset_due\fP"
+.br
+.ti -1c
+.RI "long \fBthreshold\fP"
+.br
.in -1c
.SS "Private Attributes"
@@ -123,14 +153,14 @@ Holds all information about a user This class stores all information about a use
Everything about a connection is stored here primarily, from the user's socket ID (file descriptor) through to the user's nickname and hostname. Use the Find method of the server class to locate a specific user by nickname.
.PP
-Definition at line 93 of file users.h.
+Definition at line 98 of file users.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "userrec::userrec ()"
.PP
Definition at line 28 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, connection::inbuf, invites, connection::ip, connection::lastping, modes, nick, connection::nping, oper, connection::port, connection::registered, result, server, connection::signon, 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, connection::inbuf, invites, connection::ip, connection::lastping, lines_in, modes, nick, connection::nping, oper, connection::port, recvq, connection::registered, reset_due, result, server, connection::signon, TIME, timeout, and ucrec::uc_modes.
.PP
.nf
29 {
@@ -147,246 +177,344 @@ References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel,
40 strcpy(server,'');
41 strcpy(awaymsg,'');
42 strcpy(oper,'');
-43 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
-44 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
-45 haspassed = false;
-46 dns_done = false;
-47 strcpy(result,'');
-48 for (int i = 0; i < MAXCHANS; i++)
-49 {
-50 this->chans[i].channel = NULL;
-51 this->chans[i].uc_modes = 0;
-52 }
-53 invites.clear();
-54 }
+43 reset_due = TIME;
+44 lines_in = 0;
+45 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
+46 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
+47 haspassed = false;
+48 dns_done = false;
+49 recvq = '';
+50 strcpy(result,'');
+51 for (int i = 0; i < MAXCHANS; i++)
+52 {
+53 this->chans[i].channel = NULL;
+54 this->chans[i].uc_modes = 0;
+55 }
+56 invites.clear();
+57 }
.fi
.SS "virtual userrec::~\fBuserrec\fP ()\fC [inline, virtual]\fP"
.PP
-Definition at line 178 of file users.h.
+Definition at line 195 of file users.h.
.PP
.nf
-178 { }
+195 { }
.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 169 of file users.cpp.
+.PP
+References recvq.
+.PP
+.nf
+170 {
+171 std::string b = '';
+172 for (int i = 0; i < a.length(); i++)
+173 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7))
+174 b = b + a[i];
+175 std::stringstream stream(recvq);
+176 stream << b;
+177 recvq = stream.str();
+178 int i = 0;
+179 // count the size of the first line in the buffer.
+180 while (i < recvq.length())
+181 {
+182 if (recvq[i++] == '\n')
+183 break;
+184 }
+185 // return false if we've had more than 600 characters WITHOUT
+186 // a carriage return (this is BAD, drop the socket)
+187 return (i < 600);
+188 }
+.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 190 of file users.cpp.
+.PP
+References recvq.
+.PP
+.nf
+191 {
+192 for (int i = 0; i < recvq.length(); i++)
+193 if (recvq[i] == '\n')
+194 return true;
+195 return false;
+196 }
+.fi
+.SS "void userrec::ClearBuffer ()"
+.PP
+This function clears the entire buffer by setting it to an empty string. Definition at line 198 of file users.cpp.
+.PP
+References recvq.
+.PP
+Referenced by Server::PseudoToUser(), and Server::UserToPseudo().
+.PP
+.nf
+199 {
+200 recvq = '';
+201 }
+.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 203 of file users.cpp.
+.PP
+References recvq.
+.PP
+.nf
+204 {
+205 if (recvq == '')
+206 return '';
+207 char* line = (char*)recvq.c_str();
+208 std::string ret = '';
+209 while ((*line != '\n') && (strlen(line)))
+210 {
+211 ret = ret + *line;
+212 line++;
+213 }
+214 if ((*line == '\n') || (*line == '\r'))
+215 line++;
+216 recvq = line;
+217 return ret;
+218 }
+.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 58 of file users.cpp.
+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 61 of file users.cpp.
.PP
References dhost, ident, nick, and result.
.PP
.nf
-59 {
-60 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
-61 return result;
-62 }
+62 {
+63 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
+64 return result;
+65 }
.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 65 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 68 of file users.cpp.
.PP
References connection::host, ident, nick, and result.
.PP
.nf
-66 {
-67 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,host);
-68 return result;
-69 }
+69 {
+70 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,host);
+71 return result;
+72 }
.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 114 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 117 of file users.cpp.
.PP
References config_f, and DEBUG.
.PP
.nf
-115 {
-116 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-117 char* mycmd;
-118 char* savept;
-119 char* savept2;
-120
-121 // are they even an oper at all?
-122 if (strchr(this->modes,'o'))
-123 {
-124 log(DEBUG,'*** HasPermission: %s is an oper',this->nick);
-125 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
-126 {
-127 ConfValue('type','name',j,TypeName,&config_f);
-128 if (!strcmp(TypeName,this->oper))
-129 {
-130 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper);
-131 ConfValue('type','classes',j,Classes,&config_f);
-132 char* myclass = strtok_r(Classes,' ',&savept);
-133 while (myclass)
-134 {
-135 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass);
-136 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
-137 {
-138 ConfValue('class','name',k,ClassName,&config_f);
-139 if (!strcmp(ClassName,myclass))
-140 {
-141 ConfValue('class','commands',k,CommandList,&config_f);
-142 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList);
-143
-144
-145 mycmd = strtok_r(CommandList,' ',&savept2);
-146 while (mycmd)
-147 {
-148 if (!strcasecmp(mycmd,command))
-149 {
-150 log(DEBUG,'*** Command %s found, returning true',command);
-151 return true;
-152 }
-153 mycmd = strtok_r(NULL,' ',&savept2);
-154 }
-155 }
-156 }
-157 myclass = strtok_r(NULL,' ',&savept);
-158 }
-159 }
-160 }
-161 }
-162 return false;
-163 }
+118 {
+119 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+120 char* mycmd;
+121 char* savept;
+122 char* savept2;
+123
+124 // are they even an oper at all?
+125 if (strchr(this->modes,'o'))
+126 {
+127 log(DEBUG,'*** HasPermission: %s is an oper',this->nick);
+128 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
+129 {
+130 ConfValue('type','name',j,TypeName,&config_f);
+131 if (!strcmp(TypeName,this->oper))
+132 {
+133 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper);
+134 ConfValue('type','classes',j,Classes,&config_f);
+135 char* myclass = strtok_r(Classes,' ',&savept);
+136 while (myclass)
+137 {
+138 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass);
+139 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
+140 {
+141 ConfValue('class','name',k,ClassName,&config_f);
+142 if (!strcmp(ClassName,myclass))
+143 {
+144 ConfValue('class','commands',k,CommandList,&config_f);
+145 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList);
+146
+147
+148 mycmd = strtok_r(CommandList,' ',&savept2);
+149 while (mycmd)
+150 {
+151 if (!strcasecmp(mycmd,command))
+152 {
+153 log(DEBUG,'*** Command %s found, returning true',command);
+154 return true;
+155 }
+156 mycmd = strtok_r(NULL,' ',&savept2);
+157 }
+158 }
+159 }
+160 myclass = strtok_r(NULL,' ',&savept);
+161 }
+162 }
+163 }
+164 }
+165 return false;
+166 }
.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 85 of file users.cpp.
+Adds a channel to a users invite list (invites them to a channel). Definition at line 88 of file users.cpp.
.PP
References Invited::channel, and invites.
.PP
.nf
-86 {
-87 Invited i;
-88 strlcpy(i.channel,channel,CHANMAX);
-89 invites.push_back(i);
-90 }
+89 {
+90 Invited i;
+91 strlcpy(i.channel,channel,CHANMAX);
+92 invites.push_back(i);
+93 }
.fi
.SS "bool userrec::IsInvited (char * channel)\fC [virtual]\fP"
.PP
-Returns true if a user is invited to a channel. Definition at line 71 of file users.cpp.
+Returns true if a user is invited to a channel. Definition at line 74 of file users.cpp.
.PP
References invites.
.PP
.nf
-72 {
-73 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-74 {
-75 if (i->channel) {
-76 if (!strcasecmp(i->channel,channel))
-77 {
-78 return true;
-79 }
-80 }
-81 }
-82 return false;
-83 }
+75 {
+76 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+77 {
+78 if (i->channel) {
+79 if (!strcasecmp(i->channel,channel))
+80 {
+81 return true;
+82 }
+83 }
+84 }
+85 return false;
+86 }
.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 92 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 95 of file users.cpp.
.PP
References DEBUG, and invites.
.PP
.nf
-93 {
-94 log(DEBUG,'Removing invites');
-95 if (channel)
-96 {
-97 if (invites.size())
-98 {
-99 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-100 {
-101 if (i->channel)
-102 {
-103 if (!strcasecmp(i->channel,channel))
-104 {
-105 invites.erase(i);
-106 return;
-107 }
-108 }
-109 }
-110 }
-111 }
-112 }
+96 {
+97 log(DEBUG,'Removing invites');
+98 if (channel)
+99 {
+100 if (invites.size())
+101 {
+102 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+103 {
+104 if (i->channel)
+105 {
+106 if (!strcasecmp(i->channel,channel))
+107 {
+108 invites.erase(i);
+109 return;
+110 }
+111 }
+112 }
+113 }
+114 }
+115 }
.fi
.SH "Member Data Documentation"
.PP
.SS "char \fBuserrec::awaymsg\fP[512]"
.PP
-The user's away message. If this string is empty, the user is not marked as away.Definition at line 136 of file users.h.
+The user's away message. If this string is empty, the user is not marked as away.Definition at line 141 of file users.h.
.PP
Referenced by userrec().
.SS "\fBucrec\fP \fBuserrec::chans\fP[MAXCHANS]"
.PP
-Definition at line 127 of file users.h.
+Definition at line 132 of file users.h.
.PP
Referenced by Server::PseudoToUser(), and userrec().
.SS "char \fBuserrec::dhost\fP[256]"
.PP
-The host displayed to non-opers (used for cloaking etc). This usually matches the value of \fBuserrec::host\fP.Definition at line 115 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 120 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 164 of file users.h.
+True when \fBDNS\fP lookups are completed. Definition at line 169 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 147 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 152 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::fullname\fP[128]"
.PP
-The users full name. Definition at line 119 of file users.h.
+The users full name. Definition at line 124 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::ident\fP[64]"
.PP
-The users ident reply. Definition at line 110 of file users.h.
+The users ident reply. Definition at line 115 of file users.h.
.PP
Referenced by GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), userrec(), and Server::UserToPseudo().
.SS "\fBInvitedList\fP \fBuserrec::invites\fP\fC [private]\fP"
.PP
-A list of channels the user has a pending invite to. Definition at line 99 of file users.h.
+A list of channels the user has a pending invite to. Definition at line 104 of file users.h.
.PP
Referenced by InviteTo(), IsInvited(), RemoveInvite(), and userrec().
+.SS "long \fBuserrec::lines_in\fP"
+.PP
+Flood counters. Definition at line 189 of file users.h.
+.PP
+Referenced by userrec().
.SS "char \fBuserrec::modes\fP[MAXBUF]"
.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 125 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.Definition at line 130 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::nick\fP[NICKMAX]"
.PP
-The users nickname. An invalid nickname indicates an unregistered connection prior to the NICK command.Definition at line 106 of file users.h.
+The users nickname. An invalid nickname indicates an unregistered connection prior to the NICK command.Definition at line 111 of file users.h.
.PP
-Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), Server::QuitUser(), and userrec().
+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 160 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 165 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 174 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 179 of file users.h.
.SS "unsigned long \fBuserrec::pingmax\fP"
.PP
-Number of seconds between PINGs for this user (set from <connect:allow> tag. Definition at line 168 of file users.h.
+Number of seconds between PINGs for this user (set from <connect:allow> tag. Definition at line 173 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 185 of file users.h.
+.PP
+Referenced by AddBuffer(), BufferIsReady(), ClearBuffer(), GetBuffer(), and userrec().
+.SS "time_t \fBuserrec::reset_due\fP"
+.PP
+Definition at line 190 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 141 of file users.h.
+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 146 of file users.h.
.PP
Referenced by GetFullHost(), GetFullRealHost(), and userrec().
.SS "char \fBuserrec::server\fP[256]"
.PP
-The server the user is connected to. Definition at line 131 of file users.h.
+The server the user is connected to. Definition at line 136 of file users.h.
.PP
Referenced by userrec().
+.SS "long \fBuserrec::threshold\fP"
+.PP
+Definition at line 191 of file users.h.
.SS "unsigned long \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 153 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 158 of file users.h.
.PP
Referenced by userrec().
diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3
index 614228ad2..0416d8dc5 100644
--- a/docs/man/man3/users.cpp.3
+++ b/docs/man/man3/users.cpp.3
@@ -1,4 +1,4 @@
-.TH "users.cpp" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.cpp" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3
index 09eb0ae89..21e2e3b0d 100644
--- a/docs/man/man3/users.h.3
+++ b/docs/man/man3/users.h.3
@@ -1,4 +1,4 @@
-.TH "users.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "users.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -91,10 +91,10 @@ Definition at line 28 of file users.h.
.PP
.SS "typedef std::vector<\fBConnectClass\fP> \fBClassVector\fP"
.PP
-Holds a complete list of all allow and deny tags from the configuration file (connection classes). Definition at line 85 of file users.h.
+Holds a complete list of all allow and deny tags from the configuration file (connection classes). Definition at line 90 of file users.h.
.SS "typedef std::vector<\fBInvited\fP> \fBInvitedList\fP"
.PP
-Holds a complete list of all channels to which a user has been invited and has not yet joined. Definition at line 79 of file users.h.
+Holds a complete list of all channels to which a user has been invited and has not yet joined. Definition at line 84 of file users.h.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/xline.h.3 b/docs/man/man3/xline.h.3
index 8a3263c2f..8006488c5 100644
--- a/docs/man/man3/xline.h.3
+++ b/docs/man/man3/xline.h.3
@@ -1,4 +1,4 @@
-.TH "xline.h" 3 "26 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "xline.h" 3 "7 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html
index 6e437bf8f..05b7ad4af 100644
--- a/docs/module-doc/annotated.html
+++ b/docs/module-doc/annotated.html
@@ -46,7 +46,7 @@
<tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr>
<tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index 66fe97bfe..4b4b46e2e 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -55,7 +55,7 @@
00079
00080 <span class="preprocessor">#endif</span>
00081 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/base_8h.html b/docs/module-doc/base_8h.html
index 181c18aae..db1420198 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -49,7 +49,7 @@
Definition at line <a class="el" href="base_8h-source.html#l00025">25</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index c149c9b12..ac07b4d77 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -132,7 +132,7 @@
<a name="l00125"></a><a class="code" href="classchanrec.html#a0">00125</a> <span class="keywordtype">void</span> <a class="code" href="classchanrec.html#a0">chanrec::SetCustomMode</a>(<span class="keywordtype">char</span> mode,<span class="keywordtype">bool</span> mode_on)
00126 {
00127 <span class="keywordflow">if</span> (mode_on) {
-00128 <span class="keywordtype">char</span> m[3];
+00128 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3];
00129 m[0] = mode;
00130 m[1] = <span class="charliteral">'\0'</span>;
00131 <span class="keywordflow">if</span> (!strchr(this-&gt;custom_modes,mode))
@@ -248,7 +248,7 @@
00241 {
00242 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#o3">internal_userlist</a>;
00243 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index 9956afa92..053be42bb 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -293,7 +293,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00094">94</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="users_8cpp-source.html#l00114">userrec::HasPermission()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>. </td>
</tr>
</table>
<a name="a38" doxytag="channels.cpp::custom_mode_params"></a><p>
@@ -511,7 +511,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00091">91</a>
<p>
<p>
-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>
+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>.
+<p>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::GetUsers()</a>. </td>
</tr>
</table>
<a name="a36" doxytag="channels.cpp::log_file"></a><p>
@@ -631,9 +633,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00103">103</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l01032">1032</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#l01048">1048</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#l00823">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00839">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a27" doxytag="channels.cpp::module_names"></a><p>
@@ -659,7 +661,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00823">Server::FindM
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00092">92</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#l00823">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00839">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="channels.cpp::modules"></a><p>
@@ -685,7 +687,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00823">Server::FindM
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00064">64</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#l00823">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00839">Server::FindModule()</a>. </td>
</tr>
</table>
<a name="a13" doxytag="channels.cpp::motd"></a><p>
@@ -999,7 +1001,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00086">86</a>
<p>
Definition at line <a class="el" href="channels_8cpp-source.html#l00107">107</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#l00026">serverrec::serverrec()</a>. </td>
+Referenced by <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="a30" doxytag="channels.cpp::UDPportCount"></a><p>
@@ -1074,7 +1076,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00084">84</a>
Definition at line <a class="el" href="channels_8cpp-source.html#l00083">83</a> of file <a class="el" href="channels_8cpp-source.html">channels.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index 6d1312c53..e5b46e8e7 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -155,7 +155,7 @@
00273
00274 <span class="preprocessor">#endif</span>
00275 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/channels_8h.html b/docs/module-doc/channels_8h.html
index cee3ed386..3309aacd7 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -258,7 +258,7 @@ Holds a complete invite list.
Definition at line <a class="el" href="channels_8h-source.html#l00088">88</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index ac42b3705..77dd3c841 100644
--- a/docs/module-doc/classAdmin-members.html
+++ b/docs/module-doc/classAdmin-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classAdmin.html#o0">Name</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classAdmin.html#o2">Nick</a></td><td><a class="el" href="classAdmin.html">Admin</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index 585a7249b..019560bc6 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -76,9 +76,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#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#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00306 : <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>00304 : <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>
@@ -157,7 +157,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index a5f221045..4e32014a4 100644
--- a/docs/module-doc/classBanItem-members.html
+++ b/docs/module-doc/classBanItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index 572bbc0f2..fcd2d112e 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -22,7 +22,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#l00045">45</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 1ed2aed93..49f826983 100644
--- a/docs/module-doc/classConfigReader-members.html
+++ b/docs/module-doc/classConfigReader-members.html
@@ -24,7 +24,7 @@
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a8">Verify</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classConfigReader.html#a2">~ConfigReader</a>()</td><td><a class="el" href="classConfigReader.html">ConfigReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 7b302eed2..b7228f6c1 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -67,7 +67,7 @@ It may either be instantiated with one parameter or none. Constructing the class
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01097">1097</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="modules_8h-source.html#l01147">1147</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ConfigReader::ConfigReader"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -97,17 +97,17 @@ 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#l00835">835</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#l00851">851</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, <a class="el" href="modules_8h-source.html#l01088">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01110">error</a>, <a class="el" href="modules_8h-source.html#l01106">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01109">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>.
<p>
-<div class="fragment"><pre>00836 {
-00837 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00838 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00839 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-00840 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00841 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00842 }
+<div class="fragment"><pre>00852 {
+00853 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00854 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00855 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+00856 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00857 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00858 }
</pre></div> </td>
</tr>
</table>
@@ -141,17 +141,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#l00854">854</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#l00870">870</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, <a class="el" href="modules_8h-source.html#l01088">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01110">error</a>, <a class="el" href="modules_8h-source.html#l01106">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01109">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01138">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01160">error</a>, <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01159">readerror</a>.
<p>
-<div class="fragment"><pre>00855 {
-00856 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00857 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00858 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>);
-00859 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00860 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00861 };
+<div class="fragment"><pre>00871 {
+00872 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00873 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00874 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>);
+00875 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00876 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00877 };
</pre></div> </td>
</tr>
</table>
@@ -184,16 +184,16 @@ Default destructor.
<p>
This method destroys the ConfigReader class.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00845">845</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#l00861">861</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, and <a class="el" href="modules_8h-source.html#l01106">errorlog</a>.
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>, and <a class="el" href="modules_8h-source.html#l01156">errorlog</a>.
<p>
-<div class="fragment"><pre>00846 {
-00847 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
-00848 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
-00849 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
-00850 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-00851 }
+<div class="fragment"><pre>00862 {
+00863 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
+00864 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
+00865 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
+00866 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+00867 }
</pre></div> </td>
</tr>
</table>
@@ -237,40 +237,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#l00932">932</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01106">errorlog</a>, <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00106">userrec::nick</a>.
-<p>
-<div class="fragment"><pre>00933 {
-00934 <span class="keywordflow">if</span> (bail)
-00935 {
-00936 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());
-00937 exit(0);
-00938 }
-00939 <span class="keywordflow">else</span>
-00940 {
-00941 <span class="keywordtype">char</span> dataline[1024];
-00942 <span class="keywordflow">if</span> (user)
-00943 {
-00944 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>);
-00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00946 {
-00947 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00948 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);
-00949 }
-00950 }
-00951 <span class="keywordflow">else</span>
-00952 {
-00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00955 {
-00956 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00957 WriteOpers(dataline);
-00958 }
-00959 }
-00960 <span class="keywordflow">return</span>;
-00961 }
-00962 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00948">948</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l01156">errorlog</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00111">userrec::nick</a>.
+<p>
+<div class="fragment"><pre>00949 {
+00950 <span class="keywordflow">if</span> (bail)
+00951 {
+00952 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());
+00953 exit(0);
+00954 }
+00955 <span class="keywordflow">else</span>
+00956 {
+00957 <span class="keywordtype">char</span> dataline[1024];
+00958 <span class="keywordflow">if</span> (user)
+00959 {
+00960 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>);
+00961 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00962 {
+00963 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00964 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);
+00965 }
+00966 }
+00967 <span class="keywordflow">else</span>
+00968 {
+00969 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00970 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00971 {
+00972 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00973 WriteOpers(dataline);
+00974 }
+00975 }
+00976 <span class="keywordflow">return</span>;
+00977 }
+00978 }
</pre></div> </td>
</tr>
</table>
@@ -304,13 +304,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#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#l00981">981</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>.
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>.
<p>
-<div class="fragment"><pre>00966 {
-00967 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
-00968 }
+<div class="fragment"><pre>00982 {
+00983 <span class="keywordflow">return</span> EnumConf(cache,tag.c_str());
+00984 }
</pre></div> </td>
</tr>
</table>
@@ -353,13 +353,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#l00970">970</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#l00986">986</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>.
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>.
<p>
-<div class="fragment"><pre>00971 {
-00972 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
-00973 }
+<div class="fragment"><pre>00987 {
+00988 <span class="keywordflow">return</span> EnumValues(cache, tag.c_str(), index);
+00989 }
</pre></div> </td>
</tr>
</table>
@@ -392,15 +392,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#l00925">925</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#l00941">941</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01110">error</a>.
+References <a class="el" href="modules_8h-source.html#l01160">error</a>.
<p>
-<div class="fragment"><pre>00926 {
-00927 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
-00928 this-&gt;error = 0;
-00929 <span class="keywordflow">return</span> olderr;
-00930 }
+<div class="fragment"><pre>00942 {
+00943 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
+00944 this-&gt;error = 0;
+00945 <span class="keywordflow">return</span> olderr;
+00946 }
</pre></div> </td>
</tr>
</table>
@@ -449,25 +449,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#l00879">879</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, <a class="el" href="modules_8h-source.html#l01087">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01110">error</a>.
-<p>
-<div class="fragment"><pre>00880 {
-00881 <span class="keywordtype">char</span> val[MAXBUF];
-00882 <span class="keywordtype">char</span> t[MAXBUF];
-00883 <span class="keywordtype">char</span> n[MAXBUF];
-00884 strlcpy(t,tag.c_str(),MAXBUF);
-00885 strlcpy(n,name.c_str(),MAXBUF);
-00886 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00887 <span class="keywordflow">if</span> (!res)
-00888 {
-00889 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00890 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00891 }
-00892 std::string s = val;
-00893 <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>));
-00894 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00895">895</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>.
+<p>
+<div class="fragment"><pre>00896 {
+00897 <span class="keywordtype">char</span> val[MAXBUF];
+00898 <span class="keywordtype">char</span> t[MAXBUF];
+00899 <span class="keywordtype">char</span> n[MAXBUF];
+00900 strlcpy(t,tag.c_str(),MAXBUF);
+00901 strlcpy(n,name.c_str(),MAXBUF);
+00902 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00903 <span class="keywordflow">if</span> (!res)
+00904 {
+00905 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00906 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00907 }
+00908 std::string s = val;
+00909 <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>));
+00910 }
</pre></div> </td>
</tr>
</table>
@@ -522,37 +522,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#l00896">896</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, <a class="el" href="modules_8h-source.html#l01085">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01086">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01087">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01110">error</a>.
-<p>
-<div class="fragment"><pre>00897 {
-00898 <span class="keywordtype">char</span> val[MAXBUF];
-00899 <span class="keywordtype">char</span> t[MAXBUF];
-00900 <span class="keywordtype">char</span> n[MAXBUF];
-00901 strlcpy(t,tag.c_str(),MAXBUF);
-00902 strlcpy(n,name.c_str(),MAXBUF);
-00903 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
-00904 <span class="keywordflow">if</span> (!res)
-00905 {
-00906 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00907 <span class="keywordflow">return</span> 0;
-00908 }
-00909 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-00910 {
-00911 <span class="keywordflow">if</span> (!isdigit(val[i]))
-00912 {
-00913 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
-00914 <span class="keywordflow">return</span> 0;
-00915 }
-00916 }
-00917 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-00918 {
-00919 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
-00920 <span class="keywordflow">return</span> 0;
-00921 }
-00922 <span class="keywordflow">return</span> atoi(val);
-00923 }
+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#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01135">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01136">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>.
+<p>
+<div class="fragment"><pre>00913 {
+00914 <span class="keywordtype">char</span> val[MAXBUF];
+00915 <span class="keywordtype">char</span> t[MAXBUF];
+00916 <span class="keywordtype">char</span> n[MAXBUF];
+00917 strlcpy(t,tag.c_str(),MAXBUF);
+00918 strlcpy(n,name.c_str(),MAXBUF);
+00919 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00920 <span class="keywordflow">if</span> (!res)
+00921 {
+00922 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00923 <span class="keywordflow">return</span> 0;
+00924 }
+00925 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+00926 {
+00927 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00928 {
+00929 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
+00930 <span class="keywordflow">return</span> 0;
+00931 }
+00932 }
+00933 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+00934 {
+00935 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
+00936 <span class="keywordflow">return</span> 0;
+00937 }
+00938 <span class="keywordflow">return</span> atoi(val);
+00939 }
</pre></div> </td>
</tr>
</table>
@@ -601,24 +601,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#l00863">863</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01105">cache</a>, <a class="el" href="modules_8h-source.html#l01087">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01110">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="stringliteral">""</span>;
-00875 }
-00876 <span class="keywordflow">return</span> std::string(val);
-00877 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00879">879</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l01155">cache</a>, <a class="el" href="modules_8h-source.html#l01137">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01160">error</a>.
+<p>
+<div class="fragment"><pre>00880 {
+00881 <span class="keywordtype">char</span> val[MAXBUF];
+00882 <span class="keywordtype">char</span> t[MAXBUF];
+00883 <span class="keywordtype">char</span> n[MAXBUF];
+00884 strlcpy(t,tag.c_str(),MAXBUF);
+00885 strlcpy(n,name.c_str(),MAXBUF);
+00886 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00887 <span class="keywordflow">if</span> (!res)
+00888 {
+00889 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00890 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00891 }
+00892 <span class="keywordflow">return</span> std::string(val);
+00893 }
</pre></div> </td>
</tr>
</table>
@@ -651,13 +651,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#l00975">975</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#l01109">readerror</a>.
+References <a class="el" href="modules_8h-source.html#l01159">readerror</a>.
<p>
-<div class="fragment"><pre>00976 {
-00977 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
-00978 }
+<div class="fragment"><pre>00992 {
+00993 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00994 }
</pre></div> </td>
</tr>
</table>
@@ -685,9 +685,9 @@ The contents of the configuration file This protected member should never be acc
<p>
It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01105">1105</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01155">1155</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#l00835">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00965">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00970">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00879">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00863">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00845">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00851">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00981">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00986">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00895">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00912">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00879">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00861">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p3" doxytag="ConfigReader::error"></a><p>
@@ -711,9 +711,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00835">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01110">1110</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01160">1160</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#l00835">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00925">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00879">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00863">ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00851">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00941">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00895">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00912">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00879">ReadValue()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="ConfigReader::errorlog"></a><p>
@@ -737,9 +737,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00835">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01106">1106</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01156">1156</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#l00835">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00932">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00845">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00851">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00948">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00861">~ConfigReader()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="ConfigReader::readerror"></a><p>
@@ -765,14 +765,14 @@ Used to store errors.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01109">1109</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+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#l00835">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00975">Verify()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00851">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00991">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 Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index 0f73e7de4..abaf3804f 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -14,9 +14,10 @@
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o5">pass</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#o4">pingtime</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#o1">registration_timeout</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#o6">threshold</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classConnectClass.html#o0">type</a></td><td><a class="el" href="classConnectClass.html">ConnectClass</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classConnectClass.html b/docs/module-doc/classConnectClass.html
index 61fb38d40..e7d958aa8 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -36,6 +36,9 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>.
<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classConnectClass.html#o5">pass</a> [MAXBUF]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(Optional) Password for this line </em> <a href="#o5"></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="classConnectClass.html#o6">threshold</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Threshold value for flood disconnect. </em> <a href="#o6"></a><em><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tags in the config file.
@@ -70,17 +73,18 @@ Definition at line <a class="el" href="users_8h-source.html#l00045">45</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00067">67</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#l00071">71</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00056">flood</a>, <a class="el" href="users_8h-source.html#l00059">host</a>, <a class="el" href="users_8h-source.html#l00065">pass</a>, <a class="el" href="users_8h-source.html#l00062">pingtime</a>, and <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>.
+References <a class="el" href="users_8h-source.html#l00056">flood</a>, <a class="el" href="users_8h-source.html#l00059">host</a>, <a class="el" href="users_8h-source.html#l00065">pass</a>, <a class="el" href="users_8h-source.html#l00062">pingtime</a>, <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>, and <a class="el" href="users_8h-source.html#l00069">threshold</a>.
<p>
-<div class="fragment"><pre>00068 {
-00069 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
-00070 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
-00071 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
-00072 strlcpy(host,<span class="stringliteral">""</span>,MAXBUF);
-00073 strlcpy(pass,<span class="stringliteral">""</span>,MAXBUF);
-00074 }
+<div class="fragment"><pre>00072 {
+00073 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
+00074 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
+00075 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
+00076 <a class="code" href="classConnectClass.html#o6">threshold</a> = 0;
+00077 strlcpy(host,<span class="stringliteral">""</span>,MAXBUF);
+00078 strlcpy(pass,<span class="stringliteral">""</span>,MAXBUF);
+00079 }
</pre></div> </td>
</tr>
</table>
@@ -110,7 +114,7 @@ Number of lines in buffer before excess flood is triggered.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00056">56</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="ConnectClass::host"></a><p>
@@ -138,7 +142,7 @@ Host mask for this line.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00059">59</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
</tr>
</table>
<a name="o5" doxytag="ConnectClass::pass"></a><p>
@@ -166,7 +170,7 @@ Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a
<p>
Definition at line <a class="el" href="users_8h-source.html#l00065">65</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="ConnectClass::pingtime"></a><p>
@@ -194,7 +198,7 @@ Number of seconds between pings for this line.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00062">62</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="ConnectClass::registration_timeout"></a><p>
@@ -222,7 +226,35 @@ Max time to register the connection in seconds.
<p>
Definition at line <a class="el" href="users_8h-source.html#l00053">53</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8h-source.html#l00067">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="ConnectClass::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="classConnectClass.html#o6">ConnectClass::threshold</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Threshold value for flood disconnect.
+<p>
+
+<p>
+Definition at line <a class="el" href="users_8h-source.html#l00069">69</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+<p>
+Referenced by <a class="el" href="users_8h-source.html#l00071">ConnectClass()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="ConnectClass::type"></a><p>
@@ -253,7 +285,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00050">50</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classDNS-members.html b/docs/module-doc/classDNS-members.html
index 27446a113..bd9aff1a9 100644
--- a/docs/module-doc/classDNS-members.html
+++ b/docs/module-doc/classDNS-members.html
@@ -33,7 +33,7 @@
<tr class="memlist"><td><a class="el" href="classDNS.html#a8">SetNS</a>(std::string dnsserver)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#r2">t</a></td><td><a class="el" href="classDNS.html">DNS</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#a2">~DNS</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classDNS.html b/docs/module-doc/classDNS.html
index 9b2563cf4..ea2a87e1b 100644
--- a/docs/module-doc/classDNS.html
+++ b/docs/module-doc/classDNS.html
@@ -890,7 +890,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classELine-members.html b/docs/module-doc/classELine-members.html
index bed310fd6..2b98f9ea9 100644
--- a/docs/module-doc/classELine-members.html
+++ b/docs/module-doc/classELine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classELine.html b/docs/module-doc/classELine.html
index 7d4681a99..4ea2be125 100644
--- a/docs/module-doc/classELine.html
+++ b/docs/module-doc/classELine.html
@@ -45,7 +45,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00088">88</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classEvent-members.html b/docs/module-doc/classEvent-members.html
index 3e77cb876..9f1084c4a 100644
--- a/docs/module-doc/classEvent-members.html
+++ b/docs/module-doc/classEvent-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classEvent.html#a4">Send</a>()</td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classEvent.html#p1">source</a></td><td><a class="el" href="classEvent.html">Event</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classEvent.html b/docs/module-doc/classEvent.html
index 86bb599fa..980de41c0 100644
--- a/docs/module-doc/classEvent.html
+++ b/docs/module-doc/classEvent.html
@@ -94,9 +94,9 @@ Create a new Event.
<p>
<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#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00337 : <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>00335 : <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>
@@ -130,13 +130,13 @@ Get the Event data.
<p>
<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#l00337">337</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>00340 {
-00341 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
-00342 }
+<div class="fragment"><pre>00338 {
+00339 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
+00340 }
</pre></div> </td>
</tr>
</table>
@@ -169,13 +169,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#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#l00353">353</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>00356 {
-00357 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
-00358 }
+<div class="fragment"><pre>00354 {
+00355 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
+00356 }
</pre></div> </td>
</tr>
</table>
@@ -208,13 +208,13 @@ Get the event Source.
<p>
<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#l00342">342</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>00345 {
-00346 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
-00347 }
+<div class="fragment"><pre>00343 {
+00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
+00345 }
</pre></div> </td>
</tr>
</table>
@@ -249,14 +249,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#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#l00347">347</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>00350 {
-00351 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
-00352 <span class="keywordflow">return</span> NULL;
-00353 }
+<div class="fragment"><pre>00348 {
+00349 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
+00350 <span class="keywordflow">return</span> NULL;
+00351 }
</pre></div> </td>
</tr>
</table>
@@ -286,7 +286,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#l00339">GetData()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00337">GetData()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="Event::id"></a><p>
@@ -314,7 +314,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#l00355">GetEventID()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00353">GetEventID()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="Event::source"></a><p>
@@ -342,12 +342,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#l00344">GetSource()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00342">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 Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index bbece52c2..8bd3c1019 100644
--- a/docs/module-doc/classExemptItem-members.html
+++ b/docs/module-doc/classExemptItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExemptItem.html b/docs/module-doc/classExemptItem.html
index 3eb87d59d..40e24cd97 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -22,7 +22,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#l00053">53</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index a76751ffc..8a6a72bcb 100644
--- a/docs/module-doc/classExtMode-members.html
+++ b/docs/module-doc/classExtMode-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classExtMode.html#o2">params_when_on</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtMode.html#o1">type</a></td><td><a class="el" href="classExtMode.html">ExtMode</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExtMode.html b/docs/module-doc/classExtMode.html
index c173b696f..f030e065f 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -82,11 +82,11 @@
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00201">201</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#l00202">202</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00195">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00199">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00198">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00197">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00196">type</a>.
+References <a class="el" href="modules_8cpp-source.html#l00196">modechar</a>, <a class="el" href="modules_8cpp-source.html#l00200">needsoper</a>, <a class="el" href="modules_8cpp-source.html#l00199">params_when_off</a>, <a class="el" href="modules_8cpp-source.html#l00198">params_when_on</a>, and <a class="el" href="modules_8cpp-source.html#l00197">type</a>.
<p>
-<div class="fragment"><pre>00201 : <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>00202 : <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>
@@ -112,7 +112,7 @@ References <a class="el" href="modules_8cpp-source.html#l00195">modechar</a>, <a
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00200">200</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#l00201">201</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>
@@ -136,9 +136,9 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00200">200</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00195">195</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#l00196">196</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#l00201">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00202">ExtMode()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="ExtMode::needsoper"></a><p>
@@ -162,9 +162,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00201">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00199">199</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#l00200">200</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#l00201">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00202">ExtMode()</a>. </td>
</tr>
</table>
<a name="o3" doxytag="ExtMode::params_when_off"></a><p>
@@ -188,9 +188,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00201">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00198">198</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#l00199">199</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#l00201">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00202">ExtMode()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="ExtMode::params_when_on"></a><p>
@@ -214,9 +214,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00201">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00197">197</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#l00198">198</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#l00201">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00202">ExtMode()</a>. </td>
</tr>
</table>
<a name="o1" doxytag="ExtMode::type"></a><p>
@@ -240,14 +240,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00201">ExtMode()</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00196">196</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#l00197">197</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#l00201">ExtMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00202">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 Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index 9627587a2..d459cfcff 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#a2">GetExt</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#a1">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classExtensible.html b/docs/module-doc/classExtensible.html
index eb4935693..1c8e993eb 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -170,7 +170,7 @@ Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of fil
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index b4b4ce247..b13b2bfe9 100644
--- a/docs/module-doc/classFileReader-members.html
+++ b/docs/module-doc/classFileReader-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classFileReader.html#a3">LoadFile</a>(std::string filename)</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classFileReader.html#a2">~FileReader</a>()</td><td><a class="el" href="classFileReader.html">FileReader</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classFileReader.html b/docs/module-doc/classFileReader.html
index 15bfc3626..1319a66e2 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01186">1186</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="modules_8h-source.html#l01236">1236</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FileReader::FileReader"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -77,10 +77,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#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#l01004">1004</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00989 {
-00990 }
+<div class="fragment"><pre>01005 {
+01006 }
</pre></div> </td>
</tr>
</table>
@@ -114,15 +114,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#l00981">981</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#l00997">997</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01188">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
+References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
<p>
-<div class="fragment"><pre>00982 {
-00983 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00984 readfile(c,filename.c_str());
-00985 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00986 }
+<div class="fragment"><pre>00998 {
+00999 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+01000 readfile(c,filename.c_str());
+01001 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+01002 }
</pre></div> </td>
</tr>
</table>
@@ -155,10 +155,10 @@ Default destructor.
<p>
This deletes the memory allocated to the file.
<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#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>01001 {
-01002 }
+<div class="fragment"><pre>01017 {
+01018 }
</pre></div> </td>
</tr>
</table>
@@ -192,20 +192,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#l01004">1004</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#l01020">1020</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01188">fc</a>.
+References <a class="el" href="modules_8h-source.html#l01238">fc</a>.
<p>
-<div class="fragment"><pre>01005 {
-01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
-01007 {
-01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-01009 }
-01010 <span class="keywordflow">else</span>
-01011 {
-01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-01013 }
-01014 }
+<div class="fragment"><pre>01021 {
+01022 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
+01023 {
+01024 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+01025 }
+01026 <span class="keywordflow">else</span>
+01027 {
+01028 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+01029 }
+01030 }
</pre></div> </td>
</tr>
</table>
@@ -238,13 +238,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#l01023">1023</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#l01039">1039</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01188">fc</a>.
+References <a class="el" href="modules_8h-source.html#l01238">fc</a>.
<p>
-<div class="fragment"><pre>01024 {
-01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
-01026 }
+<div class="fragment"><pre>01040 {
+01041 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
+01042 }
</pre></div> </td>
</tr>
</table>
@@ -278,15 +278,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#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#l01032">1032</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01188">fc</a>.
+References <a class="el" href="modules_8h-source.html#l01238">fc</a>.
<p>
-<div class="fragment"><pre>01017 {
-01018 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
-01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
-01021 }
+<div class="fragment"><pre>01033 {
+01034 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
+01035 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+01036 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
+01037 }
</pre></div> </td>
</tr>
</table>
@@ -320,15 +320,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#l00992">992</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#l01008">1008</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01188">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
+References <a class="el" href="modules_8h-source.html#l01238">fc</a>, and <a class="el" href="modules_8h-source.html#l00067">file_cache</a>.
<p>
-<div class="fragment"><pre>00993 {
-00994 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00995 readfile(c,filename.c_str());
-00996 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00997 }
+<div class="fragment"><pre>01009 {
+01010 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+01011 readfile(c,filename.c_str());
+01012 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+01013 }
</pre></div> </td>
</tr>
</table>
@@ -354,14 +354,14 @@ References <a class="el" href="modules_8h-source.html#l01188">fc</a>, and <a cla
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01188">1188</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01238">1238</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#l01004">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00981">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01023">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01016">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00992">LoadFile()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l01020">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00997">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01039">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01032">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l01008">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 Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classGLine-members.html b/docs/module-doc/classGLine-members.html
index b8e35fd58..ca5405af0 100644
--- a/docs/module-doc/classGLine-members.html
+++ b/docs/module-doc/classGLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classGLine.html b/docs/module-doc/classGLine.html
index 3ea20d2ce..8dae2d04b 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00079">79</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index e76b1ac3e..0053dc346 100644
--- a/docs/module-doc/classHostItem-members.html
+++ b/docs/module-doc/classHostItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classHostItem.html b/docs/module-doc/classHostItem.html
index 71d59cfe3..90237c5f5 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -178,7 +178,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00032">32</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index 4a5a4aa56..7e43a92ad 100644
--- a/docs/module-doc/classInviteItem-members.html
+++ b/docs/module-doc/classInviteItem-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classHostItem.html#o0">set_time</a></td><td><a class="el" href="classHostItem.html">HostItem</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classHostItem.html#a1">~HostItem</a>()</td><td><a class="el" href="classHostItem.html">HostItem</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classInviteItem.html b/docs/module-doc/classInviteItem.html
index 2172cc4ea..db30696d3 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -22,7 +22,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#l00061">61</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classInvited-members.html b/docs/module-doc/classInvited-members.html
index e6442ed32..0e220accf 100644
--- a/docs/module-doc/classInvited-members.html
+++ b/docs/module-doc/classInvited-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classInvited.html#o0">channel</a></td><td><a class="el" href="classInvited.html">Invited</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classInvited.html b/docs/module-doc/classInvited.html
index 61717cecc..baeb2dc09 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -47,12 +47,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#l00085">userrec::InviteTo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00088">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 Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 556118288..3015be7b7 100644
--- a/docs/module-doc/classKLine-members.html
+++ b/docs/module-doc/classKLine-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classKLine.html b/docs/module-doc/classKLine.html
index 4f707ad92..384c57192 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -53,7 +53,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00068">68</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index fceaaac90..01fb8b353 100644
--- a/docs/module-doc/classModeParameter-members.html
+++ b/docs/module-doc/classModeParameter-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o0">mode</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classModeParameter.html#o1">parameter</a></td><td><a class="el" href="classModeParameter.html">ModeParameter</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModeParameter.html b/docs/module-doc/classModeParameter.html
index 4f4bdd98b..75dc0540a 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -110,7 +110,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00150">chanrec::Set
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModule-members.html b/docs/module-doc/classModule-members.html
index ddafaae13..b748a548b 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -12,6 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a0">Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classModule.html#a27">On005Numeric</a>(std::string &amp;output)</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="classModule.html#a24">OnAccessCheck</a>(userrec *source, userrec *dest, chanrec *channel, int access_type)</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="classModule.html#a50">OnAddBan</a>(userrec *source, chanrec *channel, std::string banmask)</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="classModule.html#a30">OnBackgroundTimer</a>(time_t curtime)</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="classModule.html#a42">OnChangeLocalUserGECOS</a>(userrec *user, std::string newhost)</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="classModule.html#a41">OnChangeLocalUserHost</a>(userrec *user, std::string newhost)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
@@ -21,6 +22,7 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a37">OnCheckKey</a>(userrec *user, chanrec *chan, std::string keygiven)</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="classModule.html#a38">OnCheckLimit</a>(userrec *user, chanrec *chan)</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="classModule.html#a33">OnCheckReady</a>(userrec *user)</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="classModule.html#a51">OnDelBan</a>(userrec *source, chanrec *channel, std::string banmask)</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="classModule.html#a45">OnEvent</a>(Event *event)</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="classModule.html#a12">OnExtendedMode</a>(userrec *user, void *target, char modechar, int type, bool mode_on, string_list &amp;params)</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="classModule.html#a49">OnGlobalConnect</a>(userrec *user)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
@@ -36,6 +38,10 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a8">OnPacketTransmit</a>(std::string &amp;data, std::string serv)</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="classModule.html#a32">OnPreCommand</a>(std::string command, char **parameters, int pcnt, userrec *user)</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="classModule.html#a35">OnRawMode</a>(userrec *user, chanrec *chan, char mode, std::string param, bool adding, int pcnt)</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="classModule.html#a52">OnRawSocketAccept</a>(int fd, std::string ip, int localport)</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="classModule.html#a54">OnRawSocketClose</a>(int fd)</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="classModule.html#a55">OnRawSocketRead</a>(int fd, char *buffer, unsigned int count, int &amp;readresult)</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="classModule.html#a53">OnRawSocketWrite</a>(int fd, char *buffer, int count)</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="classModule.html#a10">OnRehash</a>()</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="classModule.html#a46">OnRequest</a>(Request *request)</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="classModule.html#a31">OnSendList</a>(userrec *user, chanrec *channel, char mode)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
@@ -59,7 +65,7 @@
<tr class="memlist"><td><a class="el" href="classModule.html#a18">OnWhois</a>(userrec *source, userrec *dest)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModule.html#a1">~Module</a>()</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:49 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModule.html b/docs/module-doc/classModule.html
index c587dcc90..eec90db64 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -165,6 +165,24 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>.
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a49">OnGlobalConnect</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user connects, anywhere on the network. </em> <a href="#a49"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a50">OnAddBan</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classchanrec.html">chanrec</a> *channel, std::string banmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a ban is added to a channel's list. </em> <a href="#a50"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a51">OnDelBan</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classchanrec.html">chanrec</a> *channel, std::string banmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a ban is removed from a channel's list. </em> <a href="#a51"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a52">OnRawSocketAccept</a> (int fd, std::string ip, int localport)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called immediately after any connection is accepted. </em> <a href="#a52"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a53">OnRawSocketWrite</a> (int fd, char *buffer, int count)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called immediately before any write() operation on a user's socket in the core. </em> <a href="#a53"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a54">OnRawSocketClose</a> (int fd)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called immediately before any socket is closed. </em> <a href="#a54"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a55">OnRawSocketRead</a> (int fd, char *buffer, unsigned int count, int &amp;readresult)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called immediately before any read() operation on a client socket in the core. </em> <a href="#a55"></a><em><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for all InspIRCd modules This class is the base class for InspIRCd modules.
@@ -203,9 +221,9 @@ Default constructor creates a module class.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00361">361</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>00361 { }
+<div class="fragment"><pre>00360 { }
</pre></div> </td>
</tr>
</table>
@@ -238,9 +256,9 @@ Default destructor destroys a module class.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00362">362</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#l00361">361</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00362 { }
+<div class="fragment"><pre>00361 { }
</pre></div> </td>
</tr>
</table>
@@ -274,11 +292,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#l00374">374</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#l00373">373</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>00374 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); }
+<div class="fragment"><pre>00373 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,VF_VENDOR); }
</pre></div> </td>
</tr>
</table>
@@ -312,9 +330,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#l00386">386</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#l00385">385</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00386 { };
+<div class="fragment"><pre>00385 { };
</pre></div> </td>
</tr>
</table>
@@ -381,11 +399,62 @@ 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#l00383">383</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#l00382">382</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>00383 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
+<div class="fragment"><pre>00382 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a50" doxytag="Module::OnAddBan"></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 Module::OnAddBan </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>source</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>channel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>banmask</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00410 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -419,9 +488,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#l00389">389</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#l00388">388</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00389 { };
+<div class="fragment"><pre>00388 { };
</pre></div> </td>
</tr>
</table>
@@ -464,9 +533,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#l00403">403</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>
-<div class="fragment"><pre>00403 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00402 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -509,9 +578,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#l00402">402</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#l00401">401</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00402 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00401 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -545,11 +614,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#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#l00384">384</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>00385 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<div class="fragment"><pre>00384 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
</pre></div> </td>
</tr>
</table>
@@ -592,9 +661,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#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#l00399">399</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00400 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00399 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -637,9 +706,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#l00397">397</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#l00396">396</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00397 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00396 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -688,9 +757,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#l00398">398</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>00398 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00397 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -733,9 +802,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#l00399">399</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#l00398">398</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00399 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00398 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -769,9 +838,60 @@ 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#l00392">392</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#l00391">391</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00392 { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
+<div class="fragment"><pre>00391 { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a51" doxytag="Module::OnDelBan"></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 Module::OnDelBan </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>source</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>channel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>banmask</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00411">411</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00411 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -805,9 +925,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#l00406">406</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#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00406 { <span class="keywordflow">return</span>; };
+<div class="fragment"><pre>00405 { <span class="keywordflow">return</span>; };
</pre></div> </td>
</tr>
</table>
@@ -872,11 +992,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00406">406</a>
<p>
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#a21">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.
+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#a23">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#l00373">373</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#l00372">372</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00373 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+<div class="fragment"><pre>00372 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
</pre></div> </td>
</tr>
</table>
@@ -910,9 +1030,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#l00410">410</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#l00409">409</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00410 { };
+<div class="fragment"><pre>00409 { };
</pre></div> </td>
</tr>
</table>
@@ -946,9 +1066,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#l00409">409</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#l00408">408</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00409 { };
+<div class="fragment"><pre>00408 { };
</pre></div> </td>
</tr>
</table>
@@ -983,9 +1103,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#l00376">376</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#l00375">375</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00376 { };
+<div class="fragment"><pre>00375 { };
</pre></div> </td>
</tr>
</table>
@@ -1034,9 +1154,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#l00387">387</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#l00386">386</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00387 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00386 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1079,9 +1199,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#l00388">388</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>00388 { };
+<div class="fragment"><pre>00387 { };
</pre></div> </td>
</tr>
</table>
@@ -1130,9 +1250,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#l00404">404</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#l00403">403</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00404 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00403 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1205,9 +1325,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#l00405">405</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#l00404">404</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00405 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00404 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1241,9 +1361,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#l00375">375</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>00375 { };
+<div class="fragment"><pre>00374 { };
</pre></div> </td>
</tr>
</table>
@@ -1286,9 +1406,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#l00408">408</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#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00408 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00407 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1331,9 +1451,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#l00369">369</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#l00368">368</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00369 { }
+<div class="fragment"><pre>00368 { }
</pre></div> </td>
</tr>
</table>
@@ -1376,9 +1496,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#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#l00367">367</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00368 { }
+<div class="fragment"><pre>00367 { }
</pre></div> </td>
</tr>
</table>
@@ -1431,11 +1551,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00368">368</a>
<p>
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#a29">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!)
+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#a31">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#l00391">391</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#l00390">390</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00391 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00390 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1502,9 +1622,204 @@ 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#l00396">396</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#l00395">395</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00396 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00395 { <span class="keywordflow">return</span> 0; };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a52" doxytag="Module::OnRawSocketAccept"></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 Module::OnRawSocketAccept </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>fd</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>ip</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>localport</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00412">412</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00412 { };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a54" doxytag="Module::OnRawSocketClose"></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 Module::OnRawSocketClose </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>fd</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00414">414</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00414 { };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a55" doxytag="Module::OnRawSocketRead"></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 Module::OnRawSocketRead </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>fd</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>unsigned int&nbsp;</td>
+ <td class="mdname" nowrap> <em>count</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>readresult</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00415 { <span class="keywordflow">return</span> 0; };
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a53" doxytag="Module::OnRawSocketWrite"></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 Module::OnRawSocketWrite </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>fd</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>buffer</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>count</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00413 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -1537,9 +1852,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#l00370">370</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#l00369">369</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00370 { }
+<div class="fragment"><pre>00369 { }
</pre></div> </td>
</tr>
</table>
@@ -1573,11 +1888,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#l00407">407</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#l00406">406</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#l00325">Request::Send()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00323">Request::Send()</a>.
<p>
-<div class="fragment"><pre>00407 { <span class="keywordflow">return</span> NULL; };
+<div class="fragment"><pre>00406 { <span class="keywordflow">return</span> NULL; };
</pre></div> </td>
</tr>
</table>
@@ -1626,9 +1941,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#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#l00389">389</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00390 { };
+<div class="fragment"><pre>00389 { };
</pre></div> </td>
</tr>
</table>
@@ -1677,9 +1992,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#l00371">371</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>00371 { }
+<div class="fragment"><pre>00370 { }
</pre></div> </td>
</tr>
</table>
@@ -1713,9 +2028,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#l00401">401</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#l00400">400</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00401 { };
+<div class="fragment"><pre>00400 { };
</pre></div> </td>
</tr>
</table>
@@ -1749,9 +2064,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#l00363">363</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#l00362">362</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00363 { }
+<div class="fragment"><pre>00362 { }
</pre></div> </td>
</tr>
</table>
@@ -1785,9 +2100,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#l00365">365</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#l00364">364</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00365 { }
+<div class="fragment"><pre>00364 { }
</pre></div> </td>
</tr>
</table>
@@ -1830,9 +2145,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#l00366">366</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#l00365">365</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00366 { }
+<div class="fragment"><pre>00365 { }
</pre></div> </td>
</tr>
</table>
@@ -1887,9 +2202,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#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#l00394">394</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00395 { };
+<div class="fragment"><pre>00394 { };
</pre></div> </td>
</tr>
</table>
@@ -1932,9 +2247,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#l00367">367</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>00367 { }
+<div class="fragment"><pre>00366 { }
</pre></div> </td>
</tr>
</table>
@@ -1977,9 +2292,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#l00382">382</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#l00381">381</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00382 { };
+<div class="fragment"><pre>00381 { };
</pre></div> </td>
</tr>
</table>
@@ -2028,9 +2343,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#l00378">378</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#l00377">377</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00378 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00377 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2081,9 +2396,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#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#l00371">371</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00372 { <span class="keywordflow">return</span> 0; }
+<div class="fragment"><pre>00371 { <span class="keywordflow">return</span> 0; }
</pre></div> </td>
</tr>
</table>
@@ -2138,9 +2453,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#l00394">394</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#l00393">393</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00394 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00393 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2195,9 +2510,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#l00379">379</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#l00378">378</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00379 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00378 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2240,9 +2555,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#l00381">381</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#l00380">380</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00381 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00380 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2297,9 +2612,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#l00380">380</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>00380 { <span class="keywordflow">return</span> 0; };
+<div class="fragment"><pre>00379 { <span class="keywordflow">return</span> 0; };
</pre></div> </td>
</tr>
</table>
@@ -2333,9 +2648,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#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#l00363">363</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00364 { }
+<div class="fragment"><pre>00363 { }
</pre></div> </td>
</tr>
</table>
@@ -2369,9 +2684,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#l00393">393</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>00393 { };
+<div class="fragment"><pre>00392 { };
</pre></div> </td>
</tr>
</table>
@@ -2405,11 +2720,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#l00384">384</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#l00383">383</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>00384 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<div class="fragment"><pre>00383 { <a class="code" href="modules_8h.html#a32">string_list</a> empty; <span class="keywordflow">return</span> empty; }
</pre></div> </td>
</tr>
</table>
@@ -2452,15 +2767,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#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#l00376">376</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00377 { };
+<div class="fragment"><pre>00376 { };
</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 Tue Apr 26 17:11:49 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index eb43d4db8..91c25da0d 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -12,7 +12,7 @@
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a0">ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#a1">~ModuleFactory</a>()</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index b17f50643..0f89639ee 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -30,7 +30,7 @@ This is to allow for modules to create many different variants of <a class="el"
<p>
<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>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="modules_8h-source.html#l01291">1291</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="ModuleFactory::ModuleFactory"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -58,9 +58,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l01241">1241</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01244">1244</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01294">1294</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-<div class="fragment"><pre>01244 { }
+<div class="fragment"><pre>01294 { }
</pre></div> </td>
</tr>
</table>
@@ -91,9 +91,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l01244">1244</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01245">1245</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01295">1295</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
<p>
-<div class="fragment"><pre>01245 { }
+<div class="fragment"><pre>01295 { }
</pre></div> </td>
</tr>
</table>
@@ -130,7 +130,7 @@ Your inherited class of ModuleFactory must return a pointer to your <a class="el
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html
index 91cee99f4..c91b0afcf 100644
--- a/docs/module-doc/classModuleMessage-members.html
+++ b/docs/module-doc/classModuleMessage-members.html
@@ -10,7 +10,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleMessage.html#a0">Send</a>()=0</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classModuleMessage.html b/docs/module-doc/classModuleMessage.html
index 75d1769b2..d99c79411 100644
--- a/docs/module-doc/classModuleMessage.html
+++ b/docs/module-doc/classModuleMessage.html
@@ -61,7 +61,7 @@ Implemented in <a class="el" href="classRequest.html#a4">Request</a>, and <a cla
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classQLine-members.html b/docs/module-doc/classQLine-members.html
index da0ee8a07..225e085cf 100644
--- a/docs/module-doc/classQLine-members.html
+++ b/docs/module-doc/classQLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classQLine.html b/docs/module-doc/classQLine.html
index 2404c5e44..35c91a091 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -82,7 +82,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00114">114</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classRequest-members.html b/docs/module-doc/classRequest-members.html
index e9c70663d..c5e1f0307 100644
--- a/docs/module-doc/classRequest-members.html
+++ b/docs/module-doc/classRequest-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classRequest.html#a4">Send</a>()</td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classRequest.html#p1">source</a></td><td><a class="el" href="classRequest.html">Request</a></td><td><code> [protected]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:50 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:27 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html
index 68ba84a00..e344bbd81 100644
--- a/docs/module-doc/classRequest.html
+++ b/docs/module-doc/classRequest.html
@@ -94,9 +94,9 @@ Create a new Request.
<p>
<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#l00306">306</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00308 : <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>00306 : <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>
@@ -130,13 +130,13 @@ Fetch the Request data.
<p>
<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#l00308">308</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>00311 {
-00312 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
-00313 }
+<div class="fragment"><pre>00309 {
+00310 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
+00311 }
</pre></div> </td>
</tr>
</table>
@@ -169,13 +169,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#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#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#l00166">dest</a>.
<p>
-<div class="fragment"><pre>00321 {
-00322 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
-00323 }
+<div class="fragment"><pre>00319 {
+00320 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
+00321 }
</pre></div> </td>
</tr>
</table>
@@ -208,13 +208,13 @@ Fetch the request source.
<p>
<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#l00313">313</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>00316 {
-00317 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
-00318 }
+<div class="fragment"><pre>00314 {
+00315 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
+00316 }
</pre></div> </td>
</tr>
</table>
@@ -249,20 +249,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#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#l00323">323</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#l00407">Module::OnRequest()</a>.
+References <a class="el" href="modules_8h-source.html#l00166">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00406">Module::OnRequest()</a>.
<p>
-<div class="fragment"><pre>00326 {
-00327 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
-00328 {
-00329 <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>);
-00330 }
-00331 <span class="keywordflow">else</span>
-00332 {
-00333 <span class="keywordflow">return</span> NULL;
-00334 }
-00335 }
+<div class="fragment"><pre>00324 {
+00325 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
+00326 {
+00327 <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>);
+00328 }
+00329 <span class="keywordflow">else</span>
+00330 {
+00331 <span class="keywordflow">return</span> NULL;
+00332 }
+00333 }
</pre></div> </td>
</tr>
</table>
@@ -292,7 +292,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#l00310">GetData()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00308">GetData()</a>. </td>
</tr>
</table>
<a name="p2" doxytag="Request::dest"></a><p>
@@ -320,7 +320,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#l00320">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00325">Send()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00318">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00323">Send()</a>. </td>
</tr>
</table>
<a name="p1" doxytag="Request::source"></a><p>
@@ -348,12 +348,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#l00315">GetSource()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00313">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 Tue Apr 26 17:11:50 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classServer-members.html b/docs/module-doc/classServer-members.html
index cff4e3588..521e78e89 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -6,68 +6,70 @@
<!-- 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="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>Server Member List</h1>This is the complete list of members for <a class="el" href="classServer.html">Server</a>, including all inherited members.<table>
- <tr class="memlist"><td><a class="el" href="classServer.html#a23">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams, char *source)</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="classServer.html#a42">AddELine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a22">AddExtendedListMode</a>(char modechar)</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="classServer.html#a21">AddExtendedMode</a>(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</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="classServer.html#a38">AddGLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a41">AddKLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a39">AddQLine</a>(long duration, std::string source, std::string reason, std::string nickname)</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="classServer.html#a40">AddZLine</a>(long duration, std::string source, std::string reason, std::string ipaddr)</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="classServer.html#a25">AddCommand</a>(char *cmd, handlerfunc f, char flags, int minparams, char *source)</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="classServer.html#a44">AddELine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a24">AddExtendedListMode</a>(char modechar)</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="classServer.html#a23">AddExtendedMode</a>(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</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="classServer.html#a40">AddGLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a43">AddKLine</a>(long duration, std::string source, std::string reason, std::string hostmask)</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="classServer.html#a41">AddQLine</a>(long duration, std::string source, std::string reason, std::string nickname)</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="classServer.html#a42">AddZLine</a>(long duration, std::string source, std::string reason, std::string ipaddr)</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#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="classServer.html#a48">CalcDuration</a>(std::string duration)</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="classServer.html#a31">CallCommandHandler</a>(std::string commandname, char **parameters, int pcnt, userrec *user)</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="classServer.html#a33">ChangeGECOS</a>(userrec *user, std::string gecos)</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="classServer.html#a32">ChangeHost</a>(userrec *user, std::string host)</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="classServer.html#a28">ChangeUserNick</a>(userrec *user, std::string nickname)</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="classServer.html#a16">ChanMode</a>(userrec *User, chanrec *Chan)</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="classServer.html#a50">CalcDuration</a>(std::string duration)</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="classServer.html#a33">CallCommandHandler</a>(std::string commandname, char **parameters, int pcnt, userrec *user)</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="classServer.html#a35">ChangeGECOS</a>(userrec *user, std::string gecos)</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="classServer.html#a34">ChangeHost</a>(userrec *user, std::string host)</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="classServer.html#a30">ChangeUserNick</a>(userrec *user, std::string nickname)</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="classServer.html#a18">ChanMode</a>(userrec *User, chanrec *Chan)</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#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="classServer.html#a9">CommonChannels</a>(userrec *u1, userrec *u2)</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="classServer.html#a13">CountUsers</a>(chanrec *c)</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="classServer.html#a47">DelELine</a>(std::string hostmask)</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="classServer.html#a43">DelGLine</a>(std::string hostmask)</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="classServer.html#a46">DelKLine</a>(std::string hostmask)</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="classServer.html#a44">DelQLine</a>(std::string nickname)</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="classServer.html#a45">DelZLine</a>(std::string ipaddr)</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="classServer.html#a15">FindChannel</a>(std::string channel)</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="classServer.html#a57">FindModule</a>(std::string name)</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="classServer.html#a14">FindNick</a>(std::string nick)</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="classServer.html#a20">GetAdmin</a>()</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="classServer.html#a19">GetNetworkName</a>()</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="classServer.html#a18">GetServerName</a>()</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="classServer.html#a35">GetUsers</a>(chanrec *chan)</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="classServer.html#a12">IsNick</a>(std::string nick)</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="classServer.html#a17">IsOnChannel</a>(userrec *User, chanrec *Chan)</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="classServer.html#a34">IsUlined</a>(std::string server)</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="classServer.html#a49">IsValidMask</a>(std::string mask)</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="classServer.html#a26">JoinUserToChannel</a>(userrec *user, std::string cname, std::string key)</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="classServer.html#a10">CommonChannels</a>(userrec *u1, userrec *u2)</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="classServer.html#a14">CountUsers</a>(chanrec *c)</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="classServer.html#a49">DelELine</a>(std::string hostmask)</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="classServer.html#a45">DelGLine</a>(std::string hostmask)</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="classServer.html#a48">DelKLine</a>(std::string hostmask)</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="classServer.html#a46">DelQLine</a>(std::string nickname)</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="classServer.html#a47">DelZLine</a>(std::string ipaddr)</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="classServer.html#a17">FindChannel</a>(std::string channel)</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="classServer.html#a16">FindDescriptor</a>(int socket)</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="classServer.html#a59">FindModule</a>(std::string name)</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="classServer.html#a15">FindNick</a>(std::string nick)</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="classServer.html#a22">GetAdmin</a>()</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="classServer.html#a21">GetNetworkName</a>()</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="classServer.html#a20">GetServerName</a>()</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="classServer.html#a37">GetUsers</a>(chanrec *chan)</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="classServer.html#a13">IsNick</a>(std::string nick)</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="classServer.html#a19">IsOnChannel</a>(userrec *User, chanrec *Chan)</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="classServer.html#a36">IsUlined</a>(std::string server)</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="classServer.html#a51">IsValidMask</a>(std::string mask)</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="classServer.html#a28">JoinUserToChannel</a>(userrec *user, std::string cname, std::string key)</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="classServer.html#a3">Log</a>(int level, std::string s)</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="classServer.html#a30">MatchText</a>(std::string sliteral, std::string spattern)</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="classServer.html#a55">MeshCheckChan</a>(chanrec *c, std::string servername)</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="classServer.html#a56">MeshCheckCommon</a>(userrec *u, std::string servername)</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="classServer.html#a50">MeshSendAll</a>(std::string text)</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="classServer.html#a52">MeshSendAllAlive</a>(std::string text)</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="classServer.html#a54">MeshSendAllExcept</a>(std::string target, std::string text)</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="classServer.html#a51">MeshSendCommon</a>(userrec *user, std::string text)</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="classServer.html#a53">MeshSendUnicast</a>(std::string destination, std::string text)</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="classServer.html#a27">PartUserFromChannel</a>(userrec *user, std::string cname, std::string reason)</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="classServer.html#a37">PseudoToUser</a>(userrec *alive, userrec *zombie, 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="classServer.html#a29">QuitUser</a>(userrec *user, std::string reason)</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="classServer.html#a32">MatchText</a>(std::string sliteral, std::string spattern)</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="classServer.html#a57">MeshCheckChan</a>(chanrec *c, std::string servername)</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="classServer.html#a58">MeshCheckCommon</a>(userrec *u, std::string servername)</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="classServer.html#a52">MeshSendAll</a>(std::string text)</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="classServer.html#a54">MeshSendAllAlive</a>(std::string text)</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="classServer.html#a56">MeshSendAllExcept</a>(std::string target, std::string text)</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="classServer.html#a53">MeshSendCommon</a>(userrec *user, std::string text)</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="classServer.html#a55">MeshSendUnicast</a>(std::string destination, std::string text)</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="classServer.html#a29">PartUserFromChannel</a>(userrec *user, std::string cname, std::string reason)</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="classServer.html#a39">PseudoToUser</a>(userrec *alive, userrec *zombie, 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="classServer.html#a31">QuitUser</a>(userrec *user, std::string reason)</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="classServer.html#a4">Send</a>(int Socket, std::string s)</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="classServer.html#a8">SendChannel</a>(userrec *User, chanrec *Channel, std::string s, bool IncludeSender)</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="classServer.html#a10">SendCommon</a>(userrec *User, std::string text, bool IncludeSender)</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="classServer.html#a6">SendFrom</a>(int Socket, userrec *User, std::string s)</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="classServer.html#a24">SendMode</a>(char **parameters, int pcnt, userrec *user)</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="classServer.html#a9">SendChannel</a>(userrec *User, chanrec *Channel, std::string s, bool IncludeSender)</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="classServer.html#a6">SendChannelServerNotice</a>(std::string ServName, chanrec *Channel, std::string text)</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="classServer.html#a11">SendCommon</a>(userrec *User, std::string text, bool IncludeSender)</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="classServer.html#a7">SendFrom</a>(int Socket, userrec *User, std::string s)</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="classServer.html#a26">SendMode</a>(char **parameters, int pcnt, userrec *user)</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="classServer.html#a2">SendOpers</a>(std::string s)</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="classServer.html#a5">SendServ</a>(int Socket, std::string s)</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="classServer.html#a7">SendTo</a>(userrec *Source, userrec *Dest, std::string s)</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="classServer.html#a25">SendToModeMask</a>(std::string modes, int flags, std::string text)</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="classServer.html#a11">SendWallops</a>(userrec *User, std::string text)</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="classServer.html#a8">SendTo</a>(userrec *Source, userrec *Dest, std::string s)</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="classServer.html#a27">SendToModeMask</a>(std::string modes, int flags, std::string text)</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="classServer.html#a12">SendWallops</a>(userrec *User, std::string text)</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="classServer.html#a0">Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classServer.html#a36">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="classServer.html#a38">UserToPseudo</a>(userrec *user, std::string message)</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classServer.html#a1">~Server</a>()</td><td><a class="el" href="classServer.html">Server</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:28 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index ae31470bc..4a850c16a 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -33,162 +33,168 @@ Inherits <a class="el" href="classclassbase.html">classbase</a>.
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a5">SendServ</a> (int Socket, std::string s)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from the server to a socket. </em> <a href="#a5"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a6">SendFrom</a> (int Socket, <a class="el" href="classuserrec.html">userrec</a> *User, std::string s)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a6">SendChannelServerNotice</a> (std::string ServName, <a class="el" href="classchanrec.html">chanrec</a> *Channel, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to a socket. </em> <a href="#a6"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a7">SendTo</a> (<a class="el" href="classuserrec.html">userrec</a> *Source, <a class="el" href="classuserrec.html">userrec</a> *Dest, std::string s)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes text to a channel, but from a server, including all. </em> <a href="#a6"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a7">SendFrom</a> (int Socket, <a class="el" href="classuserrec.html">userrec</a> *User, std::string s)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to another user. </em> <a href="#a7"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a8">SendChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Channel, std::string s, bool IncludeSender)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to a socket. </em> <a href="#a7"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a8">SendTo</a> (<a class="el" href="classuserrec.html">userrec</a> *Source, <a class="el" href="classuserrec.html">userrec</a> *Dest, std::string s)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to a channel (mulicast). </em> <a href="#a8"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a9">CommonChannels</a> (<a class="el" href="classuserrec.html">userrec</a> *u1, <a class="el" href="classuserrec.html">userrec</a> *u2)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to another user. </em> <a href="#a8"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a9">SendChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Channel, std::string s, bool IncludeSender)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if two users share a common channel. </em> <a href="#a9"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a10">SendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text, bool IncludeSender)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to a channel (mulicast). </em> <a href="#a9"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a10">CommonChannels</a> (<a class="el" href="classuserrec.html">userrec</a> *u1, <a class="el" href="classuserrec.html">userrec</a> *u2)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to one or more channels (mulicast). </em> <a href="#a10"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a11">SendWallops</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if two users share a common channel. </em> <a href="#a10"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a11">SendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text, bool IncludeSender)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a WALLOPS message. </em> <a href="#a11"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a12">IsNick</a> (std::string nick)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends text from a user to one or more channels (mulicast). </em> <a href="#a11"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a12">SendWallops</a> (<a class="el" href="classuserrec.html">userrec</a> *User, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if a nick is valid. </em> <a href="#a12"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a13">CountUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *c)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a WALLOPS message. </em> <a href="#a12"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a13">IsNick</a> (std::string nick)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a count of the number of users on a channel. </em> <a href="#a13"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a14">FindNick</a> (std::string nick)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if a nick is valid. </em> <a href="#a13"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a14">CountUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *c)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a nick and return a pointer to it. </em> <a href="#a14"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a15">FindChannel</a> (std::string channel)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a count of the number of users on a channel. </em> <a href="#a14"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a15">FindNick</a> (std::string nick)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a channel and return a pointer to it. </em> <a href="#a15"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a16">ChanMode</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a nick and return a pointer to it. </em> <a href="#a15"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a16">FindDescriptor</a> (int socket)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a user's privilages on a channel. </em> <a href="#a16"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a17">IsOnChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a nick using the file descriptor associated with that nick. </em> <a href="#a16"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a17">FindChannel</a> (std::string channel)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if a user is on a channel. </em> <a href="#a17"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a18">GetServerName</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a channel and return a pointer to it. </em> <a href="#a17"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a18">ChanMode</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the server name of the server where the module is loaded. </em> <a href="#a18"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a19">GetNetworkName</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to look up a user's privilages on a channel. </em> <a href="#a18"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a19">IsOnChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *User, <a class="el" href="classchanrec.html">chanrec</a> *Chan)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the network name, global to all linked servers. </em> <a href="#a19"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classAdmin.html">Admin</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a20">GetAdmin</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if a user is on a channel. </em> <a href="#a19"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a20">GetServerName</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the information of the server as returned by the /ADMIN command. </em> <a href="#a20"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a21">AddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the server name of the server where the module is loaded. </em> <a href="#a20"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a21">GetNetworkName</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an extended mode letter which is parsed by a module. </em> <a href="#a21"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a22">AddExtendedListMode</a> (char modechar)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the network name, global to all linked servers. </em> <a href="#a21"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classAdmin.html">Admin</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a22">GetAdmin</a> ()</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an extended mode letter which is parsed by a module and handled in a list fashion. </em> <a href="#a22"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the information of the server as returned by the /ADMIN command. </em> <a href="#a22"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a23">AddExtendedMode</a> (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a command to the command table. </em> <a href="#a23"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a24">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an extended mode letter which is parsed by a module. </em> <a href="#a23"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a24">AddExtendedListMode</a> (char modechar)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a servermode. </em> <a href="#a24"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a25">SendToModeMask</a> (std::string modes, int flags, std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an extended mode letter which is parsed by a module and handled in a list fashion. </em> <a href="#a24"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a25">AddCommand</a> (char *cmd, handlerfunc f, char flags, int minparams, char *source)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends to all users matching a mode mask You must specify one or more usermodes as the first parameter. </em> <a href="#a25"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a26">JoinUserToChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string key)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a command to the command table. </em> <a href="#a25"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a26">SendMode</a> (char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to join a channel. </em> <a href="#a26"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a27">PartUserFromChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string reason)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a servermode. </em> <a href="#a26"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a27">SendToModeMask</a> (std::string modes, int flags, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to part a channel. </em> <a href="#a27"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a28">ChangeUserNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string nickname)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends to all users matching a mode mask You must specify one or more usermodes as the first parameter. </em> <a href="#a27"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a28">JoinUserToChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string key)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user nickchange. </em> <a href="#a28"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a29">QuitUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string reason)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to join a channel. </em> <a href="#a28"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a29">PartUserFromChannel</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string cname, std::string reason)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to quit with the specified reason. </em> <a href="#a29"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a30">MatchText</a> (std::string sliteral, std::string spattern)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to part a channel. </em> <a href="#a29"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a30">ChangeUserNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string nickname)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matches text against a glob pattern. </em> <a href="#a30"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a31">CallCommandHandler</a> (std::string commandname, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user nickchange. </em> <a href="#a30"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a31">QuitUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string reason)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calls the handler for a command, either implemented by the core or by another module. </em> <a href="#a31"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a32">ChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string host)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forces a user to quit with the specified reason. </em> <a href="#a31"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a32">MatchText</a> (std::string sliteral, std::string spattern)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change displayed hostname of a user. </em> <a href="#a32"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a33">ChangeGECOS</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string gecos)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matches text against a glob pattern. </em> <a href="#a32"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a33">CallCommandHandler</a> (std::string commandname, char **parameters, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change GECOS (fullname) of a user. </em> <a href="#a33"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a34">IsUlined</a> (std::string server)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calls the handler for a command, either implemented by the core or by another module. </em> <a href="#a33"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a34">ChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string host)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the servername you give is ulined. </em> <a href="#a34"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a33">chanuserlist</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change displayed hostname of a user. </em> <a href="#a34"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a35">ChangeGECOS</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string gecos)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fetches the userlist of a channel. </em> <a href="#a35"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a36">UserToPseudo</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string message)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change GECOS (fullname) of a user. </em> <a href="#a35"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a36">IsUlined</a> (std::string server)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a user's connection to the irc server, but leave their client in existence in the user hash. </em> <a href="#a36"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a37">PseudoToUser</a> (<a class="el" href="classuserrec.html">userrec</a> *alive, <a class="el" href="classuserrec.html">userrec</a> *zombie, std::string message)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the servername you give is ulined. </em> <a href="#a36"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a33">chanuserlist</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a37">GetUsers</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This user takes one user, and switches their file descriptor with another user, so that one user "becomes" the other. </em> <a href="#a37"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a38">AddGLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fetches the userlist of a channel. </em> <a href="#a37"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a38">UserToPseudo</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string message)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a38"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a39">AddQLine</a> (long duration, std::string source, std::string reason, std::string nickname)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove a user's connection to the irc server, but leave their client in existence in the user hash. </em> <a href="#a38"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a39">PseudoToUser</a> (<a class="el" href="classuserrec.html">userrec</a> *alive, <a class="el" href="classuserrec.html">userrec</a> *zombie, std::string message)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a39"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a40">AddZLine</a> (long duration, std::string source, std::string reason, std::string ipaddr)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This user takes one user, and switches their file descriptor with another user, so that one user "becomes" the other. </em> <a href="#a39"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a40">AddGLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a40"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a41">AddKLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a40"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a41">AddQLine</a> (long duration, std::string source, std::string reason, std::string nickname)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a K-line The K-line is enforced as soon as it is added. </em> <a href="#a41"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a42">AddELine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a41"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a42">AddZLine</a> (long duration, std::string source, std::string reason, std::string ipaddr)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a E-line The E-line is enforced as soon as it is added. </em> <a href="#a42"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a43">DelGLine</a> (std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a42"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a43">AddKLine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a G-Line from all servers on the mesh. </em> <a href="#a43"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a44">DelQLine</a> (std::string nickname)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a K-line The K-line is enforced as soon as it is added. </em> <a href="#a43"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a44">AddELine</a> (long duration, std::string source, std::string reason, std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a Q-Line from all servers on the mesh. </em> <a href="#a44"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a45">DelZLine</a> (std::string ipaddr)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a E-line The E-line is enforced as soon as it is added. </em> <a href="#a44"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a45">DelGLine</a> (std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a Z-Line from all servers on the mesh. </em> <a href="#a45"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a46">DelKLine</a> (std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a G-Line from all servers on the mesh. </em> <a href="#a45"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a46">DelQLine</a> (std::string nickname)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a local K-Line. </em> <a href="#a46"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a47">DelELine</a> (std::string hostmask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a Q-Line from all servers on the mesh. </em> <a href="#a46"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a47">DelZLine</a> (std::string ipaddr)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a local E-Line. </em> <a href="#a47"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a48">CalcDuration</a> (std::string duration)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a Z-Line from all servers on the mesh. </em> <a href="#a47"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a48">DelKLine</a> (std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates a duration This method will take a string containing a formatted duration (e.g. </em> <a href="#a48"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a49">IsValidMask</a> (std::string mask)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a local K-Line. </em> <a href="#a48"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a49">DelELine</a> (std::string hostmask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if a nick!ident string is correctly formatted, false if otherwise. </em> <a href="#a49"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a50">MeshSendAll</a> (std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a local E-Line. </em> <a href="#a49"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual long&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a50">CalcDuration</a> (std::string duration)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a line of text to all connected servers. </em> <a href="#a50"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a51">MeshSendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates a duration This method will take a string containing a formatted duration (e.g. </em> <a href="#a50"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a51">IsValidMask</a> (std::string mask)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method sends a line of text to all servers who have users which share common channels with the user you provide. </em> <a href="#a51"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a52">MeshSendAllAlive</a> (std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if a nick!ident string is correctly formatted, false if otherwise. </em> <a href="#a51"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a52">MeshSendAll</a> (std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. </em> <a href="#a52"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a53">MeshSendUnicast</a> (std::string destination, std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a line of text to all connected servers. </em> <a href="#a52"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a53">MeshSendCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sends a line of text directly to a server. </em> <a href="#a53"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a54">MeshSendAllExcept</a> (std::string target, std::string text)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method sends a line of text to all servers who have users which share common channels with the user you provide. </em> <a href="#a53"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a54">MeshSendAllAlive</a> (std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sends to all servers EXCEPT the one you specify. </em> <a href="#a54"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a55">MeshCheckChan</a> (<a class="el" href="classchanrec.html">chanrec</a> *c, std::string servername)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is equivalent to Server::MeshSendToAll except it will only route to servers which are directly routable. </em> <a href="#a54"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a55">MeshSendUnicast</a> (std::string destination, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is used to check if any users on channel c are on server servername. </em> <a href="#a55"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a56">MeshCheckCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *u, std::string servername)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sends a line of text directly to a server. </em> <a href="#a55"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a56">MeshSendAllExcept</a> (std::string target, std::string text)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is used to check if user u has any channels in common with users on servername. </em> <a href="#a56"></a><em><br><br></td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classModule.html">Module</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a57">FindModule</a> (std::string name)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function sends to all servers EXCEPT the one you specify. </em> <a href="#a56"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a57">MeshCheckChan</a> (<a class="el" href="classchanrec.html">chanrec</a> *c, std::string servername)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function finds a module by name. </em> <a href="#a57"></a><em><br><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is used to check if any users on channel c are on server servername. </em> <a href="#a57"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a58">MeshCheckCommon</a> (<a class="el" href="classuserrec.html">userrec</a> *u, std::string servername)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is used to check if user u has any channels in common with users on servername. </em> <a href="#a58"></a><em><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classModule.html">Module</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classServer.html#a59">FindModule</a> (std::string name)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function finds a module by name. </em> <a href="#a59"></a><em><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Allows server output and query functions This class contains methods which allow a module to query the state of the irc server, and produce output to users and other servers.
@@ -197,7 +203,7 @@ All modules should instantiate at least one copy of this class, and use its memb
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00652">652</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="modules_8h-source.html#l00694">694</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Server::Server"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -227,10 +233,10 @@ Default constructor.
<p>
Creates a Server object.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00416">416</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#l00421">421</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00417 {
-00418 }
+<div class="fragment"><pre>00422 {
+00423 }
</pre></div> </td>
</tr>
</table>
@@ -263,15 +269,15 @@ Default destructor.
<p>
Destroys a Server object.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00420">420</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#l00425">425</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00421 {
-00422 }
+<div class="fragment"><pre>00426 {
+00427 }
</pre></div> </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
-<a name="a23" doxytag="Server::AddCommand"></a><p>
+<a name="a25" doxytag="Server::AddCommand"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -330,17 +336,17 @@ 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#l00497">497</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#l00494">494</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>00498 {
-00499 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
-00500 }
+<div class="fragment"><pre>00495 {
+00496 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
+00497 }
</pre></div> </td>
</tr>
</table>
-<a name="a42" doxytag="Server::AddELine"></a><p>
+<a name="a44" doxytag="Server::AddELine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -389,19 +395,19 @@ References <a class="el" href="modules_8h.html#a35">createcommand()</a>.
<p>
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#a48">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.
+The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">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#l00715">715</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="xline_8h.html#a5">add_eline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00716 {
-00717 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00718 }
+<div class="fragment"><pre>00732 {
+00733 <a class="code" href="xline_8h.html#a5">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00734 }
</pre></div> </td>
</tr>
</table>
-<a name="a22" doxytag="Server::AddExtendedListMode"></a><p>
+<a name="a24" doxytag="Server::AddExtendedListMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -436,20 +442,20 @@ 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#l00642">642</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#l00657">657</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00277">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00287">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
+References <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
<p>
-<div class="fragment"><pre>00643 {
-00644 <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);
-00645 <span class="keywordflow">if</span> (res)
-00646 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar);
-00647 <span class="keywordflow">return</span> res;
-00648 }
+<div class="fragment"><pre>00658 {
+00659 <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);
+00660 <span class="keywordflow">if</span> (res)
+00661 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar);
+00662 <span class="keywordflow">return</span> res;
+00663 }
</pre></div> </td>
</tr>
</table>
-<a name="a21" doxytag="Server::AddExtendedMode"></a><p>
+<a name="a23" doxytag="Server::AddExtendedMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -506,32 +512,40 @@ 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#l00622">622</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#l00277">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>00623 {
-00624 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
-00625 {
-00626 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
-00627 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00628 }
-00629 <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>))
-00630 {
-00631 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
-00632 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00633 }
-00634 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-00635 {
-00636 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
-00637 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00638 }
-00639 <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);
-00640 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00629">629</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#l00275">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>00630 {
+00631 <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>)))
+00632 {
+00633 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
+00634 {
+00635 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
+00636 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00637 }
+00638 <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>))
+00639 {
+00640 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
+00641 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00642 }
+00643 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+00644 {
+00645 log(DEBUG,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
+00646 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00647 }
+00648 <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);
+00649 }
+00650 <span class="keywordflow">else</span>
+00651 {
+00652 log(DEBUG,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+00653 }
+00654 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00655 }
</pre></div> </td>
</tr>
</table>
-<a name="a38" doxytag="Server::AddGLine"></a><p>
+<a name="a40" doxytag="Server::AddGLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -580,19 +594,19 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas
<p>
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.
<p>
-The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a48">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.
+The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">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#l00695">695</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#a1">add_gline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00696 {
-00697 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00698 }
+<div class="fragment"><pre>00712 {
+00713 <a class="code" href="xline_8h.html#a1">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00714 }
</pre></div> </td>
</tr>
</table>
-<a name="a41" doxytag="Server::AddKLine"></a><p>
+<a name="a43" doxytag="Server::AddKLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -641,19 +655,19 @@ References <a class="el" href="xline_8h.html#a1">add_gline()</a>, and <a class="
<p>
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#a48">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.
+The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">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#l00710">710</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#a4">add_kline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00711 {
-00712 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-00713 }
+<div class="fragment"><pre>00727 {
+00728 <a class="code" href="xline_8h.html#a4">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+00729 }
</pre></div> </td>
</tr>
</table>
-<a name="a39" doxytag="Server::AddQLine"></a><p>
+<a name="a41" doxytag="Server::AddQLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -702,19 +716,19 @@ References <a class="el" href="xline_8h.html#a4">add_kline()</a>, and <a class="
<p>
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.
<p>
-The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a48">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.
+The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">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#l00700">700</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#a2">add_qline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00701 {
-00702 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
-00703 }
+<div class="fragment"><pre>00717 {
+00718 <a class="code" href="xline_8h.html#a2">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
+00719 }
</pre></div> </td>
</tr>
</table>
-<a name="a40" doxytag="Server::AddZLine"></a><p>
+<a name="a42" doxytag="Server::AddZLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -763,19 +777,19 @@ References <a class="el" href="xline_8h.html#a2">add_qline()</a>, and <a class="
<p>
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.
<p>
-The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a48">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.
+The duration must be in seconds, however you can use the <a class="el" href="classServer.html#a50">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#l00705">705</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#a3">add_zline()</a>, and <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00706 {
-00707 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-00708 }
+<div class="fragment"><pre>00722 {
+00723 <a class="code" href="xline_8h.html#a3">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+00724 }
</pre></div> </td>
</tr>
</table>
-<a name="a48" doxytag="Server::CalcDuration"></a><p>
+<a name="a50" doxytag="Server::CalcDuration"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -805,17 +819,17 @@ 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#l00745">745</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#l00761">761</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="commands_8h.html#a75">duration()</a>.
<p>
-<div class="fragment"><pre>00746 {
-00747 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str());
-00748 }
+<div class="fragment"><pre>00762 {
+00763 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str());
+00764 }
</pre></div> </td>
</tr>
</table>
-<a name="a31" doxytag="Server::CallCommandHandler"></a><p>
+<a name="a33" doxytag="Server::CallCommandHandler"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -865,17 +879,17 @@ References <a class="el" href="commands_8h.html#a75">duration()</a>.
Calls the handler for a command, either implemented by the core or by another module.
<p>
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#a23">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.
+) 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#a25">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#l00487">487</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#l00484">484</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00488 {
-00489 call_handler(commandname.c_str(),parameters,pcnt,user);
-00490 }
+<div class="fragment"><pre>00485 {
+00486 call_handler(commandname.c_str(),parameters,pcnt,user);
+00487 }
</pre></div> </td>
</tr>
</table>
-<a name="a33" doxytag="Server::ChangeGECOS"></a><p>
+<a name="a35" doxytag="Server::ChangeGECOS"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -914,17 +928,17 @@ 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#l00575">575</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#l00577">577</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a10">ChangeName()</a>.
<p>
-<div class="fragment"><pre>00576 {
-00577 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str());
-00578 }
+<div class="fragment"><pre>00578 {
+00579 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str());
+00580 }
</pre></div> </td>
</tr>
</table>
-<a name="a32" doxytag="Server::ChangeHost"></a><p>
+<a name="a34" doxytag="Server::ChangeHost"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -963,17 +977,17 @@ 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#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>
References <a class="el" href="message_8h.html#a11">ChangeDisplayedHost()</a>.
<p>
-<div class="fragment"><pre>00571 {
-00572 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str());
-00573 }
+<div class="fragment"><pre>00573 {
+00574 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str());
+00575 }
</pre></div> </td>
</tr>
</table>
-<a name="a28" doxytag="Server::ChangeUserNick"></a><p>
+<a name="a30" doxytag="Server::ChangeUserNick"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1012,15 +1026,15 @@ 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#l00471">471</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#l00469">469</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00472 {
-00473 force_nickchange(user,nickname.c_str());
-00474 }
+<div class="fragment"><pre>00470 {
+00471 force_nickchange(user,nickname.c_str());
+00472 }
</pre></div> </td>
</tr>
</table>
-<a name="a16" doxytag="Server::ChanMode"></a><p>
+<a name="a18" doxytag="Server::ChanMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1059,17 +1073,17 @@ 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#l00595">595</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#l00602">602</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a14">cmode()</a>.
<p>
-<div class="fragment"><pre>00596 {
-00597 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan);
-00598 }
+<div class="fragment"><pre>00603 {
+00604 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan);
+00605 }
</pre></div> </td>
</tr>
</table>
-<a name="a9" doxytag="Server::CommonChannels"></a><p>
+<a name="a10" doxytag="Server::CommonChannels"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1106,19 +1120,19 @@ References <a class="el" href="message_8h.html#a14">cmode()</a>.
<p>
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#a10">Server::SendCommon</a> method.
+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#l00548">548</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#l00550">550</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>00549 {
-00550 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
-00551 }
+<div class="fragment"><pre>00551 {
+00552 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
+00553 }
</pre></div> </td>
</tr>
</table>
-<a name="a13" doxytag="Server::CountUsers"></a><p>
+<a name="a14" doxytag="Server::CountUsers"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1148,15 +1162,15 @@ 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#l00650">650</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#l00665">665</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00651 {
-00652 <span class="keywordflow">return</span> usercount(c);
-00653 }
+<div class="fragment"><pre>00666 {
+00667 <span class="keywordflow">return</span> usercount(c);
+00668 }
</pre></div> </td>
</tr>
</table>
-<a name="a47" doxytag="Server::DelELine"></a><p>
+<a name="a49" doxytag="Server::DelELine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1186,17 +1200,17 @@ Deletes a local E-Line.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00740">740</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#l00756">756</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>00741 {
-00742 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
-00743 }
+<div class="fragment"><pre>00757 {
+00758 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
+00759 }
</pre></div> </td>
</tr>
</table>
-<a name="a43" doxytag="Server::DelGLine"></a><p>
+<a name="a45" doxytag="Server::DelGLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1226,17 +1240,17 @@ Deletes a G-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00720">720</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>
References <a class="el" href="xline_8h.html#a6">del_gline()</a>.
<p>
-<div class="fragment"><pre>00721 {
-00722 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
-00723 }
+<div class="fragment"><pre>00737 {
+00738 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
+00739 }
</pre></div> </td>
</tr>
</table>
-<a name="a46" doxytag="Server::DelKLine"></a><p>
+<a name="a48" doxytag="Server::DelKLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1266,17 +1280,17 @@ Deletes a local K-Line.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00735">735</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#l00751">751</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>00736 {
-00737 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
-00738 }
+<div class="fragment"><pre>00752 {
+00753 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
+00754 }
</pre></div> </td>
</tr>
</table>
-<a name="a44" doxytag="Server::DelQLine"></a><p>
+<a name="a46" doxytag="Server::DelQLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1306,17 +1320,17 @@ Deletes a Q-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00725">725</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#l00741">741</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>00726 {
-00727 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
-00728 }
+<div class="fragment"><pre>00742 {
+00743 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
+00744 }
</pre></div> </td>
</tr>
</table>
-<a name="a45" doxytag="Server::DelZLine"></a><p>
+<a name="a47" doxytag="Server::DelZLine"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1346,17 +1360,17 @@ Deletes a Z-Line from all servers on the mesh.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00730">730</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#l00746">746</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>00731 {
-00732 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
-00733 }
+<div class="fragment"><pre>00747 {
+00748 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
+00749 }
</pre></div> </td>
</tr>
</table>
-<a name="a15" doxytag="Server::FindChannel"></a><p>
+<a name="a17" doxytag="Server::FindChannel"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1386,15 +1400,55 @@ 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#l00590">590</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#l00597">597</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00591 {
-00592 <span class="keywordflow">return</span> FindChan(channel.c_str());
-00593 }
+<div class="fragment"><pre>00598 {
+00599 <span class="keywordflow">return</span> FindChan(channel.c_str());
+00600 }
</pre></div> </td>
</tr>
</table>
-<a name="a57" doxytag="Server::FindModule"></a><p>
+<a name="a16" doxytag="Server::FindDescriptor"></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> * Server::FindDescriptor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>socket</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00592">592</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8cpp-source.html#l00110">fd_ref_table</a>.
+<p>
+<div class="fragment"><pre>00593 {
+00594 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL);
+00595 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a59" doxytag="Server::FindModule"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1424,24 +1478,24 @@ 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#l00823">823</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#l00839">839</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l01032">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00092">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00064">modules</a>.
+References <a class="el" href="modules_8cpp-source.html#l01048">MODCOUNT</a>, <a class="el" href="channels_8cpp-source.html#l00092">module_names</a>, and <a class="el" href="channels_8cpp-source.html#l00064">modules</a>.
<p>
-<div class="fragment"><pre>00824 {
-00825 <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++)
-00826 {
-00827 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name)
-00828 {
-00829 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
-00830 }
-00831 }
-00832 <span class="keywordflow">return</span> NULL;
-00833 }
+<div class="fragment"><pre>00840 {
+00841 <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++)
+00842 {
+00843 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name)
+00844 {
+00845 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
+00846 }
+00847 }
+00848 <span class="keywordflow">return</span> NULL;
+00849 }
</pre></div> </td>
</tr>
</table>
-<a name="a14" doxytag="Server::FindNick"></a><p>
+<a name="a15" doxytag="Server::FindNick"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1471,15 +1525,15 @@ 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#l00585">585</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#l00587">587</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00586 {
-00587 <span class="keywordflow">return</span> Find(nick);
-00588 }
+<div class="fragment"><pre>00588 {
+00589 <span class="keywordflow">return</span> Find(nick);
+00590 }
</pre></div> </td>
</tr>
</table>
-<a name="a20" doxytag="Server::GetAdmin"></a><p>
+<a name="a22" doxytag="Server::GetAdmin"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1508,15 +1562,15 @@ 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#l00615">615</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#l00622">622</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00616 {
-00617 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-00618 }
+<div class="fragment"><pre>00623 {
+00624 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
+00625 }
</pre></div> </td>
</tr>
</table>
-<a name="a19" doxytag="Server::GetNetworkName"></a><p>
+<a name="a21" doxytag="Server::GetNetworkName"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1545,15 +1599,15 @@ Returns the network name, global to all linked servers.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00610">610</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#l00617">617</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00611 {
-00612 <span class="keywordflow">return</span> getnetworkname();
-00613 }
+<div class="fragment"><pre>00618 {
+00619 <span class="keywordflow">return</span> getnetworkname();
+00620 }
</pre></div> </td>
</tr>
</table>
-<a name="a18" doxytag="Server::GetServerName"></a><p>
+<a name="a20" doxytag="Server::GetServerName"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1582,15 +1636,15 @@ 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#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#l00612">612</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00606 {
-00607 <span class="keywordflow">return</span> getservername();
-00608 }
+<div class="fragment"><pre>00613 {
+00614 <span class="keywordflow">return</span> getservername();
+00615 }
</pre></div> </td>
</tr>
</table>
-<a name="a35" doxytag="Server::GetUsers"></a><p>
+<a name="a37" doxytag="Server::GetUsers"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1620,32 +1674,25 @@ 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#l00452">452</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="modules_8cpp-source.html#l00181">clientlist</a>, <a class="el" href="message_8h.html#a16">has_channel()</a>, and <a class="el" href="message_8h.html#a13">isnick()</a>.
-<p>
-<div class="fragment"><pre>00453 {
-00454 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
-00455 userl.clear();
-00456 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++)
-00457 {
-00458 <span class="keywordflow">if</span> (i-&gt;second)
-00459 {
-00460 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i-&gt;second,chan))
-00461 {
-00462 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i-&gt;second-&gt;nick))
-00463 {
-00464 userl.push_back(i-&gt;second);
-00465 }
-00466 }
-00467 }
-00468 }
-00469 <span class="keywordflow">return</span> userl;
-00470 }
+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>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00072">chanuserlist</a>, <a class="el" href="channels_8cpp-source.html#l00240">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp-source.html#l00078">list</a>.
+<p>
+<div class="fragment"><pre>00458 {
+00459 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
+00460 userl.clear();
+00461 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a9">GetUsers</a>();
+00462 <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++)
+00463 {
+00464 <span class="keywordtype">char</span>* o = *i;
+00465 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+00466 }
+00467 <span class="keywordflow">return</span> userl;
+00468 }
</pre></div> </td>
</tr>
</table>
-<a name="a12" doxytag="Server::IsNick"></a><p>
+<a name="a13" doxytag="Server::IsNick"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1675,17 +1722,17 @@ 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#l00580">580</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#l00582">582</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="message_8h.html#a13">isnick()</a>.
<p>
-<div class="fragment"><pre>00581 {
-00582 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0);
-00583 }
+<div class="fragment"><pre>00583 {
+00584 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0);
+00585 }
</pre></div> </td>
</tr>
</table>
-<a name="a17" doxytag="Server::IsOnChannel"></a><p>
+<a name="a19" doxytag="Server::IsOnChannel"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1724,17 +1771,17 @@ 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#l00600">600</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="message_8h.html#a16">has_channel()</a>.
<p>
-<div class="fragment"><pre>00601 {
-00602 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan);
-00603 }
+<div class="fragment"><pre>00608 {
+00609 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan);
+00610 }
</pre></div> </td>
</tr>
</table>
-<a name="a34" doxytag="Server::IsUlined"></a><p>
+<a name="a36" doxytag="Server::IsUlined"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1764,17 +1811,17 @@ 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#l00482">482</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#l00479">479</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
References <a class="el" href="commands_8h.html#a74">is_uline()</a>.
<p>
-<div class="fragment"><pre>00483 {
-00484 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str());
-00485 }
+<div class="fragment"><pre>00480 {
+00481 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str());
+00482 }
</pre></div> </td>
</tr>
</table>
-<a name="a49" doxytag="Server::IsValidMask"></a><p>
+<a name="a51" doxytag="Server::IsValidMask"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1804,39 +1851,39 @@ 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#l00750">750</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-<div class="fragment"><pre>00751 {
-00752 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-00753 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-00754 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00755 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
-00756 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00757 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00758 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-00759 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00760 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00761 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-00762 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00763 <span class="keywordtype">int</span> c = 0;
-00764 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00765 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-00766 c++;
-00767 <span class="keywordflow">if</span> (c&gt;1)
-00768 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00769 c = 0;
-00770 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00771 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-00772 c++;
-00773 <span class="keywordflow">if</span> (c&gt;1)
-00774 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00775
-00776 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00777 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00766">766</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00767 {
+00768 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+00769 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
+00770 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00771 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+00772 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00773 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00774 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+00775 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00776 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00777 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+00778 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00779 <span class="keywordtype">int</span> c = 0;
+00780 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00781 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+00782 c++;
+00783 <span class="keywordflow">if</span> (c&gt;1)
+00784 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00785 c = 0;
+00786 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00787 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+00788 c++;
+00789 <span class="keywordflow">if</span> (c&gt;1)
+00790 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00791
+00792 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00793 }
</pre></div> </td>
</tr>
</table>
-<a name="a26" doxytag="Server::JoinUserToChannel"></a><p>
+<a name="a28" doxytag="Server::JoinUserToChannel"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1881,11 +1928,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#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#l00447">447</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00443 {
-00444 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>);
-00445 }
+<div class="fragment"><pre>00448 {
+00449 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
+00450 }
</pre></div> </td>
</tr>
</table>
@@ -1928,15 +1975,15 @@ 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#l00492">492</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#l00489">489</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00493 {
-00494 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-00495 }
+<div class="fragment"><pre>00490 {
+00491 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+00492 }
</pre></div> </td>
</tr>
</table>
-<a name="a30" doxytag="Server::MatchText"></a><p>
+<a name="a32" doxytag="Server::MatchText"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1975,18 +2022,18 @@ 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#l00429">429</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>00430 {
-00431 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-00432 strlcpy(literal,sliteral.c_str(),MAXBUF);
-00433 strlcpy(pattern,spattern.c_str(),MAXBUF);
-00434 <span class="keywordflow">return</span> match(literal,pattern);
-00435 }
+<div class="fragment"><pre>00435 {
+00436 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+00437 strlcpy(literal,sliteral.c_str(),MAXBUF);
+00438 strlcpy(pattern,spattern.c_str(),MAXBUF);
+00439 <span class="keywordflow">return</span> match(literal,pattern);
+00440 }
</pre></div> </td>
</tr>
</table>
-<a name="a55" doxytag="Server::MeshCheckChan"></a><p>
+<a name="a57" doxytag="Server::MeshCheckChan"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2025,19 +2072,19 @@ 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#l00805">805</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#l00821">821</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00806 {
-00807 <span class="keywordflow">if</span> (c)
-00808 {
-00809 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
-00810 }
-00811 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00812 }
+<div class="fragment"><pre>00822 {
+00823 <span class="keywordflow">if</span> (c)
+00824 {
+00825 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
+00826 }
+00827 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00828 }
</pre></div> </td>
</tr>
</table>
-<a name="a56" doxytag="Server::MeshCheckCommon"></a><p>
+<a name="a58" doxytag="Server::MeshCheckCommon"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2074,21 +2121,21 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00805">805</a>
<p>
This function is used to check if user u has any channels in common with users on servername.
<p>
-This is used internally by <a class="el" href="classServer.html#a51">Server::MeshSendCommon</a>. You should very rarely need to use it.
+This is used internally by <a class="el" href="classServer.html#a53">Server::MeshSendCommon</a>. You should very rarely need to use it.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00814">814</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#l00830">830</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00815 {
-00816 <span class="keywordflow">if</span> (u)
-00817 {
-00818 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
-00819 }
-00820 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00821 }
+<div class="fragment"><pre>00831 {
+00832 <span class="keywordflow">if</span> (u)
+00833 {
+00834 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
+00835 }
+00836 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00837 }
</pre></div> </td>
</tr>
</table>
-<a name="a50" doxytag="Server::MeshSendAll"></a><p>
+<a name="a52" doxytag="Server::MeshSendAll"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2118,15 +2165,15 @@ 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#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#l00795">795</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00780 {
-00781 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
-00782 }
+<div class="fragment"><pre>00796 {
+00797 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
+00798 }
</pre></div> </td>
</tr>
</table>
-<a name="a52" doxytag="Server::MeshSendAllAlive"></a><p>
+<a name="a54" doxytag="Server::MeshSendAllAlive"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2156,15 +2203,15 @@ 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#l00790">790</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#l00806">806</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00791 {
-00792 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
-00793 }
+<div class="fragment"><pre>00807 {
+00808 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
+00809 }
</pre></div> </td>
</tr>
</table>
-<a name="a54" doxytag="Server::MeshSendAllExcept"></a><p>
+<a name="a56" doxytag="Server::MeshSendAllExcept"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2203,15 +2250,15 @@ 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#l00800">800</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#l00816">816</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00801 {
-00802 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00803 }
+<div class="fragment"><pre>00817 {
+00818 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00819 }
</pre></div> </td>
</tr>
</table>
-<a name="a51" doxytag="Server::MeshSendCommon"></a><p>
+<a name="a53" doxytag="Server::MeshSendCommon"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2250,16 +2297,16 @@ 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#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#l00800">800</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00785 {
-00786 <span class="keywordflow">if</span> (user)
-00787 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
-00788 }
+<div class="fragment"><pre>00801 {
+00802 <span class="keywordflow">if</span> (user)
+00803 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
+00804 }
</pre></div> </td>
</tr>
</table>
-<a name="a53" doxytag="Server::MeshSendUnicast"></a><p>
+<a name="a55" doxytag="Server::MeshSendUnicast"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2298,15 +2345,15 @@ 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#l00795">795</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#l00811">811</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00796 {
-00797 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00798 }
+<div class="fragment"><pre>00812 {
+00813 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00814 }
</pre></div> </td>
</tr>
</table>
-<a name="a27" doxytag="Server::PartUserFromChannel"></a><p>
+<a name="a29" doxytag="Server::PartUserFromChannel"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2351,15 +2398,15 @@ 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#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#l00452">452</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00448 {
-00449 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
-00450 }
+<div class="fragment"><pre>00453 {
+00454 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+00455 }
</pre></div> </td>
</tr>
</table>
-<a name="a37" doxytag="Server::PseudoToUser"></a><p>
+<a name="a39" doxytag="Server::PseudoToUser"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2404,42 +2451,42 @@ 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#l00665">665</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00127">userrec::chans</a>, <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00187">connection::host</a>, <a class="el" href="users_8h-source.html#l00110">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00099">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00106">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00128">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00117">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00124">chanrec::topicset</a>.
-<p>
-<div class="fragment"><pre>00666 {
-00667 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00668 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00669 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>);
-00670 kill_link(alive,message.c_str());
-00671 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-00672 {
-00673 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> != NULL)
-00674 {
-00675 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>-&gt;<a class="code" href="classchanrec.html#o0">name</a>)
-00676 {
-00677 <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>;
-00678 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00679 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>)
-00680 {
-00681 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o4">topic</a>);
-00682 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o7">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>);
-00683 }
-00684 userlist(zombie,Ptr);
-00685 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00686 <span class="comment">//WriteServ(zombie-&gt;fd,"324 %s %s +%s",zombie-&gt;nick, Ptr-&gt;name,chanmodes(Ptr));</span>
-00687 <span class="comment">//WriteServ(zombie-&gt;fd,"329 %s %s %d", zombie-&gt;nick, Ptr-&gt;name, Ptr-&gt;created);</span>
-00688
-00689 }
-00690 }
-00691 }
-00692
-00693 }
+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="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00132">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00198">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="modules_8cpp-source.html#l00110">fd_ref_table</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00115">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00099">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00111">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00128">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00117">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00124">chanrec::topicset</a>.
+<p>
+<div class="fragment"><pre>00682 {
+00683 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00684 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00685 alive-&gt;<a class="code" href="classuserrec.html#a10">ClearBuffer</a>();
+00686 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>);
+00687 kill_link(alive,message.c_str());
+00688 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
+00689 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+00690 {
+00691 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
+00692 {
+00693 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
+00694 {
+00695 <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>;
+00696 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00697 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>)
+00698 {
+00699 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#o4">topic</a>);
+00700 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#o7">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>);
+00701 }
+00702 userlist(zombie,Ptr);
+00703 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>);
+00704
+00705 }
+00706 }
+00707 }
+00708
+00709 }
</pre></div> </td>
</tr>
</table>
-<a name="a29" doxytag="Server::QuitUser"></a><p>
+<a name="a31" doxytag="Server::QuitUser"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2480,14 +2527,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#l00476">476</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00106">userrec::nick</a>, and <a class="el" href="message_8h.html#a19">send_network_quit()</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00474">474</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00477 {
-00478 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str());
-00479 kill_link(user,reason.c_str());
-00480 }
+<div class="fragment"><pre>00475 {
+00476 kill_link(user,reason.c_str());
+00477 }
</pre></div> </td>
</tr>
</table>
@@ -2530,15 +2574,15 @@ 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#l00507">507</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#l00504">504</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00508 {
-00509 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00510 }
+<div class="fragment"><pre>00505 {
+00506 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00507 }
</pre></div> </td>
</tr>
</table>
-<a name="a8" doxytag="Server::SendChannel"></a><p>
+<a name="a9" doxytag="Server::SendChannel"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2589,22 +2633,75 @@ 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#l00536">536</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-<div class="fragment"><pre>00537 {
-00538 <span class="keywordflow">if</span> (IncludeSender)
-00539 {
-00540 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00541 }
-00542 <span class="keywordflow">else</span>
-00543 {
-00544 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00545 }
-00546 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00538">538</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00539 {
+00540 <span class="keywordflow">if</span> (IncludeSender)
+00541 {
+00542 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00543 }
+00544 <span class="keywordflow">else</span>
+00545 {
+00546 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00547 }
+00548 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a6" doxytag="Server::SendChannelServerNotice"></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 Server::SendChannelServerNotice </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>ServName</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>Channel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>text</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00533">533</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+<div class="fragment"><pre>00534 {
+00535 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+00536 }
</pre></div> </td>
</tr>
</table>
-<a name="a10" doxytag="Server::SendCommon"></a><p>
+<a name="a11" doxytag="Server::SendCommon"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2649,22 +2746,22 @@ 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#l00553">553</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-<div class="fragment"><pre>00554 {
-00555 <span class="keywordflow">if</span> (IncludeSender)
-00556 {
-00557 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00558 }
-00559 <span class="keywordflow">else</span>
-00560 {
-00561 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00562 }
-00563 }
+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>.
+<p>
+<div class="fragment"><pre>00556 {
+00557 <span class="keywordflow">if</span> (IncludeSender)
+00558 {
+00559 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00560 }
+00561 <span class="keywordflow">else</span>
+00562 {
+00563 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00564 }
+00565 }
</pre></div> </td>
</tr>
</table>
-<a name="a6" doxytag="Server::SendFrom"></a><p>
+<a name="a7" doxytag="Server::SendFrom"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2709,15 +2806,15 @@ 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#l00517">517</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#l00514">514</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00518 {
-00519 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00520 }
+<div class="fragment"><pre>00515 {
+00516 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00517 }
</pre></div> </td>
</tr>
</table>
-<a name="a24" doxytag="Server::SendMode"></a><p>
+<a name="a26" doxytag="Server::SendMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2769,13 +2866,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#l00502">502</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#l00499">499</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>00503 {
-00504 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
-00505 }
+<div class="fragment"><pre>00500 {
+00501 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
+00502 }
</pre></div> </td>
</tr>
</table>
@@ -2809,11 +2906,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#l00424">424</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>00425 {
-00426 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
-00427 }
+<div class="fragment"><pre>00430 {
+00431 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+00432 }
</pre></div> </td>
</tr>
</table>
@@ -2856,15 +2953,15 @@ 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#l00512">512</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#l00509">509</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00513 {
-00514 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00515 }
+<div class="fragment"><pre>00510 {
+00511 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00512 }
</pre></div> </td>
</tr>
</table>
-<a name="a7" doxytag="Server::SendTo"></a><p>
+<a name="a8" doxytag="Server::SendTo"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2913,26 +3010,26 @@ 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#l00522">522</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>.
-<p>
-<div class="fragment"><pre>00523 {
-00524 <span class="keywordflow">if</span> (!Source)
-00525 {
-00526 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-00527 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());
-00528 }
-00529 <span class="keywordflow">else</span>
-00530 {
-00531 <span class="comment">// otherwise it comes from the user specified</span>
-00532 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-00533 }
-00534 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00519">519</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>.
+<p>
+<div class="fragment"><pre>00520 {
+00521 <span class="keywordflow">if</span> (!Source)
+00522 {
+00523 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+00524 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());
+00525 }
+00526 <span class="keywordflow">else</span>
+00527 {
+00528 <span class="comment">// otherwise it comes from the user specified</span>
+00529 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+00530 }
+00531 }
</pre></div> </td>
</tr>
</table>
-<a name="a25" doxytag="Server::SendToModeMask"></a><p>
+<a name="a27" doxytag="Server::SendToModeMask"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2979,15 +3076,15 @@ 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#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#l00442">442</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00438 {
-00439 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
-00440 }
+<div class="fragment"><pre>00443 {
+00444 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+00445 }
</pre></div> </td>
</tr>
</table>
-<a name="a11" doxytag="Server::SendWallops"></a><p>
+<a name="a12" doxytag="Server::SendWallops"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -3026,15 +3123,15 @@ 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#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 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-00568 }
+<div class="fragment"><pre>00568 {
+00569 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+00570 }
</pre></div> </td>
</tr>
</table>
-<a name="a36" doxytag="Server::UserToPseudo"></a><p>
+<a name="a38" doxytag="Server::UserToPseudo"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -3073,23 +3170,24 @@ 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#l00656">656</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#l00671">671</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00187">connection::host</a>, and <a class="el" href="users_8h-source.html#l00110">userrec::ident</a>.
+References <a class="el" href="users_8cpp-source.html#l00198">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00099">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, and <a class="el" href="users_8h-source.html#l00115">userrec::ident</a>.
<p>
-<div class="fragment"><pre>00657 {
-00658 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00659 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00660 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());
-00661 close(old_fd);
-00662 shutdown (old_fd,2);
-00663 }
+<div class="fragment"><pre>00672 {
+00673 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00674 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00675 user-&gt;<a class="code" href="classuserrec.html#a10">ClearBuffer</a>();
+00676 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());
+00677 shutdown(old_fd,2);
+00678 close(old_fd);
+00679 }
</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 Tue Apr 26 17:11:51 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classVersion-members.html b/docs/module-doc/classVersion-members.html
index bfdff0636..cf4a60a8a 100644
--- a/docs/module-doc/classVersion-members.html
+++ b/docs/module-doc/classVersion-members.html
@@ -15,7 +15,7 @@
<tr class="memlist"><td><a class="el" href="classVersion.html#o2">Revision</a></td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classVersion.html#a0">Version</a>(int major, int minor, int revision, int build, int flags)</td><td><a class="el" href="classVersion.html">Version</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index 3312bb364..c792987c2 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -92,9 +92,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#l00302">302</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#l00300">300</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00302 : <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>00300 : <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>
@@ -221,7 +221,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index 62610243f..abb102776 100644
--- a/docs/module-doc/classXLine-members.html
+++ b/docs/module-doc/classXLine-members.html
@@ -14,7 +14,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 9eb242dd5..8d26c8e3a 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -171,7 +171,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00048">48</a> of fi
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index 69aced718..b9d028897 100644
--- a/docs/module-doc/classZLine-members.html
+++ b/docs/module-doc/classZLine-members.html
@@ -16,7 +16,7 @@
<tr class="memlist"><td><a class="el" href="classXLine.html#o0">set_time</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classXLine.html#o2">source</a></td><td><a class="el" href="classXLine.html">XLine</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index ef8261a20..07ac0eb8a 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -82,7 +82,7 @@ Definition at line <a class="el" href="xline_8h-source.html#l00103">103</a> of f
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="xline_8h-source.html">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index 068b05362..392b35af8 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -41,7 +41,7 @@
<tr class="memlist"><td><a class="el" href="classchanrec.html#o2">users</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#a11">~chanrec</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td><code> [inline, virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index 9ad664151..424fd9ee9 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -444,6 +444,8 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00240">240</a>
<p>
References <a class="el" href="channels_8h-source.html#l00112">internal_userlist</a>.
<p>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::GetUsers()</a>.
+<p>
<div class="fragment"><pre>00241 {
00242 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#o3">internal_userlist</a>;
00243 }
@@ -576,7 +578,7 @@ References <a class="el" href="channels_8h-source.html#l00103">custom_modes</a>,
<p>
<div class="fragment"><pre>00126 {
00127 <span class="keywordflow">if</span> (mode_on) {
-00128 <span class="keywordtype">char</span> m[3];
+00128 <span class="keyword">static</span> <span class="keywordtype">char</span> m[3];
00129 m[0] = mode;
00130 m[1] = <span class="charliteral">'\0'</span>;
00131 <span class="keywordflow">if</span> (!strchr(this-&gt;custom_modes,mode))
@@ -958,7 +960,7 @@ The channels name.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00099">99</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00208">DecUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00226">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00202">IncUserCounter()</a>, and <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00208">DecUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00226">DelUser()</a>, <a class="el" href="channels_8cpp-source.html#l00202">IncUserCounter()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o11" doxytag="chanrec::noexternal"></a><p>
@@ -1042,7 +1044,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#l00128">128</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#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="chanrec::topic"></a><p>
@@ -1070,7 +1072,7 @@ If this is an empty string, no channel topic is set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00117">117</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#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o10" doxytag="chanrec::topiclock"></a><p>
@@ -1126,7 +1128,7 @@ 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#l00124">124</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#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="chanrec::users"></a><p>
@@ -1159,7 +1161,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00113">chanrec()</a
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index eb0477ae7..f135846df 100644
--- a/docs/module-doc/classclassbase-members.html
+++ b/docs/module-doc/classclassbase-members.html
@@ -9,7 +9,7 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#o0">age</a></td><td><a class="el" href="classclassbase.html">classbase</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a0">classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index e68905f3a..89c86c19b 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -132,7 +132,7 @@ Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>.
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html
index 3687ae71f..44ffa4ed4 100644
--- a/docs/module-doc/classcommand__t-members.html
+++ b/docs/module-doc/classcommand__t-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o5">total_bytes</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classcommand__t.html#o4">use_count</a></td><td><a class="el" href="classcommand__t.html">command_t</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classcommand__t.html b/docs/module-doc/classcommand__t.html
index dfd8774e7..984063bc4 100644
--- a/docs/module-doc/classcommand__t.html
+++ b/docs/module-doc/classcommand__t.html
@@ -227,7 +227,7 @@ Definition at line <a class="el" href="ctables_8h-source.html#l00043">43</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ctables_8h-source.html">ctables.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classconnection-members.html b/docs/module-doc/classconnection-members.html
index c7f4c7f7e..cad6cfc13 100644
--- a/docs/module-doc/classconnection-members.html
+++ b/docs/module-doc/classconnection-members.html
@@ -20,7 +20,6 @@
<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="classconnection.html#a7">FindHost</a>(std::string host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classconnection.html#a9">GenKey</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<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="classconnection.html#o8">haspassed</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#o1">host</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
@@ -41,7 +40,7 @@
<tr class="memlist"><td><a class="el" href="classconnection.html#o11">state</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#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classconnection.html b/docs/module-doc/classconnection.html
index 54e5565f1..a02f27de1 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -44,9 +44,6 @@ Inherited by <a class="el" href="classserverrec.html">serverrec</a>, and <a clas
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#a8">AddIncoming</a> (int <a class="el" href="classconnection.html#o0">fd</a>, char *targethost, int sourceport)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an incoming connection to the connection pool. </em> <a href="#a8"></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="classconnection.html#a9">GenKey</a> ()</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function is deprecated and may be removed in a later alpha/beta. </em> <a href="#a9"></a><em><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classconnection.html#o0">fd</a></td></tr>
@@ -111,7 +108,7 @@ Please note: classes serverrec and userrec both inherit from class connection.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00178">178</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="connection_8h-source.html#l00210">210</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="connection::connection"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -318,36 +315,6 @@ Find the <a class="el" href="classircd__connector.html">ircd_connector</a> oject
</td>
</tr>
</table>
-<a name="a9" doxytag="connection::GenKey"></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 connection::GenKey </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>
-This function is deprecated and may be removed in a later alpha/beta.
-<p>
- </td>
- </tr>
-</table>
<a name="a3" doxytag="connection::MeshCookie"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -535,7 +502,7 @@ Stats counter for bytes inbound.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00199">199</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00231">231</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -563,7 +530,7 @@ Stats counter for bytes outbound.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00203">203</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00235">235</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -591,7 +558,7 @@ Stats counter for commands inbound.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00207">207</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00239">239</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -619,7 +586,7 @@ Stats counter for commands outbound.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00211">211</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00243">243</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -647,7 +614,7 @@ With a serverrec, this is a list of all established server connections.
<p>
With a userrec this is unused.
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00258">258</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00290">290</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o0" doxytag="connection::fd"></a><p>
@@ -673,9 +640,9 @@ File descriptor of the connection.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00183">183</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00215">215</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00522">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00656">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00948">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00519">Server::SendTo()</a>, <a class="el" href="servers_8cpp-source.html#l00026">serverrec::serverrec()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00671">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="connection::haspassed"></a><p>
@@ -701,7 +668,7 @@ True if server/user has authenticated, false if otherwise.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00215">215</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00247">247</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -729,9 +696,9 @@ Hostname of connection.
<p>
Not used if this is a serverrec
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00187">187</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00219">219</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#l00065">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00656">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00068">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00671">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="o14" doxytag="connection::idle_lastmsg"></a><p>
@@ -757,7 +724,7 @@ Time that the connection last sent data, used to calculate idle time.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00241">241</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00273">273</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -785,7 +752,7 @@ Inbuf of connection.
<p>
Only used for userrec
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00195">195</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00227">227</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -813,7 +780,7 @@ Unused, will be removed in a future alpha/beta.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00249">249</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00281">281</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o17" doxytag="connection::internal_port"></a><p>
@@ -839,7 +806,7 @@ Unused, will be removed in a future alpha/beta.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00253">253</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00285">285</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o2" doxytag="connection::ip"></a><p>
@@ -865,7 +832,7 @@ IP of connection.
<p>
Reserved for future use.
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00191">191</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00223">223</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -893,7 +860,7 @@ Time the connection was last pinged.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00233">233</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00265">265</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#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -921,7 +888,7 @@ Used by PING checks with clients.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00245">245</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00277">277</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -949,7 +916,7 @@ Port number For a userrec, this is the port they connected to the network on.
<p>
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#l00221">221</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00253">253</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -977,7 +944,7 @@ Used by userrec to indicate the registration status of the connection.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00225">225</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00257">257</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#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -1005,7 +972,7 @@ Time the connection was created, set in the constructor.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00237">237</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
+Definition at line <a class="el" href="connection_8h-source.html#l00269">269</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#l00026">serverrec::serverrec()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td>
</tr>
@@ -1033,12 +1000,12 @@ Reserved for future use.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00229">229</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00261">261</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:47 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classes.html b/docs/module-doc/classes.html
index b3c5d1746..6899bd21c 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -25,7 +25,7 @@
</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><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><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><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 Tue Apr 26 17:11:46 2005 for InspIRCd by
+</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 Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classircd__connector-members.html b/docs/module-doc/classircd__connector-members.html
index 323460439..a5059edbc 100644
--- a/docs/module-doc/classircd__connector-members.html
+++ b/docs/module-doc/classircd__connector-members.html
@@ -24,6 +24,7 @@
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a1">GetServerName</a>()</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a10">GetServerPort</a>()</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a5">GetState</a>()</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classircd__connector.html#a19">GetVersionString</a>()</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#o1">host</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#o0">ircdbuffer</a></td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a0">MakeOutboundConnection</a>(char *newhost, int newport)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
@@ -37,10 +38,12 @@
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a2">SetServerName</a>(std::string serv)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a11">SetServerPort</a>(int p)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classircd__connector.html#a6">SetState</a>(int state)</td><td><a class="el" href="classircd__connector.html">ircd_connector</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classircd__connector.html#a18">SetVersionString</a>(std::string newversion)</td><td><a class="el" href="classircd__connector.html">ircd_connector</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="classircd__connector.html#r4">state</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#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="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classircd__connector.html b/docs/module-doc/classircd__connector.html
index a5acb44f1..b0027cdda 100644
--- a/docs/module-doc/classircd__connector.html
+++ b/docs/module-doc/classircd__connector.html
@@ -59,16 +59,27 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>.
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close the connection by calling close() on its file descriptor This function call updates no other data. </em> <a href="#a13"></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="classircd__connector.html#a14">AddBuffer</a> (std::string a)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method adds text to the ircd connection's buffer There is no limitation on how much text of what line width may be added to this buffer. </em> <a href="#a14"></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="classircd__connector.html#a15">BufferIsComplete</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns true if the buffer contains at least one carriage return character, e.g. </em> <a href="#a15"></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="classircd__connector.html#a16">ClearBuffer</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method clears the server's buffer by setting it to an empty string. </em> <a href="#a16"></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="classircd__connector.html#a17">GetBuffer</a> ()</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method retrieves the first string from the tail end of the buffer and advances the tail end of the buffer past the returned string, in a similar manner to strtok(). </em> <a href="#a17"></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="classircd__connector.html#a18">SetVersionString</a> (std::string newversion)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method sets the version string of the remote server. </em> <a href="#a18"></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="classircd__connector.html#a19">GetVersionString</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns the version string of the remote server. </em> <a href="#a19"></a><em><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#o0">ircdbuffer</a></td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IRCD Buffer for input characters, holds one line. </em> <a href="#o0"></a><em><br><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IRCD Buffer for input characters, holds as many lines as are pending - Note that the final line may not be complete and should only be read when there is a <br>
+ seperator. </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="classircd__connector.html#o1">host</a> [MAXBUF]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">When MakeOutboundConnection is called, these public members are filled with the details passed to the function, for future reference. </em> <a href="#o1"></a><em><br><br></td></tr>
@@ -98,6 +109,9 @@ Inherits <a class="el" href="classExtensible.html">Extensible</a>.
<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classircd__connector.html#r4">state</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">State. </em> <a href="#r4"></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="classircd__connector.html#r5">version</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This string holds the ircd's version response. </em> <a href="#r5"></a><em><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Each connection has one or more of these each represents ONE outbound connection to another ircd so each inbound has multiple outbounds.
@@ -133,7 +147,9 @@ Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a>
<td>
<p>
- </td>
+This method adds text to the ircd connection's buffer There is no limitation on how much text of what line width may be added to this buffer.
+<p>
+It is the sending server's responsibility to ensure sent data is kept within reasonable quanities. </td>
</tr>
</table>
<a name="a15" doxytag="ircd_connector::BufferIsComplete"></a><p>
@@ -161,7 +177,9 @@ Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a>
<td>
<p>
- </td>
+This method returns true if the buffer contains at least one carriage return character, e.g.
+<p>
+one line can be read from the buffer successfully. </td>
</tr>
</table>
<a name="a16" doxytag="ircd_connector::ClearBuffer"></a><p>
@@ -189,6 +207,8 @@ Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a>
<td>
<p>
+This method clears the server's buffer by setting it to an empty string.
+<p>
</td>
</tr>
</table>
@@ -247,6 +267,8 @@ Close the connection by calling close() on its file descriptor This function cal
<td>
<p>
+This method retrieves the first string from the tail end of the buffer and advances the tail end of the buffer past the returned string, in a similar manner to strtok().
+<p>
</td>
</tr>
</table>
@@ -430,6 +452,36 @@ Get the state flags for this connection.
</td>
</tr>
</table>
+<a name="a19" doxytag="ircd_connector::GetVersionString"></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 ircd_connector::GetVersionString </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>
+This method returns the version string of the remote server.
+<p>
+If the server has no version string an empty string is returned. </td>
+ </tr>
+</table>
<a name="a0" doxytag="ircd_connector::MakeOutboundConnection"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -705,6 +757,37 @@ Set the state flags for this connection.
</td>
</tr>
</table>
+<a name="a18" doxytag="ircd_connector::SetVersionString"></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 ircd_connector::SetVersionString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>newversion</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 method sets the version string of the remote server.
+<p>
+ </td>
+ </tr>
+</table>
<hr><h2>Member Data Documentation</h2>
<a name="r0" doxytag="ircd_connector::addr"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
@@ -807,7 +890,7 @@ When MakeOutboundConnection is called, these public members are filled with the
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00094">94</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00099">99</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o0" doxytag="ircd_connector::ircdbuffer"></a><p>
@@ -829,11 +912,12 @@ Definition at line <a class="el" href="connection_8h-source.html#l00094">94</a>
<td>
<p>
-IRCD Buffer for input characters, holds one line.
+IRCD Buffer for input characters, holds as many lines as are pending - Note that the final line may not be complete and should only be read when there is a <br>
+ seperator.
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00087">87</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00092">92</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o2" doxytag="ircd_connector::port"></a><p>
@@ -859,7 +943,7 @@ When MakeOutboundConnection is called, these public members are filled with the
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00100">100</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00105">105</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="o3" doxytag="ircd_connector::routes"></a><p>
@@ -885,7 +969,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00100">100</a>
<p>
<p>
-Definition at line <a class="el" href="connection_8h-source.html#l00106">106</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+Definition at line <a class="el" href="connection_8h-source.html#l00111">111</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
<a name="r2" doxytag="ircd_connector::servername"></a><p>
@@ -940,9 +1024,35 @@ STATE_NOAUTH_INBOUND, STATE_NOAUTH_OUTBOUND STATE_SYNC, STATE_DISCONNECTED, STAT
Definition at line <a class="el" href="connection_8h-source.html#l00076">76</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
+<a name="r5" doxytag="ircd_connector::version"></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="classircd__connector.html#r5">ircd_connector::version</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This string holds the ircd's version response.
+<p>
+
+<p>
+Definition at line <a class="el" href="connection_8h-source.html#l00084">84</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
+ </tr>
+</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classserverrec-members.html b/docs/module-doc/classserverrec-members.html
index 56dabbf32..2c772e794 100644
--- a/docs/module-doc/classserverrec-members.html
+++ b/docs/module-doc/classserverrec-members.html
@@ -21,7 +21,6 @@
<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="classconnection.html#a7">FindHost</a>(std::string host)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classconnection.html#a9">GenKey</a>()</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<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="classconnection.html#o8">haspassed</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classserverrec.html#o5">hops_away</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
@@ -55,7 +54,7 @@
<tr class="memlist"><td><a class="el" href="classserverrec.html#o6">version</a></td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classserverrec.html#a2">~serverrec</a>()</td><td><a class="el" href="classserverrec.html">serverrec</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classserverrec.html b/docs/module-doc/classserverrec.html
index 8f838c1a7..730b8c5e3 100644
--- a/docs/module-doc/classserverrec.html
+++ b/docs/module-doc/classserverrec.html
@@ -95,7 +95,7 @@ Constructor.
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00026">26</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00233">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00237">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
+References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="servers_8h-source.html#l00039">pingtime</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
<div class="fragment"><pre>00027 {
00028 strlcpy(name,<span class="stringliteral">""</span>,256);
@@ -159,7 +159,7 @@ Constructor which initialises some of the main variables.
<p>
Definition at line <a class="el" href="servers_8cpp-source.html#l00045">45</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00233">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00237">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
+References <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="servers_8h-source.html#l00051">hops_away</a>, <a class="el" href="servers_8h-source.html#l00057">jupiter</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="servers_8h-source.html#l00036">name</a>, <a class="el" href="servers_8h-source.html#l00065">nickserv</a>, <a class="el" href="servers_8h-source.html#l00048">opercount</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="servers_8h-source.html#l00067">sync_soon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="servers_8h-source.html#l00045">usercount</a>, <a class="el" href="servers_8h-source.html#l00042">usercount_i</a>, and <a class="el" href="servers_8h-source.html#l00054">version</a>.
<p>
<div class="fragment"><pre>00046 {
00047 strlcpy(name,n,256);
@@ -519,7 +519,7 @@ Referenced by <a class="el" href="servers_8cpp-source.html#l00026">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 Tue Apr 26 17:11:51 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classucrec-members.html b/docs/module-doc/classucrec-members.html
index 7a55022ca..dc63998ac 100644
--- a/docs/module-doc/classucrec-members.html
+++ b/docs/module-doc/classucrec-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classucrec.html#a0">ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classucrec.html#a1">~ucrec</a>()</td><td><a class="el" href="classucrec.html">ucrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classucrec.html b/docs/module-doc/classucrec.html
index 0d275e0e5..c108eb9de 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -127,7 +127,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#l00268">268</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#l00665">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec::userrec()</a>. </td>
</tr>
</table>
<a name="o0" doxytag="ucrec::uc_modes"></a><p>
@@ -160,7 +160,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec::userre
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/classuserrec-members.html b/docs/module-doc/classuserrec-members.html
index 1fad78737..b989419b1 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -6,14 +6,17 @@
<!-- 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="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>userrec Member List</h1>This is the complete list of members for <a class="el" href="classuserrec.html">userrec</a>, including all inherited members.<table>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#a8">AddBuffer</a>(std::string 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#a8">AddIncoming</a>(int fd, char *targethost, int sourceport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<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="classuserrec.html#o7">awaymsg</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#a2">BeginLink</a>(char *targethost, int port, char *password, char *servername, int myport)</td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#a9">BufferIsReady</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#o4">bytes_in</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#o5">bytes_out</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#o5">chans</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#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="classuserrec.html#a10">ClearBuffer</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#o6">cmds_in</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#o7">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>
@@ -26,7 +29,7 @@
<tr class="memlist"><td><a class="el" href="classconnection.html#a7">FindHost</a>(std::string host)</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#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="classconnection.html#a9">GenKey</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#a11">GetBuffer</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#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="classuserrec.html#a2">GetFullHost</a>()</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#a3">GetFullRealHost</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
@@ -43,6 +46,7 @@
<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#o12">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#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="classconnection.html#a3">MeshCookie</a>(char *targethost, int port, unsigned long cookie, char *servername)</td><td><a class="el" href="classconnection.html">connection</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>
@@ -52,8 +56,10 @@
<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="classconnection.html#o9">port</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#a6">RecvPacket</a>(std::deque&lt; std::string &gt; &amp;messages, char *host)</td><td><a class="el" href="classconnection.html">connection</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="classconnection.html#o10">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#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#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="classconnection.html#a5">SendPacket</a>(char *message, const char *host)</td><td><a class="el" href="classconnection.html">connection</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>
@@ -61,11 +67,12 @@
<tr class="memlist"><td><a class="el" href="classconnection.html#o13">signon</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#o11">state</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#a4">TerminateLink</a>(char *targethost)</td><td><a class="el" href="classconnection.html">connection</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#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#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="classclassbase.html#a1">~classbase</a>()</td><td><a class="el" href="classclassbase.html">classbase</a></td><td><code> [inline]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#a1">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 0e698ae74..16ad17d03 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -37,6 +37,18 @@ Inherits <a class="el" href="classconnection.html">connection</a>.
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classuserrec.html#a7">HasPermission</a> (char *command)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true or false for if a user can execute a privilaged oper command. </em> <a href="#a7"></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#a8">AddBuffer</a> (std::string a)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method adds data to the buffer of the user. </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="classuserrec.html#a9">BufferIsReady</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns true if the buffer contains at least one carriage return character (e.g. </em> <a href="#a9"></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="classuserrec.html#a10">ClearBuffer</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function clears the entire buffer by setting it to an empty string. </em> <a href="#a10"></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#a11">GetBuffer</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. </em> <a href="#a11"></a><em><br><br></td></tr>
<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="classuserrec.html#o0">nick</a> [NICKMAX]</td></tr>
@@ -82,6 +94,16 @@ Inherits <a class="el" href="classconnection.html">connection</a>.
<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="#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="#o15"></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#o16">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="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 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>
@@ -94,7 +116,7 @@ Everything about a connection is stored here primarily, from the user's socket I
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00093">93</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="users_8h-source.html#l00098">98</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="userrec::userrec"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -124,7 +146,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00093">93</a> of fi
<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>.
<p>
-References <a class="el" href="users_8h-source.html#l00136">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00199">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00203">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00127">chans</a>, <a class="el" href="connection_8h-source.html#l00207">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00211">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00115">dhost</a>, <a class="el" href="users_8h-source.html#l00164">dns_done</a>, <a class="el" href="connection_8h-source.html#l00183">connection::fd</a>, <a class="el" href="users_8h-source.html#l00147">flood</a>, <a class="el" href="users_8h-source.html#l00119">fullname</a>, <a class="el" href="connection_8h-source.html#l00215">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00187">connection::host</a>, <a class="el" href="users_8h-source.html#l00110">ident</a>, <a class="el" href="connection_8h-source.html#l00241">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00195">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00099">invites</a>, <a class="el" href="connection_8h-source.html#l00191">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00233">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00125">modes</a>, <a class="el" href="users_8h-source.html#l00106">nick</a>, <a class="el" href="connection_8h-source.html#l00245">connection::nping</a>, <a class="el" href="users_8h-source.html#l00160">oper</a>, <a class="el" href="connection_8h-source.html#l00221">connection::port</a>, <a class="el" href="connection_8h-source.html#l00225">connection::registered</a>, <a class="el" href="users_8h-source.html#l00141">result</a>, <a class="el" href="users_8h-source.html#l00131">server</a>, <a class="el" href="connection_8h-source.html#l00237">connection::signon</a>, <a class="el" href="users_8h-source.html#l00153">timeout</a>, and <a class="el" href="channels_8h-source.html#l00263">ucrec::uc_modes</a>.
+References <a class="el" href="users_8h-source.html#l00141">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00231">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00235">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00268">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00132">chans</a>, <a class="el" href="connection_8h-source.html#l00239">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00243">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00120">dhost</a>, <a class="el" href="users_8h-source.html#l00169">dns_done</a>, <a class="el" href="connection_8h-source.html#l00215">connection::fd</a>, <a class="el" href="users_8h-source.html#l00152">flood</a>, <a class="el" href="users_8h-source.html#l00124">fullname</a>, <a class="el" href="connection_8h-source.html#l00247">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00115">ident</a>, <a class="el" href="connection_8h-source.html#l00273">connection::idle_lastmsg</a>, <a class="el" href="connection_8h-source.html#l00227">connection::inbuf</a>, <a class="el" href="users_8h-source.html#l00104">invites</a>, <a class="el" href="connection_8h-source.html#l00223">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00265">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00189">lines_in</a>, <a class="el" href="users_8h-source.html#l00130">modes</a>, <a class="el" href="users_8h-source.html#l00111">nick</a>, <a class="el" href="connection_8h-source.html#l00277">connection::nping</a>, <a class="el" href="users_8h-source.html#l00165">oper</a>, <a class="el" href="connection_8h-source.html#l00253">connection::port</a>, <a class="el" href="users_8h-source.html#l00185">recvq</a>, <a class="el" href="connection_8h-source.html#l00257">connection::registered</a>, <a class="el" href="users_8h-source.html#l00190">reset_due</a>, <a class="el" href="users_8h-source.html#l00146">result</a>, <a class="el" href="users_8h-source.html#l00136">server</a>, <a class="el" href="connection_8h-source.html#l00269">connection::signon</a>, <a class="el" href="channels_8cpp-source.html#l00107">TIME</a>, <a class="el" href="users_8h-source.html#l00158">timeout</a>, and <a class="el" href="channels_8h-source.html#l00263">ucrec::uc_modes</a>.
<p>
<div class="fragment"><pre>00029 {
00030 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
@@ -140,18 +162,21 @@ References <a class="el" href="users_8h-source.html#l00136">awaymsg</a>, <a clas
00040 strcpy(server,<span class="stringliteral">""</span>);
00041 strcpy(awaymsg,<span class="stringliteral">""</span>);
00042 strcpy(oper,<span class="stringliteral">""</span>);
-00043 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
-00044 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
-00045 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
-00046 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
-00047 strcpy(result,<span class="stringliteral">""</span>);
-00048 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
-00049 {
-00050 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
-00051 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
-00052 }
-00053 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
-00054 }
+00043 <a class="code" href="classuserrec.html#o17">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>;
+00044 <a class="code" href="classuserrec.html#o16">lines_in</a> = 0;
+00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
+00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
+00047 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
+00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
+00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
+00050 strcpy(result,<span class="stringliteral">""</span>);
+00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
+00052 {
+00053 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
+00054 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
+00055 }
+00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
+00057 }
</pre></div> </td>
</tr>
</table>
@@ -182,13 +207,203 @@ References <a class="el" href="users_8h-source.html#l00136">awaymsg</a>, <a clas
<p>
<p>
-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>.
+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>.
<p>
-<div class="fragment"><pre>00178 { }
+<div class="fragment"><pre>00195 { }
</pre></div> </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
+<a name="a8" doxytag="userrec::AddBuffer"></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 userrec::AddBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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 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#l00169">169</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00185">recvq</a>.
+<p>
+<div class="fragment"><pre>00170 {
+00171 std::string b = <span class="stringliteral">""</span>;
+00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+00173 <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))
+00174 b = b + a[i];
+00175 std::stringstream stream(recvq);
+00176 stream &lt;&lt; b;
+00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str();
+00178 <span class="keywordtype">int</span> i = 0;
+00179 <span class="comment">// count the size of the first line in the buffer.</span>
+00180 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length())
+00181 {
+00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+00183 <span class="keywordflow">break</span>;
+00184 }
+00185 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+00186 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+00187 <span class="keywordflow">return</span> (i &lt; 600);
+00188 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a9" doxytag="userrec::BufferIsReady"></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 userrec::BufferIsReady </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>
+This method returns true if the buffer contains at least one carriage return character (e.g.
+<p>
+one complete line may be read)
+<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#l00185">recvq</a>.
+<p>
+<div class="fragment"><pre>00191 {
+00192 <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++)
+00193 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+00194 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00195 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00196 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a10" doxytag="userrec::ClearBuffer"></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 userrec::ClearBuffer </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>
+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#l00198">198</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00185">recvq</a>.
+<p>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00671">Server::UserToPseudo()</a>.
+<p>
+<div class="fragment"><pre>00199 {
+00200 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
+00201 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a11" doxytag="userrec::GetBuffer"></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 userrec::GetBuffer </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>
+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.
+<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#a9">BufferIsReady()</a> to check if it is ok to read the buffer before calling <a class="el" href="classuserrec.html#a11">GetBuffer()</a>.
+<p>
+Definition at line <a class="el" href="users_8cpp-source.html#l00203">203</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00185">recvq</a>.
+<p>
+<div class="fragment"><pre>00204 {
+00205 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>)
+00206 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00207 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str();
+00208 std::string ret = <span class="stringliteral">""</span>;
+00209 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+00210 {
+00211 ret = ret + *line;
+00212 line++;
+00213 }
+00214 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+00215 line++;
+00216 <a class="code" href="classuserrec.html#o15">recvq</a> = line;
+00217 <span class="keywordflow">return</span> ret;
+00218 }
+</pre></div> </td>
+ </tr>
+</table>
<a name="a2" doxytag="userrec::GetFullHost"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -218,14 +433,14 @@ Returns the full displayed host of the user This member function returns the hos
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00058">58</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#l00061">61</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00115">dhost</a>, <a class="el" href="users_8h-source.html#l00110">ident</a>, <a class="el" href="users_8h-source.html#l00106">nick</a>, and <a class="el" href="users_8h-source.html#l00141">result</a>.
+References <a class="el" href="users_8h-source.html#l00120">dhost</a>, <a class="el" href="users_8h-source.html#l00115">ident</a>, <a class="el" href="users_8h-source.html#l00111">nick</a>, and <a class="el" href="users_8h-source.html#l00146">result</a>.
<p>
-<div class="fragment"><pre>00059 {
-00060 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
-00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00062 }
+<div class="fragment"><pre>00062 {
+00063 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,dhost);
+00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
+00065 }
</pre></div> </td>
</tr>
</table>
@@ -258,14 +473,14 @@ 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#l00065">65</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#l00068">68</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00187">connection::host</a>, <a class="el" href="users_8h-source.html#l00110">ident</a>, <a class="el" href="users_8h-source.html#l00106">nick</a>, and <a class="el" href="users_8h-source.html#l00141">result</a>.
+References <a class="el" href="connection_8h-source.html#l00219">connection::host</a>, <a class="el" href="users_8h-source.html#l00115">ident</a>, <a class="el" href="users_8h-source.html#l00111">nick</a>, and <a class="el" href="users_8h-source.html#l00146">result</a>.
<p>
-<div class="fragment"><pre>00066 {
-00067 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
-00068 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00069 }
+<div class="fragment"><pre>00069 {
+00070 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,nick,ident,host);
+00071 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
+00072 }
</pre></div> </td>
</tr>
</table>
@@ -299,59 +514,59 @@ 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.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00114">114</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#l00117">117</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
References <a class="el" href="channels_8cpp-source.html#l00101">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.
<p>
-<div class="fragment"><pre>00115 {
-00116 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00117 <span class="keywordtype">char</span>* mycmd;
-00118 <span class="keywordtype">char</span>* savept;
-00119 <span class="keywordtype">char</span>* savept2;
-00120
-00121 <span class="comment">// are they even an oper at all?</span>
-00122 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-00123 {
-00124 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-00125 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
-00126 {
-00127 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
-00128 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-00129 {
-00130 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-00131 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
-00132 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-00133 <span class="keywordflow">while</span> (myclass)
-00134 {
-00135 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-00136 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
-00137 {
-00138 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
-00139 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-00140 {
-00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
-00142 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-00143
-00144
-00145 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-00146 <span class="keywordflow">while</span> (mycmd)
-00147 {
-00148 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-00149 {
-00150 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-00151 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00152 }
-00153 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-00154 }
-00155 }
-00156 }
-00157 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-00158 }
-00159 }
-00160 }
-00161 }
-00162 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00163 }
+<div class="fragment"><pre>00118 {
+00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00120 <span class="keywordtype">char</span>* mycmd;
+00121 <span class="keywordtype">char</span>* savept;
+00122 <span class="keywordtype">char</span>* savept2;
+00123
+00124 <span class="comment">// are they even an oper at all?</span>
+00125 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+00126 {
+00127 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
+00128 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
+00129 {
+00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
+00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+00132 {
+00133 log(DEBUG,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
+00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
+00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+00136 <span class="keywordflow">while</span> (myclass)
+00137 {
+00138 log(DEBUG,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
+00139 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
+00140 {
+00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
+00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+00143 {
+00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
+00145 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
+00146
+00147
+00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+00149 <span class="keywordflow">while</span> (mycmd)
+00150 {
+00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
+00152 {
+00153 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
+00154 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00155 }
+00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+00157 }
+00158 }
+00159 }
+00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+00161 }
+00162 }
+00163 }
+00164 }
+00165 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00166 }
</pre></div> </td>
</tr>
</table>
@@ -385,15 +600,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#l00085">85</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#l00088">88</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#l00099">invites</a>.
+References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00104">invites</a>.
<p>
-<div class="fragment"><pre>00086 {
-00087 <a class="code" href="classInvited.html">Invited</a> i;
-00088 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
-00089 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
-00090 }
+<div class="fragment"><pre>00089 {
+00090 <a class="code" href="classInvited.html">Invited</a> i;
+00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
+00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
+00093 }
</pre></div> </td>
</tr>
</table>
@@ -427,22 +642,22 @@ Returns true if a user is invited to a channel.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00071">71</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#l00074">74</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00099">invites</a>.
+References <a class="el" href="users_8h-source.html#l00104">invites</a>.
<p>
-<div class="fragment"><pre>00072 {
-00073 <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++)
-00074 {
-00075 <span class="keywordflow">if</span> (i-&gt;channel) {
-00076 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00077 {
-00078 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00079 }
-00080 }
-00081 }
-00082 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00083 }
+<div class="fragment"><pre>00075 {
+00076 <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++)
+00077 {
+00078 <span class="keywordflow">if</span> (i-&gt;channel) {
+00079 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00080 {
+00081 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00082 }
+00083 }
+00084 }
+00085 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00086 }
</pre></div> </td>
</tr>
</table>
@@ -476,30 +691,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#l00092">92</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#l00099">invites</a>.
-<p>
-<div class="fragment"><pre>00093 {
-00094 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
-00095 <span class="keywordflow">if</span> (channel)
-00096 {
-00097 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
-00098 {
-00099 <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++)
-00100 {
-00101 <span class="keywordflow">if</span> (i-&gt;channel)
-00102 {
-00103 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00104 {
-00105 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
-00106 <span class="keywordflow">return</span>;
-00107 }
-00108 }
-00109 }
-00110 }
-00111 }
-00112 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00095">95</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#l00104">invites</a>.
+<p>
+<div class="fragment"><pre>00096 {
+00097 log(DEBUG,<span class="stringliteral">"Removing invites"</span>);
+00098 <span class="keywordflow">if</span> (channel)
+00099 {
+00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
+00101 {
+00102 <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++)
+00103 {
+00104 <span class="keywordflow">if</span> (i-&gt;channel)
+00105 {
+00106 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00107 {
+00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
+00109 <span class="keywordflow">return</span>;
+00110 }
+00111 }
+00112 }
+00113 }
+00114 }
+00115 }
</pre></div> </td>
</tr>
</table>
@@ -527,7 +742,7 @@ 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#l00136">136</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#l00141">141</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#l00028">userrec()</a>. </td>
</tr>
@@ -553,9 +768,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00127">127</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#l00132">132</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#l00665">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o2" doxytag="userrec::dhost"></a><p>
@@ -581,9 +796,9 @@ 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#l00115">115</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#l00120">120</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#l00058">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o12" doxytag="userrec::dns_done"></a><p>
@@ -609,7 +824,7 @@ 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#l00164">164</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#l00169">169</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#l00028">userrec()</a>. </td>
</tr>
@@ -637,7 +852,7 @@ 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#l00147">147</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#l00152">152</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#l00028">userrec()</a>. </td>
</tr>
@@ -665,7 +880,7 @@ The users full name.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00119">119</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#l00124">124</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#l00028">userrec()</a>. </td>
</tr>
@@ -693,9 +908,9 @@ The users ident reply.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00110">110</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#l00115">115</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#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00656">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00671">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="r0" doxytag="userrec::invites"></a><p>
@@ -721,9 +936,37 @@ A list of channels the user has a pending invite to.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00099">99</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#l00104">104</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#l00085">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00071">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00092">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00088">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00074">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00095">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+ </tr>
+</table>
+<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"> long <a class="el" href="classuserrec.html#o16">userrec::lines_in</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Flood counters.
+<p>
+
+<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>.
+<p>
+Referenced by <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o4" doxytag="userrec::modes"></a><p>
@@ -749,7 +992,7 @@ 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.
<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#l00130">130</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#l00028">userrec()</a>. </td>
</tr>
@@ -777,9 +1020,9 @@ The users nickname.
<p>
An invalid nickname indicates an unregistered connection prior to the NICK command.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00106">106</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#l00111">111</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#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00665">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00476">Server::QuitUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00948">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o11" doxytag="userrec::oper"></a><p>
@@ -805,7 +1048,7 @@ 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#l00160">160</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#l00165">165</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#l00028">userrec()</a>. </td>
</tr>
@@ -833,7 +1076,7 @@ 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#l00174">174</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#l00179">179</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>
@@ -859,7 +1102,61 @@ 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#l00168">168</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#l00173">173</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>
+<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>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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#l00185">185</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#l00169">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00190">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00198">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00203">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+ </tr>
+</table>
+<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#o17">userrec::reset_due</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="users_8h-source.html#l00190">190</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#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o8" doxytag="userrec::result"></a><p>
@@ -885,9 +1182,9 @@ 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#l00141">141</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="users_8cpp-source.html#l00058">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00065">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00061">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00068">GetFullRealHost()</a>, and <a class="el" href="users_8cpp-source.html#l00028">userrec()</a>. </td>
</tr>
</table>
<a name="o6" doxytag="userrec::server"></a><p>
@@ -913,11 +1210,35 @@ The server the user is connected to.
<p>
<p>
-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>.
+Definition at line <a class="el" href="users_8h-source.html#l00136">136</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#l00028">userrec()</a>. </td>
</tr>
</table>
+<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#o18">userrec::threshold</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="users_8h-source.html#l00191">191</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>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
@@ -941,14 +1262,14 @@ 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#l00153">153</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#l00158">158</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#l00028">userrec()</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 Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index cadb3d3f2..ed4e6e32b 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -118,7 +118,7 @@
00121 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);
00122
00123 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/commands_8h.html b/docs/module-doc/commands_8h.html
index 578df85d6..2ff8ab777 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -207,7 +207,7 @@ Other useful functions.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00715">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00695">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00710">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00700">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00705">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00745">Server::CalcDuration()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00731">Server::AddELine()</a>, <a class="el" href="modules_8cpp-source.html#l00711">Server::AddGLine()</a>, <a class="el" href="modules_8cpp-source.html#l00726">Server::AddKLine()</a>, <a class="el" href="modules_8cpp-source.html#l00716">Server::AddQLine()</a>, <a class="el" href="modules_8cpp-source.html#l00721">Server::AddZLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00761">Server::CalcDuration()</a>. </td>
</tr>
</table>
<a name="a58" doxytag="commands.h::handle_a"></a><p>
@@ -3722,7 +3722,7 @@ Functions for u:lined servers.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00482">Server::IsUlined()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00479">Server::IsUlined()</a>. </td>
</tr>
</table>
<a name="a51" doxytag="commands.h::process_restricted_commands"></a><p>
@@ -3793,7 +3793,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00482">Server::IsUli
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index 52c7221ad..279b3b5b7 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -61,120 +61,126 @@
00077
00080 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#d0">SetHostAddress</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> port);
00081
-00082
-00083 <span class="keyword">public</span>:
-00084
-<a name="l00087"></a><a class="code" href="classircd__connector.html#o0">00087</a> std::string <a class="code" href="classircd__connector.html#o0">ircdbuffer</a>;
-00088
-00089
-<a name="l00094"></a><a class="code" href="classircd__connector.html#o1">00094</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#o1">host</a>[MAXBUF];
-00095
-<a name="l00100"></a><a class="code" href="classircd__connector.html#o2">00100</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o2">port</a>;
-00101
-<a name="l00106"></a><a class="code" href="classircd__connector.html#o3">00106</a> std::vector&lt;std::string&gt; <a class="code" href="classircd__connector.html#o3">routes</a>;
-00107
-00108
-00111 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport);
+<a name="l00084"></a><a class="code" href="classircd__connector.html#r5">00084</a> std::string <a class="code" href="classircd__connector.html#r5">version</a>;
+00085
+00086 <span class="keyword">public</span>:
+00087
+<a name="l00092"></a><a class="code" href="classircd__connector.html#o0">00092</a> std::string <a class="code" href="classircd__connector.html#o0">ircdbuffer</a>;
+00093
+00094
+<a name="l00099"></a><a class="code" href="classircd__connector.html#o1">00099</a> <span class="keywordtype">char</span> <a class="code" href="classircd__connector.html#o1">host</a>[MAXBUF];
+00100
+<a name="l00105"></a><a class="code" href="classircd__connector.html#o2">00105</a> <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#o2">port</a>;
+00106
+<a name="l00111"></a><a class="code" href="classircd__connector.html#o3">00111</a> std::vector&lt;std::string&gt; <a class="code" href="classircd__connector.html#o3">routes</a>;
00112
-00115 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>();
-00116
-00119 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv);
-00120
-00123 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>();
-00124
-00127 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd);
-00128
-00131 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>();
-00132
-00135 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state);
-00136
-00139 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>();
-00140
-00143 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>();
-00144
-00147 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc);
-00148
-00154 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>();
-00155
-00158 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p);
-00159
-00162 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport);
-00163
-00167 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>();
-00168
-00169 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a14">AddBuffer</a>(std::string a);
-00170 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a15">BufferIsComplete</a>();
-00171 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a16">ClearBuffer</a>();
-00172 std::string <a class="code" href="classircd__connector.html#a17">GetBuffer</a>();
-00173 };
-00174
-00175
-<a name="l00178"></a><a class="code" href="classconnection.html">00178</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a>
-00179 {
-00180 <span class="keyword">public</span>:
-<a name="l00183"></a><a class="code" href="classconnection.html#o0">00183</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o0">fd</a>;
-00184
-<a name="l00187"></a><a class="code" href="classconnection.html#o1">00187</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[256];
-00188
-<a name="l00191"></a><a class="code" href="classconnection.html#o2">00191</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[32];
-00192
-<a name="l00195"></a><a class="code" href="classconnection.html#o3">00195</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o3">inbuf</a>[MAXBUF];
-00196
-<a name="l00199"></a><a class="code" href="classconnection.html#o4">00199</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_in</a>;
+00113
+00116 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a0">MakeOutboundConnection</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport);
+00117
+00120 std::string <a class="code" href="classircd__connector.html#a1">GetServerName</a>();
+00121
+00124 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a2">SetServerName</a>(std::string serv);
+00125
+00128 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a3">GetDescriptor</a>();
+00129
+00132 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a4">SetDescriptor</a>(<span class="keywordtype">int</span> fd);
+00133
+00136 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a5">GetState</a>();
+00137
+00140 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a6">SetState</a>(<span class="keywordtype">int</span> state);
+00141
+00144 <span class="keywordtype">char</span>* <a class="code" href="classircd__connector.html#a7">GetServerIP</a>();
+00145
+00148 std::string <a class="code" href="classircd__connector.html#a8">GetDescription</a>();
+00149
+00152 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a9">SetDescription</a>(std::string desc);
+00153
+00159 <span class="keywordtype">int</span> <a class="code" href="classircd__connector.html#a10">GetServerPort</a>();
+00160
+00163 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a11">SetServerPort</a>(<span class="keywordtype">int</span> p);
+00164
+00167 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a12">SetHostAndPort</a>(<span class="keywordtype">char</span>* newhost, <span class="keywordtype">int</span> newport);
+00168
+00172 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a13">CloseConnection</a>();
+00173
+00179 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a14">AddBuffer</a>(std::string a);
+00180
+00185 <span class="keywordtype">bool</span> <a class="code" href="classircd__connector.html#a15">BufferIsComplete</a>();
+00186
+00189 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a16">ClearBuffer</a>();
+00190
+00195 std::string <a class="code" href="classircd__connector.html#a17">GetBuffer</a>();
+00196
+00199 <span class="keywordtype">void</span> <a class="code" href="classircd__connector.html#a18">SetVersionString</a>(std::string newversion);
00200
-<a name="l00203"></a><a class="code" href="classconnection.html#o5">00203</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">bytes_out</a>;
-00204
-<a name="l00207"></a><a class="code" href="classconnection.html#o6">00207</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_in</a>;
-00208
-<a name="l00211"></a><a class="code" href="classconnection.html#o7">00211</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o7">cmds_out</a>;
-00212
-<a name="l00215"></a><a class="code" href="classconnection.html#o8">00215</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o8">haspassed</a>;
-00216
-<a name="l00221"></a><a class="code" href="classconnection.html#o9">00221</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o9">port</a>;
-00222
-<a name="l00225"></a><a class="code" href="classconnection.html#o10">00225</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o10">registered</a>;
-00226
-<a name="l00229"></a><a class="code" href="classconnection.html#o11">00229</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o11">state</a>;
-00230
-<a name="l00233"></a><a class="code" href="classconnection.html#o12">00233</a> time_t <a class="code" href="classconnection.html#o12">lastping</a>;
-00234
-<a name="l00237"></a><a class="code" href="classconnection.html#o13">00237</a> time_t <a class="code" href="classconnection.html#o13">signon</a>;
-00238
-<a name="l00241"></a><a class="code" href="classconnection.html#o14">00241</a> time_t <a class="code" href="classconnection.html#o14">idle_lastmsg</a>;
-00242
-<a name="l00245"></a><a class="code" href="classconnection.html#o15">00245</a> time_t <a class="code" href="classconnection.html#o15">nping</a>;
-00246
-<a name="l00249"></a><a class="code" href="classconnection.html#o16">00249</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o16">internal_addr</a>[MAXBUF];
-00250
-<a name="l00253"></a><a class="code" href="classconnection.html#o17">00253</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o17">internal_port</a>;
-00254
-<a name="l00258"></a><a class="code" href="classconnection.html#o18">00258</a> std::vector&lt;ircd_connector&gt; <a class="code" href="classconnection.html#o18">connectors</a>;
-00259
-00262 <a class="code" href="classconnection.html#a0">connection</a>();
-00263
-00266 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p);
-00267
-00270 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport);
-00271
-00274 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername);
-00275
-00278 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost);
-00279
-00283 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host);
-00284
-00289 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* host);
-00290
-00293 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host);
-00294
-00298 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport);
+00204 std::string <a class="code" href="classircd__connector.html#a19">GetVersionString</a>();
+00205 };
+00206
+00207
+<a name="l00210"></a><a class="code" href="classconnection.html">00210</a> <span class="keyword">class </span><a class="code" href="classconnection.html">connection</a> : <span class="keyword">public</span> <a class="code" href="classExtensible.html">Extensible</a>
+00211 {
+00212 <span class="keyword">public</span>:
+<a name="l00215"></a><a class="code" href="classconnection.html#o0">00215</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o0">fd</a>;
+00216
+<a name="l00219"></a><a class="code" href="classconnection.html#o1">00219</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o1">host</a>[256];
+00220
+<a name="l00223"></a><a class="code" href="classconnection.html#o2">00223</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o2">ip</a>[32];
+00224
+<a name="l00227"></a><a class="code" href="classconnection.html#o3">00227</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o3">inbuf</a>[MAXBUF];
+00228
+<a name="l00231"></a><a class="code" href="classconnection.html#o4">00231</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o4">bytes_in</a>;
+00232
+<a name="l00235"></a><a class="code" href="classconnection.html#o5">00235</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o5">bytes_out</a>;
+00236
+<a name="l00239"></a><a class="code" href="classconnection.html#o6">00239</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o6">cmds_in</a>;
+00240
+<a name="l00243"></a><a class="code" href="classconnection.html#o7">00243</a> <span class="keywordtype">long</span> <a class="code" href="classconnection.html#o7">cmds_out</a>;
+00244
+<a name="l00247"></a><a class="code" href="classconnection.html#o8">00247</a> <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#o8">haspassed</a>;
+00248
+<a name="l00253"></a><a class="code" href="classconnection.html#o9">00253</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o9">port</a>;
+00254
+<a name="l00257"></a><a class="code" href="classconnection.html#o10">00257</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o10">registered</a>;
+00258
+<a name="l00261"></a><a class="code" href="classconnection.html#o11">00261</a> <span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o11">state</a>;
+00262
+<a name="l00265"></a><a class="code" href="classconnection.html#o12">00265</a> time_t <a class="code" href="classconnection.html#o12">lastping</a>;
+00266
+<a name="l00269"></a><a class="code" href="classconnection.html#o13">00269</a> time_t <a class="code" href="classconnection.html#o13">signon</a>;
+00270
+<a name="l00273"></a><a class="code" href="classconnection.html#o14">00273</a> time_t <a class="code" href="classconnection.html#o14">idle_lastmsg</a>;
+00274
+<a name="l00277"></a><a class="code" href="classconnection.html#o15">00277</a> time_t <a class="code" href="classconnection.html#o15">nping</a>;
+00278
+<a name="l00281"></a><a class="code" href="classconnection.html#o16">00281</a> <span class="keywordtype">char</span> <a class="code" href="classconnection.html#o16">internal_addr</a>[MAXBUF];
+00282
+<a name="l00285"></a><a class="code" href="classconnection.html#o17">00285</a> <span class="keywordtype">int</span> <a class="code" href="classconnection.html#o17">internal_port</a>;
+00286
+<a name="l00290"></a><a class="code" href="classconnection.html#o18">00290</a> std::vector&lt;ircd_connector&gt; <a class="code" href="classconnection.html#o18">connectors</a>;
+00291
+00294 <a class="code" href="classconnection.html#a0">connection</a>();
+00295
+00298 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a1">CreateListener</a>(<span class="keywordtype">char</span>* host, <span class="keywordtype">int</span> p);
00299
-00302 <span class="keywordtype">long</span> <a class="code" href="classconnection.html#a9">GenKey</a>();
-00303 };
-00304
-00305
-00306 <span class="preprocessor">#endif</span>
-00307 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+00302 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a2">BeginLink</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">char</span>* password, <span class="keywordtype">char</span>* servername, <span class="keywordtype">int</span> myport);
+00303
+00306 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a3">MeshCookie</a>(<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> port, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> cookie, <span class="keywordtype">char</span>* servername);
+00307
+00310 <span class="keywordtype">void</span> <a class="code" href="classconnection.html#a4">TerminateLink</a>(<span class="keywordtype">char</span>* targethost);
+00311
+00315 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a5">SendPacket</a>(<span class="keywordtype">char</span> *message, <span class="keyword">const</span> <span class="keywordtype">char</span>* host);
+00316
+00321 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a6">RecvPacket</a>(std::deque&lt;std::string&gt; &amp;messages, <span class="keywordtype">char</span>* host);
+00322
+00325 <a class="code" href="classircd__connector.html">ircd_connector</a>* <a class="code" href="classconnection.html#a7">FindHost</a>(std::string host);
+00326
+00330 <span class="keywordtype">bool</span> <a class="code" href="classconnection.html#a8">AddIncoming</a>(<span class="keywordtype">int</span> fd,<span class="keywordtype">char</span>* targethost, <span class="keywordtype">int</span> sourceport);
+00331
+00332 };
+00333
+00334
+00335 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/connection_8h.html b/docs/module-doc/connection_8h.html
index e3d38e665..d14420fd2 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -189,7 +189,7 @@ Definition at line <a class="el" href="connection_8h-source.html#l00040">40</a>
Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index 5d6cf02e2..9f7d60625 100644
--- a/docs/module-doc/ctables_8h-source.html
+++ b/docs/module-doc/ctables_8h-source.html
@@ -42,7 +42,7 @@
00051
00052 <span class="preprocessor">#endif</span>
00053 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/ctables_8h.html b/docs/module-doc/ctables_8h.html
index e1c5676a6..054d18eda 100644
--- a/docs/module-doc/ctables_8h.html
+++ b/docs/module-doc/ctables_8h.html
@@ -17,7 +17,7 @@
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A structure that defines a command. </em> <a href="classcommand__t.html#_details">More...</a><em><br><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
index 1ad122520..642c2c910 100644
--- a/docs/module-doc/dns_8h-source.html
+++ b/docs/module-doc/dns_8h-source.html
@@ -70,7 +70,7 @@
00093 };
00094
00095 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/dns_8h.html b/docs/module-doc/dns_8h.html
index 2bfda7fe8..e9b108443 100644
--- a/docs/module-doc/dns_8h.html
+++ b/docs/module-doc/dns_8h.html
@@ -20,7 +20,7 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/files.html b/docs/module-doc/files.html
index 7dc8a974a..f2ecaae05 100644
--- a/docs/module-doc/files.html
+++ b/docs/module-doc/files.html
@@ -23,7 +23,7 @@
<tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/functions.html b/docs/module-doc/functions.html
index f6d013382..d35e6dc2f 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -14,18 +14,18 @@
Here is a list of all class members with links to the classes they belong to:<h3><a name="index_a">- a -</a>
</h3><ul>
<li>AddBuffer()
-: <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand()
-: <a class="el" href="classServer.html#a23">Server</a><li>AddELine()
-: <a class="el" href="classServer.html#a42">Server</a><li>AddExtendedListMode()
-: <a class="el" href="classServer.html#a22">Server</a><li>AddExtendedMode()
-: <a class="el" href="classServer.html#a21">Server</a><li>AddGLine()
-: <a class="el" href="classServer.html#a38">Server</a><li>AddIncoming()
+: <a class="el" href="classuserrec.html#a8">userrec</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand()
+: <a class="el" href="classServer.html#a25">Server</a><li>AddELine()
+: <a class="el" href="classServer.html#a44">Server</a><li>AddExtendedListMode()
+: <a class="el" href="classServer.html#a24">Server</a><li>AddExtendedMode()
+: <a class="el" href="classServer.html#a23">Server</a><li>AddGLine()
+: <a class="el" href="classServer.html#a40">Server</a><li>AddIncoming()
: <a class="el" href="classconnection.html#a8">connection</a><li>AddKLine()
-: <a class="el" href="classServer.html#a41">Server</a><li>AddQLine()
-: <a class="el" href="classServer.html#a39">Server</a><li>addr
+: <a class="el" href="classServer.html#a43">Server</a><li>AddQLine()
+: <a class="el" href="classServer.html#a41">Server</a><li>addr
: <a class="el" href="classircd__connector.html#r0">ircd_connector</a><li>AddUser()
: <a class="el" href="classchanrec.html#a7">chanrec</a><li>AddZLine()
-: <a class="el" href="classServer.html#a40">Server</a><li>Admin()
+: <a class="el" href="classServer.html#a42">Server</a><li>Admin()
: <a class="el" href="classAdmin.html#a0">Admin</a><li>age
: <a class="el" href="classclassbase.html#o0">classbase</a><li>awaymsg
: <a class="el" href="classuserrec.html#o7">userrec</a></ul>
@@ -35,7 +35,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classchanrec.html#o16">chanrec</a><li>BeginLink()
: <a class="el" href="classconnection.html#a2">connection</a><li>binip
: <a class="el" href="classDNS.html#r0">DNS</a><li>BufferIsComplete()
-: <a class="el" href="classircd__connector.html#a15">ircd_connector</a><li>Build
+: <a class="el" href="classircd__connector.html#a15">ircd_connector</a><li>BufferIsReady()
+: <a class="el" href="classuserrec.html#a9">userrec</a><li>Build
: <a class="el" href="classVersion.html#o3">Version</a><li>bytes_in
: <a class="el" href="classconnection.html#o4">connection</a><li>bytes_out
: <a class="el" href="classconnection.html#o5">connection</a></ul>
@@ -44,27 +45,27 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>c_private
: <a class="el" href="classchanrec.html#o15">chanrec</a><li>cache
: <a class="el" href="classConfigReader.html#p0">ConfigReader</a><li>CalcDuration()
-: <a class="el" href="classServer.html#a48">Server</a><li>CallCommandHandler()
-: <a class="el" href="classServer.html#a31">Server</a><li>ChangeGECOS()
-: <a class="el" href="classServer.html#a33">Server</a><li>ChangeHost()
-: <a class="el" href="classServer.html#a32">Server</a><li>ChangeUserNick()
-: <a class="el" href="classServer.html#a28">Server</a><li>ChanMode()
-: <a class="el" href="classServer.html#a16">Server</a><li>channel
+: <a class="el" href="classServer.html#a50">Server</a><li>CallCommandHandler()
+: <a class="el" href="classServer.html#a33">Server</a><li>ChangeGECOS()
+: <a class="el" href="classServer.html#a35">Server</a><li>ChangeHost()
+: <a class="el" href="classServer.html#a34">Server</a><li>ChangeUserNick()
+: <a class="el" href="classServer.html#a30">Server</a><li>ChanMode()
+: <a class="el" href="classServer.html#a18">Server</a><li>channel
: <a class="el" href="classInvited.html#o0">Invited</a>, <a class="el" href="classucrec.html#o1">ucrec</a>, <a class="el" href="classModeParameter.html#o2">ModeParameter</a><li>chanrec()
: <a class="el" href="classchanrec.html#a10">chanrec</a><li>chans
: <a class="el" href="classuserrec.html#o5">userrec</a><li>classbase()
: <a class="el" href="classclassbase.html#a0">classbase</a><li>ClearBuffer()
-: <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection()
+: <a class="el" href="classuserrec.html#a10">userrec</a>, <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection()
: <a class="el" href="classircd__connector.html#a13">ircd_connector</a><li>cmds_in
: <a class="el" href="classconnection.html#o6">connection</a><li>cmds_out
: <a class="el" href="classconnection.html#o7">connection</a><li>command
: <a class="el" href="classcommand__t.html#o0">command_t</a><li>CommonChannels()
-: <a class="el" href="classServer.html#a9">Server</a><li>ConfigReader()
+: <a class="el" href="classServer.html#a10">Server</a><li>ConfigReader()
: <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>ConnectClass()
: <a class="el" href="classConnectClass.html#a0">ConnectClass</a><li>connection()
: <a class="el" href="classconnection.html#a0">connection</a><li>connectors
: <a class="el" href="classconnection.html#o18">connection</a><li>CountUsers()
-: <a class="el" href="classServer.html#a13">Server</a><li>created
+: <a class="el" href="classServer.html#a14">Server</a><li>created
: <a class="el" href="classchanrec.html#o5">chanrec</a><li>CreateListener()
: <a class="el" href="classconnection.html#a1">connection</a><li>CreateModule()
: <a class="el" href="classModuleFactory.html#a2">ModuleFactory</a><li>custom_modes
@@ -74,12 +75,12 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>data
: <a class="el" href="classEvent.html#p0">Event</a>, <a class="el" href="classRequest.html#p0">Request</a>, <a class="el" href="classHostItem.html#o2">HostItem</a><li>DecUserCounter()
: <a class="el" href="classchanrec.html#a5">chanrec</a><li>DelELine()
-: <a class="el" href="classServer.html#a47">Server</a><li>DelGLine()
-: <a class="el" href="classServer.html#a43">Server</a><li>DelKLine()
-: <a class="el" href="classServer.html#a46">Server</a><li>DelQLine()
-: <a class="el" href="classServer.html#a44">Server</a><li>DelUser()
+: <a class="el" href="classServer.html#a49">Server</a><li>DelGLine()
+: <a class="el" href="classServer.html#a45">Server</a><li>DelKLine()
+: <a class="el" href="classServer.html#a48">Server</a><li>DelQLine()
+: <a class="el" href="classServer.html#a46">Server</a><li>DelUser()
: <a class="el" href="classchanrec.html#a8">chanrec</a><li>DelZLine()
-: <a class="el" href="classServer.html#a45">Server</a><li>description
+: <a class="el" href="classServer.html#a47">Server</a><li>description
: <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="classuserrec.html#o2">userrec</a><li>DNS()
@@ -121,10 +122,11 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <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>FileReader()
: <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize()
: <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel()
-: <a class="el" href="classServer.html#a15">Server</a><li>FindHost()
+: <a class="el" href="classServer.html#a17">Server</a><li>FindDescriptor()
+: <a class="el" href="classServer.html#a16">Server</a><li>FindHost()
: <a class="el" href="classconnection.html#a7">connection</a><li>FindModule()
-: <a class="el" href="classServer.html#a57">Server</a><li>FindNick()
-: <a class="el" href="classServer.html#a14">Server</a><li>Flags
+: <a class="el" href="classServer.html#a59">Server</a><li>FindNick()
+: <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>ForwardLookup()
@@ -132,10 +134,9 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classuserrec.html#o3">userrec</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
-<li>GenKey()
-: <a class="el" href="classconnection.html#a9">connection</a><li>GetAdmin()
-: <a class="el" href="classServer.html#a20">Server</a><li>GetBuffer()
-: <a class="el" href="classircd__connector.html#a17">ircd_connector</a><li>GetData()
+<li>GetAdmin()
+: <a class="el" href="classServer.html#a22">Server</a><li>GetBuffer()
+: <a class="el" href="classuserrec.html#a11">userrec</a>, <a class="el" href="classircd__connector.html#a17">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()
: <a class="el" href="classircd__connector.html#a8">ircd_connector</a><li>GetDescriptor()
: <a class="el" href="classircd__connector.html#a3">ircd_connector</a><li>GetDest()
@@ -148,16 +149,17 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine()
: <a class="el" href="classFileReader.html#a5">FileReader</a><li>GetModeParameter()
: <a class="el" href="classchanrec.html#a3">chanrec</a><li>GetNetworkName()
-: <a class="el" href="classServer.html#a19">Server</a><li>GetResult()
+: <a class="el" href="classServer.html#a21">Server</a><li>GetResult()
: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerIP()
: <a class="el" href="classircd__connector.html#a7">ircd_connector</a><li>GetServerName()
-: <a class="el" href="classServer.html#a18">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort()
+: <a class="el" href="classServer.html#a20">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort()
: <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource()
: <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState()
: <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter()
: <a class="el" href="classchanrec.html#a6">chanrec</a><li>GetUsers()
-: <a class="el" href="classServer.html#a35">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion()
-: <a class="el" href="classModule.html#a2">Module</a></ul>
+: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion()
+: <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString()
+: <a class="el" href="classircd__connector.html#a19">ircd_connector</a></ul>
<h3><a name="index_h">- h -</a>
</h3><ul>
<li>handler_function
@@ -189,14 +191,14 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classQLine.html#o1">QLine</a>, <a class="el" href="classZLine.html#o1">ZLine</a><li>IsCustomModeSet()
: <a class="el" href="classchanrec.html#a2">chanrec</a><li>IsInvited()
: <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick()
-: <a class="el" href="classServer.html#a12">Server</a><li>IsOnChannel()
-: <a class="el" href="classServer.html#a17">Server</a><li>IsUlined()
-: <a class="el" href="classServer.html#a34">Server</a><li>IsValidMask()
-: <a class="el" href="classServer.html#a49">Server</a></ul>
+: <a class="el" href="classServer.html#a13">Server</a><li>IsOnChannel()
+: <a class="el" href="classServer.html#a19">Server</a><li>IsUlined()
+: <a class="el" href="classServer.html#a36">Server</a><li>IsValidMask()
+: <a class="el" href="classServer.html#a51">Server</a></ul>
<h3><a name="index_j">- j -</a>
</h3><ul>
<li>JoinUserToChannel()
-: <a class="el" href="classServer.html#a26">Server</a><li>jupiter
+: <a class="el" href="classServer.html#a28">Server</a><li>jupiter
: <a class="el" href="classserverrec.html#o7">serverrec</a></ul>
<h3><a name="index_k">- k -</a>
</h3><ul>
@@ -206,7 +208,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>lastping
: <a class="el" href="classconnection.html#o12">connection</a><li>limit
-: <a class="el" href="classchanrec.html#o8">chanrec</a><li>list
+: <a class="el" href="classchanrec.html#o8">chanrec</a><li>lines_in
+: <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></ul>
@@ -215,15 +218,15 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>Major
: <a class="el" href="classVersion.html#o0">Version</a><li>MakeOutboundConnection()
: <a class="el" href="classircd__connector.html#a0">ircd_connector</a><li>MatchText()
-: <a class="el" href="classServer.html#a30">Server</a><li>MeshCheckChan()
-: <a class="el" href="classServer.html#a55">Server</a><li>MeshCheckCommon()
-: <a class="el" href="classServer.html#a56">Server</a><li>MeshCookie()
+: <a class="el" href="classServer.html#a32">Server</a><li>MeshCheckChan()
+: <a class="el" href="classServer.html#a57">Server</a><li>MeshCheckCommon()
+: <a class="el" href="classServer.html#a58">Server</a><li>MeshCookie()
: <a class="el" href="classconnection.html#a3">connection</a><li>MeshSendAll()
-: <a class="el" href="classServer.html#a50">Server</a><li>MeshSendAllAlive()
-: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllExcept()
-: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendCommon()
-: <a class="el" href="classServer.html#a51">Server</a><li>MeshSendUnicast()
-: <a class="el" href="classServer.html#a53">Server</a><li>min_params
+: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllAlive()
+: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendAllExcept()
+: <a class="el" href="classServer.html#a56">Server</a><li>MeshSendCommon()
+: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendUnicast()
+: <a class="el" href="classServer.html#a55">Server</a><li>min_params
: <a class="el" href="classcommand__t.html#o3">command_t</a><li>Minor
: <a class="el" href="classVersion.html#o1">Version</a><li>mode
: <a class="el" href="classModeParameter.html#o0">ModeParameter</a><li>modechar
@@ -249,7 +252,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>On005Numeric()
: <a class="el" href="classModule.html#a27">Module</a><li>OnAccessCheck()
-: <a class="el" href="classModule.html#a24">Module</a><li>OnBackgroundTimer()
+: <a class="el" href="classModule.html#a24">Module</a><li>OnAddBan()
+: <a class="el" href="classModule.html#a50">Module</a><li>OnBackgroundTimer()
: <a class="el" href="classModule.html#a30">Module</a><li>OnChangeLocalUserGECOS()
: <a class="el" href="classModule.html#a42">Module</a><li>OnChangeLocalUserHost()
: <a class="el" href="classModule.html#a41">Module</a><li>OnChannelSync()
@@ -258,7 +262,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classModule.html#a36">Module</a><li>OnCheckKey()
: <a class="el" href="classModule.html#a37">Module</a><li>OnCheckLimit()
: <a class="el" href="classModule.html#a38">Module</a><li>OnCheckReady()
-: <a class="el" href="classModule.html#a33">Module</a><li>OnEvent()
+: <a class="el" href="classModule.html#a33">Module</a><li>OnDelBan()
+: <a class="el" href="classModule.html#a51">Module</a><li>OnEvent()
: <a class="el" href="classModule.html#a45">Module</a><li>OnExtendedMode()
: <a class="el" href="classModule.html#a12">Module</a><li>OnGlobalConnect()
: <a class="el" href="classModule.html#a49">Module</a><li>OnGlobalOper()
@@ -273,7 +278,11 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classModule.html#a9">Module</a><li>OnPacketTransmit()
: <a class="el" href="classModule.html#a8">Module</a><li>OnPreCommand()
: <a class="el" href="classModule.html#a32">Module</a><li>OnRawMode()
-: <a class="el" href="classModule.html#a35">Module</a><li>OnRehash()
+: <a class="el" href="classModule.html#a35">Module</a><li>OnRawSocketAccept()
+: <a class="el" href="classModule.html#a52">Module</a><li>OnRawSocketClose()
+: <a class="el" href="classModule.html#a54">Module</a><li>OnRawSocketRead()
+: <a class="el" href="classModule.html#a55">Module</a><li>OnRawSocketWrite()
+: <a class="el" href="classModule.html#a53">Module</a><li>OnRehash()
: <a class="el" href="classModule.html#a10">Module</a><li>OnRequest()
: <a class="el" href="classModule.html#a46">Module</a><li>OnSendList()
: <a class="el" href="classModule.html#a31">Module</a><li>OnServerRaw()
@@ -304,17 +313,17 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classModeParameter.html#o1">ModeParameter</a><li>params_when_off
: <a class="el" href="classExtMode.html#o3">ExtMode</a><li>params_when_on
: <a class="el" href="classExtMode.html#o2">ExtMode</a><li>PartUserFromChannel()
-: <a class="el" href="classServer.html#a27">Server</a><li>pass
+: <a class="el" href="classServer.html#a29">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="classConnectClass.html#o4">ConnectClass</a>, <a class="el" href="classserverrec.html#o1">serverrec</a><li>port
: <a class="el" href="classconnection.html#o9">connection</a>, <a class="el" href="classircd__connector.html#o2">ircd_connector</a><li>PseudoToUser()
-: <a class="el" href="classServer.html#a37">Server</a></ul>
+: <a class="el" href="classServer.html#a39">Server</a></ul>
<h3><a name="index_q">- q -</a>
</h3><ul>
<li>QuitUser()
-: <a class="el" href="classServer.html#a29">Server</a></ul>
+: <a class="el" href="classServer.html#a31">Server</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>readerror
@@ -323,11 +332,13 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classConfigReader.html#a5">ConfigReader</a><li>ReadValue()
: <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="classconnection.html#a6">connection</a><li>registered
+: <a class="el" href="classconnection.html#a6">connection</a><li>recvq
+: <a class="el" href="classuserrec.html#o15">userrec</a><li>registered
: <a class="el" href="classconnection.html#o10">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>Request()
-: <a class="el" href="classRequest.html#a0">Request</a><li>result
+: <a class="el" href="classRequest.html#a0">Request</a><li>reset_due
+: <a class="el" href="classuserrec.html#o17">userrec</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#a3">DNS</a><li>Revision
: <a class="el" href="classVersion.html#o2">Version</a><li>routes
@@ -337,16 +348,17 @@ Here is a list of all class members with links to the classes they belong to:<h3
<li>secret
: <a class="el" href="classchanrec.html#o14">chanrec</a><li>Send()
: <a class="el" href="classServer.html#a4">Server</a>, <a class="el" href="classEvent.html#a4">Event</a>, <a class="el" href="classRequest.html#a4">Request</a>, <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a><li>SendChannel()
-: <a class="el" href="classServer.html#a8">Server</a><li>SendCommon()
-: <a class="el" href="classServer.html#a10">Server</a><li>SendFrom()
-: <a class="el" href="classServer.html#a6">Server</a><li>SendMode()
-: <a class="el" href="classServer.html#a24">Server</a><li>SendOpers()
+: <a class="el" href="classServer.html#a9">Server</a><li>SendChannelServerNotice()
+: <a class="el" href="classServer.html#a6">Server</a><li>SendCommon()
+: <a class="el" href="classServer.html#a11">Server</a><li>SendFrom()
+: <a class="el" href="classServer.html#a7">Server</a><li>SendMode()
+: <a class="el" href="classServer.html#a26">Server</a><li>SendOpers()
: <a class="el" href="classServer.html#a2">Server</a><li>SendPacket()
: <a class="el" href="classconnection.html#a5">connection</a><li>SendServ()
: <a class="el" href="classServer.html#a5">Server</a><li>SendTo()
-: <a class="el" href="classServer.html#a7">Server</a><li>SendToModeMask()
-: <a class="el" href="classServer.html#a25">Server</a><li>SendWallops()
-: <a class="el" href="classServer.html#a11">Server</a><li>Server()
+: <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask()
+: <a class="el" href="classServer.html#a27">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>server
: <a class="el" href="classuserrec.html#o6">userrec</a><li>servername
: <a class="el" href="classircd__connector.html#r2">ircd_connector</a><li>serverrec()
@@ -363,7 +375,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classDNS.html#a8">DNS</a><li>SetServerName()
: <a class="el" href="classircd__connector.html#a2">ircd_connector</a><li>SetServerPort()
: <a class="el" href="classircd__connector.html#a11">ircd_connector</a><li>SetState()
-: <a class="el" href="classircd__connector.html#a6">ircd_connector</a><li>Shrink()
+: <a class="el" href="classircd__connector.html#a6">ircd_connector</a><li>SetVersionString()
+: <a class="el" href="classircd__connector.html#a18">ircd_connector</a><li>Shrink()
: <a class="el" href="classExtensible.html#a1">Extensible</a><li>signon
: <a class="el" href="classconnection.html#o13">connection</a><li>source
: <a class="el" href="classXLine.html#o2">XLine</a>, <a class="el" href="classEvent.html#p1">Event</a>, <a class="el" href="classRequest.html#p1">Request</a>, <a class="el" href="classcommand__t.html#o6">command_t</a><li>state
@@ -373,7 +386,8 @@ Here is a list of all class members with links to the classes they belong to:<h3
</h3><ul>
<li>t
: <a class="el" href="classDNS.html#r2">DNS</a><li>TerminateLink()
-: <a class="el" href="classconnection.html#a4">connection</a><li>timeout
+: <a class="el" href="classconnection.html#a4">connection</a><li>threshold
+: <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#o10">userrec</a><li>topic
: <a class="el" href="classchanrec.html#o4">chanrec</a><li>topiclock
: <a class="el" href="classchanrec.html#o10">chanrec</a><li>topicset
@@ -390,13 +404,13 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classserverrec.html#o2">serverrec</a><li>userrec()
: <a class="el" href="classuserrec.html#a0">userrec</a><li>users
: <a class="el" href="classchanrec.html#o2">chanrec</a><li>UserToPseudo()
-: <a class="el" href="classServer.html#a36">Server</a></ul>
+: <a class="el" href="classServer.html#a38">Server</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>Verify()
-: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>version
-: <a class="el" href="classserverrec.html#o6">serverrec</a><li>Version()
-: <a class="el" href="classVersion.html#a0">Version</a></ul>
+: <a class="el" href="classConfigReader.html#a8">ConfigReader</a><li>Version()
+: <a class="el" href="classVersion.html#a0">Version</a><li>version
+: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a></ul>
<h3><a name="index_~">- ~ -</a>
</h3><ul>
<li>~chanrec()
@@ -412,7 +426,7 @@ Here is a list of all class members with links to the classes they belong to:<h3
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html
index 41dd60c14..48c9b3079 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -14,53 +14,54 @@
<h3><a name="index_a">- a -</a>
</h3><ul>
<li>AddBuffer()
-: <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand()
-: <a class="el" href="classServer.html#a23">Server</a><li>AddELine()
-: <a class="el" href="classServer.html#a42">Server</a><li>AddExtendedListMode()
-: <a class="el" href="classServer.html#a22">Server</a><li>AddExtendedMode()
-: <a class="el" href="classServer.html#a21">Server</a><li>AddGLine()
-: <a class="el" href="classServer.html#a38">Server</a><li>AddIncoming()
+: <a class="el" href="classuserrec.html#a8">userrec</a>, <a class="el" href="classircd__connector.html#a14">ircd_connector</a><li>AddCommand()
+: <a class="el" href="classServer.html#a25">Server</a><li>AddELine()
+: <a class="el" href="classServer.html#a44">Server</a><li>AddExtendedListMode()
+: <a class="el" href="classServer.html#a24">Server</a><li>AddExtendedMode()
+: <a class="el" href="classServer.html#a23">Server</a><li>AddGLine()
+: <a class="el" href="classServer.html#a40">Server</a><li>AddIncoming()
: <a class="el" href="classconnection.html#a8">connection</a><li>AddKLine()
-: <a class="el" href="classServer.html#a41">Server</a><li>AddQLine()
-: <a class="el" href="classServer.html#a39">Server</a><li>AddUser()
+: <a class="el" href="classServer.html#a43">Server</a><li>AddQLine()
+: <a class="el" href="classServer.html#a41">Server</a><li>AddUser()
: <a class="el" href="classchanrec.html#a7">chanrec</a><li>AddZLine()
-: <a class="el" href="classServer.html#a40">Server</a><li>Admin()
+: <a class="el" href="classServer.html#a42">Server</a><li>Admin()
: <a class="el" href="classAdmin.html#a0">Admin</a></ul>
<h3><a name="index_b">- b -</a>
</h3><ul>
<li>BeginLink()
: <a class="el" href="classconnection.html#a2">connection</a><li>BufferIsComplete()
-: <a class="el" href="classircd__connector.html#a15">ircd_connector</a></ul>
+: <a class="el" href="classircd__connector.html#a15">ircd_connector</a><li>BufferIsReady()
+: <a class="el" href="classuserrec.html#a9">userrec</a></ul>
<h3><a name="index_c">- c -</a>
</h3><ul>
<li>CalcDuration()
-: <a class="el" href="classServer.html#a48">Server</a><li>CallCommandHandler()
-: <a class="el" href="classServer.html#a31">Server</a><li>ChangeGECOS()
-: <a class="el" href="classServer.html#a33">Server</a><li>ChangeHost()
-: <a class="el" href="classServer.html#a32">Server</a><li>ChangeUserNick()
-: <a class="el" href="classServer.html#a28">Server</a><li>ChanMode()
-: <a class="el" href="classServer.html#a16">Server</a><li>chanrec()
+: <a class="el" href="classServer.html#a50">Server</a><li>CallCommandHandler()
+: <a class="el" href="classServer.html#a33">Server</a><li>ChangeGECOS()
+: <a class="el" href="classServer.html#a35">Server</a><li>ChangeHost()
+: <a class="el" href="classServer.html#a34">Server</a><li>ChangeUserNick()
+: <a class="el" href="classServer.html#a30">Server</a><li>ChanMode()
+: <a class="el" href="classServer.html#a18">Server</a><li>chanrec()
: <a class="el" href="classchanrec.html#a10">chanrec</a><li>classbase()
: <a class="el" href="classclassbase.html#a0">classbase</a><li>ClearBuffer()
-: <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection()
+: <a class="el" href="classuserrec.html#a10">userrec</a>, <a class="el" href="classircd__connector.html#a16">ircd_connector</a><li>CloseConnection()
: <a class="el" href="classircd__connector.html#a13">ircd_connector</a><li>CommonChannels()
-: <a class="el" href="classServer.html#a9">Server</a><li>ConfigReader()
+: <a class="el" href="classServer.html#a10">Server</a><li>ConfigReader()
: <a class="el" href="classConfigReader.html#a1">ConfigReader</a><li>ConnectClass()
: <a class="el" href="classConnectClass.html#a0">ConnectClass</a><li>connection()
: <a class="el" href="classconnection.html#a0">connection</a><li>CountUsers()
-: <a class="el" href="classServer.html#a13">Server</a><li>CreateListener()
+: <a class="el" href="classServer.html#a14">Server</a><li>CreateListener()
: <a class="el" href="classconnection.html#a1">connection</a><li>CreateModule()
: <a class="el" href="classModuleFactory.html#a2">ModuleFactory</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<li>DecUserCounter()
: <a class="el" href="classchanrec.html#a5">chanrec</a><li>DelELine()
-: <a class="el" href="classServer.html#a47">Server</a><li>DelGLine()
-: <a class="el" href="classServer.html#a43">Server</a><li>DelKLine()
-: <a class="el" href="classServer.html#a46">Server</a><li>DelQLine()
-: <a class="el" href="classServer.html#a44">Server</a><li>DelUser()
+: <a class="el" href="classServer.html#a49">Server</a><li>DelGLine()
+: <a class="el" href="classServer.html#a45">Server</a><li>DelKLine()
+: <a class="el" href="classServer.html#a48">Server</a><li>DelQLine()
+: <a class="el" href="classServer.html#a46">Server</a><li>DelUser()
: <a class="el" href="classchanrec.html#a8">chanrec</a><li>DelZLine()
-: <a class="el" href="classServer.html#a45">Server</a><li>DNS()
+: <a class="el" href="classServer.html#a47">Server</a><li>DNS()
: <a class="el" href="classDNS.html#a1">DNS</a><li>dns_aton4()
: <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()
@@ -91,17 +92,17 @@
<li>FileReader()
: <a class="el" href="classFileReader.html#a1">FileReader</a><li>FileSize()
: <a class="el" href="classFileReader.html#a6">FileReader</a><li>FindChannel()
-: <a class="el" href="classServer.html#a15">Server</a><li>FindHost()
+: <a class="el" href="classServer.html#a17">Server</a><li>FindDescriptor()
+: <a class="el" href="classServer.html#a16">Server</a><li>FindHost()
: <a class="el" href="classconnection.html#a7">connection</a><li>FindModule()
-: <a class="el" href="classServer.html#a57">Server</a><li>FindNick()
-: <a class="el" href="classServer.html#a14">Server</a><li>ForwardLookup()
+: <a class="el" href="classServer.html#a59">Server</a><li>FindNick()
+: <a class="el" href="classServer.html#a15">Server</a><li>ForwardLookup()
: <a class="el" href="classDNS.html#a4">DNS</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
-<li>GenKey()
-: <a class="el" href="classconnection.html#a9">connection</a><li>GetAdmin()
-: <a class="el" href="classServer.html#a20">Server</a><li>GetBuffer()
-: <a class="el" href="classircd__connector.html#a17">ircd_connector</a><li>GetData()
+<li>GetAdmin()
+: <a class="el" href="classServer.html#a22">Server</a><li>GetBuffer()
+: <a class="el" href="classuserrec.html#a11">userrec</a>, <a class="el" href="classircd__connector.html#a17">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()
: <a class="el" href="classircd__connector.html#a8">ircd_connector</a><li>GetDescriptor()
: <a class="el" href="classircd__connector.html#a3">ircd_connector</a><li>GetDest()
@@ -114,16 +115,17 @@
: <a class="el" href="classuserrec.html#a3">userrec</a><li>GetLine()
: <a class="el" href="classFileReader.html#a5">FileReader</a><li>GetModeParameter()
: <a class="el" href="classchanrec.html#a3">chanrec</a><li>GetNetworkName()
-: <a class="el" href="classServer.html#a19">Server</a><li>GetResult()
+: <a class="el" href="classServer.html#a21">Server</a><li>GetResult()
: <a class="el" href="classDNS.html#a6">DNS</a><li>GetServerIP()
: <a class="el" href="classircd__connector.html#a7">ircd_connector</a><li>GetServerName()
-: <a class="el" href="classServer.html#a18">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort()
+: <a class="el" href="classServer.html#a20">Server</a>, <a class="el" href="classircd__connector.html#a1">ircd_connector</a><li>GetServerPort()
: <a class="el" href="classircd__connector.html#a10">ircd_connector</a><li>GetSource()
: <a class="el" href="classEvent.html#a2">Event</a>, <a class="el" href="classRequest.html#a2">Request</a><li>GetState()
: <a class="el" href="classircd__connector.html#a5">ircd_connector</a><li>GetUserCounter()
: <a class="el" href="classchanrec.html#a6">chanrec</a><li>GetUsers()
-: <a class="el" href="classServer.html#a35">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion()
-: <a class="el" href="classModule.html#a2">Module</a></ul>
+: <a class="el" href="classServer.html#a37">Server</a>, <a class="el" href="classchanrec.html#a9">chanrec</a><li>GetVersion()
+: <a class="el" href="classModule.html#a2">Module</a><li>GetVersionString()
+: <a class="el" href="classircd__connector.html#a19">ircd_connector</a></ul>
<h3><a name="index_h">- h -</a>
</h3><ul>
<li>HasPermission()
@@ -137,14 +139,14 @@
: <a class="el" href="classuserrec.html#a5">userrec</a><li>IsCustomModeSet()
: <a class="el" href="classchanrec.html#a2">chanrec</a><li>IsInvited()
: <a class="el" href="classuserrec.html#a4">userrec</a><li>IsNick()
-: <a class="el" href="classServer.html#a12">Server</a><li>IsOnChannel()
-: <a class="el" href="classServer.html#a17">Server</a><li>IsUlined()
-: <a class="el" href="classServer.html#a34">Server</a><li>IsValidMask()
-: <a class="el" href="classServer.html#a49">Server</a></ul>
+: <a class="el" href="classServer.html#a13">Server</a><li>IsOnChannel()
+: <a class="el" href="classServer.html#a19">Server</a><li>IsUlined()
+: <a class="el" href="classServer.html#a36">Server</a><li>IsValidMask()
+: <a class="el" href="classServer.html#a51">Server</a></ul>
<h3><a name="index_j">- j -</a>
</h3><ul>
<li>JoinUserToChannel()
-: <a class="el" href="classServer.html#a26">Server</a></ul>
+: <a class="el" href="classServer.html#a28">Server</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>LoadFile()
@@ -154,22 +156,23 @@
</h3><ul>
<li>MakeOutboundConnection()
: <a class="el" href="classircd__connector.html#a0">ircd_connector</a><li>MatchText()
-: <a class="el" href="classServer.html#a30">Server</a><li>MeshCheckChan()
-: <a class="el" href="classServer.html#a55">Server</a><li>MeshCheckCommon()
-: <a class="el" href="classServer.html#a56">Server</a><li>MeshCookie()
+: <a class="el" href="classServer.html#a32">Server</a><li>MeshCheckChan()
+: <a class="el" href="classServer.html#a57">Server</a><li>MeshCheckCommon()
+: <a class="el" href="classServer.html#a58">Server</a><li>MeshCookie()
: <a class="el" href="classconnection.html#a3">connection</a><li>MeshSendAll()
-: <a class="el" href="classServer.html#a50">Server</a><li>MeshSendAllAlive()
-: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllExcept()
-: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendCommon()
-: <a class="el" href="classServer.html#a51">Server</a><li>MeshSendUnicast()
-: <a class="el" href="classServer.html#a53">Server</a><li>Module()
+: <a class="el" href="classServer.html#a52">Server</a><li>MeshSendAllAlive()
+: <a class="el" href="classServer.html#a54">Server</a><li>MeshSendAllExcept()
+: <a class="el" href="classServer.html#a56">Server</a><li>MeshSendCommon()
+: <a class="el" href="classServer.html#a53">Server</a><li>MeshSendUnicast()
+: <a class="el" href="classServer.html#a55">Server</a><li>Module()
: <a class="el" href="classModule.html#a0">Module</a><li>ModuleFactory()
: <a class="el" href="classModuleFactory.html#a0">ModuleFactory</a></ul>
<h3><a name="index_o">- o -</a>
</h3><ul>
<li>On005Numeric()
: <a class="el" href="classModule.html#a27">Module</a><li>OnAccessCheck()
-: <a class="el" href="classModule.html#a24">Module</a><li>OnBackgroundTimer()
+: <a class="el" href="classModule.html#a24">Module</a><li>OnAddBan()
+: <a class="el" href="classModule.html#a50">Module</a><li>OnBackgroundTimer()
: <a class="el" href="classModule.html#a30">Module</a><li>OnChangeLocalUserGECOS()
: <a class="el" href="classModule.html#a42">Module</a><li>OnChangeLocalUserHost()
: <a class="el" href="classModule.html#a41">Module</a><li>OnChannelSync()
@@ -178,7 +181,8 @@
: <a class="el" href="classModule.html#a36">Module</a><li>OnCheckKey()
: <a class="el" href="classModule.html#a37">Module</a><li>OnCheckLimit()
: <a class="el" href="classModule.html#a38">Module</a><li>OnCheckReady()
-: <a class="el" href="classModule.html#a33">Module</a><li>OnEvent()
+: <a class="el" href="classModule.html#a33">Module</a><li>OnDelBan()
+: <a class="el" href="classModule.html#a51">Module</a><li>OnEvent()
: <a class="el" href="classModule.html#a45">Module</a><li>OnExtendedMode()
: <a class="el" href="classModule.html#a12">Module</a><li>OnGlobalConnect()
: <a class="el" href="classModule.html#a49">Module</a><li>OnGlobalOper()
@@ -193,7 +197,11 @@
: <a class="el" href="classModule.html#a9">Module</a><li>OnPacketTransmit()
: <a class="el" href="classModule.html#a8">Module</a><li>OnPreCommand()
: <a class="el" href="classModule.html#a32">Module</a><li>OnRawMode()
-: <a class="el" href="classModule.html#a35">Module</a><li>OnRehash()
+: <a class="el" href="classModule.html#a35">Module</a><li>OnRawSocketAccept()
+: <a class="el" href="classModule.html#a52">Module</a><li>OnRawSocketClose()
+: <a class="el" href="classModule.html#a54">Module</a><li>OnRawSocketRead()
+: <a class="el" href="classModule.html#a55">Module</a><li>OnRawSocketWrite()
+: <a class="el" href="classModule.html#a53">Module</a><li>OnRehash()
: <a class="el" href="classModule.html#a10">Module</a><li>OnRequest()
: <a class="el" href="classModule.html#a46">Module</a><li>OnSendList()
: <a class="el" href="classModule.html#a31">Module</a><li>OnServerRaw()
@@ -219,12 +227,12 @@
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>PartUserFromChannel()
-: <a class="el" href="classServer.html#a27">Server</a><li>PseudoToUser()
-: <a class="el" href="classServer.html#a37">Server</a></ul>
+: <a class="el" href="classServer.html#a29">Server</a><li>PseudoToUser()
+: <a class="el" href="classServer.html#a39">Server</a></ul>
<h3><a name="index_q">- q -</a>
</h3><ul>
<li>QuitUser()
-: <a class="el" href="classServer.html#a29">Server</a></ul>
+: <a class="el" href="classServer.html#a31">Server</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>ReadFlag()
@@ -239,16 +247,17 @@
</h3><ul>
<li>Send()
: <a class="el" href="classServer.html#a4">Server</a>, <a class="el" href="classEvent.html#a4">Event</a>, <a class="el" href="classRequest.html#a4">Request</a>, <a class="el" href="classModuleMessage.html#a0">ModuleMessage</a><li>SendChannel()
-: <a class="el" href="classServer.html#a8">Server</a><li>SendCommon()
-: <a class="el" href="classServer.html#a10">Server</a><li>SendFrom()
-: <a class="el" href="classServer.html#a6">Server</a><li>SendMode()
-: <a class="el" href="classServer.html#a24">Server</a><li>SendOpers()
+: <a class="el" href="classServer.html#a9">Server</a><li>SendChannelServerNotice()
+: <a class="el" href="classServer.html#a6">Server</a><li>SendCommon()
+: <a class="el" href="classServer.html#a11">Server</a><li>SendFrom()
+: <a class="el" href="classServer.html#a7">Server</a><li>SendMode()
+: <a class="el" href="classServer.html#a26">Server</a><li>SendOpers()
: <a class="el" href="classServer.html#a2">Server</a><li>SendPacket()
: <a class="el" href="classconnection.html#a5">connection</a><li>SendServ()
: <a class="el" href="classServer.html#a5">Server</a><li>SendTo()
-: <a class="el" href="classServer.html#a7">Server</a><li>SendToModeMask()
-: <a class="el" href="classServer.html#a25">Server</a><li>SendWallops()
-: <a class="el" href="classServer.html#a11">Server</a><li>Server()
+: <a class="el" href="classServer.html#a8">Server</a><li>SendToModeMask()
+: <a class="el" href="classServer.html#a27">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="classchanrec.html#a0">chanrec</a><li>SetCustomModeParam()
@@ -260,7 +269,8 @@
: <a class="el" href="classDNS.html#a8">DNS</a><li>SetServerName()
: <a class="el" href="classircd__connector.html#a2">ircd_connector</a><li>SetServerPort()
: <a class="el" href="classircd__connector.html#a11">ircd_connector</a><li>SetState()
-: <a class="el" href="classircd__connector.html#a6">ircd_connector</a><li>Shrink()
+: <a class="el" href="classircd__connector.html#a6">ircd_connector</a><li>SetVersionString()
+: <a class="el" href="classircd__connector.html#a18">ircd_connector</a><li>Shrink()
: <a class="el" href="classExtensible.html#a1">Extensible</a></ul>
<h3><a name="index_t">- t -</a>
</h3><ul>
@@ -271,7 +281,7 @@
<li>ucrec()
: <a class="el" href="classucrec.html#a0">ucrec</a><li>userrec()
: <a class="el" href="classuserrec.html#a0">userrec</a><li>UserToPseudo()
-: <a class="el" href="classServer.html#a36">Server</a></ul>
+: <a class="el" href="classServer.html#a38">Server</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>Verify()
@@ -292,7 +302,7 @@
: <a class="el" href="classserverrec.html#a2">serverrec</a><li>~ucrec()
: <a class="el" href="classucrec.html#a1">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#a1">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html
index 232a0479a..26917e64b 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -99,7 +99,8 @@
</h3><ul>
<li>lastping
: <a class="el" href="classconnection.html#o12">connection</a><li>limit
-: <a class="el" href="classchanrec.html#o8">chanrec</a><li>list
+: <a class="el" href="classchanrec.html#o8">chanrec</a><li>lines_in
+: <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>
@@ -144,9 +145,11 @@
</h3><ul>
<li>readerror
: <a class="el" href="classConfigReader.html#p2">ConfigReader</a><li>reason
-: <a class="el" href="classXLine.html#o3">XLine</a><li>registered
+: <a class="el" href="classXLine.html#o3">XLine</a><li>recvq
+: <a class="el" href="classuserrec.html#o15">userrec</a><li>registered
: <a class="el" href="classconnection.html#o10">connection</a><li>registration_timeout
-: <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>result
+: <a class="el" href="classConnectClass.html#o1">ConnectClass</a><li>reset_due
+: <a class="el" href="classuserrec.html#o17">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="classVersion.html#o2">Version</a><li>routes
: <a class="el" href="classircd__connector.html#o3">ircd_connector</a></ul>
@@ -166,7 +169,8 @@
<h3><a name="index_t">- t -</a>
</h3><ul>
<li>t
-: <a class="el" href="classDNS.html#r2">DNS</a><li>timeout
+: <a class="el" href="classDNS.html#r2">DNS</a><li>threshold
+: <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#o10">userrec</a><li>topic
: <a class="el" href="classchanrec.html#o4">chanrec</a><li>topiclock
: <a class="el" href="classchanrec.html#o10">chanrec</a><li>topicset
@@ -184,8 +188,8 @@
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>version
-: <a class="el" href="classserverrec.html#o6">serverrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+: <a class="el" href="classserverrec.html#o6">serverrec</a>, <a class="el" href="classircd__connector.html#r5">ircd_connector</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html
index f60106e7b..e748fa3eb 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -32,7 +32,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="xline_8h.html#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#a40">modules.cpp</a><li>AdminEmail
+: <a class="el" href="modules_8cpp.html#a41">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()
@@ -51,19 +51,19 @@ 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#a8">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#a39">modules.cpp</a><li>ChangeDisplayedHost()
+: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>ChangeDisplayedHost()
: <a class="el" href="message_8h.html#a11">message.h</a><li>ChangeName()
: <a class="el" href="message_8h.html#a10">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#a18">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#a7">message.h</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>cmode()
+: <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>cmode()
: <a class="el" href="message_8h.html#a14">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
@@ -88,22 +88,23 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="modules_8cpp.html#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#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#a75">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#a6">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_reap
-: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>file_cache
+: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table
+: <a class="el" href="modules_8cpp.html#a38">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>
@@ -175,9 +176,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#a69">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#a69">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()
@@ -198,7 +199,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
<li>InvitedList
: <a class="el" href="users_8h.html#a6">users.h</a><li>InviteList
: <a class="el" href="channels_8h.html#a7">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#a74">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#a12">message.h</a><li>isnick()
@@ -224,16 +225,16 @@ 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#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#a1">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#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#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">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#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#a46">modules.cpp</a><li>MT_CHANNEL
+: <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>
@@ -266,7 +267,7 @@ Here is a list of all file members with links to the files they belong to:<h3><a
: <a class="el" href="xline_8h.html#a0">xline.h</a><li>restartpass
: <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#a47">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>safedelete()
@@ -313,7 +314,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#a3">channels.h</a><li>UCMODE_VOICE
: <a class="el" href="channels_8h.html#a1">channels.h</a><li>UDPportCount
: <a class="el" href="modules_8cpp.html#a31">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a30">channels.cpp</a><li>user_hash
-: <a class="el" href="modules_8cpp.html#a38">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>VERBOSE
@@ -326,7 +327,7 @@ 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_MAX
+: <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_z">- z -</a>
@@ -334,7 +335,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 Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html
index d8998d96b..b673ec510 100644
--- a/docs/module-doc/globals_defs.html
+++ b/docs/module-doc/globals_defs.html
@@ -92,7 +92,7 @@
: <a class="el" href="modules_8h.html#a22">modules.h</a><li>VF_STATIC
: <a class="el" href="modules_8h.html#a20">modules.h</a><li>VF_VENDOR
: <a class="el" href="modules_8h.html#a21">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html
index f972c317c..1cb50d3ce 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -47,7 +47,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#a75">commands.h</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
@@ -56,7 +56,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()
@@ -125,9 +125,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#a69">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#a69">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()
@@ -159,13 +159,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()
@@ -211,7 +211,7 @@
<li>zline_make_global()
: <a class="el" href="xline_8h.html#a26">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#a25">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html
index 7b6b38f78..2ac9ad07d 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -10,23 +10,23 @@
<p>
<ul>
<li>address_cache
-: <a class="el" href="modules_8cpp.html#a40">modules.cpp</a><li>BanList
+: <a class="el" href="modules_8cpp.html#a41">modules.cpp</a><li>BanList
: <a class="el" href="channels_8h.html#a5">channels.h</a><li>chan_hash
-: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>chanuserlist
+: <a class="el" href="modules_8cpp.html#a40">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#a6">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#a7">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#a38">modules.cpp</a><li>VoidPointer
+: <a class="el" href="modules_8cpp.html#a39">modules.cpp</a><li>VoidPointer
: <a class="el" href="base_8h.html#a0">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html
index a9891509e..36c958b8d 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -25,9 +25,9 @@
<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="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#a35">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a34">channels.cpp</a><li>custom_mode_params
: <a class="el" href="channels_8cpp.html#a38">channels.cpp</a></ul>
<h3><a name="index_d">- d -</a>
@@ -41,16 +41,17 @@
<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_reap
-: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">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><li>fd_reap
+: <a class="el" href="modules_8cpp.html#a27">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a26">channels.cpp</a><li>fd_ref_table
+: <a class="el" href="modules_8cpp.html#a38">modules.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>
+: <a class="el" href="modules_8cpp.html#a49">modules.cpp</a></ul>
<h3><a name="index_l">- l -</a>
</h3><ul>
<li>list
@@ -64,9 +65,9 @@
: <a class="el" href="modules_8cpp.html#a36">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a35">channels.cpp</a><li>MODCOUNT
: <a class="el" href="modules_8cpp.html#a1">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a1">channels.cpp</a><li>module_names
: <a class="el" href="modules_8cpp.html#a28">modules.cpp</a>, <a class="el" href="channels_8cpp.html#a27">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#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#a46">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a47">modules.cpp</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>nb_start
@@ -84,7 +85,7 @@
<li>restartpass
: <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#a47">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#a48">modules.cpp</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>ServerDesc
@@ -102,10 +103,10 @@
<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#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>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html
index f7ca3fd04..87900e9c9 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -58,7 +58,7 @@
<li><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a>
<li><a class="el" href="structStrHashComp.html">StrHashComp</a>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html
index 2ebb5c84c..8d7a4d765 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="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>InspIRCd Documentation</h1>
<p>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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-source.html b/docs/module-doc/message_8h-source.html
index 6902ce0e8..fac1f8833 100644
--- a/docs/module-doc/message_8h-source.html
+++ b/docs/module-doc/message_8h-source.html
@@ -53,11 +53,11 @@
00046 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a15">cstatus</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classchanrec.html">chanrec</a> *chan);
00047 <span class="keywordtype">int</span> <a class="code" href="message_8h.html#a16">has_channel</a>(<a class="code" href="classuserrec.html">userrec</a> *u, <a class="code" href="classchanrec.html">chanrec</a> *c);
00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a17">TidyBan</a>(<span class="keywordtype">char</span> *ban);
-00049 <span class="keywordtype">char</span>* <a class="code" href="message_8h.html#a18">chlist</a>(<a class="code" href="classuserrec.html">userrec</a> *user);
+00049 <span class="keywordtype">char</span>* <a class="code" href="message_8h.html#a18">chlist</a>(<a class="code" href="classuserrec.html">userrec</a> *user, <a class="code" href="classuserrec.html">userrec</a>* source);
00050 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#a19">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);
00051
00052 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/message_8h.html b/docs/module-doc/message_8h.html
index 1407037f2..f33caee98 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -54,7 +54,7 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="message_8h.html#a17">TidyBan</a> (char *ban)</td></tr>
-<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="message_8h.html#a18">chlist</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="message_8h.html#a18">chlist</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classuserrec.html">userrec</a> *source)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="message_8h.html#a19">send_network_quit</a> (const char *nick, const char *reason)</td></tr>
@@ -155,7 +155,7 @@
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00570">Server::ChangeHost()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00572">Server::ChangeHost()</a>. </td>
</tr>
</table>
<a name="a10" doxytag="message.h::ChangeName"></a><p>
@@ -195,7 +195,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00570">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00575">Server::ChangeGECOS()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00577">Server::ChangeGECOS()</a>. </td>
</tr>
</table>
<a name="a18" doxytag="message.h::chlist"></a><p>
@@ -207,9 +207,18 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00575">Server::Chang
<td class="md" nowrap valign="top"> char* chlist </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
- <td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>source</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
</tr>
</table>
@@ -331,7 +340,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00575">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00595">Server::ChanMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00602">Server::ChanMode()</a>. </td>
</tr>
</table>
<a name="a0" doxytag="message.h::common_channels"></a><p>
@@ -371,7 +380,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00595">Server::ChanM
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00548">Server::CommonChannels()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00550">Server::CommonChannels()</a>. </td>
</tr>
</table>
<a name="a15" doxytag="message.h::cstatus"></a><p>
@@ -449,7 +458,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00548">Server::Commo
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00600">Server::IsOnChannel()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00607">Server::IsOnChannel()</a>. </td>
</tr>
</table>
<a name="a9" doxytag="message.h::hasumode"></a><p>
@@ -547,7 +556,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUs
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUsers()</a>, and <a class="el" href="modules_8cpp-source.html#l00580">Server::IsNick()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00582">Server::IsNick()</a>. </td>
</tr>
</table>
<a name="a6" doxytag="message.h::NonBlocking"></a><p>
@@ -672,9 +681,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUs
<td>
<p>
-
-<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00476">Server::QuitUser()</a>. </td>
+ </td>
</tr>
</table>
<a name="a17" doxytag="message.h::TidyBan"></a><p>
@@ -735,7 +742,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00476">Server::QuitU
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 3454d6b52..b77c7e141 100644
--- a/docs/module-doc/mode_8h-source.html
+++ b/docs/module-doc/mode_8h-source.html
@@ -53,7 +53,7 @@
00046
00047
00048 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:43 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/mode_8h.html b/docs/module-doc/mode_8h.html
index 07fcd656a..86ae533fa 100644
--- a/docs/module-doc/mode_8h.html
+++ b/docs/module-doc/mode_8h.html
@@ -788,7 +788,7 @@
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:45 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index 6d4455628..79165ee67 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -114,111 +114,111 @@
00107
<a name="l00108"></a><a class="code" href="modules_8cpp.html#a37">00108</a> <span class="keyword">extern</span> FILE *<a class="code" href="channels_8cpp.html#a36">log_file</a>;
00109
-00110
-<a name="l00111"></a><a class="code" href="namespacenspace.html">00111</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a>
-00112 {
-00113 <span class="preprocessor">#ifdef GCC34</span>
-00114 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;in_addr&gt;
-00115 #else
-<a name="l00116"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00116</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;in_addr&gt;
-00117 #endif
-00118 {
-<a name="l00119"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">00119</a> size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &amp;a)<span class="keyword"> const</span>
-00120 <span class="keyword"> </span>{
-00121 size_t q;
-00122 memcpy(&amp;q,&amp;a,<span class="keyword">sizeof</span>(size_t));
-00123 <span class="keywordflow">return</span> q;
-00124 }
-00125 };
-00126 <span class="preprocessor">#ifdef GCC34</span>
-00127 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;string&gt;
-00128 #else
-<a name="l00129"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00129</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;string&gt;
-00130 #endif
-00131 {
-<a name="l00132"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">00132</a> size_t operator()(<span class="keyword">const</span> string &amp;s)<span class="keyword"> const</span>
-00133 <span class="keyword"> </span>{
-00134 <span class="keywordtype">char</span> a[MAXBUF];
-00135 <span class="keyword">static</span> <span class="keyword">struct </span>hash&lt;const char *&gt; strhash;
-00136 strlcpy(a,s.c_str(),MAXBUF);
-00137 strlower(a);
-00138 <span class="keywordflow">return</span> strhash(a);
-00139 }
-00140 };
-00141 }
-00142
-<a name="l00143"></a><a class="code" href="structStrHashComp.html">00143</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a>
-00144 {
-00145
-<a name="l00146"></a><a class="code" href="structStrHashComp.html#a0">00146</a> <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> string&amp; s1, <span class="keyword">const</span> string&amp; s2)<span class="keyword"> const</span>
-00147 <span class="keyword"> </span>{
-00148 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF];
-00149 strlcpy(a,s1.c_str(),MAXBUF);
-00150 strlcpy(b,s2.c_str(),MAXBUF);
-00151 strlower(a);
-00152 strlower(b);
-00153 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0);
-00154 }
-00155
-00156 };
-00157
-<a name="l00158"></a><a class="code" href="structInAddr__HashComp.html">00158</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>
-00159 {
-00160
-<a name="l00161"></a><a class="code" href="structInAddr__HashComp.html#a0">00161</a> <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &amp;s1, <span class="keyword">const</span> in_addr &amp;s2)<span class="keyword"> const</span>
-00162 <span class="keyword"> </span>{
-00163 size_t q;
-00164 size_t p;
-00165
-00166 memcpy(&amp;q,&amp;s1,<span class="keyword">sizeof</span>(size_t));
-00167 memcpy(&amp;p,&amp;s2,<span class="keyword">sizeof</span>(size_t));
-00168
-00169 <span class="keywordflow">return</span> (q == p);
-00170 }
-00171
-00172 };
-00173
+<a name="l00110"></a><a class="code" href="modules_8cpp.html#a38">00110</a> <span class="keyword">extern</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[65536];
+00111
+<a name="l00112"></a><a class="code" href="namespacenspace.html">00112</a> <span class="keyword">namespace </span><a class="code" href="channels_8cpp.html#a0">nspace</a>
+00113 {
+00114 <span class="preprocessor">#ifdef GCC34</span>
+00115 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;in_addr&gt;
+00116 #else
+<a name="l00117"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html">00117</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;in_addr&gt;
+00118 #endif
+00119 {
+<a name="l00120"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01in__addr_01_4.html#a0">00120</a> size_t operator()(<span class="keyword">const</span> <span class="keyword">struct</span> in_addr &amp;a)<span class="keyword"> const</span>
+00121 <span class="keyword"> </span>{
+00122 size_t q;
+00123 memcpy(&amp;q,&amp;a,<span class="keyword">sizeof</span>(size_t));
+00124 <span class="keywordflow">return</span> q;
+00125 }
+00126 };
+00127 <span class="preprocessor">#ifdef GCC34</span>
+00128 <span class="preprocessor"></span> <span class="keyword">template</span>&lt;&gt; <span class="keyword">struct </span>hash&lt;string&gt;
+00129 #else
+<a name="l00130"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">00130</a> template&lt;&gt; struct <a class="code" href="channels_8cpp.html#a0">nspace</a>::hash&lt;string&gt;
+00131 #endif
+00132 {
+<a name="l00133"></a><a class="code" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html#a0">00133</a> size_t operator()(<span class="keyword">const</span> string &amp;s)<span class="keyword"> const</span>
+00134 <span class="keyword"> </span>{
+00135 <span class="keywordtype">char</span> a[MAXBUF];
+00136 <span class="keyword">static</span> <span class="keyword">struct </span>hash&lt;const char *&gt; strhash;
+00137 strlcpy(a,s.c_str(),MAXBUF);
+00138 strlower(a);
+00139 <span class="keywordflow">return</span> strhash(a);
+00140 }
+00141 };
+00142 }
+00143
+<a name="l00144"></a><a class="code" href="structStrHashComp.html">00144</a> <span class="keyword">struct </span><a class="code" href="structStrHashComp.html">StrHashComp</a>
+00145 {
+00146
+<a name="l00147"></a><a class="code" href="structStrHashComp.html#a0">00147</a> <span class="keywordtype">bool</span> <a class="code" href="structStrHashComp.html#a0">operator()</a>(<span class="keyword">const</span> string&amp; s1, <span class="keyword">const</span> string&amp; s2)<span class="keyword"> const</span>
+00148 <span class="keyword"> </span>{
+00149 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF];
+00150 strlcpy(a,s1.c_str(),MAXBUF);
+00151 strlcpy(b,s2.c_str(),MAXBUF);
+00152 strlower(a);
+00153 strlower(b);
+00154 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0);
+00155 }
+00156
+00157 };
+00158
+<a name="l00159"></a><a class="code" href="structInAddr__HashComp.html">00159</a> <span class="keyword">struct </span><a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>
+00160 {
+00161
+<a name="l00162"></a><a class="code" href="structInAddr__HashComp.html#a0">00162</a> <span class="keywordtype">bool</span> <a class="code" href="structInAddr__HashComp.html#a0">operator()</a>(<span class="keyword">const</span> in_addr &amp;s1, <span class="keyword">const</span> in_addr &amp;s2)<span class="keyword"> const</span>
+00163 <span class="keyword"> </span>{
+00164 size_t q;
+00165 size_t p;
+00166
+00167 memcpy(&amp;q,&amp;s1,<span class="keyword">sizeof</span>(size_t));
+00168 memcpy(&amp;p,&amp;s2,<span class="keyword">sizeof</span>(size_t));
+00169
+00170 <span class="keywordflow">return</span> (q == p);
+00171 }
+00172
+00173 };
00174
-<a name="l00175"></a><a class="code" href="modules_8cpp.html#a38">00175</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, userrec*, nspace::hash&lt;string&gt;, <a class="code" href="structStrHashComp.html">StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a38">user_hash</a>;
-<a name="l00176"></a><a class="code" href="modules_8cpp.html#a39">00176</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, chanrec*, nspace::hash&lt;string&gt;, <a class="code" href="structStrHashComp.html">StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a39">chan_hash</a>;
-<a name="l00177"></a><a class="code" href="modules_8cpp.html#a40">00177</a> <span class="keyword">typedef</span> nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>&gt; <a class="code" href="modules_8cpp.html#a40">address_cache</a>;
-<a name="l00178"></a><a class="code" href="modules_8cpp.html#a41">00178</a> <span class="keyword">typedef</span> std::deque&lt;command_t&gt; <a class="code" href="modules_8cpp.html#a41">command_table</a>;
-00179
+00175
+<a name="l00176"></a><a class="code" href="modules_8cpp.html#a39">00176</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, userrec*, nspace::hash&lt;string&gt;, <a class="code" href="structStrHashComp.html">StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a39">user_hash</a>;
+<a name="l00177"></a><a class="code" href="modules_8cpp.html#a40">00177</a> <span class="keyword">typedef</span> nspace::hash_map&lt;std::string, chanrec*, nspace::hash&lt;string&gt;, <a class="code" href="structStrHashComp.html">StrHashComp</a>&gt; <a class="code" href="modules_8cpp.html#a40">chan_hash</a>;
+<a name="l00178"></a><a class="code" href="modules_8cpp.html#a41">00178</a> <span class="keyword">typedef</span> nspace::hash_map&lt;in_addr,string*, nspace::hash&lt;in_addr&gt;, <a class="code" href="structInAddr__HashComp.html">InAddr_HashComp</a>&gt; <a class="code" href="modules_8cpp.html#a41">address_cache</a>;
+<a name="l00179"></a><a class="code" href="modules_8cpp.html#a42">00179</a> <span class="keyword">typedef</span> std::deque&lt;command_t&gt; <a class="code" href="modules_8cpp.html#a42">command_table</a>;
00180
-<a name="l00181"></a><a class="code" href="modules_8cpp.html#a42">00181</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a42">clientlist</a>;
-<a name="l00182"></a><a class="code" href="modules_8cpp.html#a43">00182</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">chan_hash</a> <a class="code" href="modules_8cpp.html#a43">chanlist</a>;
-<a name="l00183"></a><a class="code" href="modules_8cpp.html#a44">00183</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a38">user_hash</a> <a class="code" href="modules_8cpp.html#a44">whowas</a>;
-<a name="l00184"></a><a class="code" href="modules_8cpp.html#a45">00184</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="l00185"></a><a class="code" href="modules_8cpp.html#a46">00185</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="l00186"></a><a class="code" href="modules_8cpp.html#a47">00186</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="l00187"></a><a class="code" href="modules_8cpp.html#a48">00187</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">address_cache</a> <a class="code" href="modules_8cpp.html#a48">IP</a>;
-00188
+00181
+<a name="l00182"></a><a class="code" href="modules_8cpp.html#a43">00182</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a43">clientlist</a>;
+<a name="l00183"></a><a class="code" href="modules_8cpp.html#a44">00183</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a40">chan_hash</a> <a class="code" href="modules_8cpp.html#a44">chanlist</a>;
+<a name="l00184"></a><a class="code" href="modules_8cpp.html#a45">00184</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a39">user_hash</a> <a class="code" href="modules_8cpp.html#a45">whowas</a>;
+<a name="l00185"></a><a class="code" href="modules_8cpp.html#a46">00185</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="l00186"></a><a class="code" href="modules_8cpp.html#a47">00186</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="l00187"></a><a class="code" href="modules_8cpp.html#a48">00187</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="l00188"></a><a class="code" href="modules_8cpp.html#a49">00188</a> <span class="keyword">extern</span> <a class="code" href="modules_8cpp.html#a41">address_cache</a> <a class="code" href="modules_8cpp.html#a49">IP</a>;
00189
-00190 <span class="comment">// class type for holding an extended mode character - internal to core</span>
-00191
-<a name="l00192"></a><a class="code" href="classExtMode.html">00192</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>
-00193 {
-00194 <span class="keyword">public</span>:
-<a name="l00195"></a><a class="code" href="classExtMode.html#o0">00195</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>;
-<a name="l00196"></a><a class="code" href="classExtMode.html#o1">00196</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>;
-<a name="l00197"></a><a class="code" href="classExtMode.html#o2">00197</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>;
-<a name="l00198"></a><a class="code" href="classExtMode.html#o3">00198</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>;
-<a name="l00199"></a><a class="code" href="classExtMode.html#o4">00199</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>;
-<a name="l00200"></a><a class="code" href="classExtMode.html#o5">00200</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>;
-<a name="l00201"></a><a class="code" href="classExtMode.html#a0">00201</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) { };
-00202 };
-00203
-<a name="l00204"></a><a class="code" href="modules_8cpp.html#a49">00204</a> <span class="keyword">typedef</span> std::vector&lt;ExtMode&gt; <a class="code" href="modules_8cpp.html#a49">ExtModeList</a>;
-<a name="l00205"></a><a class="code" href="modules_8cpp.html#a50">00205</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a50">ExtModeListIter</a>;
-00206
+00190
+00191 <span class="comment">// class type for holding an extended mode character - internal to core</span>
+00192
+<a name="l00193"></a><a class="code" href="classExtMode.html">00193</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>
+00194 {
+00195 <span class="keyword">public</span>:
+<a name="l00196"></a><a class="code" href="classExtMode.html#o0">00196</a> <span class="keywordtype">char</span> <a class="code" href="classExtMode.html#o0">modechar</a>;
+<a name="l00197"></a><a class="code" href="classExtMode.html#o1">00197</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o1">type</a>;
+<a name="l00198"></a><a class="code" href="classExtMode.html#o2">00198</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o2">params_when_on</a>;
+<a name="l00199"></a><a class="code" href="classExtMode.html#o3">00199</a> <span class="keywordtype">int</span> <a class="code" href="classExtMode.html#o3">params_when_off</a>;
+<a name="l00200"></a><a class="code" href="classExtMode.html#o4">00200</a> <span class="keywordtype">bool</span> <a class="code" href="classExtMode.html#o4">needsoper</a>;
+<a name="l00201"></a><a class="code" href="classExtMode.html#o5">00201</a> <span class="keywordtype">bool</span> <a class="code" href="channels_8cpp.html#a15">list</a>;
+<a name="l00202"></a><a class="code" href="classExtMode.html#a0">00202</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) { };
+00203 };
+00204
+<a name="l00205"></a><a class="code" href="modules_8cpp.html#a50">00205</a> <span class="keyword">typedef</span> std::vector&lt;ExtMode&gt; <a class="code" href="modules_8cpp.html#a50">ExtModeList</a>;
+<a name="l00206"></a><a class="code" href="modules_8cpp.html#a51">00206</a> <span class="keyword">typedef</span> ExtModeList::iterator <a class="code" href="modules_8cpp.html#a51">ExtModeListIter</a>;
00207
-<a name="l00208"></a><a class="code" href="modules_8cpp.html#a51">00208</a> <a class="code" href="modules_8cpp.html#a49">ExtModeList</a> <a class="code" href="modules_8cpp.html#a51">EMode</a>;
-00209
-00210 <span class="comment">// returns true if an extended mode character is in use</span>
-<a name="l00211"></a><a class="code" href="modules_8cpp.html#a52">00211</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)
-00212 {
-00213 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00214 <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
+<a name="l00209"></a><a class="code" href="modules_8cpp.html#a52">00209</a> <a class="code" href="modules_8cpp.html#a50">ExtModeList</a> <a class="code" href="modules_8cpp.html#a52">EMode</a>;
+00210
+00211 <span class="comment">// returns true if an extended mode character is in use</span>
+<a name="l00212"></a><a class="code" href="modules_8cpp.html#a53">00212</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)
+00213 {
+00214 <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++)
00215 {
00216 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
00217 {
@@ -228,662 +228,662 @@
00221 <span class="keywordflow">return</span> <span class="keyword">false</span>;
00222 }
00223
-<a name="l00224"></a><a class="code" href="modules_8cpp.html#a53">00224</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)
+<a name="l00224"></a><a class="code" href="modules_8cpp.html#a54">00224</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)
00225 {
-00226 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00227 <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++)
-00228 {
-00229 <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>))
-00230 {
-00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00232 }
-00233 }
-00234 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00235 }
-00236
-<a name="l00237"></a><a class="code" href="modules_8cpp.html#a54">00237</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)
-00238 {
-00239 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00240 <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++)
-00241 {
-00242 <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>))
-00243 {
-00244 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00245 }
-00246 }
-00247 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00248 }
-00249
-00250 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
-<a name="l00251"></a><a class="code" href="modules_8cpp.html#a55">00251</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)
-00252 {
-00253 <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++)
-00254 {
-00255 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00256 {
-00257 <span class="keywordflow">return</span> i-&gt;params_when_on;
-00258 }
-00259 }
-00260 <span class="keywordflow">return</span> 0;
-00261 }
-00262
-00263 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
-<a name="l00264"></a><a class="code" href="modules_8cpp.html#a56">00264</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)
-00265 {
-00266 <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++)
-00267 {
-00268 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00269 {
-00270 <span class="keywordflow">return</span> i-&gt;params_when_off;
-00271 }
-00272 }
-00273 <span class="keywordflow">return</span> 0;
-00274 }
-00275
-00276 <span class="comment">// returns true if an extended mode character is in use</span>
-<a name="l00277"></a><a class="code" href="modules_8cpp.html#a57">00277</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)
-00278 {
-00279 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) {
-00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00281 }
-00282 <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));
-00283 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00284 }
-00285
-00286 <span class="comment">// turns a mode into a listmode</span>
-<a name="l00287"></a><a class="code" href="modules_8cpp.html#a58">00287</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(<span class="keywordtype">char</span> modechar)
-00288 {
-00289 <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++)
-00290 {
-00291 <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>))
-00292 {
-00293 i-&gt;list = <span class="keyword">true</span>;
-00294 <span class="keywordflow">return</span>;
-00295 }
-00296 }
-00297 <span class="keywordflow">return</span>;
-00298 }
+00226 <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++)
+00227 {
+00228 <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>))
+00229 {
+00230 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00231 }
+00232 }
+00233 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00234 }
+00235
+<a name="l00236"></a><a class="code" href="modules_8cpp.html#a55">00236</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)
+00237 {
+00238 <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++)
+00239 {
+00240 <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>))
+00241 {
+00242 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00243 }
+00244 }
+00245 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00246 }
+00247
+00248 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
+<a name="l00249"></a><a class="code" href="modules_8cpp.html#a56">00249</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)
+00250 {
+00251 <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++)
+00252 {
+00253 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00254 {
+00255 <span class="keywordflow">return</span> i-&gt;params_when_on;
+00256 }
+00257 }
+00258 <span class="keywordflow">return</span> 0;
+00259 }
+00260
+00261 <span class="comment">// returns number of parameters for a custom mode when it is switched on</span>
+<a name="l00262"></a><a class="code" href="modules_8cpp.html#a57">00262</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)
+00263 {
+00264 <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++)
+00265 {
+00266 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00267 {
+00268 <span class="keywordflow">return</span> i-&gt;params_when_off;
+00269 }
+00270 }
+00271 <span class="keywordflow">return</span> 0;
+00272 }
+00273
+00274 <span class="comment">// returns true if an extended mode character is in use</span>
+<a name="l00275"></a><a class="code" href="modules_8cpp.html#a58">00275</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)
+00276 {
+00277 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) {
+00278 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00279 }
+00280 <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));
+00281 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00282 }
+00283
+00284 <span class="comment">// turns a mode into a listmode</span>
+<a name="l00285"></a><a class="code" href="modules_8cpp.html#a59">00285</a> <span class="keywordtype">void</span> <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(<span class="keywordtype">char</span> modechar)
+00286 {
+00287 <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++)
+00288 {
+00289 <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>))
+00290 {
+00291 i-&gt;list = <span class="keyword">true</span>;
+00292 <span class="keywordflow">return</span>;
+00293 }
+00294 }
+00295 <span class="keywordflow">return</span>;
+00296 }
+00297
+00298 <span class="comment">// version is a simple class for holding a modules version number</span>
00299
-00300 <span class="comment">// version is a simple class for holding a modules version number</span>
+<a name="l00300"></a><a class="code" href="classVersion.html#a0">00300</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) { };
00301
-<a name="l00302"></a><a class="code" href="classVersion.html#a0">00302</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) { };
+00302 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
00303
-00304 <span class="comment">// admin is a simple class for holding a server's administrative info</span>
+<a name="l00304"></a><a class="code" href="classAdmin.html#a0">00304</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) { };
00305
-<a name="l00306"></a><a class="code" href="classAdmin.html#a0">00306</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) { };
+<a name="l00306"></a><a class="code" href="classRequest.html#a0">00306</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) { };
00307
-<a name="l00308"></a><a class="code" href="classRequest.html#a0">00308</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) { };
-00309
-<a name="l00310"></a><a class="code" href="classRequest.html#a1">00310</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>()
-00311 {
-00312 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
-00313 }
-00314
-<a name="l00315"></a><a class="code" href="classRequest.html#a2">00315</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>()
-00316 {
-00317 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
-00318 }
-00319
-<a name="l00320"></a><a class="code" href="classRequest.html#a3">00320</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>()
-00321 {
-00322 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
-00323 }
-00324
-<a name="l00325"></a><a class="code" href="classRequest.html#a4">00325</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>()
-00326 {
-00327 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
-00328 {
-00329 <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>);
-00330 }
-00331 <span class="keywordflow">else</span>
-00332 {
-00333 <span class="keywordflow">return</span> NULL;
-00334 }
-00335 }
+<a name="l00308"></a><a class="code" href="classRequest.html#a1">00308</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a1">Request::GetData</a>()
+00309 {
+00310 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p0">data</a>;
+00311 }
+00312
+<a name="l00313"></a><a class="code" href="classRequest.html#a2">00313</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a2">Request::GetSource</a>()
+00314 {
+00315 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p1">source</a>;
+00316 }
+00317
+<a name="l00318"></a><a class="code" href="classRequest.html#a3">00318</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#a3">Request::GetDest</a>()
+00319 {
+00320 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#p2">dest</a>;
+00321 }
+00322
+<a name="l00323"></a><a class="code" href="classRequest.html#a4">00323</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#a4">Request::Send</a>()
+00324 {
+00325 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classRequest.html#p2">dest</a>)
+00326 {
+00327 <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>);
+00328 }
+00329 <span class="keywordflow">else</span>
+00330 {
+00331 <span class="keywordflow">return</span> NULL;
+00332 }
+00333 }
+00334
+<a name="l00335"></a><a class="code" href="classEvent.html#a0">00335</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) { };
00336
-<a name="l00337"></a><a class="code" href="classEvent.html#a0">00337</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) { };
-00338
-<a name="l00339"></a><a class="code" href="classEvent.html#a1">00339</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>()
-00340 {
-00341 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
-00342 }
-00343
-<a name="l00344"></a><a class="code" href="classEvent.html#a2">00344</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>()
-00345 {
-00346 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
-00347 }
-00348
-<a name="l00349"></a><a class="code" href="classEvent.html#a4">00349</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>()
-00350 {
-00351 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
-00352 <span class="keywordflow">return</span> NULL;
-00353 }
-00354
-<a name="l00355"></a><a class="code" href="classEvent.html#a3">00355</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>()
-00356 {
-00357 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
-00358 }
-00359
-00360
-<a name="l00361"></a><a class="code" href="classModule.html#a0">00361</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
-<a name="l00362"></a><a class="code" href="classModule.html#a1">00362</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
-<a name="l00363"></a><a class="code" href="classModule.html#a3">00363</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="l00364"></a><a class="code" href="classModule.html#a4">00364</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="l00365"></a><a class="code" href="classModule.html#a5">00365</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="l00366"></a><a class="code" href="classModule.html#a6">00366</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="l00367"></a><a class="code" href="classModule.html#a7">00367</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="l00368"></a><a class="code" href="classModule.html#a8">00368</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="l00369"></a><a class="code" href="classModule.html#a9">00369</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="l00370"></a><a class="code" href="classModule.html#a10">00370</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { }
-<a name="l00371"></a><a class="code" href="classModule.html#a11">00371</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="l00372"></a><a class="code" href="classModule.html#a13">00372</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="l00373"></a><a class="code" href="classModule.html#a12">00373</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="l00374"></a><a class="code" href="classModule.html#a2">00374</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="l00375"></a><a class="code" href="classModule.html#a16">00375</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="l00376"></a><a class="code" href="classModule.html#a17">00376</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="l00377"></a><a class="code" href="classModule.html#a18">00377</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="l00378"></a><a class="code" href="classModule.html#a19">00378</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="l00379"></a><a class="code" href="classModule.html#a20">00379</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="l00380"></a><a class="code" href="classModule.html#a21">00380</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="l00381"></a><a class="code" href="classModule.html#a22">00381</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="l00382"></a><a class="code" href="classModule.html#a23">00382</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="l00383"></a><a class="code" href="classModule.html#a24">00383</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="l00384"></a><a class="code" href="classModule.html#a25">00384</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="l00385"></a><a class="code" href="classModule.html#a26">00385</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="l00386"></a><a class="code" href="classModule.html#a27">00386</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &amp;output) { };
-<a name="l00387"></a><a class="code" href="classModule.html#a28">00387</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="l00388"></a><a class="code" href="classModule.html#a29">00388</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="l00389"></a><a class="code" href="classModule.html#a30">00389</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { };
-<a name="l00390"></a><a class="code" href="classModule.html#a31">00390</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="l00391"></a><a class="code" href="classModule.html#a32">00391</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="l00392"></a><a class="code" href="classModule.html#a33">00392</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="l00393"></a><a class="code" href="classModule.html#a34">00393</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="l00394"></a><a class="code" href="classModule.html#a14">00394</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="l00395"></a><a class="code" href="classModule.html#a15">00395</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="l00396"></a><a class="code" href="classModule.html#a35">00396</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="l00397"></a><a class="code" href="classModule.html#a36">00397</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="l00398"></a><a class="code" href="classModule.html#a37">00398</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="l00399"></a><a class="code" href="classModule.html#a38">00399</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="l00400"></a><a class="code" href="classModule.html#a39">00400</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="l00401"></a><a class="code" href="classModule.html#a40">00401</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { };
-<a name="l00402"></a><a class="code" href="classModule.html#a41">00402</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="l00403"></a><a class="code" href="classModule.html#a42">00403</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="l00404"></a><a class="code" href="classModule.html#a43">00404</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="l00405"></a><a class="code" href="classModule.html#a44">00405</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="l00406"></a><a class="code" href="classModule.html#a45">00406</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="l00407"></a><a class="code" href="classModule.html#a46">00407</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="l00408"></a><a class="code" href="classModule.html#a47">00408</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="l00409"></a><a class="code" href="classModule.html#a48">00409</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="l00410"></a><a class="code" href="classModule.html#a49">00410</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) { };
-00411
-00412 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
-00413 <span class="comment">// exports in the core</span>
-00414 <span class="comment">//</span>
-00415
-<a name="l00416"></a><a class="code" href="classServer.html#a0">00416</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
-00417 {
-00418 }
-00419
-<a name="l00420"></a><a class="code" href="classServer.html#a1">00420</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
-00421 {
-00422 }
-00423
-<a name="l00424"></a><a class="code" href="classServer.html#a2">00424</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s)
-00425 {
-00426 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00337"></a><a class="code" href="classEvent.html#a1">00337</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a1">Event::GetData</a>()
+00338 {
+00339 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p0">data</a>;
+00340 }
+00341
+<a name="l00342"></a><a class="code" href="classEvent.html#a2">00342</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#a2">Event::GetSource</a>()
+00343 {
+00344 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p1">source</a>;
+00345 }
+00346
+<a name="l00347"></a><a class="code" href="classEvent.html#a4">00347</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#a4">Event::Send</a>()
+00348 {
+00349 <a class="code" href="modules_8h.html#a24">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
+00350 <span class="keywordflow">return</span> NULL;
+00351 }
+00352
+<a name="l00353"></a><a class="code" href="classEvent.html#a3">00353</a> std::string <a class="code" href="classEvent.html#a3">Event::GetEventID</a>()
+00354 {
+00355 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#p2">id</a>;
+00356 }
+00357
+00358
+00359 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span>
+<a name="l00360"></a><a class="code" href="classModule.html#a0">00360</a> <a class="code" href="classModule.html#a0">Module::Module</a>() { }
+<a name="l00361"></a><a class="code" href="classModule.html#a1">00361</a> <a class="code" href="classModule.html#a1">Module::~Module</a>() { }
+<a name="l00362"></a><a class="code" href="classModule.html#a3">00362</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="l00363"></a><a class="code" href="classModule.html#a4">00363</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="l00364"></a><a class="code" href="classModule.html#a5">00364</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="l00365"></a><a class="code" href="classModule.html#a6">00365</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="l00366"></a><a class="code" href="classModule.html#a7">00366</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="l00367"></a><a class="code" href="classModule.html#a8">00367</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="l00368"></a><a class="code" href="classModule.html#a9">00368</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="l00369"></a><a class="code" href="classModule.html#a10">00369</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a10">Module::OnRehash</a>() { }
+<a name="l00370"></a><a class="code" href="classModule.html#a11">00370</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="l00371"></a><a class="code" href="classModule.html#a13">00371</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="l00372"></a><a class="code" href="classModule.html#a12">00372</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="l00373"></a><a class="code" href="classModule.html#a2">00373</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="l00374"></a><a class="code" href="classModule.html#a16">00374</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="l00375"></a><a class="code" href="classModule.html#a17">00375</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="l00376"></a><a class="code" href="classModule.html#a18">00376</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="l00377"></a><a class="code" href="classModule.html#a19">00377</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="l00378"></a><a class="code" href="classModule.html#a20">00378</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="l00379"></a><a class="code" href="classModule.html#a21">00379</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="l00380"></a><a class="code" href="classModule.html#a22">00380</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="l00381"></a><a class="code" href="classModule.html#a23">00381</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="l00382"></a><a class="code" href="classModule.html#a24">00382</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="l00383"></a><a class="code" href="classModule.html#a25">00383</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="l00384"></a><a class="code" href="classModule.html#a26">00384</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="l00385"></a><a class="code" href="classModule.html#a27">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a27">Module::On005Numeric</a>(std::string &amp;output) { };
+<a name="l00386"></a><a class="code" href="classModule.html#a28">00386</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="l00387"></a><a class="code" href="classModule.html#a29">00387</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="l00388"></a><a class="code" href="classModule.html#a30">00388</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a30">Module::OnBackgroundTimer</a>(time_t curtime) { };
+<a name="l00389"></a><a class="code" href="classModule.html#a31">00389</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="l00390"></a><a class="code" href="classModule.html#a32">00390</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="l00391"></a><a class="code" href="classModule.html#a33">00391</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="l00392"></a><a class="code" href="classModule.html#a34">00392</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="l00393"></a><a class="code" href="classModule.html#a14">00393</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="l00394"></a><a class="code" href="classModule.html#a15">00394</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="l00395"></a><a class="code" href="classModule.html#a35">00395</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="l00396"></a><a class="code" href="classModule.html#a36">00396</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="l00397"></a><a class="code" href="classModule.html#a37">00397</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="l00398"></a><a class="code" href="classModule.html#a38">00398</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="l00399"></a><a class="code" href="classModule.html#a39">00399</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="l00400"></a><a class="code" href="classModule.html#a40">00400</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a40">Module::OnStats</a>(<span class="keywordtype">char</span> symbol) { };
+<a name="l00401"></a><a class="code" href="classModule.html#a41">00401</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="l00402"></a><a class="code" href="classModule.html#a42">00402</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="l00403"></a><a class="code" href="classModule.html#a43">00403</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="l00404"></a><a class="code" href="classModule.html#a44">00404</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="l00405"></a><a class="code" href="classModule.html#a45">00405</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="l00406"></a><a class="code" href="classModule.html#a46">00406</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="l00407"></a><a class="code" href="classModule.html#a47">00407</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="l00408"></a><a class="code" href="classModule.html#a48">00408</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="l00409"></a><a class="code" href="classModule.html#a49">00409</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="l00410"></a><a class="code" href="classModule.html#a50">00410</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="l00411"></a><a class="code" href="classModule.html#a51">00411</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="l00412"></a><a class="code" href="classModule.html#a52">00412</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="l00413"></a><a class="code" href="classModule.html#a53">00413</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="l00414"></a><a class="code" href="classModule.html#a54">00414</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { };
+<a name="l00415"></a><a class="code" href="classModule.html#a55">00415</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; };
+00416
+00417 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
+00418 <span class="comment">// exports in the core</span>
+00419 <span class="comment">//</span>
+00420
+<a name="l00421"></a><a class="code" href="classServer.html#a0">00421</a> <a class="code" href="classServer.html#a0">Server::Server</a>()
+00422 {
+00423 }
+00424
+<a name="l00425"></a><a class="code" href="classServer.html#a1">00425</a> <a class="code" href="classServer.html#a1">Server::~Server</a>()
+00426 {
00427 }
00428
-<a name="l00429"></a><a class="code" href="classServer.html#a30">00429</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">Server::MatchText</a>(std::string sliteral, std::string spattern)
+<a name="l00429"></a><a class="code" href="classServer.html#a2">00429</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">Server::SendOpers</a>(std::string s)
00430 {
-00431 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-00432 strlcpy(literal,sliteral.c_str(),MAXBUF);
-00433 strlcpy(pattern,spattern.c_str(),MAXBUF);
-00434 <span class="keywordflow">return</span> match(literal,pattern);
-00435 }
-00436
-<a name="l00437"></a><a class="code" href="classServer.html#a25">00437</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">Server::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text)
-00438 {
-00439 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+00431 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+00432 }
+00433
+<a name="l00434"></a><a class="code" href="classServer.html#a32">00434</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">Server::MatchText</a>(std::string sliteral, std::string spattern)
+00435 {
+00436 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+00437 strlcpy(literal,sliteral.c_str(),MAXBUF);
+00438 strlcpy(pattern,spattern.c_str(),MAXBUF);
+00439 <span class="keywordflow">return</span> match(literal,pattern);
00440 }
00441
-<a name="l00442"></a><a class="code" href="classServer.html#a26">00442</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key)
+<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::SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text)
00443 {
-00444 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">true</span>);
+00444 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
00445 }
00446
-<a name="l00447"></a><a class="code" href="classServer.html#a27">00447</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason)
+<a name="l00447"></a><a class="code" href="classServer.html#a28">00447</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key)
00448 {
-00449 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+00449 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
00450 }
00451
-<a name="l00452"></a><a class="code" href="classServer.html#a35">00452</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a35">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
+<a name="l00452"></a><a class="code" href="classServer.html#a29">00452</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason)
00453 {
-00454 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
-00455 userl.clear();
-00456 <span class="keywordflow">for</span> (user_hash::const_iterator i = <a class="code" href="modules_8cpp.html#a42">clientlist</a>.begin(); i != <a class="code" href="modules_8cpp.html#a42">clientlist</a>.end(); i++)
-00457 {
-00458 <span class="keywordflow">if</span> (i-&gt;second)
-00459 {
-00460 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a16">has_channel</a>(i-&gt;second,chan))
-00461 {
-00462 <span class="keywordflow">if</span> (<a class="code" href="message_8h.html#a13">isnick</a>(i-&gt;second-&gt;nick))
-00463 {
-00464 userl.push_back(i-&gt;second);
-00465 }
-00466 }
-00467 }
-00468 }
-00469 <span class="keywordflow">return</span> userl;
-00470 }
-<a name="l00471"></a><a class="code" href="classServer.html#a28">00471</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname)
-00472 {
-00473 force_nickchange(user,nickname.c_str());
-00474 }
-00475
-<a name="l00476"></a><a class="code" href="classServer.html#a29">00476</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason)
-00477 {
-00478 <a class="code" href="message_8h.html#a19">send_network_quit</a>(user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>,reason.c_str());
-00479 kill_link(user,reason.c_str());
-00480 }
-00481
-<a name="l00482"></a><a class="code" href="classServer.html#a34">00482</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">Server::IsUlined</a>(std::string server)
-00483 {
-00484 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str());
-00485 }
-00486
-<a name="l00487"></a><a class="code" href="classServer.html#a31">00487</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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)
-00488 {
-00489 call_handler(commandname.c_str(),parameters,pcnt,user);
-00490 }
-00491
-<a name="l00492"></a><a class="code" href="classServer.html#a3">00492</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)
-00493 {
-00494 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-00495 }
-00496
-<a name="l00497"></a><a class="code" href="classServer.html#a23">00497</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">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)
-00498 {
-00499 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
-00500 }
-00501
-<a name="l00502"></a><a class="code" href="classServer.html#a24">00502</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
-00503 {
-00504 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
-00505 }
-00506
-<a name="l00507"></a><a class="code" href="classServer.html#a4">00507</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)
-00508 {
-00509 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00510 }
-00511
-<a name="l00512"></a><a class="code" href="classServer.html#a5">00512</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)
-00513 {
-00514 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-00515 }
-00516
-<a name="l00517"></a><a class="code" href="classServer.html#a6">00517</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s)
-00518 {
-00519 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00520 }
-00521
-<a name="l00522"></a><a class="code" href="classServer.html#a7">00522</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s)
-00523 {
-00524 <span class="keywordflow">if</span> (!Source)
-00525 {
-00526 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-00527 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());
-00528 }
-00529 <span class="keywordflow">else</span>
-00530 {
-00531 <span class="comment">// otherwise it comes from the user specified</span>
-00532 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-00533 }
-00534 }
-00535
-<a name="l00536"></a><a class="code" href="classServer.html#a8">00536</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">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)
-00537 {
-00538 <span class="keywordflow">if</span> (IncludeSender)
-00539 {
-00540 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00541 }
-00542 <span class="keywordflow">else</span>
-00543 {
-00544 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-00545 }
-00546 }
-00547
-<a name="l00548"></a><a class="code" href="classServer.html#a9">00548</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2)
-00549 {
-00550 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
-00551 }
-00552
-<a name="l00553"></a><a class="code" href="classServer.html#a10">00553</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender)
-00554 {
-00555 <span class="keywordflow">if</span> (IncludeSender)
-00556 {
-00557 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00558 }
-00559 <span class="keywordflow">else</span>
-00560 {
-00561 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-00562 }
-00563 }
-00564
-<a name="l00565"></a><a class="code" href="classServer.html#a11">00565</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text)
-00566 {
-00567 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-00568 }
-00569
-<a name="l00570"></a><a class="code" href="classServer.html#a32">00570</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host)
-00571 {
-00572 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str());
-00573 }
-00574
-<a name="l00575"></a><a class="code" href="classServer.html#a33">00575</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos)
-00576 {
-00577 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str());
-00578 }
-00579
-<a name="l00580"></a><a class="code" href="classServer.html#a12">00580</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">Server::IsNick</a>(std::string nick)
-00581 {
-00582 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0);
-00583 }
-00584
-<a name="l00585"></a><a class="code" href="classServer.html#a14">00585</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">Server::FindNick</a>(std::string nick)
-00586 {
-00587 <span class="keywordflow">return</span> Find(nick);
-00588 }
-00589
-<a name="l00590"></a><a class="code" href="classServer.html#a15">00590</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">Server::FindChannel</a>(std::string channel)
-00591 {
-00592 <span class="keywordflow">return</span> FindChan(channel.c_str());
-00593 }
-00594
-<a name="l00595"></a><a class="code" href="classServer.html#a16">00595</a> std::string <a class="code" href="classServer.html#a16">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-00596 {
-00597 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan);
-00598 }
-00599
-<a name="l00600"></a><a class="code" href="classServer.html#a17">00600</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-00601 {
-00602 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan);
-00603 }
-00604
-<a name="l00605"></a><a class="code" href="classServer.html#a18">00605</a> std::string <a class="code" href="classServer.html#a18">Server::GetServerName</a>()
-00606 {
-00607 <span class="keywordflow">return</span> getservername();
-00608 }
-00609
-<a name="l00610"></a><a class="code" href="classServer.html#a19">00610</a> std::string <a class="code" href="classServer.html#a19">Server::GetNetworkName</a>()
-00611 {
-00612 <span class="keywordflow">return</span> getnetworkname();
-00613 }
-00614
-<a name="l00615"></a><a class="code" href="classServer.html#a20">00615</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">Server::GetAdmin</a>()
-00616 {
-00617 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-00618 }
-00619
-00620
+00454 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+00455 }
+00456
+<a name="l00457"></a><a class="code" href="classServer.html#a37">00457</a> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
+00458 {
+00459 <a class="code" href="modules_8h.html#a33">chanuserlist</a> userl;
+00460 userl.clear();
+00461 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#a15">list</a> = chan-&gt;<a class="code" href="classchanrec.html#a9">GetUsers</a>();
+00462 <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++)
+00463 {
+00464 <span class="keywordtype">char</span>* o = *i;
+00465 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+00466 }
+00467 <span class="keywordflow">return</span> userl;
+00468 }
+<a name="l00469"></a><a class="code" href="classServer.html#a30">00469</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname)
+00470 {
+00471 force_nickchange(user,nickname.c_str());
+00472 }
+00473
+<a name="l00474"></a><a class="code" href="classServer.html#a31">00474</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason)
+00475 {
+00476 kill_link(user,reason.c_str());
+00477 }
+00478
+<a name="l00479"></a><a class="code" href="classServer.html#a36">00479</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">Server::IsUlined</a>(std::string server)
+00480 {
+00481 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a74">is_uline</a>(server.c_str());
+00482 }
+00483
+<a name="l00484"></a><a class="code" href="classServer.html#a33">00484</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">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)
+00485 {
+00486 call_handler(commandname.c_str(),parameters,pcnt,user);
+00487 }
+00488
+<a name="l00489"></a><a class="code" href="classServer.html#a3">00489</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)
+00490 {
+00491 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+00492 }
+00493
+<a name="l00494"></a><a class="code" href="classServer.html#a25">00494</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">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)
+00495 {
+00496 <a class="code" href="modules_8h.html#a35">createcommand</a>(cmd,f,flags,minparams,source);
+00497 }
+00498
+<a name="l00499"></a><a class="code" href="classServer.html#a26">00499</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
+00500 {
+00501 <a class="code" href="modules_8h.html#a36">server_mode</a>(parameters,pcnt,user);
+00502 }
+00503
+<a name="l00504"></a><a class="code" href="classServer.html#a4">00504</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)
+00505 {
+00506 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00507 }
+00508
+<a name="l00509"></a><a class="code" href="classServer.html#a5">00509</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)
+00510 {
+00511 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+00512 }
+00513
+<a name="l00514"></a><a class="code" href="classServer.html#a7">00514</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)
+00515 {
+00516 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00517 }
+00518
+<a name="l00519"></a><a class="code" href="classServer.html#a8">00519</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)
+00520 {
+00521 <span class="keywordflow">if</span> (!Source)
+00522 {
+00523 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+00524 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());
+00525 }
+00526 <span class="keywordflow">else</span>
+00527 {
+00528 <span class="comment">// otherwise it comes from the user specified</span>
+00529 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+00530 }
+00531 }
+00532
+<a name="l00533"></a><a class="code" href="classServer.html#a6">00533</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)
+00534 {
+00535 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+00536 }
+00537
+<a name="l00538"></a><a class="code" href="classServer.html#a9">00538</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)
+00539 {
+00540 <span class="keywordflow">if</span> (IncludeSender)
+00541 {
+00542 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00543 }
+00544 <span class="keywordflow">else</span>
+00545 {
+00546 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+00547 }
+00548 }
+00549
+<a name="l00550"></a><a class="code" href="classServer.html#a10">00550</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)
+00551 {
+00552 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a0">common_channels</a>(u1,u2) != 0);
+00553 }
+00554
+<a name="l00555"></a><a class="code" href="classServer.html#a11">00555</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)
+00556 {
+00557 <span class="keywordflow">if</span> (IncludeSender)
+00558 {
+00559 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00560 }
+00561 <span class="keywordflow">else</span>
+00562 {
+00563 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+00564 }
+00565 }
+00566
+<a name="l00567"></a><a class="code" href="classServer.html#a12">00567</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)
+00568 {
+00569 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+00570 }
+00571
+<a name="l00572"></a><a class="code" href="classServer.html#a34">00572</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host)
+00573 {
+00574 <a class="code" href="message_8h.html#a11">ChangeDisplayedHost</a>(user,host.c_str());
+00575 }
+00576
+<a name="l00577"></a><a class="code" href="classServer.html#a35">00577</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos)
+00578 {
+00579 <a class="code" href="message_8h.html#a10">ChangeName</a>(user,gecos.c_str());
+00580 }
+00581
+<a name="l00582"></a><a class="code" href="classServer.html#a13">00582</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">Server::IsNick</a>(std::string nick)
+00583 {
+00584 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#a13">isnick</a>(nick.c_str()) != 0);
+00585 }
+00586
+<a name="l00587"></a><a class="code" href="classServer.html#a15">00587</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">Server::FindNick</a>(std::string nick)
+00588 {
+00589 <span class="keywordflow">return</span> Find(nick);
+00590 }
+00591
+<a name="l00592"></a><a class="code" href="classServer.html#a16">00592</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)
+00593 {
+00594 <span class="keywordflow">return</span> (socket &lt; 65536 ? <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[socket] : NULL);
+00595 }
+00596
+<a name="l00597"></a><a class="code" href="classServer.html#a17">00597</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">Server::FindChannel</a>(std::string channel)
+00598 {
+00599 <span class="keywordflow">return</span> FindChan(channel.c_str());
+00600 }
+00601
+<a name="l00602"></a><a class="code" href="classServer.html#a18">00602</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)
+00603 {
+00604 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a14">cmode</a>(User,Chan);
+00605 }
+00606
+<a name="l00607"></a><a class="code" href="classServer.html#a19">00607</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)
+00608 {
+00609 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#a16">has_channel</a>(User,Chan);
+00610 }
+00611
+<a name="l00612"></a><a class="code" href="classServer.html#a20">00612</a> std::string <a class="code" href="classServer.html#a20">Server::GetServerName</a>()
+00613 {
+00614 <span class="keywordflow">return</span> getservername();
+00615 }
+00616
+<a name="l00617"></a><a class="code" href="classServer.html#a21">00617</a> std::string <a class="code" href="classServer.html#a21">Server::GetNetworkName</a>()
+00618 {
+00619 <span class="keywordflow">return</span> getnetworkname();
+00620 }
00621
-<a name="l00622"></a><a class="code" href="classServer.html#a21">00622</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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)
+<a name="l00622"></a><a class="code" href="classServer.html#a22">00622</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">Server::GetAdmin</a>()
00623 {
-00624 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
-00625 {
-00626 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>);
-00627 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00628 }
-00629 <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>))
-00630 {
-00631 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>);
-00632 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00633 }
-00634 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-00635 {
-00636 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>);
-00637 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00638 }
-00639 <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);
-00640 }
-00641
-<a name="l00642"></a><a class="code" href="classServer.html#a22">00642</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
-00643 {
-00644 <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);
-00645 <span class="keywordflow">if</span> (res)
-00646 <a class="code" href="modules_8cpp.html#a58">ModeMakeList</a>(modechar);
-00647 <span class="keywordflow">return</span> res;
-00648 }
-00649
-<a name="l00650"></a><a class="code" href="classServer.html#a13">00650</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c)
-00651 {
-00652 <span class="keywordflow">return</span> usercount(c);
-00653 }
-00654
-00655
-<a name="l00656"></a><a class="code" href="classServer.html#a36">00656</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message)
-00657 {
-00658 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00659 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00660 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());
-00661 close(old_fd);
-00662 shutdown (old_fd,2);
+00624 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
+00625 }
+00626
+00627
+00628
+<a name="l00629"></a><a class="code" href="classServer.html#a23">00629</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">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)
+00630 {
+00631 <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>)))
+00632 {
+00633 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#a7">MT_SERVER</a>)
+00634 {
+00635 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>);
+00636 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00637 }
+00638 <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>))
+00639 {
+00640 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>);
+00641 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00642 }
+00643 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+00644 {
+00645 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>);
+00646 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00647 }
+00648 <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);
+00649 }
+00650 <span class="keywordflow">else</span>
+00651 {
+00652 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+00653 }
+00654 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00655 }
+00656
+<a name="l00657"></a><a class="code" href="classServer.html#a24">00657</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
+00658 {
+00659 <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);
+00660 <span class="keywordflow">if</span> (res)
+00661 <a class="code" href="modules_8cpp.html#a59">ModeMakeList</a>(modechar);
+00662 <span class="keywordflow">return</span> res;
00663 }
00664
-<a name="l00665"></a><a class="code" href="classServer.html#a37">00665</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message)
+<a name="l00665"></a><a class="code" href="classServer.html#a14">00665</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)
00666 {
-00667 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
-00668 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
-00669 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>);
-00670 kill_link(alive,message.c_str());
-00671 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-00672 {
-00673 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> != NULL)
-00674 {
-00675 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a>-&gt;<a class="code" href="classchanrec.html#o0">name</a>)
-00676 {
-00677 <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>;
-00678 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00679 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>)
-00680 {
-00681 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o4">topic</a>);
-00682 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o7">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>);
-00683 }
-00684 userlist(zombie,Ptr);
-00685 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#o0">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
-00686 <span class="comment">//WriteServ(zombie-&gt;fd,"324 %s %s +%s",zombie-&gt;nick, Ptr-&gt;name,chanmodes(Ptr));</span>
-00687 <span class="comment">//WriteServ(zombie-&gt;fd,"329 %s %s %d", zombie-&gt;nick, Ptr-&gt;name, Ptr-&gt;created);</span>
-00688
-00689 }
-00690 }
-00691 }
-00692
-00693 }
-00694
-<a name="l00695"></a><a class="code" href="classServer.html#a38">00695</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a38">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00696 {
-00697 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00698 }
-00699
-<a name="l00700"></a><a class="code" href="classServer.html#a39">00700</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a39">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname)
-00701 {
-00702 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
-00703 }
+00667 <span class="keywordflow">return</span> usercount(c);
+00668 }
+00669
+00670
+<a name="l00671"></a><a class="code" href="classServer.html#a38">00671</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message)
+00672 {
+00673 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00674 user-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00675 user-&gt;<a class="code" href="classuserrec.html#a10">ClearBuffer</a>();
+00676 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());
+00677 shutdown(old_fd,2);
+00678 close(old_fd);
+00679 }
+00680
+<a name="l00681"></a><a class="code" href="classServer.html#a39">00681</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message)
+00682 {
+00683 zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a> = alive-&gt;<a class="code" href="classconnection.html#o0">fd</a>;
+00684 alive-&gt;<a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="modules_8h.html#a26">FD_MAGIC_NUMBER</a>;
+00685 alive-&gt;<a class="code" href="classuserrec.html#a10">ClearBuffer</a>();
+00686 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>);
+00687 kill_link(alive,message.c_str());
+00688 <a class="code" href="modules_8cpp.html#a38">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#o0">fd</a>] = zombie;
+00689 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+00690 {
+00691 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel != NULL)
+00692 {
+00693 <span class="keywordflow">if</span> (zombie-&gt;chans[i].channel-&gt;name)
+00694 {
+00695 <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>;
+00696 WriteFrom(zombie-&gt;fd,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#o0">name</a>);
+00697 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>)
+00698 {
+00699 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#o4">topic</a>);
+00700 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#o7">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#o6">topicset</a>);
+00701 }
+00702 userlist(zombie,Ptr);
+00703 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>);
00704
-<a name="l00705"></a><a class="code" href="classServer.html#a40">00705</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr)
-00706 {
-00707 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
-00708 }
-00709
-<a name="l00710"></a><a class="code" href="classServer.html#a41">00710</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00711 {
-00712 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00713 }
-00714
-<a name="l00715"></a><a class="code" href="classServer.html#a42">00715</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
-00716 {
-00717 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-00718 }
-00719
-<a name="l00720"></a><a class="code" href="classServer.html#a43">00720</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a43">Server::DelGLine</a>(std::string hostmask)
-00721 {
-00722 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
-00723 }
-00724
-<a name="l00725"></a><a class="code" href="classServer.html#a44">00725</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a44">Server::DelQLine</a>(std::string nickname)
-00726 {
-00727 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
-00728 }
-00729
-<a name="l00730"></a><a class="code" href="classServer.html#a45">00730</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">Server::DelZLine</a>(std::string ipaddr)
-00731 {
-00732 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
-00733 }
-00734
-<a name="l00735"></a><a class="code" href="classServer.html#a46">00735</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelKLine</a>(std::string hostmask)
-00736 {
-00737 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
-00738 }
-00739
-<a name="l00740"></a><a class="code" href="classServer.html#a47">00740</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelELine</a>(std::string hostmask)
-00741 {
-00742 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
-00743 }
-00744
-<a name="l00745"></a><a class="code" href="classServer.html#a48">00745</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a48">Server::CalcDuration</a>(std::string delta)
-00746 {
-00747 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str());
-00748 }
-00749
-<a name="l00750"></a><a class="code" href="classServer.html#a49">00750</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::IsValidMask</a>(std::string mask)
-00751 {
-00752 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-00753 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-00754 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00755 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
-00756 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00757 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00758 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-00759 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00760 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00761 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-00762 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00763 <span class="keywordtype">int</span> c = 0;
-00764 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00765 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-00766 c++;
-00767 <span class="keywordflow">if</span> (c&gt;1)
-00768 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00769 c = 0;
-00770 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-00771 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-00772 c++;
-00773 <span class="keywordflow">if</span> (c&gt;1)
-00774 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00775
-00776 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00777 }
-00778
-<a name="l00779"></a><a class="code" href="classServer.html#a50">00779</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a50">Server::MeshSendAll</a>(std::string text)
-00780 {
-00781 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
-00782 }
-00783
-<a name="l00784"></a><a class="code" href="classServer.html#a51">00784</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a51">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text)
-00785 {
-00786 <span class="keywordflow">if</span> (user)
-00787 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
-00788 }
-00789
-<a name="l00790"></a><a class="code" href="classServer.html#a52">00790</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">Server::MeshSendAllAlive</a>(std::string text)
-00791 {
-00792 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
+00705 }
+00706 }
+00707 }
+00708
+00709 }
+00710
+<a name="l00711"></a><a class="code" href="classServer.html#a40">00711</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">Server::AddGLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00712 {
+00713 <a class="code" href="xline_8h.html#a1">add_gline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00714 }
+00715
+<a name="l00716"></a><a class="code" href="classServer.html#a41">00716</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">Server::AddQLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string nickname)
+00717 {
+00718 <a class="code" href="xline_8h.html#a2">add_qline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
+00719 }
+00720
+<a name="l00721"></a><a class="code" href="classServer.html#a42">00721</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">Server::AddZLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string ipaddr)
+00722 {
+00723 <a class="code" href="xline_8h.html#a3">add_zline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
+00724 }
+00725
+<a name="l00726"></a><a class="code" href="classServer.html#a43">00726</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">Server::AddKLine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00727 {
+00728 <a class="code" href="xline_8h.html#a4">add_kline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00729 }
+00730
+<a name="l00731"></a><a class="code" href="classServer.html#a44">00731</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">Server::AddELine</a>(<span class="keywordtype">long</span> duration, std::string source, std::string reason, std::string hostmask)
+00732 {
+00733 <a class="code" href="xline_8h.html#a5">add_eline</a>(<a class="code" href="commands_8h.html#a75">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+00734 }
+00735
+<a name="l00736"></a><a class="code" href="classServer.html#a45">00736</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">Server::DelGLine</a>(std::string hostmask)
+00737 {
+00738 <a class="code" href="xline_8h.html#a6">del_gline</a>(hostmask.c_str());
+00739 }
+00740
+<a name="l00741"></a><a class="code" href="classServer.html#a46">00741</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">Server::DelQLine</a>(std::string nickname)
+00742 {
+00743 <a class="code" href="xline_8h.html#a7">del_qline</a>(nickname.c_str());
+00744 }
+00745
+<a name="l00746"></a><a class="code" href="classServer.html#a47">00746</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">Server::DelZLine</a>(std::string ipaddr)
+00747 {
+00748 <a class="code" href="xline_8h.html#a8">del_zline</a>(ipaddr.c_str());
+00749 }
+00750
+<a name="l00751"></a><a class="code" href="classServer.html#a48">00751</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">Server::DelKLine</a>(std::string hostmask)
+00752 {
+00753 <a class="code" href="xline_8h.html#a9">del_kline</a>(hostmask.c_str());
+00754 }
+00755
+<a name="l00756"></a><a class="code" href="classServer.html#a49">00756</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">Server::DelELine</a>(std::string hostmask)
+00757 {
+00758 <a class="code" href="xline_8h.html#a10">del_eline</a>(hostmask.c_str());
+00759 }
+00760
+<a name="l00761"></a><a class="code" href="classServer.html#a50">00761</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">Server::CalcDuration</a>(std::string delta)
+00762 {
+00763 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#a75">duration</a>(delta.c_str());
+00764 }
+00765
+<a name="l00766"></a><a class="code" href="classServer.html#a51">00766</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">Server::IsValidMask</a>(std::string mask)
+00767 {
+00768 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+00769 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
+00770 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00771 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+00772 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00773 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00774 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+00775 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00776 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00777 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+00778 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00779 <span class="keywordtype">int</span> c = 0;
+00780 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00781 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+00782 c++;
+00783 <span class="keywordflow">if</span> (c&gt;1)
+00784 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00785 c = 0;
+00786 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+00787 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+00788 c++;
+00789 <span class="keywordflow">if</span> (c&gt;1)
+00790 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00791
+00792 <span class="keywordflow">return</span> <span class="keyword">true</span>;
00793 }
00794
-<a name="l00795"></a><a class="code" href="classServer.html#a53">00795</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendUnicast</a>(std::string destination, std::string text)
+<a name="l00795"></a><a class="code" href="classServer.html#a52">00795</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">Server::MeshSendAll</a>(std::string text)
00796 {
-00797 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00797 NetSendToAll((<span class="keywordtype">char</span>*)text.c_str());
00798 }
00799
-<a name="l00800"></a><a class="code" href="classServer.html#a54">00800</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendAllExcept</a>(std::string target, std::string text)
+<a name="l00800"></a><a class="code" href="classServer.html#a53">00800</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">Server::MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text)
00801 {
-00802 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
-00803 }
-00804
-<a name="l00805"></a><a class="code" href="classServer.html#a55">00805</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a55">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername)
-00806 {
-00807 <span class="keywordflow">if</span> (c)
-00808 {
-00809 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
-00810 }
-00811 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00812 }
-00813
-<a name="l00814"></a><a class="code" href="classServer.html#a56">00814</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a56">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername)
-00815 {
-00816 <span class="keywordflow">if</span> (u)
-00817 {
-00818 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
-00819 }
-00820 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00821 }
-00822
-<a name="l00823"></a><a class="code" href="classServer.html#a57">00823</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a57">Server::FindModule</a>(std::string name)
-00824 {
-00825 <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++)
-00826 {
-00827 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name)
-00828 {
-00829 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
-00830 }
-00831 }
-00832 <span class="keywordflow">return</span> NULL;
-00833 }
-00834
-<a name="l00835"></a><a class="code" href="classConfigReader.html#a0">00835</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
-00836 {
-00837 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00838 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00839 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-00840 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00841 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00842 }
-00843
-00844
-<a name="l00845"></a><a class="code" href="classConfigReader.html#a2">00845</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
-00846 {
-00847 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
-00848 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
-00849 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
-00850 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-00851 }
-00852
-00853
-<a name="l00854"></a><a class="code" href="classConfigReader.html#a1">00854</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename)
-00855 {
-00856 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00857 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-00858 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>);
-00859 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
-00860 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
-00861 };
-00862
-<a name="l00863"></a><a class="code" href="classConfigReader.html#a3">00863</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)
-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="stringliteral">""</span>;
-00875 }
-00876 <span class="keywordflow">return</span> std::string(val);
-00877 }
+00802 <span class="keywordflow">if</span> (user)
+00803 NetSendToCommon(user,(<span class="keywordtype">char</span>*)text.c_str());
+00804 }
+00805
+<a name="l00806"></a><a class="code" href="classServer.html#a54">00806</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">Server::MeshSendAllAlive</a>(std::string text)
+00807 {
+00808 NetSendToAllAlive((<span class="keywordtype">char</span>*)text.c_str());
+00809 }
+00810
+<a name="l00811"></a><a class="code" href="classServer.html#a55">00811</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">Server::MeshSendUnicast</a>(std::string destination, std::string text)
+00812 {
+00813 NetSendToOne((<span class="keywordtype">char</span>*)destination.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00814 }
+00815
+<a name="l00816"></a><a class="code" href="classServer.html#a56">00816</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">Server::MeshSendAllExcept</a>(std::string target, std::string text)
+00817 {
+00818 NetSendToAllExcept(target.c_str(),(<span class="keywordtype">char</span>*)text.c_str());
+00819 }
+00820
+<a name="l00821"></a><a class="code" href="classServer.html#a57">00821</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">Server::MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername)
+00822 {
+00823 <span class="keywordflow">if</span> (c)
+00824 {
+00825 <span class="keywordflow">return</span> ChanAnyOnThisServer(c,(<span class="keywordtype">char</span>*)servername.c_str());
+00826 }
+00827 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00828 }
+00829
+<a name="l00830"></a><a class="code" href="classServer.html#a58">00830</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">Server::MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername)
+00831 {
+00832 <span class="keywordflow">if</span> (u)
+00833 {
+00834 <span class="keywordflow">return</span> CommonOnThisServer(u,(<span class="keywordtype">char</span>*)servername.c_str());
+00835 }
+00836 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00837 }
+00838
+<a name="l00839"></a><a class="code" href="classServer.html#a59">00839</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">Server::FindModule</a>(std::string name)
+00840 {
+00841 <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++)
+00842 {
+00843 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#a27">module_names</a>[i] == name)
+00844 {
+00845 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#a2">modules</a>[i];
+00846 }
+00847 }
+00848 <span class="keywordflow">return</span> NULL;
+00849 }
+00850
+<a name="l00851"></a><a class="code" href="classConfigReader.html#a0">00851</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>()
+00852 {
+00853 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00854 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00855 this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+00856 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00857 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00858 }
+00859
+00860
+<a name="l00861"></a><a class="code" href="classConfigReader.html#a2">00861</a> <a class="code" href="classConfigReader.html#a2">ConfigReader::~ConfigReader</a>()
+00862 {
+00863 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>)
+00864 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a>;
+00865 <span class="keywordflow">if</span> (this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>)
+00866 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+00867 }
+00868
+00869
+<a name="l00870"></a><a class="code" href="classConfigReader.html#a1">00870</a> <a class="code" href="classConfigReader.html#a0">ConfigReader::ConfigReader</a>(std::string filename)
+00871 {
+00872 this-&gt;<a class="code" href="classConfigReader.html#p0">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00873 this-&gt;<a class="code" href="classConfigReader.html#p1">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+00874 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>);
+00875 <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>)
+00876 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a30">CONF_FILE_NOT_FOUND</a>;
+00877 };
00878
-<a name="l00879"></a><a class="code" href="classConfigReader.html#a4">00879</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)
+<a name="l00879"></a><a class="code" href="classConfigReader.html#a3">00879</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)
00880 {
00881 <span class="keywordtype">char</span> val[MAXBUF];
00882 <span class="keywordtype">char</span> t[MAXBUF];
@@ -894,152 +894,168 @@
00887 <span class="keywordflow">if</span> (!res)
00888 {
00889 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00890 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00890 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
00891 }
-00892 std::string s = val;
-00893 <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>));
-00894 }
-00895
-<a name="l00896"></a><a class="code" href="classConfigReader.html#a5">00896</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)
-00897 {
-00898 <span class="keywordtype">char</span> val[MAXBUF];
-00899 <span class="keywordtype">char</span> t[MAXBUF];
-00900 <span class="keywordtype">char</span> n[MAXBUF];
-00901 strlcpy(t,tag.c_str(),MAXBUF);
-00902 strlcpy(n,name.c_str(),MAXBUF);
-00903 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
-00904 <span class="keywordflow">if</span> (!res)
-00905 {
-00906 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
-00907 <span class="keywordflow">return</span> 0;
-00908 }
-00909 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-00910 {
-00911 <span class="keywordflow">if</span> (!isdigit(val[i]))
-00912 {
-00913 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
-00914 <span class="keywordflow">return</span> 0;
-00915 }
-00916 }
-00917 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-00918 {
-00919 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
-00920 <span class="keywordflow">return</span> 0;
-00921 }
-00922 <span class="keywordflow">return</span> atoi(val);
-00923 }
-00924
-<a name="l00925"></a><a class="code" href="classConfigReader.html#a6">00925</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>()
-00926 {
-00927 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
-00928 this-&gt;error = 0;
-00929 <span class="keywordflow">return</span> olderr;
-00930 }
-00931
-<a name="l00932"></a><a class="code" href="classConfigReader.html#a9">00932</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)
-00933 {
-00934 <span class="keywordflow">if</span> (bail)
-00935 {
-00936 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());
-00937 exit(0);
-00938 }
-00939 <span class="keywordflow">else</span>
-00940 {
-00941 <span class="keywordtype">char</span> dataline[1024];
-00942 <span class="keywordflow">if</span> (user)
-00943 {
-00944 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>);
-00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00946 {
-00947 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00948 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);
-00949 }
-00950 }
-00951 <span class="keywordflow">else</span>
-00952 {
-00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
-00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
-00955 {
-00956 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
-00957 WriteOpers(dataline);
-00958 }
-00959 }
-00960 <span class="keywordflow">return</span>;
-00961 }
-00962 }
-00963
-00964
-<a name="l00965"></a><a class="code" href="classConfigReader.html#a7">00965</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag)
-00966 {
-00967 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str());
-00968 }
-00969
-<a name="l00970"></a><a class="code" href="classConfigReader.html#a10">00970</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)
-00971 {
-00972 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index);
-00973 }
-00974
-<a name="l00975"></a><a class="code" href="classConfigReader.html#a8">00975</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>()
-00976 {
-00977 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00892 <span class="keywordflow">return</span> std::string(val);
+00893 }
+00894
+<a name="l00895"></a><a class="code" href="classConfigReader.html#a4">00895</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)
+00896 {
+00897 <span class="keywordtype">char</span> val[MAXBUF];
+00898 <span class="keywordtype">char</span> t[MAXBUF];
+00899 <span class="keywordtype">char</span> n[MAXBUF];
+00900 strlcpy(t,tag.c_str(),MAXBUF);
+00901 strlcpy(n,name.c_str(),MAXBUF);
+00902 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
+00903 <span class="keywordflow">if</span> (!res)
+00904 {
+00905 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00906 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00907 }
+00908 std::string s = val;
+00909 <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>));
+00910 }
+00911
+<a name="l00912"></a><a class="code" href="classConfigReader.html#a5">00912</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)
+00913 {
+00914 <span class="keywordtype">char</span> val[MAXBUF];
+00915 <span class="keywordtype">char</span> t[MAXBUF];
+00916 <span class="keywordtype">char</span> n[MAXBUF];
+00917 strlcpy(t,tag.c_str(),MAXBUF);
+00918 strlcpy(n,name.c_str(),MAXBUF);
+00919 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#p0">cache</a>,t,n,index,val);
+00920 <span class="keywordflow">if</span> (!res)
+00921 {
+00922 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a29">CONF_VALUE_NOT_FOUND</a>;
+00923 <span class="keywordflow">return</span> 0;
+00924 }
+00925 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+00926 {
+00927 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00928 {
+00929 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_A_NUMBER</a>;
+00930 <span class="keywordflow">return</span> 0;
+00931 }
+00932 }
+00933 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+00934 {
+00935 this-&gt;<a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_NOT_UNSIGNED</a>;
+00936 <span class="keywordflow">return</span> 0;
+00937 }
+00938 <span class="keywordflow">return</span> atoi(val);
+00939 }
+00940
+<a name="l00941"></a><a class="code" href="classConfigReader.html#a6">00941</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">ConfigReader::GetError</a>()
+00942 {
+00943 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#p3">error</a>;
+00944 this-&gt;error = 0;
+00945 <span class="keywordflow">return</span> olderr;
+00946 }
+00947
+<a name="l00948"></a><a class="code" href="classConfigReader.html#a9">00948</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)
+00949 {
+00950 <span class="keywordflow">if</span> (bail)
+00951 {
+00952 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());
+00953 exit(0);
+00954 }
+00955 <span class="keywordflow">else</span>
+00956 {
+00957 <span class="keywordtype">char</span> dataline[1024];
+00958 <span class="keywordflow">if</span> (user)
+00959 {
+00960 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>);
+00961 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00962 {
+00963 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00964 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);
+00965 }
+00966 }
+00967 <span class="keywordflow">else</span>
+00968 {
+00969 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#o0">nick</a>);
+00970 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;eof())
+00971 {
+00972 <a class="code" href="classConfigReader.html#p1">errorlog</a>-&gt;getline(dataline,1024);
+00973 WriteOpers(dataline);
+00974 }
+00975 }
+00976 <span class="keywordflow">return</span>;
+00977 }
00978 }
00979
00980
-<a name="l00981"></a><a class="code" href="classFileReader.html#a1">00981</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename)
+<a name="l00981"></a><a class="code" href="classConfigReader.html#a7">00981</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">ConfigReader::Enumerate</a>(std::string tag)
00982 {
-00983 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00984 readfile(c,filename.c_str());
-00985 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00986 }
-00987
-<a name="l00988"></a><a class="code" href="classFileReader.html#a0">00988</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
-00989 {
-00990 }
-00991
-<a name="l00992"></a><a class="code" href="classFileReader.html#a3">00992</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename)
-00993 {
-00994 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
-00995 readfile(c,filename.c_str());
-00996 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
-00997 }
-00998
-00999
-<a name="l01000"></a><a class="code" href="classFileReader.html#a2">01000</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
-01001 {
+00983 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#p0">cache</a>,tag.c_str());
+00984 }
+00985
+<a name="l00986"></a><a class="code" href="classConfigReader.html#a10">00986</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)
+00987 {
+00988 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#p0">cache</a>, tag.c_str(), index);
+00989 }
+00990
+<a name="l00991"></a><a class="code" href="classConfigReader.html#a8">00991</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">ConfigReader::Verify</a>()
+00992 {
+00993 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#p2">readerror</a>;
+00994 }
+00995
+00996
+<a name="l00997"></a><a class="code" href="classFileReader.html#a1">00997</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>(std::string filename)
+00998 {
+00999 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+01000 readfile(c,filename.c_str());
+01001 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
01002 }
01003
-<a name="l01004"></a><a class="code" href="classFileReader.html#a4">01004</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>()
+<a name="l01004"></a><a class="code" href="classFileReader.html#a0">01004</a> <a class="code" href="classFileReader.html#a0">FileReader::FileReader</a>()
01005 {
-01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
-01007 {
-01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-01009 }
-01010 <span class="keywordflow">else</span>
-01011 {
-01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-01013 }
-01014 }
+01006 }
+01007
+<a name="l01008"></a><a class="code" href="classFileReader.html#a3">01008</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">FileReader::LoadFile</a>(std::string filename)
+01009 {
+01010 <a class="code" href="modules_8h.html#a31">file_cache</a> c;
+01011 readfile(c,filename.c_str());
+01012 this-&gt;<a class="code" href="classFileReader.html#r0">fc</a> = c;
+01013 }
+01014
01015
-<a name="l01016"></a><a class="code" href="classFileReader.html#a5">01016</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
+<a name="l01016"></a><a class="code" href="classFileReader.html#a2">01016</a> <a class="code" href="classFileReader.html#a2">FileReader::~FileReader</a>()
01017 {
-01018 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
-01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
-01021 }
-01022
-<a name="l01023"></a><a class="code" href="classFileReader.html#a6">01023</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>()
-01024 {
-01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
-01026 }
-01027
-01028
-01029 std::vector&lt;Module*&gt; <a class="code" href="modules_8cpp.html#a59">modules</a>(255);
-01030 std::vector&lt;ircd_module*&gt; <a class="code" href="modules_8cpp.html#a60">factory</a>(255);
+01018 }
+01019
+<a name="l01020"></a><a class="code" href="classFileReader.html#a4">01020</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">FileReader::Exists</a>()
+01021 {
+01022 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#r0">fc</a>.size() == 0)
+01023 {
+01024 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+01025 }
+01026 <span class="keywordflow">else</span>
+01027 {
+01028 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+01029 }
+01030 }
01031
-<a name="l01032"></a><a class="code" href="modules_8cpp.html#a1">01032</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1;
-01033
-01034
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+<a name="l01032"></a><a class="code" href="classFileReader.html#a5">01032</a> std::string <a class="code" href="classFileReader.html#a5">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
+01033 {
+01034 <span class="keywordflow">if</span> ((x&lt;0) || (x&gt;<a class="code" href="classFileReader.html#r0">fc</a>.size()))
+01035 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+01036 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>[x];
+01037 }
+01038
+<a name="l01039"></a><a class="code" href="classFileReader.html#a6">01039</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileReader::FileSize</a>()
+01040 {
+01041 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#r0">fc</a>.size();
+01042 }
+01043
+01044
+01045 std::vector&lt;Module*&gt; <a class="code" href="modules_8cpp.html#a60">modules</a>(255);
+01046 std::vector&lt;ircd_module*&gt; <a class="code" href="modules_8cpp.html#a61">factory</a>(255);
+01047
+<a name="l01048"></a><a class="code" href="modules_8cpp.html#a1">01048</a> <span class="keywordtype">int</span> <a class="code" href="modules_8cpp.html#a1">MODCOUNT</a> = -1;
+01049
+01050
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index ead727c76..064629708 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -57,40 +57,40 @@
<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="structStrHashComp.html">StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a38">user_hash</a></td></tr>
+ string &gt;, <a class="el" href="structStrHashComp.html">StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">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="structStrHashComp.html">StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a39">chan_hash</a></td></tr>
+ string &gt;, <a class="el" href="structStrHashComp.html">StrHashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">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="structInAddr__HashComp.html">InAddr_HashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a40">address_cache</a></td></tr>
+ in_addr &gt;, <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a41">address_cache</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#a1">MODCOUNT</a> = -1</td></tr>
@@ -167,21 +167,23 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>FILE *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="modules_8cpp.html#a37">log_file</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#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#a38">fd_ref_table</a> [65536]</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#a43">chanlist</a></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="modules_8cpp.html#a39">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#a38">user_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#a40">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#a39">user_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#a40">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#a41">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>Define Documentation</h2>
@@ -210,13 +212,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> o
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
-<a name="a40" doxytag="modules.cpp::address_cache"></a><p>
+<a name="a41" 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="structInAddr__HashComp.html">InAddr_HashComp</a>&gt; <a class="el" href="modules_8cpp.html#a40">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="structInAddr__HashComp.html">InAddr_HashComp</a>&gt; <a class="el" href="modules_8cpp.html#a41">address_cache</a>
</table>
</td>
</tr>
@@ -231,16 +233,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00059">59</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00177">177</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#l00178">178</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
-<a name="a39" doxytag="modules.cpp::chan_hash"></a><p>
+<a name="a40" 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="structStrHashComp.html">StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a39">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="structStrHashComp.html">StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a40">chan_hash</a>
</table>
</td>
</tr>
@@ -255,16 +257,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00177">177</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00176">176</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#l00177">177</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>
@@ -279,16 +281,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00176">176</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00178">178</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#l00179">179</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>
@@ -303,16 +305,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00178">178</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00204">204</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#l00205">205</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>
@@ -327,18 +329,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00204">204</a>
<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#l00206">206</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#l00211">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00264">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00251">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00237">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00224">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00287">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00212">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00262">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00249">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00236">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00224">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td>
</tr>
</table>
-<a name="a38" doxytag="modules.cpp::user_hash"></a><p>
+<a name="a39" 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="structStrHashComp.html">StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a38">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="structStrHashComp.html">StrHashComp</a>&gt; <a class="el" href="modules_8cpp.html#a39">user_hash</a>
</table>
</td>
</tr>
@@ -353,11 +355,11 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00211">ModeDefined()
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00175">175</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#l00176">176</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">
@@ -412,23 +414,23 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00175">175</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00277">277</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#l00275">275</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00211">ModeDefined()</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00212">ModeDefined()</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00642">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00622">Server::AddExtendedMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00657">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00629">Server::AddExtendedMode()</a>.
<p>
-<div class="fragment"><pre>00278 {
-00279 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a52">ModeDefined</a>(modechar,type)) {
-00280 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00281 }
-00282 <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));
-00283 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00284 }
+<div class="fragment"><pre>00276 {
+00277 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#a53">ModeDefined</a>(modechar,type)) {
+00278 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00279 }
+00280 <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));
+00281 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00282 }
</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">
@@ -457,7 +459,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00642">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">
@@ -494,15 +496,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00642">Server::AddEx
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00211">211</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#l00212">212</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#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00206">ExtModeListIter</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00277">DoAddExtendedMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>.
<p>
-<div class="fragment"><pre>00212 {
-00213 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00214 <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++)
+<div class="fragment"><pre>00213 {
+00214 <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++)
00215 {
00216 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
00217 {
@@ -514,7 +515,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00277">DoAddExtended
</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">
@@ -551,24 +552,24 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00277">DoAddExtended
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00264">264</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#l00262">262</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00206">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00265 {
-00266 <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++)
-00267 {
-00268 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00269 {
-00270 <span class="keywordflow">return</span> i-&gt;params_when_off;
-00271 }
-00272 }
-00273 <span class="keywordflow">return</span> 0;
-00274 }
+<div class="fragment"><pre>00263 {
+00264 <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++)
+00265 {
+00266 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00267 {
+00268 <span class="keywordflow">return</span> i-&gt;params_when_off;
+00269 }
+00270 }
+00271 <span class="keywordflow">return</span> 0;
+00272 }
</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">
@@ -605,24 +606,24 @@ References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, and <
<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#l00249">249</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00206">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00252 {
-00253 <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++)
-00254 {
-00255 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
-00256 {
-00257 <span class="keywordflow">return</span> i-&gt;params_when_on;
-00258 }
-00259 }
-00260 <span class="keywordflow">return</span> 0;
-00261 }
+<div class="fragment"><pre>00250 {
+00251 <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++)
+00252 {
+00253 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == type))
+00254 {
+00255 <span class="keywordflow">return</span> i-&gt;params_when_on;
+00256 }
+00257 }
+00258 <span class="keywordflow">return</span> 0;
+00259 }
</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">
@@ -659,25 +660,24 @@ References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, and <
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00237">237</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#l00236">236</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#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00206">ExtModeListIter</a>.
<p>
-<div class="fragment"><pre>00238 {
-00239 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00240 <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++)
-00241 {
-00242 <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>))
-00243 {
-00244 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00245 }
-00246 }
-00247 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00248 }
+<div class="fragment"><pre>00237 {
+00238 <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++)
+00239 {
+00240 <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>))
+00241 {
+00242 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00243 }
+00244 }
+00245 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00246 }
</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,23 +716,22 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00224">224</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#l00208">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00206">ExtModeListIter</a>.
<p>
<div class="fragment"><pre>00225 {
-00226 log(DEBUG,<span class="stringliteral">"Size of extmodes vector is %d"</span>,<a class="code" href="modules_8cpp.html#a51">EMode</a>.size());
-00227 <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++)
-00228 {
-00229 <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>))
-00230 {
-00231 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00232 }
-00233 }
-00234 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00235 }
+00226 <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++)
+00227 {
+00228 <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>))
+00229 {
+00230 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00231 }
+00232 }
+00233 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00234 }
</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">
@@ -760,27 +759,27 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a clas
<p>
<p>
-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>.
+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>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00208">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00205">ExtModeListIter</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.
+References <a class="el" href="modules_8cpp-source.html#l00209">EMode</a>, <a class="el" href="modules_8cpp-source.html#l00206">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#l00642">Server::AddExtendedListMode()</a>.
+Referenced by <a class="el" href="modules_8cpp-source.html#l00657">Server::AddExtendedListMode()</a>.
<p>
-<div class="fragment"><pre>00288 {
-00289 <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++)
-00290 {
-00291 <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>))
-00292 {
-00293 i-&gt;list = <span class="keyword">true</span>;
-00294 <span class="keywordflow">return</span>;
-00295 }
-00296 }
-00297 <span class="keywordflow">return</span>;
-00298 }
+<div class="fragment"><pre>00286 {
+00287 <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++)
+00288 {
+00289 <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>))
+00290 {
+00291 i-&gt;list = <span class="keyword">true</span>;
+00292 <span class="keywordflow">return</span>;
+00293 }
+00294 }
+00295 <span class="keywordflow">return</span>;
+00296 }
</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">
@@ -930,13 +929,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00103">103</a>
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="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#a39">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#a40">chan_hash</a> <a class="el" href="modules_8cpp.html#a44">chanlist</a>
</table>
</td>
</tr>
@@ -951,16 +950,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#l00182">182</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#l00183">183</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#a38">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#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a43">clientlist</a>
</table>
</td>
</tr>
@@ -975,18 +974,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</a>
<p>
<p>
-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>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUsers()</a>. </td>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00182">182</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>
@@ -1001,7 +998,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00452">Server::GetUs
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00184">184</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#l00185">185</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a35" doxytag="modules.cpp::config_f"></a><p>
@@ -1148,13 +1145,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00077">77</a> o
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="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>
@@ -1169,9 +1166,9 @@ 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#l00208">208</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#l00209">209</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#l00277">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00211">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00264">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00251">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00237">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00224">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00287">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00275">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00212">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00262">ModeDefinedOff()</a>, <a class="el" href="modules_8cpp-source.html#l00249">ModeDefinedOn()</a>, <a class="el" href="modules_8cpp-source.html#l00236">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00224">ModeIsListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="modules.cpp::factory"></a><p>
@@ -1222,13 +1219,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00066">66</a> o
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="a48" doxytag="modules.cpp::IP"></a><p>
+<a name="a38" 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="modules_8cpp.html#a40">address_cache</a> <a class="el" href="modules_8cpp.html#a48">IP</a>
+ <td class="md" nowrap valign="top"> <a class="el" href="classuserrec.html">userrec</a>* <a class="el" href="modules_8cpp.html#a38">fd_ref_table</a>[65536]
</table>
</td>
</tr>
@@ -1243,7 +1240,33 @@ 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#l00187">187</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#l00110">110</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#l00592">Server::FindDescriptor()</a>, and <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>. </td>
+ </tr>
+</table>
+<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"> <a class="el" href="modules_8cpp.html#a41">address_cache</a> <a class="el" href="modules_8cpp.html#a49">IP</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#l00188">188</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a16" doxytag="modules.cpp::list"></a><p>
@@ -1387,7 +1410,7 @@ 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#l01032">1032</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#l01048">1048</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a28" doxytag="modules.cpp::module_names"></a><p>
@@ -1438,13 +1461,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00095">95</a> o
Definition at line <a class="el" href="modules_8cpp-source.html#l00065">65</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>
@@ -1459,7 +1482,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00065">65</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00185">185</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#l00186">186</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a14" doxytag="modules.cpp::motd"></a><p>
@@ -1654,13 +1677,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00082">82</a> o
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>
</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>
@@ -1675,7 +1698,7 @@ 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#l00186">186</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#l00187">187</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a15" doxytag="modules.cpp::rules"></a><p>
@@ -1822,13 +1845,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00068">68</a> o
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="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#a38">user_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#a39">user_hash</a> <a class="el" href="modules_8cpp.html#a45">whowas</a>
</table>
</td>
</tr>
@@ -1843,7 +1866,7 @@ 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#l00183">183</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#l00184">184</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a name="a21" doxytag="modules.cpp::WHOWAS_MAX"></a><p>
@@ -1894,7 +1917,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> o
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>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index c9a740a95..d402abc90 100644
--- a/docs/module-doc/modules_8h-source.html
+++ b/docs/module-doc/modules_8h-source.html
@@ -268,175 +268,188 @@
00637
00642 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a49">OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
00643
-00644 };
-00645
-00646
-<a name="l00652"></a><a class="code" href="classServer.html">00652</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-00653 {
-00654 <span class="keyword">public</span>:
-00658 <a class="code" href="classServer.html#a0">Server</a>();
-00662 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>();
-00663
-00667 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s);
-00672 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s);
-00677 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s);
-00682 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s);
-00687 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s);
-00702 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s);
-00709 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">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);
-00714 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a9">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2);
-00722 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a10">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender);
-00727 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text);
-00728
-00732 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a12">IsNick</a>(std::string nick);
-00736 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a13">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c);
-00740 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a14">FindNick</a>(std::string nick);
-00744 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a15">FindChannel</a>(std::string channel);
-00749 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a16">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
-00753 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a17">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
-00756 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">GetServerName</a>();
-00759 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a19">GetNetworkName</a>();
-00765 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a20">GetAdmin</a>();
-00784 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a21">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);
-00785
-00807 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a22">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar);
-00808
-00826 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a23">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);
-00827
-00849 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a24">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
-00850
-00863 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text);
-00864
-00870 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a26">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key);
-00871
-00877 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a27">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason);
-00878
-00884 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a28">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname);
-00885
-00896 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a29">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason);
-00897
-00902 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a30">MatchText</a>(std::string sliteral, std::string spattern);
-00903
-00915 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">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);
-00916
-00922 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a32">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host);
-00923
-00929 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos);
-00930
-00939 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a34">IsUlined</a>(std::string server);
-00940
-00944 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a35">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan);
-00945
-00952 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message);
-00953
-00960 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a37">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message);
-00961
-00969 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a38">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
-00970
-00978 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a39">AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string nickname);
-00979
-00987 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string ipaddr);
-00988
-00996 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
-00997
-01005 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
-01006
-01009 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a43">DelGLine</a>(std::string hostmask);
-01010
-01013 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a44">DelQLine</a>(std::string nickname);
-01014
-01017 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">DelZLine</a>(std::string ipaddr);
-01018
-01021 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">DelKLine</a>(std::string hostmask);
-01022
-01025 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">DelELine</a>(std::string hostmask);
-01026
-01032 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a48">CalcDuration</a>(std::string <a class="code" href="commands_8h.html#a75">duration</a>);
-01033
-01036 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">IsValidMask</a>(std::string mask);
-01037
-01042 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a50">MeshSendAll</a>(std::string text);
-01043
-01050 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a51">MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text);
-01051
-01054 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">MeshSendAllAlive</a>(std::string text);
-01055
-01059 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">MeshSendUnicast</a>(std::string destination, std::string text);
+00647 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a50">OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask);
+00648
+00652 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a51">OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,std::string banmask);
+00653
+00660 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a52">OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, std::string ip, <span class="keywordtype">int</span> localport);
+00661
+00668 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a53">OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count);
+00669
+00673 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#a54">OnRawSocketClose</a>(<span class="keywordtype">int</span> fd);
+00674
+00685 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#a55">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);
+00686 };
+00687
+00688
+<a name="l00694"></a><a class="code" href="classServer.html">00694</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+00695 {
+00696 <span class="keyword">public</span>:
+00700 <a class="code" href="classServer.html#a0">Server</a>();
+00704 <span class="keyword">virtual</span> <a class="code" href="classServer.html#a1">~Server</a>();
+00705
+00709 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a2">SendOpers</a>(std::string s);
+00714 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a3">Log</a>(<span class="keywordtype">int</span> level, std::string s);
+00719 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a4">Send</a>(<span class="keywordtype">int</span> Socket, std::string s);
+00724 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a5">SendServ</a>(<span class="keywordtype">int</span> Socket, std::string s);
+00728 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a6">SendChannelServerNotice</a>(std::string ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, std::string text);
+00733 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a7">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, std::string s);
+00748 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a8">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, std::string s);
+00755 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a9">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);
+00760 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a10">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2);
+00768 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a11">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text,<span class="keywordtype">bool</span> IncludeSender);
+00773 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a12">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, std::string text);
+00774
+00778 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a13">IsNick</a>(std::string nick);
+00782 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#a14">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c);
+00786 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a15">FindNick</a>(std::string nick);
+00790 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#a16">FindDescriptor</a>(<span class="keywordtype">int</span> socket);
+00794 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a17">FindChannel</a>(std::string channel);
+00799 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a18">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
+00803 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a19">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
+00806 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a20">GetServerName</a>();
+00809 <span class="keyword">virtual</span> std::string <a class="code" href="classServer.html#a21">GetNetworkName</a>();
+00815 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#a22">GetAdmin</a>();
+00834 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a23">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);
+00835
+00857 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a24">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar);
+00858
+00876 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a25">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);
+00877
+00899 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a26">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
+00900
+00913 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a27">SendToModeMask</a>(std::string modes, <span class="keywordtype">int</span> flags, std::string text);
+00914
+00920 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a28">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string key);
+00921
+00927 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#a29">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string cname, std::string reason);
+00928
+00934 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a30">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string nickname);
+00935
+00946 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a31">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string reason);
+00947
+00952 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a32">MatchText</a>(std::string sliteral, std::string spattern);
+00953
+00965 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a33">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);
+00966
+00972 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a34">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string host);
+00973
+00979 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a35">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string gecos);
+00980
+00989 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a36">IsUlined</a>(std::string server);
+00990
+00994 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#a33">chanuserlist</a> <a class="code" href="classServer.html#a37">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan);
+00995
+01002 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a38">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,std::string message);
+01003
+01010 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a39">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,std::string message);
+01011
+01019 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a40">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
+01020
+01028 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a41">AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string nickname);
+01029
+01037 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a42">AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string ipaddr);
+01038
+01046 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a43">AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
+01047
+01055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a44">AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#a75">duration</a>, std::string source, std::string reason, std::string hostmask);
+01056
+01059 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a45">DelGLine</a>(std::string hostmask);
01060
-01065 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">MeshSendAllExcept</a>(std::string target, std::string text);
-01066
-01070 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a55">MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername);
-01071
-01075 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a56">MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername);
+01063 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a46">DelQLine</a>(std::string nickname);
+01064
+01067 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a47">DelZLine</a>(std::string ipaddr);
+01068
+01071 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a48">DelKLine</a>(std::string hostmask);
+01072
+01075 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a49">DelELine</a>(std::string hostmask);
01076
-01081 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a57">FindModule</a>(std::string name);
-01082 };
+01082 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#a50">CalcDuration</a>(std::string <a class="code" href="commands_8h.html#a75">duration</a>);
01083
-01084
-<a name="l01085"></a><a class="code" href="modules_8h.html#a27">01085</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span>
-<a name="l01086"></a><a class="code" href="modules_8h.html#a28">01086</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span>
-<a name="l01087"></a><a class="code" href="modules_8h.html#a29">01087</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span>
-<a name="l01088"></a><a class="code" href="modules_8h.html#a30">01088</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span>
-01089 <span class="preprocessor"></span>
-01090
-<a name="l01097"></a><a class="code" href="classConfigReader.html">01097</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-01098 {
-01099 <span class="keyword">protected</span>:
-<a name="l01105"></a><a class="code" href="classConfigReader.html#p0">01105</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>;
-<a name="l01106"></a><a class="code" href="classConfigReader.html#p1">01106</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>;
-<a name="l01109"></a><a class="code" href="classConfigReader.html#p2">01109</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>;
-<a name="l01110"></a><a class="code" href="classConfigReader.html#p3">01110</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>;
-01111
-01112 <span class="keyword">public</span>:
-01117 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
-01121 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span>
-01125 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>();
-01130 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index);
-01136 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index);
-01145 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned);
-01150 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>();
-01157 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag);
-01162 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>();
-01169 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user);
-01170
-01176 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index);
-01177 };
-01178
-01179
-01180
-<a name="l01186"></a><a class="code" href="classFileReader.html">01186</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-01187 {
-<a name="l01188"></a><a class="code" href="classFileReader.html#r0">01188</a> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>;
-01189 <span class="keyword">public</span>:
-01194 <a class="code" href="classFileReader.html#a0">FileReader</a>();
-01195
-01201 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename);
-01202
-01206 <a class="code" href="classFileReader.html#a2">~FileReader</a>();
-01207
-01213 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename);
-01214
-01218 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>();
-01219
-01224 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x);
-01225
-01231 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>();
-01232 };
-01233
-01234
-<a name="l01241"></a><a class="code" href="classModuleFactory.html">01241</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-01242 {
-01243 <span class="keyword">public</span>:
-<a name="l01244"></a><a class="code" href="classModuleFactory.html#a0">01244</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { }
-<a name="l01245"></a><a class="code" href="classModuleFactory.html#a1">01245</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { }
-01250 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0;
-01251 };
+01086 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a51">IsValidMask</a>(std::string mask);
+01087
+01092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a52">MeshSendAll</a>(std::string text);
+01093
+01100 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a53">MeshSendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* user, std::string text);
+01101
+01104 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a54">MeshSendAllAlive</a>(std::string text);
+01105
+01109 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a55">MeshSendUnicast</a>(std::string destination, std::string text);
+01110
+01115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#a56">MeshSendAllExcept</a>(std::string target, std::string text);
+01116
+01120 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a57">MeshCheckChan</a>(<a class="code" href="classchanrec.html">chanrec</a> *c,std::string servername);
+01121
+01125 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#a58">MeshCheckCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* u,std::string servername);
+01126
+01131 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#a59">FindModule</a>(std::string name);
+01132 };
+01133
+01134
+<a name="l01135"></a><a class="code" href="modules_8h.html#a27">01135</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span>
+<a name="l01136"></a><a class="code" href="modules_8h.html#a28">01136</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span>
+<a name="l01137"></a><a class="code" href="modules_8h.html#a29">01137</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span>
+<a name="l01138"></a><a class="code" href="modules_8h.html#a30">01138</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span>
+01139 <span class="preprocessor"></span>
+01140
+<a name="l01147"></a><a class="code" href="classConfigReader.html">01147</a> <span class="keyword">class </span><a class="code" href="classConfigReader.html">ConfigReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+01148 {
+01149 <span class="keyword">protected</span>:
+<a name="l01155"></a><a class="code" href="classConfigReader.html#p0">01155</a> std::stringstream *<a class="code" href="classConfigReader.html#p0">cache</a>;
+<a name="l01156"></a><a class="code" href="classConfigReader.html#p1">01156</a> std::stringstream *<a class="code" href="classConfigReader.html#p1">errorlog</a>;
+<a name="l01159"></a><a class="code" href="classConfigReader.html#p2">01159</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#p2">readerror</a>;
+<a name="l01160"></a><a class="code" href="classConfigReader.html#p3">01160</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#p3">error</a>;
+01161
+01162 <span class="keyword">public</span>:
+01167 <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
+01171 <span class="comment"></span> <a class="code" href="classConfigReader.html#a0">ConfigReader</a>(std::string filename); <span class="comment">// read a module-specific config</span>
+01175 <span class="comment"></span> <a class="code" href="classConfigReader.html#a2">~ConfigReader</a>();
+01180 std::string <a class="code" href="classConfigReader.html#a3">ReadValue</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index);
+01186 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a4">ReadFlag</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index);
+01195 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a5">ReadInteger</a>(std::string tag, std::string name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned);
+01200 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#a6">GetError</a>();
+01207 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a7">Enumerate</a>(std::string tag);
+01212 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#a8">Verify</a>();
+01219 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#a9">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user);
+01220
+01226 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#a10">EnumerateValues</a>(std::string tag, <span class="keywordtype">int</span> index);
+01227 };
+01228
+01229
+01230
+<a name="l01236"></a><a class="code" href="classFileReader.html">01236</a> <span class="keyword">class </span><a class="code" href="classFileReader.html">FileReader</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+01237 {
+<a name="l01238"></a><a class="code" href="classFileReader.html#r0">01238</a> <a class="code" href="modules_8h.html#a31">file_cache</a> <a class="code" href="classFileReader.html#r0">fc</a>;
+01239 <span class="keyword">public</span>:
+01244 <a class="code" href="classFileReader.html#a0">FileReader</a>();
+01245
+01251 <a class="code" href="classFileReader.html#a0">FileReader</a>(std::string filename);
01252
-01253
-<a name="l01254"></a><a class="code" href="modules_8h.html#a34">01254</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#a34">ircd_module</a>;
-01255
-01256 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+01256 <a class="code" href="classFileReader.html#a2">~FileReader</a>();
+01257
+01263 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#a3">LoadFile</a>(std::string filename);
+01264
+01268 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#a4">Exists</a>();
+01269
+01274 std::string <a class="code" href="classFileReader.html#a5">GetLine</a>(<span class="keywordtype">int</span> x);
+01275
+01281 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#a6">FileSize</a>();
+01282 };
+01283
+01284
+<a name="l01291"></a><a class="code" href="classModuleFactory.html">01291</a> <span class="keyword">class </span><a class="code" href="classModuleFactory.html">ModuleFactory</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+01292 {
+01293 <span class="keyword">public</span>:
+<a name="l01294"></a><a class="code" href="classModuleFactory.html#a0">01294</a> <a class="code" href="classModuleFactory.html#a0">ModuleFactory</a>() { }
+<a name="l01295"></a><a class="code" href="classModuleFactory.html#a1">01295</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#a1">~ModuleFactory</a>() { }
+01300 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#a2">CreateModule</a>() = 0;
+01301 };
+01302
+01303
+<a name="l01304"></a><a class="code" href="modules_8h.html#a34">01304</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#a34">ircd_module</a>;
+01305
+01306 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/modules_8h.html b/docs/module-doc/modules_8h.html
index 68cb59620..c003807c2 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -390,7 +390,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#l00383">Module::OnAccessCheck()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00382">Module::OnAccessCheck()</a>. </td>
</tr>
</table>
<a name="a9" doxytag="modules.h::ACR_DENY"></a><p>
@@ -438,9 +438,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00038">38</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01088">1088</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+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#l00835">ConfigReader::ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00851">ConfigReader::ConfigReader()</a>. </td>
</tr>
</table>
<a name="a27" doxytag="modules.h::CONF_NOT_A_NUMBER"></a><p>
@@ -464,9 +464,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00835">ConfigReader:
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01085">1085</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01135">1135</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#l00896">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00912">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a name="a28" doxytag="modules.h::CONF_NOT_UNSIGNED"></a><p>
@@ -490,9 +490,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader:
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01086">1086</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01136">1136</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#l00896">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00912">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a name="a29" doxytag="modules.h::CONF_VALUE_NOT_FOUND"></a><p>
@@ -516,9 +516,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader:
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01087">1087</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.
+Definition at line <a class="el" href="modules_8h-source.html#l01137">1137</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#l00879">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00863">ConfigReader::ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00895">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00912">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00879">ConfigReader::ReadValue()</a>. </td>
</tr>
</table>
<a name="a0" doxytag="modules.h::DEBUG"></a><p>
@@ -544,7 +544,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00879">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#l00622">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00220">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00208">chanrec::DecUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00226">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00114">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00202">chanrec::IncUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00181">chanrec::IsCustomModeSet()</a>, <a class="el" href="modules_8cpp-source.html#l00211">ModeDefined()</a>, <a class="el" href="modules_8cpp-source.html#l00237">ModeDefinedOper()</a>, <a class="el" href="modules_8cpp-source.html#l00224">ModeIsListMode()</a>, <a class="el" href="users_8cpp-source.html#l00092">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00125">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00220">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00208">chanrec::DecUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00226">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00117">userrec::HasPermission()</a>, <a class="el" href="channels_8cpp-source.html#l00202">chanrec::IncUserCounter()</a>, <a class="el" href="channels_8cpp-source.html#l00181">chanrec::IsCustomModeSet()</a>, <a class="el" href="users_8cpp-source.html#l00095">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00125">chanrec::SetCustomMode()</a>, and <a class="el" href="channels_8cpp-source.html#l00150">chanrec::SetCustomModeParam()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="modules.h::DEFAULT"></a><p>
@@ -594,7 +594,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#l00665">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00656">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00681">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00671">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a name="a24" doxytag="modules.h::FOREACH_MOD"></a><p>
@@ -620,7 +620,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00665">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#l00349">Event::Send()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00347">Event::Send()</a>. </td>
</tr>
</table>
<a name="a25" doxytag="modules.h::FOREACH_RESULT"></a><p>
@@ -684,7 +684,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#l00642">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00287">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00657">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00285">ModeMakeList()</a>. </td>
</tr>
</table>
<a name="a6" doxytag="modules.h::MT_CLIENT"></a><p>
@@ -710,7 +710,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00642">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#l00622">Server::AddExtendedMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a name="a7" doxytag="modules.h::MT_SERVER"></a><p>
@@ -736,7 +736,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00622">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#l00622">Server::AddExtendedMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00629">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="modules.h::NONE"></a><p>
@@ -906,7 +906,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#l00374">Module::GetVersion()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00373">Module::GetVersion()</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@@ -935,7 +935,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#l00452">Server::GetUsers()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::GetUsers()</a>. </td>
</tr>
</table>
<a name="a31" doxytag="modules.h::file_cache"></a><p>
@@ -963,7 +963,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#l00981">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00992">FileReader::LoadFile()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00997">FileReader::FileReader()</a>, and <a class="el" href="modules_8cpp-source.html#l01008">FileReader::LoadFile()</a>. </td>
</tr>
</table>
<a name="a34" doxytag="modules.h::ircd_module"></a><p>
@@ -987,7 +987,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00981">FileReader::F
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01254">1254</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
+Definition at line <a class="el" href="modules_8h-source.html#l01304">1304</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a name="a32" doxytag="modules.h::string_list"></a><p>
@@ -1013,7 +1013,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01254">1254</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#l00385">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00384">Module::OnUserSync()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00384">Module::OnChannelSync()</a>, and <a class="el" href="modules_8cpp-source.html#l00383">Module::OnUserSync()</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
@@ -1072,7 +1072,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00385">Module::OnCha
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00497">Server::AddCommand()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00494">Server::AddCommand()</a>. </td>
</tr>
</table>
<a name="a36" doxytag="modules.h::server_mode"></a><p>
@@ -1118,10 +1118,10 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00497">Server::AddCo
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00502">Server::SendMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00499">Server::SendMode()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/namespacenspace.html b/docs/module-doc/namespacenspace.html
index 534867ea7..63778c33f 100644
--- a/docs/module-doc/namespacenspace.html
+++ b/docs/module-doc/namespacenspace.html
@@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structnspace_1_1nspace_1_1hash_3_01string_01_4.html">nspace.hash&lt; string &gt;</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html
index 2f246fd98..6cd02ce36 100644
--- a/docs/module-doc/namespaces.html
+++ b/docs/module-doc/namespaces.html
@@ -9,7 +9,7 @@
<tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html
index ccdc6898f..acb02d469 100644
--- a/docs/module-doc/namespacestd.html
+++ b/docs/module-doc/namespacestd.html
@@ -10,7 +10,7 @@
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/servers_8cpp-source.html b/docs/module-doc/servers_8cpp-source.html
index a5fa077c4..e1148cb3d 100644
--- a/docs/module-doc/servers_8cpp-source.html
+++ b/docs/module-doc/servers_8cpp-source.html
@@ -63,7 +63,7 @@
00056 strlcpy(<a class="code" href="classserverrec.html#o9">nickserv</a>,<span class="stringliteral">""</span>,NICKMAX);
00057 }
00058
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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 0efa69319..39dda596e 100644
--- a/docs/module-doc/servers_8cpp.html
+++ b/docs/module-doc/servers_8cpp.html
@@ -44,7 +44,7 @@
Definition at line <a class="el" href="servers_8cpp-source.html#l00024">24</a> of file <a class="el" href="servers_8cpp-source.html">servers.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/servers_8h-source.html b/docs/module-doc/servers_8h-source.html
index 2c1befe74..b87d6683e 100644
--- a/docs/module-doc/servers_8h-source.html
+++ b/docs/module-doc/servers_8h-source.html
@@ -61,7 +61,7 @@
00082
00083 <span class="preprocessor">#endif</span>
00084 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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 80556cb11..26257df7f 100644
--- a/docs/module-doc/servers_8h.html
+++ b/docs/module-doc/servers_8h.html
@@ -72,7 +72,7 @@ Definition at line <a class="el" href="servers_8h-source.html#l00025">25</a> of
Definition at line <a class="el" href="servers_8h-source.html#l00026">26</a> of file <a class="el" href="servers_8h-source.html">servers.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structInAddr__HashComp-members.html b/docs/module-doc/structInAddr__HashComp-members.html
index 24f481673..9e1ae19c8 100644
--- a/docs/module-doc/structInAddr__HashComp-members.html
+++ b/docs/module-doc/structInAddr__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="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structInAddr__HashComp.html#a0">operator()</a>(const in_addr &amp;s1, const in_addr &amp;s2) const</td><td><a class="el" href="structInAddr__HashComp.html">InAddr_HashComp</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structInAddr__HashComp.html b/docs/module-doc/structInAddr__HashComp.html
index b45ca83c3..f78624ccb 100644
--- a/docs/module-doc/structInAddr__HashComp.html
+++ b/docs/module-doc/structInAddr__HashComp.html
@@ -49,23 +49,23 @@
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00161">161</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#l00162">162</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-<div class="fragment"><pre>00162 {
-00163 size_t q;
-00164 size_t p;
-00165
-00166 memcpy(&amp;q,&amp;s1,<span class="keyword">sizeof</span>(size_t));
-00167 memcpy(&amp;p,&amp;s2,<span class="keyword">sizeof</span>(size_t));
-00168
-00169 <span class="keywordflow">return</span> (q == p);
-00170 }
+<div class="fragment"><pre>00163 {
+00164 size_t q;
+00165 size_t p;
+00166
+00167 memcpy(&amp;q,&amp;s1,<span class="keyword">sizeof</span>(size_t));
+00168 memcpy(&amp;p,&amp;s2,<span class="keyword">sizeof</span>(size_t));
+00169
+00170 <span class="keywordflow">return</span> (q == p);
+00171 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structStrHashComp-members.html b/docs/module-doc/structStrHashComp-members.html
index 0c6279dfe..26f728635 100644
--- a/docs/module-doc/structStrHashComp-members.html
+++ b/docs/module-doc/structStrHashComp-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="functions.html">Compound&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structStrHashComp.html">StrHashComp</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structStrHashComp.html#a0">operator()</a>(const string &amp;s1, const string &amp;s2) const</td><td><a class="el" href="structStrHashComp.html">StrHashComp</a></td><td><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structStrHashComp.html b/docs/module-doc/structStrHashComp.html
index 1ea550cd7..591148d1c 100644
--- a/docs/module-doc/structStrHashComp.html
+++ b/docs/module-doc/structStrHashComp.html
@@ -49,22 +49,22 @@
<p>
<p>
-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>.
+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>
-<div class="fragment"><pre>00147 {
-00148 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF];
-00149 strlcpy(a,s1.c_str(),MAXBUF);
-00150 strlcpy(b,s2.c_str(),MAXBUF);
-00151 strlower(a);
-00152 strlower(b);
-00153 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0);
-00154 }
+<div class="fragment"><pre>00148 {
+00149 <span class="keywordtype">char</span> a[MAXBUF],b[MAXBUF];
+00150 strlcpy(a,s1.c_str(),MAXBUF);
+00151 strlcpy(b,s2.c_str(),MAXBUF);
+00152 strlower(a);
+00153 strlower(b);
+00154 <span class="keywordflow">return</span> (strcasecmp(a,b) == 0);
+00155 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:51 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
index 2296bfd99..e69018422 100644
--- a/docs/module-doc/structdns__ip4list-members.html
+++ b/docs/module-doc/structdns__ip4list-members.html
@@ -8,7 +8,7 @@
<h1>dns_ip4list Member List</h1>This is the complete list of members for <a class="el" href="structdns__ip4list.html">dns_ip4list</a>, including all inherited members.<table>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o0">ip</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#o1">next</a></td><td><a class="el" href="structdns__ip4list.html">dns_ip4list</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html
index 28b8f7177..ea0918e1b 100644
--- a/docs/module-doc/structdns__ip4list.html
+++ b/docs/module-doc/structdns__ip4list.html
@@ -66,7 +66,7 @@ Definition at line <a class="el" href="dns_8h-source.html#l00028">28</a> of file
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="dns_8h-source.html">dns.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:48 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/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 77c30e7f7..d34f49605 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="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><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 2e34eaa3e..e05ed9105 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
@@ -43,19 +43,19 @@
<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>.
+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>.
<p>
-<div class="fragment"><pre>00120 {
-00121 size_t q;
-00122 memcpy(&amp;q,&amp;a,<span class="keyword">sizeof</span>(size_t));
-00123 <span class="keywordflow">return</span> q;
-00124 }
+<div class="fragment"><pre>00121 {
+00122 size_t q;
+00123 memcpy(&amp;q,&amp;a,<span class="keyword">sizeof</span>(size_t));
+00124 <span class="keywordflow">return</span> q;
+00125 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 fa3749c8a..436af0f51 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="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><code> [inline]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+</table><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/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 ab59de41f..1091180ae 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
@@ -43,21 +43,21 @@
<p>
<p>
-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>.
+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>.
<p>
-<div class="fragment"><pre>00133 {
-00134 <span class="keywordtype">char</span> a[MAXBUF];
-00135 <span class="keyword">static</span> <span class="keyword">struct </span>hash&lt;const char *&gt; strhash;
-00136 strlcpy(a,s.c_str(),MAXBUF);
-00137 strlower(a);
-00138 <span class="keywordflow">return</span> strhash(a);
-00139 }
+<div class="fragment"><pre>00134 {
+00135 <span class="keywordtype">char</span> a[MAXBUF];
+00136 <span class="keyword">static</span> <span class="keyword">struct </span>hash&lt;const char *&gt; strhash;
+00137 strlcpy(a,s.c_str(),MAXBUF);
+00138 strlower(a);
+00139 <span class="keywordflow">return</span> strhash(a);
+00140 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:52 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:29 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 1d43fea60..7d30e3413 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -47,130 +47,184 @@
00040 strcpy(<a class="code" href="classuserrec.html#o6">server</a>,<span class="stringliteral">""</span>);
00041 strcpy(<a class="code" href="classuserrec.html#o7">awaymsg</a>,<span class="stringliteral">""</span>);
00042 strcpy(<a class="code" href="classuserrec.html#o11">oper</a>,<span class="stringliteral">""</span>);
-00043 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
-00044 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
-00045 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
-00046 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
-00047 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>);
-00048 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
-00049 {
-00050 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
-00051 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
-00052 }
-00053 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
-00054 }
-00055
-00056
-00057
-<a name="l00058"></a><a class="code" href="classuserrec.html#a2">00058</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
-00059 {
-00060 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>);
-00061 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00062 }
-00063
-00064
-<a name="l00065"></a><a class="code" href="classuserrec.html#a3">00065</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</a>()
-00066 {
-00067 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>);
-00068 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
-00069 }
-00070
-<a name="l00071"></a><a class="code" href="classuserrec.html#a4">00071</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
-00072 {
-00073 <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++)
-00074 {
-00075 <span class="keywordflow">if</span> (i-&gt;channel) {
-00076 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00077 {
-00078 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00079 }
-00080 }
-00081 }
-00082 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00083 }
-00084
-<a name="l00085"></a><a class="code" href="classuserrec.html#a5">00085</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
-00086 {
-00087 <a class="code" href="classInvited.html">Invited</a> i;
-00088 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
-00089 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
-00090 }
-00091
-<a name="l00092"></a><a class="code" href="classuserrec.html#a6">00092</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
-00093 {
-00094 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
-00095 <span class="keywordflow">if</span> (channel)
-00096 {
-00097 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
-00098 {
-00099 <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++)
-00100 {
-00101 <span class="keywordflow">if</span> (i-&gt;channel)
-00102 {
-00103 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-00104 {
-00105 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
-00106 <span class="keywordflow">return</span>;
-00107 }
-00108 }
-00109 }
-00110 }
-00111 }
-00112 }
-00113
-<a name="l00114"></a><a class="code" href="classuserrec.html#a7">00114</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
-00115 {
-00116 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-00117 <span class="keywordtype">char</span>* mycmd;
-00118 <span class="keywordtype">char</span>* savept;
-00119 <span class="keywordtype">char</span>* savept2;
-00120
-00121 <span class="comment">// are they even an oper at all?</span>
-00122 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-00123 {
-00124 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-00125 <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#a34">config_f</a>); j++)
-00126 {
-00127 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
-00128 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-00129 {
-00130 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);
-00131 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
-00132 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-00133 <span class="keywordflow">while</span> (myclass)
-00134 {
-00135 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-00136 <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#a34">config_f</a>); k++)
-00137 {
-00138 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
-00139 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-00140 {
-00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
-00142 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);
-00143
-00144
-00145 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-00146 <span class="keywordflow">while</span> (mycmd)
-00147 {
-00148 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-00149 {
-00150 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-00151 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-00152 }
-00153 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-00154 }
-00155 }
-00156 }
-00157 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-00158 }
-00159 }
-00160 }
-00161 }
-00162 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-00163 }
-00164
-00165
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+00043 <a class="code" href="classuserrec.html#o17">reset_due</a> = <a class="code" href="channels_8cpp.html#a37">TIME</a>;
+00044 <a class="code" href="classuserrec.html#o16">lines_in</a> = 0;
+00045 <a class="code" href="classconnection.html#o0">fd</a> = <a class="code" href="classconnection.html#o12">lastping</a> = <a class="code" href="classconnection.html#o13">signon</a> = <a class="code" href="classconnection.html#o14">idle_lastmsg</a> = <a class="code" href="classconnection.html#o15">nping</a> = <a class="code" href="classconnection.html#o10">registered</a> = 0;
+00046 <a class="code" href="classuserrec.html#o9">flood</a> = <a class="code" href="classconnection.html#o9">port</a> = <a class="code" href="classconnection.html#o4">bytes_in</a> = <a class="code" href="classconnection.html#o5">bytes_out</a> = <a class="code" href="classconnection.html#o6">cmds_in</a> = <a class="code" href="classconnection.html#o7">cmds_out</a> = 0;
+00047 <a class="code" href="classconnection.html#o8">haspassed</a> = <span class="keyword">false</span>;
+00048 <a class="code" href="classuserrec.html#o12">dns_done</a> = <span class="keyword">false</span>;
+00049 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
+00050 strcpy(<a class="code" href="classuserrec.html#o8">result</a>,<span class="stringliteral">""</span>);
+00051 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
+00052 {
+00053 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o1">channel</a> = NULL;
+00054 this-&gt;<a class="code" href="classuserrec.html#o5">chans</a>[i].<a class="code" href="classucrec.html#o0">uc_modes</a> = 0;
+00055 }
+00056 <a class="code" href="classuserrec.html#r0">invites</a>.clear();
+00057 }
+00058
+00059
+00060
+<a name="l00061"></a><a class="code" href="classuserrec.html#a2">00061</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">userrec::GetFullHost</a>()
+00062 {
+00063 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>);
+00064 <span class="keywordflow">return</span> <a class="code" href="classuserrec.html#o8">result</a>;
+00065 }
+00066
+00067
+<a name="l00068"></a><a class="code" href="classuserrec.html#a3">00068</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">userrec::GetFullRealHost</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="classconnection.html#o1">host</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#a4">00074</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a4">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
+00075 {
+00076 <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++)
+00077 {
+00078 <span class="keywordflow">if</span> (i-&gt;channel) {
+00079 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00080 {
+00081 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00082 }
+00083 }
+00084 }
+00085 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00086 }
+00087
+<a name="l00088"></a><a class="code" href="classuserrec.html#a5">00088</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a5">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
+00089 {
+00090 <a class="code" href="classInvited.html">Invited</a> i;
+00091 strlcpy(i.<a class="code" href="classInvited.html#o0">channel</a>,channel,CHANMAX);
+00092 <a class="code" href="classuserrec.html#r0">invites</a>.push_back(i);
+00093 }
+00094
+<a name="l00095"></a><a class="code" href="classuserrec.html#a6">00095</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a6">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
+00096 {
+00097 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
+00098 <span class="keywordflow">if</span> (channel)
+00099 {
+00100 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#r0">invites</a>.size())
+00101 {
+00102 <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++)
+00103 {
+00104 <span class="keywordflow">if</span> (i-&gt;channel)
+00105 {
+00106 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+00107 {
+00108 <a class="code" href="classuserrec.html#r0">invites</a>.erase(i);
+00109 <span class="keywordflow">return</span>;
+00110 }
+00111 }
+00112 }
+00113 }
+00114 }
+00115 }
+00116
+<a name="l00117"></a><a class="code" href="classuserrec.html#a7">00117</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
+00118 {
+00119 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+00120 <span class="keywordtype">char</span>* mycmd;
+00121 <span class="keywordtype">char</span>* savept;
+00122 <span class="keywordtype">char</span>* savept2;
+00123
+00124 <span class="comment">// are they even an oper at all?</span>
+00125 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+00126 {
+00127 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
+00128 <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#a34">config_f</a>); j++)
+00129 {
+00130 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
+00131 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+00132 {
+00133 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);
+00134 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
+00135 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+00136 <span class="keywordflow">while</span> (myclass)
+00137 {
+00138 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
+00139 <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#a34">config_f</a>); k++)
+00140 {
+00141 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
+00142 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+00143 {
+00144 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#a34">config_f</a>);
+00145 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);
+00146
+00147
+00148 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+00149 <span class="keywordflow">while</span> (mycmd)
+00150 {
+00151 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
+00152 {
+00153 log(<a class="code" href="modules_8h.html#a0">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
+00154 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00155 }
+00156 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+00157 }
+00158 }
+00159 }
+00160 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+00161 }
+00162 }
+00163 }
+00164 }
+00165 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00166 }
+00167
+00168
+<a name="l00169"></a><a class="code" href="classuserrec.html#a8">00169</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">userrec::AddBuffer</a>(std::string a)
+00170 {
+00171 std::string b = <span class="stringliteral">""</span>;
+00172 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+00173 <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))
+00174 b = b + a[i];
+00175 std::stringstream stream(<a class="code" href="classuserrec.html#o15">recvq</a>);
+00176 stream &lt;&lt; b;
+00177 <a class="code" href="classuserrec.html#o15">recvq</a> = stream.str();
+00178 <span class="keywordtype">int</span> i = 0;
+00179 <span class="comment">// count the size of the first line in the buffer.</span>
+00180 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#o15">recvq</a>.length())
+00181 {
+00182 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+00183 <span class="keywordflow">break</span>;
+00184 }
+00185 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+00186 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+00187 <span class="keywordflow">return</span> (i &lt; 600);
+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::BufferIsReady</a>()
+00191 {
+00192 <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++)
+00193 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+00194 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00195 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00196 }
+00197
+<a name="l00198"></a><a class="code" href="classuserrec.html#a10">00198</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">userrec::ClearBuffer</a>()
+00199 {
+00200 <a class="code" href="classuserrec.html#o15">recvq</a> = <span class="stringliteral">""</span>;
+00201 }
+00202
+<a name="l00203"></a><a class="code" href="classuserrec.html#a11">00203</a> std::string <a class="code" href="classuserrec.html#a11">userrec::GetBuffer</a>()
+00204 {
+00205 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#o15">recvq</a> == <span class="stringliteral">""</span>)
+00206 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00207 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#o15">recvq</a>.c_str();
+00208 std::string ret = <span class="stringliteral">""</span>;
+00209 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+00210 {
+00211 ret = ret + *line;
+00212 line++;
+00213 }
+00214 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+00215 line++;
+00216 <a class="code" href="classuserrec.html#o15">recvq</a> = line;
+00217 <span class="keywordflow">return</span> ret;
+00218 }
+00219
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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 b39702ebe..59a0a5549 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -70,7 +70,7 @@ Definition at line <a class="el" href="users_8cpp-source.html#l00024">24</a> of
Definition at line <a class="el" href="users_8cpp-source.html#l00026">26</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 3427aae77..1ebbec1e5 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -54,81 +54,98 @@
<a name="l00059"></a><a class="code" href="classConnectClass.html#o3">00059</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o3">host</a>[MAXBUF];
<a name="l00062"></a><a class="code" href="classConnectClass.html#o4">00062</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#o4">pingtime</a>;
<a name="l00065"></a><a class="code" href="classConnectClass.html#o5">00065</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#o5">pass</a>[MAXBUF];
-00066
-<a name="l00067"></a><a class="code" href="classConnectClass.html#a0">00067</a> <a class="code" href="classConnectClass.html#a0">ConnectClass</a>()
-00068 {
-00069 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
-00070 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
-00071 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
-00072 strlcpy(<a class="code" href="classConnectClass.html#o3">host</a>,<span class="stringliteral">""</span>,MAXBUF);
-00073 strlcpy(<a class="code" href="classConnectClass.html#o5">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
-00074 }
-00075 };
-00076
-<a name="l00079"></a><a class="code" href="users_8h.html#a6">00079</a> <span class="keyword">typedef</span> std::vector&lt;Invited&gt; <a class="code" href="users_8h.html#a6">InvitedList</a>;
-00080
+00066
+<a name="l00069"></a><a class="code" href="classConnectClass.html#o6">00069</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#o6">threshold</a>;
+00070
+<a name="l00071"></a><a class="code" href="classConnectClass.html#a0">00071</a> <a class="code" href="classConnectClass.html#a0">ConnectClass</a>()
+00072 {
+00073 <a class="code" href="classConnectClass.html#o1">registration_timeout</a> = 0;
+00074 <a class="code" href="classConnectClass.html#o2">flood</a> = 0;
+00075 <a class="code" href="classConnectClass.html#o4">pingtime</a> = 0;
+00076 <a class="code" href="classConnectClass.html#o6">threshold</a> = 0;
+00077 strlcpy(<a class="code" href="classConnectClass.html#o3">host</a>,<span class="stringliteral">""</span>,MAXBUF);
+00078 strlcpy(<a class="code" href="classConnectClass.html#o5">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
+00079 }
+00080 };
00081
-00082
-<a name="l00085"></a><a class="code" href="users_8h.html#a7">00085</a> <span class="keyword">typedef</span> std::vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#a7">ClassVector</a>;
+<a name="l00084"></a><a class="code" href="users_8h.html#a6">00084</a> <span class="keyword">typedef</span> std::vector&lt;Invited&gt; <a class="code" href="users_8h.html#a6">InvitedList</a>;
+00085
00086
-<a name="l00093"></a><a class="code" href="classuserrec.html">00093</a> <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
-00094 {
-00095 <span class="keyword">private</span>:
-00096
-<a name="l00099"></a><a class="code" href="classuserrec.html#r0">00099</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#r0">invites</a>;
-00100 <span class="keyword">public</span>:
-00101
-<a name="l00106"></a><a class="code" href="classuserrec.html#o0">00106</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o0">nick</a>[NICKMAX];
-00107
-<a name="l00110"></a><a class="code" href="classuserrec.html#o1">00110</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[64];
-00111
-<a name="l00115"></a><a class="code" href="classuserrec.html#o2">00115</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[256];
-00116
-<a name="l00119"></a><a class="code" href="classuserrec.html#o3">00119</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[128];
-00120
-<a name="l00125"></a><a class="code" href="classuserrec.html#o4">00125</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o4">modes</a>[MAXBUF];
-00126
-<a name="l00127"></a><a class="code" href="classuserrec.html#o5">00127</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#o5">chans</a>[MAXCHANS];
-00128
-<a name="l00131"></a><a class="code" href="classuserrec.html#o6">00131</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o6">server</a>[256];
-00132
-<a name="l00136"></a><a class="code" href="classuserrec.html#o7">00136</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o7">awaymsg</a>[512];
+00087
+<a name="l00090"></a><a class="code" href="users_8h.html#a7">00090</a> <span class="keyword">typedef</span> std::vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#a7">ClassVector</a>;
+00091
+<a name="l00098"></a><a class="code" href="classuserrec.html">00098</a> <span class="keyword">class </span><a class="code" href="classuserrec.html">userrec</a> : <span class="keyword">public</span> <a class="code" href="classconnection.html">connection</a>
+00099 {
+00100 <span class="keyword">private</span>:
+00101
+<a name="l00104"></a><a class="code" href="classuserrec.html#r0">00104</a> <a class="code" href="users_8h.html#a6">InvitedList</a> <a class="code" href="classuserrec.html#r0">invites</a>;
+00105 <span class="keyword">public</span>:
+00106
+<a name="l00111"></a><a class="code" href="classuserrec.html#o0">00111</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o0">nick</a>[NICKMAX];
+00112
+<a name="l00115"></a><a class="code" href="classuserrec.html#o1">00115</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o1">ident</a>[64];
+00116
+<a name="l00120"></a><a class="code" href="classuserrec.html#o2">00120</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o2">dhost</a>[256];
+00121
+<a name="l00124"></a><a class="code" href="classuserrec.html#o3">00124</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o3">fullname</a>[128];
+00125
+<a name="l00130"></a><a class="code" href="classuserrec.html#o4">00130</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o4">modes</a>[MAXBUF];
+00131
+<a name="l00132"></a><a class="code" href="classuserrec.html#o5">00132</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#o5">chans</a>[MAXCHANS];
+00133
+<a name="l00136"></a><a class="code" href="classuserrec.html#o6">00136</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o6">server</a>[256];
00137
-<a name="l00141"></a><a class="code" href="classuserrec.html#o8">00141</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o8">result</a>[256];
+<a name="l00141"></a><a class="code" href="classuserrec.html#o7">00141</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o7">awaymsg</a>[512];
00142
-<a name="l00147"></a><a class="code" href="classuserrec.html#o9">00147</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">flood</a>;
-00148
-<a name="l00153"></a><a class="code" href="classuserrec.html#o10">00153</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o10">timeout</a>;
-00154
-<a name="l00160"></a><a class="code" href="classuserrec.html#o11">00160</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o11">oper</a>[NICKMAX];
-00161
-<a name="l00164"></a><a class="code" href="classuserrec.html#o12">00164</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#o12">dns_done</a>;
-00165
-<a name="l00168"></a><a class="code" href="classuserrec.html#o13">00168</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o13">pingmax</a>;
-00169
-<a name="l00174"></a><a class="code" href="classuserrec.html#o14">00174</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o14">password</a>[MAXBUF];
-00175
-00176 <a class="code" href="classuserrec.html#a0">userrec</a>();
-00177
-<a name="l00178"></a><a class="code" href="classuserrec.html#a1">00178</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
-00179
-00184 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
-00185
-00191 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
-00192
-00195 <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);
+<a name="l00146"></a><a class="code" href="classuserrec.html#o8">00146</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o8">result</a>[256];
+00147
+<a name="l00152"></a><a class="code" href="classuserrec.html#o9">00152</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#o9">flood</a>;
+00153
+<a name="l00158"></a><a class="code" href="classuserrec.html#o10">00158</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o10">timeout</a>;
+00159
+<a name="l00165"></a><a class="code" href="classuserrec.html#o11">00165</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o11">oper</a>[NICKMAX];
+00166
+<a name="l00169"></a><a class="code" href="classuserrec.html#o12">00169</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#o12">dns_done</a>;
+00170
+<a name="l00173"></a><a class="code" href="classuserrec.html#o13">00173</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o13">pingmax</a>;
+00174
+<a name="l00179"></a><a class="code" href="classuserrec.html#o14">00179</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#o14">password</a>[MAXBUF];
+00180
+<a name="l00185"></a><a class="code" href="classuserrec.html#o15">00185</a> std::string <a class="code" href="classuserrec.html#o15">recvq</a>;
+00186
+<a name="l00189"></a><a class="code" href="classuserrec.html#o16">00189</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o16">lines_in</a>;
+<a name="l00190"></a><a class="code" href="classuserrec.html#o17">00190</a> time_t <a class="code" href="classuserrec.html#o17">reset_due</a>;
+<a name="l00191"></a><a class="code" href="classuserrec.html#o18">00191</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#o18">threshold</a>;
+00192
+00193 <a class="code" href="classuserrec.html#a0">userrec</a>();
+00194
+<a name="l00195"></a><a class="code" href="classuserrec.html#a1">00195</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#a1">~userrec</a>() { }
00196
-00199 <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);
-00200
-00205 <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);
-00206
-00211 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command);
-00212
-00213 };
-00214
-00215
-00216 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+00201 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a2">GetFullHost</a>();
+00202
+00208 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#a3">GetFullRealHost</a>();
+00209
+00212 <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);
+00213
+00216 <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);
+00217
+00222 <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);
+00223
+00228 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a7">HasPermission</a>(<span class="keywordtype">char</span>* command);
+00229
+00237 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a8">AddBuffer</a>(std::string a);
+00238
+00242 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#a9">BufferIsReady</a>();
+00243
+00246 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#a10">ClearBuffer</a>();
+00247
+00255 std::string <a class="code" href="classuserrec.html#a11">GetBuffer</a>();
+00256
+00257 };
+00258
+00259
+00260 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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 fd23fdc16..3f9bced37 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -214,7 +214,7 @@ Holds a complete list of all allow and deny tags from the configuration file (co
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00085">85</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#l00090">90</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a name="a6" doxytag="users.h::InvitedList"></a><p>
@@ -240,10 +240,10 @@ Holds a complete list of all channels to which a user has been invited and has n
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00079">79</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#l00084">84</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>
diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index a1063db89..0924c5651 100644
--- a/docs/module-doc/xline_8h-source.html
+++ b/docs/module-doc/xline_8h-source.html
@@ -123,7 +123,7 @@
00157 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#a28">sync_xlines</a>(<a class="code" href="classserverrec.html">serverrec</a>* serv, <span class="keywordtype">char</span>* tcp_host);
00158
00159 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:44 2005 for InspIRCd by
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34: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 4a903f279..3347f33b5 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -145,7 +145,7 @@
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00715">Server::AddELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00731">Server::AddELine()</a>. </td>
</tr>
</table>
<a name="a1" doxytag="xline.h::add_gline"></a><p>
@@ -197,7 +197,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00715">Server::AddEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00695">Server::AddGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00711">Server::AddGLine()</a>. </td>
</tr>
</table>
<a name="a4" doxytag="xline.h::add_kline"></a><p>
@@ -249,7 +249,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00695">Server::AddGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00710">Server::AddKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00726">Server::AddKLine()</a>. </td>
</tr>
</table>
<a name="a2" doxytag="xline.h::add_qline"></a><p>
@@ -301,7 +301,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00710">Server::AddKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::AddQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00716">Server::AddQLine()</a>. </td>
</tr>
</table>
<a name="a3" doxytag="xline.h::add_zline"></a><p>
@@ -353,7 +353,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::AddQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00705">Server::AddZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00721">Server::AddZLine()</a>. </td>
</tr>
</table>
<a name="a17" doxytag="xline.h::apply_lines"></a><p>
@@ -412,7 +412,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00705">Server::AddZL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::DelELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00756">Server::DelELine()</a>. </td>
</tr>
</table>
<a name="a6" doxytag="xline.h::del_gline"></a><p>
@@ -443,7 +443,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::DelEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00720">Server::DelGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00736">Server::DelGLine()</a>. </td>
</tr>
</table>
<a name="a9" doxytag="xline.h::del_kline"></a><p>
@@ -474,7 +474,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00720">Server::DelGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::DelKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00751">Server::DelKLine()</a>. </td>
</tr>
</table>
<a name="a7" doxytag="xline.h::del_qline"></a><p>
@@ -505,7 +505,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::DelKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00725">Server::DelQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00741">Server::DelQLine()</a>. </td>
</tr>
</table>
<a name="a8" doxytag="xline.h::del_zline"></a><p>
@@ -536,7 +536,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00725">Server::DelQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::DelZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00746">Server::DelZLine()</a>. </td>
</tr>
</table>
<a name="a16" doxytag="xline.h::expire_lines"></a><p>
@@ -1095,7 +1095,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::DelZL
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 26 17:11:46 2005 for InspIRCd by
+<hr size="1"><address style="align: right;"><small>Generated on Sat May 7 15:34:23 2005 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
</a>1.3.3 </small></address>