summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-09 20:21:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-09 20:21:39 +0000
commitbab9f4b4bc0f6aa0e1377745fd216ef9874b3f27 (patch)
tree816b86525dc3e6f84a81adb0c8744b4c4798e792
parenta96341b150898376a1b01c7fb4519e1265c599b6 (diff)
Added new module docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2301 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/man/man3/Admin.310
-rw-r--r--docs/man/man3/BanItem.32
-rw-r--r--docs/man/man3/BoolSet.36
-rw-r--r--docs/man/man3/ConfigReader.3276
-rw-r--r--docs/man/man3/ConnectClass.344
-rw-r--r--docs/man/man3/DNS.327
-rw-r--r--docs/man/man3/ELine.32
-rw-r--r--docs/man/man3/Event.310
-rw-r--r--docs/man/man3/ExemptItem.32
-rw-r--r--docs/man/man3/ExtMode.32
-rw-r--r--docs/man/man3/Extensible.325
-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/InspSocket.3424
-rw-r--r--docs/man/man3/InviteItem.32
-rw-r--r--docs/man/man3/Invited.36
-rw-r--r--docs/man/man3/KLine.32
-rw-r--r--docs/man/man3/ModeParameter.32
-rw-r--r--docs/man/man3/Module.31535
-rw-r--r--docs/man/man3/ModuleFactory.316
-rw-r--r--docs/man/man3/ModuleMessage.38
-rw-r--r--docs/man/man3/QLine.32
-rw-r--r--docs/man/man3/Request.310
-rw-r--r--docs/man/man3/Server.3773
-rw-r--r--docs/man/man3/Version.314
-rw-r--r--docs/man/man3/WhoWasUser.318
-rw-r--r--docs/man/man3/XLine.32
-rw-r--r--docs/man/man3/ZLine.32
-rw-r--r--docs/man/man3/_home_.32
-rw-r--r--docs/man/man3/_home_brain_.32
-rw-r--r--docs/man/man3/_home_brain_inspircd-cvs_.32
-rw-r--r--docs/man/man3/_home_brain_inspircd-cvs_inspircd_.32
-rw-r--r--docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.32
-rw-r--r--docs/man/man3/_home_brain_inspircd-cvs_inspircd_src_.32
-rw-r--r--docs/man/man3/base.h.36
-rw-r--r--docs/man/man3/channels.cpp.34
-rw-r--r--docs/man/man3/channels.h.32
-rw-r--r--docs/man/man3/chanrec.32
-rw-r--r--docs/man/man3/classbase.314
-rw-r--r--docs/man/man3/command_t.32
-rw-r--r--docs/man/man3/commands.h.39
-rw-r--r--docs/man/man3/connection.32
-rw-r--r--docs/man/man3/connection.h.32
-rw-r--r--docs/man/man3/ctables.h.32
-rw-r--r--docs/man/man3/dns.h.32
-rw-r--r--docs/man/man3/dns_ip4list.32
-rw-r--r--docs/man/man3/hashcomp.h.32
-rw-r--r--docs/man/man3/irc.32
-rw-r--r--docs/man/man3/irc_InAddr_HashComp.32
-rw-r--r--docs/man/man3/irc_StrHashComp.32
-rw-r--r--docs/man/man3/irc_irc_char_traits.32
-rw-r--r--docs/man/man3/message.h.32
-rw-r--r--docs/man/man3/mode.h.32
-rw-r--r--docs/man/man3/modules.cpp.34
-rw-r--r--docs/man/man3/modules.h.364
-rw-r--r--docs/man/man3/nspace.32
-rw-r--r--docs/man/man3/nspace_hash_ in_addr _.32
-rw-r--r--docs/man/man3/nspace_hash_ string _.32
-rw-r--r--docs/man/man3/socket.cpp.32
-rw-r--r--docs/man/man3/socket.h.32
-rw-r--r--docs/man/man3/std.32
-rw-r--r--docs/man/man3/std_char_traits.32
-rw-r--r--docs/man/man3/ucrec.32
-rw-r--r--docs/man/man3/userrec.3561
-rw-r--r--docs/man/man3/users.cpp.34
-rw-r--r--docs/man/man3/users.h.318
-rw-r--r--docs/man/man3/xline.h.37
-rw-r--r--docs/module-doc/annotated.html2
-rw-r--r--docs/module-doc/base_8h-source.html115
-rw-r--r--docs/module-doc/base_8h.html29
-rw-r--r--docs/module-doc/base_8h__dep__incl.gifbin8561 -> 9094 bytes
-rw-r--r--docs/module-doc/base_8h__dep__incl.map24
-rw-r--r--docs/module-doc/base_8h__dep__incl.md52
-rw-r--r--docs/module-doc/base_8h__incl.gifbin1795 -> 2133 bytes
-rw-r--r--docs/module-doc/base_8h__incl.md52
-rw-r--r--docs/module-doc/channels_8cpp-source.html2
-rw-r--r--docs/module-doc/channels_8cpp.html18
-rw-r--r--docs/module-doc/channels_8cpp__incl.md52
-rw-r--r--docs/module-doc/channels_8h-source.html2
-rw-r--r--docs/module-doc/channels_8h.html18
-rw-r--r--docs/module-doc/channels_8h__dep__incl.gifbin5188 -> 5660 bytes
-rw-r--r--docs/module-doc/channels_8h__dep__incl.map16
-rw-r--r--docs/module-doc/channels_8h__dep__incl.md52
-rw-r--r--docs/module-doc/channels_8h__incl.gifbin2912 -> 3207 bytes
-rw-r--r--docs/module-doc/channels_8h__incl.md52
-rw-r--r--docs/module-doc/classAdmin-members.html2
-rw-r--r--docs/module-doc/classAdmin.html10
-rw-r--r--docs/module-doc/classBanItem-members.html2
-rw-r--r--docs/module-doc/classBanItem.html2
-rw-r--r--docs/module-doc/classBoolSet-members.html2
-rw-r--r--docs/module-doc/classBoolSet.html6
-rw-r--r--docs/module-doc/classConfigReader-members.html2
-rw-r--r--docs/module-doc/classConfigReader.html292
-rw-r--r--docs/module-doc/classConnectClass-members.html2
-rw-r--r--docs/module-doc/classConnectClass.html62
-rw-r--r--docs/module-doc/classDNS-members.html6
-rw-r--r--docs/module-doc/classDNS.html74
-rw-r--r--docs/module-doc/classDNS__coll__graph.gifbin1691 -> 2216 bytes
-rw-r--r--docs/module-doc/classDNS__coll__graph.md52
-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.html18
-rw-r--r--docs/module-doc/classExemptItem-members.html2
-rw-r--r--docs/module-doc/classExemptItem.html2
-rw-r--r--docs/module-doc/classExtMode-members.html2
-rw-r--r--docs/module-doc/classExtMode.html2
-rw-r--r--docs/module-doc/classExtensible-members.html3
-rw-r--r--docs/module-doc/classExtensible.html45
-rw-r--r--docs/module-doc/classFileReader-members.html2
-rw-r--r--docs/module-doc/classFileReader.html84
-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/classInspSocket-members.html8
-rw-r--r--docs/module-doc/classInspSocket.html505
-rw-r--r--docs/module-doc/classInspSocket__coll__graph.gifbin6744 -> 6814 bytes
-rw-r--r--docs/module-doc/classInspSocket__coll__graph.md52
-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.html8
-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.html42
-rw-r--r--docs/module-doc/classModule.html2174
-rw-r--r--docs/module-doc/classModuleFactory-members.html4
-rw-r--r--docs/module-doc/classModuleFactory.html17
-rw-r--r--docs/module-doc/classModuleMessage-members.html2
-rw-r--r--docs/module-doc/classModuleMessage.html6
-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.html18
-rw-r--r--docs/module-doc/classServer-members.html4
-rw-r--r--docs/module-doc/classServer.html793
-rw-r--r--docs/module-doc/classVersion-members.html2
-rw-r--r--docs/module-doc/classVersion.html14
-rw-r--r--docs/module-doc/classWhoWasUser-members.html2
-rw-r--r--docs/module-doc/classWhoWasUser.html18
-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.html3
-rw-r--r--docs/module-doc/classchanrec.html12
-rw-r--r--docs/module-doc/classclassbase-members.html2
-rw-r--r--docs/module-doc/classclassbase.html14
-rw-r--r--docs/module-doc/classcommand__t-members.html3
-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.html30
-rw-r--r--docs/module-doc/classes.html2
-rw-r--r--docs/module-doc/classstd_1_1char__traits.html2
-rw-r--r--docs/module-doc/classucrec-members.html2
-rw-r--r--docs/module-doc/classucrec.html6
-rw-r--r--docs/module-doc/classuserrec-members.html5
-rw-r--r--docs/module-doc/classuserrec.html613
-rw-r--r--docs/module-doc/commands_8h-source.html6
-rw-r--r--docs/module-doc/commands_8h.html66
-rw-r--r--docs/module-doc/commands_8h__dep__incl.gifbin808 -> 1171 bytes
-rw-r--r--docs/module-doc/commands_8h__dep__incl.map3
-rw-r--r--docs/module-doc/commands_8h__dep__incl.md52
-rw-r--r--docs/module-doc/commands_8h__incl.md52
-rw-r--r--docs/module-doc/connection_8h-source.html2
-rw-r--r--docs/module-doc/connection_8h.html18
-rw-r--r--docs/module-doc/connection_8h__dep__incl.gifbin4540 -> 4779 bytes
-rw-r--r--docs/module-doc/connection_8h__dep__incl.map16
-rw-r--r--docs/module-doc/connection_8h__dep__incl.md52
-rw-r--r--docs/module-doc/connection_8h__incl.gifbin8137 -> 8400 bytes
-rw-r--r--docs/module-doc/connection_8h__incl.md52
-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/ctables_8h__incl.gifbin2535 -> 2930 bytes
-rw-r--r--docs/module-doc/ctables_8h__incl.md52
-rw-r--r--docs/module-doc/dir_000000.html2
-rw-r--r--docs/module-doc/dir_000001.html2
-rw-r--r--docs/module-doc/dir_000002.html2
-rw-r--r--docs/module-doc/dir_000003.html4
-rw-r--r--docs/module-doc/dir_000003_dep.gifbin2115 -> 2121 bytes
-rw-r--r--docs/module-doc/dir_000003_dep.map2
-rw-r--r--docs/module-doc/dir_000004.html2
-rw-r--r--docs/module-doc/dir_000005.html4
-rw-r--r--docs/module-doc/dir_000005_000004.html2
-rw-r--r--docs/module-doc/dir_000005_dep.gifbin1343 -> 1347 bytes
-rw-r--r--docs/module-doc/dir_000005_dep.map2
-rw-r--r--docs/module-doc/dirs.html2
-rw-r--r--docs/module-doc/dns_8h-source.html62
-rw-r--r--docs/module-doc/dns_8h.html2
-rw-r--r--docs/module-doc/files.html2
-rw-r--r--docs/module-doc/functions.html2
-rw-r--r--docs/module-doc/functions_0x62.html2
-rw-r--r--docs/module-doc/functions_0x63.html4
-rw-r--r--docs/module-doc/functions_0x64.html2
-rw-r--r--docs/module-doc/functions_0x65.html2
-rw-r--r--docs/module-doc/functions_0x66.html4
-rw-r--r--docs/module-doc/functions_0x67.html11
-rw-r--r--docs/module-doc/functions_0x68.html2
-rw-r--r--docs/module-doc/functions_0x69.html10
-rw-r--r--docs/module-doc/functions_0x6a.html2
-rw-r--r--docs/module-doc/functions_0x6b.html2
-rw-r--r--docs/module-doc/functions_0x6c.html5
-rw-r--r--docs/module-doc/functions_0x6d.html7
-rw-r--r--docs/module-doc/functions_0x6e.html2
-rw-r--r--docs/module-doc/functions_0x6f.html64
-rw-r--r--docs/module-doc/functions_0x70.html6
-rw-r--r--docs/module-doc/functions_0x71.html2
-rw-r--r--docs/module-doc/functions_0x72.html5
-rw-r--r--docs/module-doc/functions_0x73.html2
-rw-r--r--docs/module-doc/functions_0x74.html2
-rw-r--r--docs/module-doc/functions_0x75.html2
-rw-r--r--docs/module-doc/functions_0x76.html2
-rw-r--r--docs/module-doc/functions_0x77.html2
-rw-r--r--docs/module-doc/functions_0x7e.html2
-rw-r--r--docs/module-doc/functions_func.html2
-rw-r--r--docs/module-doc/functions_func_0x62.html2
-rw-r--r--docs/module-doc/functions_func_0x63.html4
-rw-r--r--docs/module-doc/functions_func_0x64.html2
-rw-r--r--docs/module-doc/functions_func_0x65.html2
-rw-r--r--docs/module-doc/functions_func_0x66.html2
-rw-r--r--docs/module-doc/functions_func_0x67.html11
-rw-r--r--docs/module-doc/functions_func_0x68.html2
-rw-r--r--docs/module-doc/functions_func_0x69.html5
-rw-r--r--docs/module-doc/functions_func_0x6a.html2
-rw-r--r--docs/module-doc/functions_func_0x6c.html2
-rw-r--r--docs/module-doc/functions_func_0x6d.html4
-rw-r--r--docs/module-doc/functions_func_0x6e.html2
-rw-r--r--docs/module-doc/functions_func_0x6f.html64
-rw-r--r--docs/module-doc/functions_func_0x70.html6
-rw-r--r--docs/module-doc/functions_func_0x71.html2
-rw-r--r--docs/module-doc/functions_func_0x72.html5
-rw-r--r--docs/module-doc/functions_func_0x73.html2
-rw-r--r--docs/module-doc/functions_func_0x75.html2
-rw-r--r--docs/module-doc/functions_func_0x76.html2
-rw-r--r--docs/module-doc/functions_func_0x77.html2
-rw-r--r--docs/module-doc/functions_func_0x7e.html2
-rw-r--r--docs/module-doc/functions_vars.html15
-rw-r--r--docs/module-doc/globals.html2
-rw-r--r--docs/module-doc/globals_0x62.html2
-rw-r--r--docs/module-doc/globals_0x63.html2
-rw-r--r--docs/module-doc/globals_0x64.html5
-rw-r--r--docs/module-doc/globals_0x65.html5
-rw-r--r--docs/module-doc/globals_0x66.html2
-rw-r--r--docs/module-doc/globals_0x67.html2
-rw-r--r--docs/module-doc/globals_0x68.html2
-rw-r--r--docs/module-doc/globals_0x69.html2
-rw-r--r--docs/module-doc/globals_0x6c.html2
-rw-r--r--docs/module-doc/globals_0x6d.html8
-rw-r--r--docs/module-doc/globals_0x6e.html2
-rw-r--r--docs/module-doc/globals_0x6f.html2
-rw-r--r--docs/module-doc/globals_0x70.html2
-rw-r--r--docs/module-doc/globals_0x71.html2
-rw-r--r--docs/module-doc/globals_0x72.html2
-rw-r--r--docs/module-doc/globals_0x73.html2
-rw-r--r--docs/module-doc/globals_0x74.html2
-rw-r--r--docs/module-doc/globals_0x75.html2
-rw-r--r--docs/module-doc/globals_0x76.html2
-rw-r--r--docs/module-doc/globals_0x77.html2
-rw-r--r--docs/module-doc/globals_0x7a.html2
-rw-r--r--docs/module-doc/globals_defs.html2
-rw-r--r--docs/module-doc/globals_enum.html2
-rw-r--r--docs/module-doc/globals_eval.html2
-rw-r--r--docs/module-doc/globals_func.html8
-rw-r--r--docs/module-doc/globals_type.html2
-rw-r--r--docs/module-doc/globals_vars.html8
-rw-r--r--docs/module-doc/graph_legend.html2
-rw-r--r--docs/module-doc/hashcomp_8h-source.html2
-rw-r--r--docs/module-doc/hashcomp_8h.html2
-rw-r--r--docs/module-doc/hierarchy.html2
-rw-r--r--docs/module-doc/inherits.html2
-rw-r--r--docs/module-doc/main.html2
-rw-r--r--docs/module-doc/message_8h-source.html2
-rw-r--r--docs/module-doc/message_8h.html14
-rw-r--r--docs/module-doc/message_8h__incl.md52
-rw-r--r--docs/module-doc/mode_8h-source.html2
-rw-r--r--docs/module-doc/mode_8h.html4
-rw-r--r--docs/module-doc/mode_8h__incl.md52
-rw-r--r--docs/module-doc/modules_8cpp-source.html1350
-rw-r--r--docs/module-doc/modules_8cpp.html12
-rw-r--r--docs/module-doc/modules_8cpp__incl.md52
-rw-r--r--docs/module-doc/modules_8h-source.html859
-rw-r--r--docs/module-doc/modules_8h.html92
-rw-r--r--docs/module-doc/modules_8h__incl.gifbin7658 -> 7612 bytes
-rw-r--r--docs/module-doc/modules_8h__incl.map6
-rw-r--r--docs/module-doc/modules_8h__incl.md52
-rw-r--r--docs/module-doc/namespaceirc.html2
-rw-r--r--docs/module-doc/namespacemembers.html2
-rw-r--r--docs/module-doc/namespacemembers_type.html2
-rw-r--r--docs/module-doc/namespacenspace.html2
-rw-r--r--docs/module-doc/namespaces.html2
-rw-r--r--docs/module-doc/namespacestd.html2
-rw-r--r--docs/module-doc/socket_8cpp-source.html410
-rw-r--r--docs/module-doc/socket_8cpp.html2
-rw-r--r--docs/module-doc/socket_8h-source.html54
-rw-r--r--docs/module-doc/socket_8h.html2
-rw-r--r--docs/module-doc/structdns__ip4list-members.html2
-rw-r--r--docs/module-doc/structdns__ip4list.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1InAddr__HashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp-members.html2
-rw-r--r--docs/module-doc/structirc_1_1StrHashComp.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits-members.html2
-rw-r--r--docs/module-doc/structirc_1_1irc__char__traits.html2
-rw-r--r--docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html2
-rw-r--r--docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html2
-rw-r--r--docs/module-doc/structnspace_1_1hash_3_01string_01_4.html2
-rw-r--r--docs/module-doc/users_8cpp-source.html561
-rw-r--r--docs/module-doc/users_8cpp.html10
-rw-r--r--docs/module-doc/users_8cpp__incl.gifbin5014 -> 6230 bytes
-rw-r--r--docs/module-doc/users_8cpp__incl.map7
-rw-r--r--docs/module-doc/users_8cpp__incl.md52
-rw-r--r--docs/module-doc/users_8h-source.html317
-rw-r--r--docs/module-doc/users_8h.html22
-rw-r--r--docs/module-doc/users_8h__dep__incl.gifbin3938 -> 4034 bytes
-rw-r--r--docs/module-doc/users_8h__dep__incl.map4
-rw-r--r--docs/module-doc/users_8h__dep__incl.md52
-rw-r--r--docs/module-doc/users_8h__incl.md52
-rw-r--r--docs/module-doc/xline_8h-source.html13
-rw-r--r--docs/module-doc/xline_8h.html61
-rw-r--r--docs/module-doc/xline_8h__incl.md52
325 files changed, 8802 insertions, 4930 deletions
diff --git a/docs/man/man3/Admin.3 b/docs/man/man3/Admin.3
index 885903ffb..907f3d788 100644
--- a/docs/man/man3/Admin.3
+++ b/docs/man/man3/Admin.3
@@ -1,4 +1,4 @@
-.TH "Admin" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Admin" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -38,7 +38,7 @@ Holds /ADMIN data This class contains the admin details of the local server.
It is constructed by class \fBServer\fP, and has three read-only values, Name, Email and Nick that contain the specified values for the server where the module is running.
.PP
-Definition at line 124 of file modules.h.
+Definition at line 125 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Admin::Admin (\fBstd::string\fP name, \fBstd::string\fP email, \fBstd::string\fP nick)"
@@ -53,13 +53,13 @@ Definition at line 250 of file modules.cpp.
.PP
.SS "const \fBstd::string\fP \fBAdmin::Email\fP"
.PP
-Definition at line 127 of file modules.h.
+Definition at line 128 of file modules.h.
.SS "const \fBstd::string\fP \fBAdmin::Name\fP"
.PP
-Definition at line 127 of file modules.h.
+Definition at line 128 of file modules.h.
.SS "const \fBstd::string\fP \fBAdmin::Nick\fP"
.PP
-Definition at line 127 of file modules.h.
+Definition at line 128 of file modules.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/BanItem.3 b/docs/man/man3/BanItem.3
index db8e92a23..4ae2aa8a1 100644
--- a/docs/man/man3/BanItem.3
+++ b/docs/man/man3/BanItem.3
@@ -1,4 +1,4 @@
-.TH "BanItem" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "BanItem" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/BoolSet.3 b/docs/man/man3/BoolSet.3
index 56bb4b095..127f01c99 100644
--- a/docs/man/man3/BoolSet.3
+++ b/docs/man/man3/BoolSet.3
@@ -1,4 +1,4 @@
-.TH "BoolSet" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "BoolSet" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -67,7 +67,7 @@ BoolSet is a utility class designed to hold eight bools in a bitmask.
Use \fBBoolSet::Set\fP and \fBBoolSet::Get\fP to set and get bools in the bitmask, and Unset and Invert for special operations upon them.
.PP
-Definition at line 95 of file base.h.
+Definition at line 104 of file base.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "BoolSet::BoolSet ()"
@@ -145,7 +145,7 @@ The Unset method unsets one value in the set.
.PP
.SS "char \fBBoolSet::bits\fP\fC [private]\fP"
.PP
-Definition at line 97 of file base.h.
+Definition at line 106 of file base.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/ConfigReader.3 b/docs/man/man3/ConfigReader.3
index abbec6ef3..6edd9f6fa 100644
--- a/docs/man/man3/ConfigReader.3
+++ b/docs/man/man3/ConfigReader.3
@@ -1,4 +1,4 @@
-.TH "ConfigReader" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ConfigReader" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -84,7 +84,7 @@ 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 1121 of file modules.h.
+Definition at line 1510 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "ConfigReader::ConfigReader ()"
@@ -93,19 +93,19 @@ Default constructor.
.PP
This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.
.PP
-Definition at line 796 of file modules.cpp.
+Definition at line 834 of file modules.cpp.
.PP
References cache, CONF_FILE_NOT_FOUND, error, errorlog, include_stack, and readerror.
.PP
.nf
-797 {
-798 include_stack.clear();
-799 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-800 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-801 this->readerror = LoadConf(CONFIG_FILE,this->cache,this->errorlog);
-802 if (!this->readerror)
-803 this->error = CONF_FILE_NOT_FOUND;
-804 }
+835 {
+836 include_stack.clear();
+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 }
.fi
.PP
.SS "ConfigReader::ConfigReader (\fBstd::string\fP filename)"
@@ -114,18 +114,18 @@ Overloaded constructor.
.PP
This constructor initialises the ConfigReader class to read a user-specified config file
.PP
-Definition at line 816 of file modules.cpp.
+Definition at line 854 of file modules.cpp.
.PP
References cache, CONF_FILE_NOT_FOUND, error, errorlog, and readerror.
.PP
.nf
-817 {
-818 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-819 this->errorlog = new std::stringstream(std::stringstream::in | std::stringstream::out);
-820 this->readerror = LoadConf(filename.c_str(),this->cache,this->errorlog);
-821 if (!this->readerror)
-822 this->error = CONF_FILE_NOT_FOUND;
-823 };
+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 };
.fi
.PP
.SS "ConfigReader::~ConfigReader ()"
@@ -134,17 +134,17 @@ Default destructor.
.PP
This method destroys the ConfigReader class.
.PP
-Definition at line 807 of file modules.cpp.
+Definition at line 845 of file modules.cpp.
.PP
References cache, and errorlog.
.PP
.nf
-808 {
-809 if (this->cache)
-810 delete this->cache;
-811 if (this->errorlog)
-812 delete this->errorlog;
-813 }
+846 {
+847 if (this->cache)
+848 delete this->cache;
+849 if (this->errorlog)
+850 delete this->errorlog;
+851 }
.fi
.PP
.SH "Member Function Documentation"
@@ -155,41 +155,41 @@ Dumps the list of errors in a config file to an output location.
.PP
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.
.PP
-Definition at line 894 of file modules.cpp.
+Definition at line 932 of file modules.cpp.
.PP
References errorlog, connection::fd, and userrec::nick.
.PP
.nf
-895 {
-896 if (bail)
-897 {
-898 printf('There were errors in your configuration:\n%s',errorlog->str().c_str());
-899 exit(0);
-900 }
-901 else
-902 {
-903 char dataline[1024];
-904 if (user)
-905 {
-906 WriteServ(user->fd,'NOTICE %s :There were errors in the configuration file:',user->nick);
-907 while (!errorlog->eof())
-908 {
-909 errorlog->getline(dataline,1024);
-910 WriteServ(user->fd,'NOTICE %s :%s',user->nick,dataline);
-911 }
-912 }
-913 else
-914 {
-915 WriteOpers('There were errors in the configuration file:',user->nick);
-916 while (!errorlog->eof())
-917 {
-918 errorlog->getline(dataline,1024);
-919 WriteOpers(dataline);
-920 }
-921 }
-922 return;
-923 }
-924 }
+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 }
.fi
.PP
.SS "int ConfigReader::Enumerate (\fBstd::string\fP tag)"
@@ -198,14 +198,14 @@ Counts the number of times a given tag appears in the config file.
.PP
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.
.PP
-Definition at line 927 of file modules.cpp.
+Definition at line 965 of file modules.cpp.
.PP
References cache.
.PP
.nf
-928 {
-929 return EnumConf(cache,tag.c_str());
-930 }
+966 {
+967 return EnumConf(cache,tag.c_str());
+968 }
.fi
.PP
.SS "int ConfigReader::EnumerateValues (\fBstd::string\fP tag, int index)"
@@ -214,14 +214,14 @@ Returns the number of items within a tag.
.PP
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.
.PP
-Definition at line 932 of file modules.cpp.
+Definition at line 970 of file modules.cpp.
.PP
References cache.
.PP
.nf
-933 {
-934 return EnumValues(cache, tag.c_str(), index);
-935 }
+971 {
+972 return EnumValues(cache, tag.c_str(), index);
+973 }
.fi
.PP
.SS "long ConfigReader::GetError ()"
@@ -230,16 +230,16 @@ Returns the last error to occur.
.PP
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.
.PP
-Definition at line 887 of file modules.cpp.
+Definition at line 925 of file modules.cpp.
.PP
References error.
.PP
.nf
-888 {
-889 long olderr = this->error;
-890 this->error = 0;
-891 return olderr;
-892 }
+926 {
+927 long olderr = this->error;
+928 this->error = 0;
+929 return olderr;
+930 }
.fi
.PP
.SS "bool ConfigReader::ReadFlag (\fBstd::string\fP tag, \fBstd::string\fP name, int index)"
@@ -248,26 +248,26 @@ Retrieves a boolean value from the config file.
.PP
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.
.PP
-Definition at line 841 of file modules.cpp.
+Definition at line 879 of file modules.cpp.
.PP
References cache, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-842 {
-843 char val[MAXBUF];
-844 char t[MAXBUF];
-845 char n[MAXBUF];
-846 strlcpy(t,tag.c_str(),MAXBUF);
-847 strlcpy(n,name.c_str(),MAXBUF);
-848 int res = ReadConf(cache,t,n,index,val);
-849 if (!res)
-850 {
-851 this->error = CONF_VALUE_NOT_FOUND;
-852 return false;
-853 }
-854 std::string s = val;
-855 return ((s == 'yes') || (s == 'YES') || (s == 'true') || (s == 'TRUE') || (s == '1'));
-856 }
+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 }
.fi
.PP
.SS "long ConfigReader::ReadInteger (\fBstd::string\fP tag, \fBstd::string\fP name, int index, bool needs_unsigned)"
@@ -276,38 +276,38 @@ Retrieves an integer value from the config file.
.PP
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_UNSIGNED
.PP
-Definition at line 858 of file modules.cpp.
+Definition at line 896 of file modules.cpp.
.PP
References cache, CONF_NOT_A_NUMBER, CONF_NOT_UNSIGNED, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-859 {
-860 char val[MAXBUF];
-861 char t[MAXBUF];
-862 char n[MAXBUF];
-863 strlcpy(t,tag.c_str(),MAXBUF);
-864 strlcpy(n,name.c_str(),MAXBUF);
-865 int res = ReadConf(cache,t,n,index,val);
-866 if (!res)
-867 {
-868 this->error = CONF_VALUE_NOT_FOUND;
-869 return 0;
-870 }
-871 for (unsigned int i = 0; i < strlen(val); i++)
-872 {
-873 if (!isdigit(val[i]))
-874 {
-875 this->error = CONF_NOT_A_NUMBER;
-876 return 0;
-877 }
-878 }
-879 if ((needs_unsigned) && (atoi(val)<0))
-880 {
-881 this->error = CONF_NOT_UNSIGNED;
-882 return 0;
-883 }
-884 return atoi(val);
-885 }
+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 (unsigned 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 }
.fi
.PP
.SS "\fBstd::string\fP ConfigReader::ReadValue (\fBstd::string\fP tag, \fBstd::string\fP name, int index)"
@@ -316,25 +316,25 @@ Retrieves a value from the config file.
.PP
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.
.PP
-Definition at line 825 of file modules.cpp.
+Definition at line 863 of file modules.cpp.
.PP
References cache, CONF_VALUE_NOT_FOUND, and error.
.PP
.nf
-826 {
-827 char val[MAXBUF];
-828 char t[MAXBUF];
-829 char n[MAXBUF];
-830 strlcpy(t,tag.c_str(),MAXBUF);
-831 strlcpy(n,name.c_str(),MAXBUF);
-832 int res = ReadConf(cache,t,n,index,val);
-833 if (!res)
-834 {
-835 this->error = CONF_VALUE_NOT_FOUND;
-836 return '';
-837 }
-838 return val;
-839 }
+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 val;
+877 }
.fi
.PP
.SS "bool ConfigReader::Verify ()"
@@ -343,14 +343,14 @@ Returns true if a config file is valid.
.PP
This method is partially implemented and will only return false if the config file does not exist or could not be opened.
.PP
-Definition at line 937 of file modules.cpp.
+Definition at line 975 of file modules.cpp.
.PP
References readerror.
.PP
.nf
-938 {
-939 return this->readerror;
-940 }
+976 {
+977 return this->readerror;
+978 }
.fi
.PP
.SH "Member Data Documentation"
@@ -361,24 +361,24 @@ The contents of the configuration file This protected member should never be acc
.PP
It will contain a pointer to the configuration file data with unneeded data (such as comments) stripped from it.
.PP
-Definition at line 1129 of file modules.h.
+Definition at line 1518 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 1134 of file modules.h.
+Definition at line 1523 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 1130 of file modules.h.
+Definition at line 1519 of file modules.h.
.PP
Referenced by ConfigReader(), DumpErrors(), and ~ConfigReader().
.SS "bool \fBConfigReader::readerror\fP\fC [protected]\fP"
.PP
Used to store errors.
.PP
-Definition at line 1133 of file modules.h.
+Definition at line 1522 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 fe523ce7b..0d8ce0778 100644
--- a/docs/man/man3/ConnectClass.3
+++ b/docs/man/man3/ConnectClass.3
@@ -1,4 +1,4 @@
-.TH "ConnectClass" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ConnectClass" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -63,26 +63,26 @@ Inherits \fBclassbase\fP.
.PP
Holds information relevent to <connect allow> and <connect deny> tags in the config file.
.PP
-Definition at line 45 of file users.h.
+Definition at line 48 of file users.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "ConnectClass::ConnectClass ()\fC [inline]\fP"
.PP
-Definition at line 79 of file users.h.
+Definition at line 82 of file users.h.
.PP
References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax, and threshold.
.PP
.nf
-80 {
-81 registration_timeout = 0;
-82 flood = 0;
-83 pingtime = 0;
-84 threshold = 0;
-85 sendqmax = 0;
-86 recvqmax = 0;
-87 strlcpy(host,'',MAXBUF);
-88 strlcpy(pass,'',MAXBUF);
-89 }
+83 {
+84 registration_timeout = 0;
+85 flood = 0;
+86 pingtime = 0;
+87 threshold = 0;
+88 sendqmax = 0;
+89 recvqmax = 0;
+90 strlcpy(host,'',MAXBUF);
+91 strlcpy(pass,'',MAXBUF);
+92 }
.fi
.PP
.SH "Member Data Documentation"
@@ -91,63 +91,63 @@ References flood, host, pass, pingtime, recvqmax, registration_timeout, sendqmax
.PP
Number of lines in buffer before excess flood is triggered.
.PP
-Definition at line 56 of file users.h.
+Definition at line 59 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::host\fP[MAXBUF]"
.PP
Host mask for this line.
.PP
-Definition at line 59 of file users.h.
+Definition at line 62 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::pass\fP[MAXBUF]"
.PP
(Optional) Password for this line
.PP
-Definition at line 65 of file users.h.
+Definition at line 68 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::pingtime\fP"
.PP
Number of seconds between pings for this line.
.PP
-Definition at line 62 of file users.h.
+Definition at line 65 of file users.h.
.PP
Referenced by ConnectClass().
.SS "long \fBConnectClass::recvqmax\fP"
.PP
Maximum size of recvq for users in this class (bytes).
.PP
-Definition at line 77 of file users.h.
+Definition at line 80 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::registration_timeout\fP"
.PP
Max time to register the connection in seconds.
.PP
-Definition at line 53 of file users.h.
+Definition at line 56 of file users.h.
.PP
Referenced by ConnectClass().
.SS "long \fBConnectClass::sendqmax\fP"
.PP
Maximum size of sendq for users in this class (bytes).
.PP
-Definition at line 73 of file users.h.
+Definition at line 76 of file users.h.
.PP
Referenced by ConnectClass().
.SS "int \fBConnectClass::threshold\fP"
.PP
Threshold value for flood disconnect.
.PP
-Definition at line 69 of file users.h.
+Definition at line 72 of file users.h.
.PP
Referenced by ConnectClass().
.SS "char \fBConnectClass::type\fP"
.PP
Type of line, either CC_ALLOW or CC_DENY.
.PP
-Definition at line 50 of file users.h.
+Definition at line 53 of file users.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index a88a76ab1..95597b880 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -42,6 +42,9 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.br
.RI "\fIThis method returns the result of your query as a string, depending upon wether you called \fBDNS::ReverseLookup()\fP or \fBDNS::ForwardLookup\fP. \fP"
.ti -1c
+.RI "\fBstd::string\fP \fBGetResultIP\fP ()"
+.br
+.ti -1c
.RI "int \fBGetFD\fP ()"
.br
.RI "\fIThis method returns the file handle used by the dns query socket or zero if the query is invalid for some reason, e.g. \fP"
@@ -74,7 +77,7 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.RI "int \fBdns_getname4\fP (const in_addr *const ip)"
.br
.ti -1c
-.RI "char * \fBdns_getresult\fP (const int \fBfd\fP)"
+.RI "char * \fBdns_getresult\fP (const int fd)"
.br
.ti -1c
.RI "in_addr * \fBdns_aton4_s\fP (const char *const ipstring, in_addr *const ip)"
@@ -83,7 +86,7 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.RI "char * \fBdns_ntoa4_s\fP (const in_addr *const ip, char *const \fBresult\fP)"
.br
.ti -1c
-.RI "char * \fBdns_getresult_s\fP (const int \fBfd\fP, char *const \fBresult\fP)"
+.RI "char * \fBdns_getresult_s\fP (const int fd, char *const \fBresult\fP)"
.br
.ti -1c
.RI "in_addr * \fBdns_aton4_r\fP (const char *const ipstring)"
@@ -92,7 +95,7 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.RI "char * \fBdns_ntoa4_r\fP (const in_addr *const ip)"
.br
.ti -1c
-.RI "char * \fBdns_getresult_r\fP (const int \fBfd\fP)"
+.RI "char * \fBdns_getresult_r\fP (const int fd)"
.br
.in -1c
.SS "Private Attributes"
@@ -105,10 +108,13 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.RI "char * \fBresult\fP"
.br
.ti -1c
+.RI "char \fBlocalbuf\fP [1024]"
+.br
+.ti -1c
.RI "int \fBt\fP"
.br
.ti -1c
-.RI "int \fBfd\fP"
+.RI "int \fBmyfd\fP"
.br
.in -1c
.SH "Detailed Description"
@@ -178,6 +184,8 @@ the dns server not responding.
.PP
This method returns the result of your query as a string, depending upon wether you called \fBDNS::ReverseLookup()\fP or \fBDNS::ForwardLookup\fP.
.PP
+.SS "\fBstd::string\fP DNS::GetResultIP ()"
+.PP
.SS "bool DNS::HasResult ()"
.PP
This method will return true when the lookup is completed.
@@ -195,15 +203,18 @@ This method will start the reverse lookup of an ip given in dotted decimal forma
.SS "in_addr* \fBDNS::binip\fP\fC [private]\fP"
.PP
Definition at line 38 of file dns.h.
-.SS "int \fBDNS::fd\fP\fC [private]\fP"
+.SS "char \fBDNS::localbuf\fP[1024]\fC [private]\fP"
+.PP
+Definition at line 40 of file dns.h.
+.SS "int \fBDNS::myfd\fP\fC [private]\fP"
.PP
-Definition at line 42 of file dns.h.
+Definition at line 43 of file dns.h.
.SS "char* \fBDNS::result\fP\fC [private]\fP"
.PP
Definition at line 39 of file dns.h.
.SS "int \fBDNS::t\fP\fC [private]\fP"
.PP
-Definition at line 40 of file dns.h.
+Definition at line 41 of file dns.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/ELine.3 b/docs/man/man3/ELine.3
index f40a92bd3..1b3b6c7a4 100644
--- a/docs/man/man3/ELine.3
+++ b/docs/man/man3/ELine.3
@@ -1,4 +1,4 @@
-.TH "ELine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ELine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Event.3 b/docs/man/man3/Event.3
index 545ed1fdc..0105be0ae 100644
--- a/docs/man/man3/Event.3
+++ b/docs/man/man3/Event.3
@@ -1,4 +1,4 @@
-.TH "Event" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Event" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -58,7 +58,7 @@ The Event class is a unicast message directed at all modules.
When the class is properly instantiated it may be sent to all modules using the \fBSend()\fP method, which will trigger the OnEvent method in all modules passing the object as its parameter.
.PP
-Definition at line 196 of file modules.h.
+Definition at line 197 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Event::Event (char * anydata, \fBModule\fP * src, \fBstd::string\fP eventid)"
@@ -142,7 +142,7 @@ References FOREACH_MOD.
.PP
This member holds a pointer to arbitary data set by the emitter of the message.
.PP
-Definition at line 201 of file modules.h.
+Definition at line 202 of file modules.h.
.PP
Referenced by GetData().
.SS "\fBstd::string\fP \fBEvent::id\fP\fC [protected]\fP"
@@ -151,14 +151,14 @@ The event identifier.
.PP
This is arbitary text which should be used to distinguish one type of event from another.
.PP
-Definition at line 210 of file modules.h.
+Definition at line 211 of file modules.h.
.PP
Referenced by GetEventID().
.SS "\fBModule\fP* \fBEvent::source\fP\fC [protected]\fP"
.PP
This is a pointer to the sender of the message, which can be used to directly trigger events, or to create a reply.
.PP
-Definition at line 205 of file modules.h.
+Definition at line 206 of file modules.h.
.PP
Referenced by GetSource().
diff --git a/docs/man/man3/ExemptItem.3 b/docs/man/man3/ExemptItem.3
index 7f07d2075..17e67bdcf 100644
--- a/docs/man/man3/ExemptItem.3
+++ b/docs/man/man3/ExemptItem.3
@@ -1,4 +1,4 @@
-.TH "ExemptItem" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ExemptItem" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ExtMode.3 b/docs/man/man3/ExtMode.3
index 6b5905f8d..e63ace10d 100644
--- a/docs/man/man3/ExtMode.3
+++ b/docs/man/man3/ExtMode.3
@@ -1,4 +1,4 @@
-.TH "ExtMode" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ExtMode" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3
index 4f918482c..6c291ce75 100644
--- a/docs/man/man3/Extensible.3
+++ b/docs/man/man3/Extensible.3
@@ -1,4 +1,4 @@
-.TH "Extensible" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Extensible" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -29,6 +29,10 @@ Inherited by \fBchanrec\fP, \fBcommand_t\fP, and \fBconnection\fP.
.RI "char * \fBGetExt\fP (\fBstd::string\fP key)"
.br
.RI "\fIGet an extension item. \fP"
+.ti -1c
+.RI "void \fBGetExtList\fP (std::deque< \fBstd::string\fP > &\fBlist\fP)"
+.br
+.RI "\fIGet a list of all extension items names. \fP"
.in -1c
.SS "Private Attributes"
@@ -44,7 +48,7 @@ class Extensible is the parent class of many classes such as userrec and chanrec
class Extensible implements a system which allows modules to 'extend' the class by attaching data within a map associated with the object. In this way modules can store their own custom information within user objects, channel objects and server objects, without breaking other modules (this is more sensible than using a flags variable, and each module defining bits within the flag as 'theirs' as it is less prone to conflict and supports arbitary data storage).
.PP
-Definition at line 50 of file base.h.
+Definition at line 51 of file base.h.
.SH "Member Function Documentation"
.PP
.SS "bool Extensible::Extend (\fBstd::string\fP key, char * p)"
@@ -81,6 +85,21 @@ If you provide a non-existent key name, the function returns NULL, otherwise a p
.RE
.PP
+.SS "void Extensible::GetExtList (std::deque< \fBstd::string\fP > & list)"
+.PP
+Get a list of all extension items names.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIlist\fP A deque of strings to receive the list
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+This function writes a list of all extension items stored in this object by name into the given deque and returns void.
+.RE
+.PP
+
.SS "bool Extensible::Shrink (\fBstd::string\fP key)"
.PP
Shrink an Extensible class.
@@ -104,7 +123,7 @@ Returns true on success.
.PP
Private data store.
.PP
-Definition at line 54 of file base.h.
+Definition at line 55 of file base.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/FileReader.3 b/docs/man/man3/FileReader.3
index c6111fde1..09067f8f8 100644
--- a/docs/man/man3/FileReader.3
+++ b/docs/man/man3/FileReader.3
@@ -1,4 +1,4 @@
-.TH "FileReader" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "FileReader" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -57,7 +57,7 @@ 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 1210 of file modules.h.
+Definition at line 1599 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "FileReader::FileReader ()"
@@ -66,11 +66,11 @@ Default constructor.
.PP
This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.
.PP
-Definition at line 950 of file modules.cpp.
+Definition at line 988 of file modules.cpp.
.PP
.nf
-951 {
-952 }
+989 {
+990 }
.fi
.PP
.SS "FileReader::FileReader (\fBstd::string\fP filename)"
@@ -79,16 +79,16 @@ Secondary constructor.
.PP
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.
.PP
-Definition at line 943 of file modules.cpp.
+Definition at line 981 of file modules.cpp.
.PP
References fc.
.PP
.nf
-944 {
-945 file_cache c;
-946 readfile(c,filename.c_str());
-947 this->fc = c;
-948 }
+982 {
+983 file_cache c;
+984 readfile(c,filename.c_str());
+985 this->fc = c;
+986 }
.fi
.PP
.SS "FileReader::~FileReader ()"
@@ -97,11 +97,11 @@ Default destructor.
.PP
This deletes the memory allocated to the file.
.PP
-Definition at line 962 of file modules.cpp.
+Definition at line 1000 of file modules.cpp.
.PP
.nf
-963 {
-964 }
+1001 {
+1002 }
.fi
.PP
.SH "Member Function Documentation"
@@ -110,21 +110,21 @@ Definition at line 962 of file modules.cpp.
.PP
Returns true if the file exists This function will return false if the file could not be opened.
.PP
-Definition at line 966 of file modules.cpp.
+Definition at line 1004 of file modules.cpp.
.PP
References fc.
.PP
.nf
-967 {
-968 if (fc.size() == 0)
-969 {
-970 return(false);
-971 }
-972 else
-973 {
-974 return(true);
-975 }
-976 }
+1005 {
+1006 if (fc.size() == 0)
+1007 {
+1008 return(false);
+1009 }
+1010 else
+1011 {
+1012 return(true);
+1013 }
+1014 }
.fi
.PP
.SS "int FileReader::FileSize ()"
@@ -133,14 +133,14 @@ Returns the size of the file in lines.
.PP
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.
.PP
-Definition at line 985 of file modules.cpp.
+Definition at line 1023 of file modules.cpp.
.PP
References fc.
.PP
.nf
-986 {
-987 return fc.size();
-988 }
+1024 {
+1025 return fc.size();
+1026 }
.fi
.PP
.SS "\fBstd::string\fP FileReader::GetLine (int x)"
@@ -149,16 +149,16 @@ Retrieve one line from the file.
.PP
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.
.PP
-Definition at line 978 of file modules.cpp.
+Definition at line 1016 of file modules.cpp.
.PP
References fc.
.PP
.nf
-979 {
-980 if ((x<0) || ((unsigned)x>fc.size()))
-981 return '';
-982 return fc[x];
-983 }
+1017 {
+1018 if ((x<0) || ((unsigned)x>fc.size()))
+1019 return '';
+1020 return fc[x];
+1021 }
.fi
.PP
.SS "void FileReader::LoadFile (\fBstd::string\fP filename)"
@@ -167,23 +167,23 @@ Used to load a file.
.PP
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.
.PP
-Definition at line 954 of file modules.cpp.
+Definition at line 992 of file modules.cpp.
.PP
References fc.
.PP
.nf
-955 {
-956 file_cache c;
-957 readfile(c,filename.c_str());
-958 this->fc = c;
-959 }
+993 {
+994 file_cache c;
+995 readfile(c,filename.c_str());
+996 this->fc = c;
+997 }
.fi
.PP
.SH "Member Data Documentation"
.PP
.SS "\fBfile_cache\fP \fBFileReader::fc\fP\fC [private]\fP"
.PP
-Definition at line 1212 of file modules.h.
+Definition at line 1601 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 90e78da82..a4dae91d5 100644
--- a/docs/man/man3/GLine.3
+++ b/docs/man/man3/GLine.3
@@ -1,4 +1,4 @@
-.TH "GLine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "GLine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/HostItem.3 b/docs/man/man3/HostItem.3
index 950a16845..873025613 100644
--- a/docs/man/man3/HostItem.3
+++ b/docs/man/man3/HostItem.3
@@ -1,4 +1,4 @@
-.TH "HostItem" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "HostItem" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/InspSocket.3 b/docs/man/man3/InspSocket.3
index a0c2e134c..1dc773958 100644
--- a/docs/man/man3/InspSocket.3
+++ b/docs/man/man3/InspSocket.3
@@ -1,4 +1,4 @@
-.TH "InspSocket" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "InspSocket" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -15,7 +15,7 @@ InspSocket \-
.RI "\fBInspSocket\fP ()"
.br
.ti -1c
-.RI "\fBInspSocket\fP (int newfd)"
+.RI "\fBInspSocket\fP (int newfd, char *ip)"
.br
.ti -1c
.RI "\fBInspSocket\fP (\fBstd::string\fP \fBhost\fP, int \fBport\fP, bool listening, unsigned long maxtime)"
@@ -42,6 +42,9 @@ InspSocket \-
.RI "virtual char * \fBRead\fP ()"
.br
.ti -1c
+.RI "\fBstd::string\fP \fBGetIP\fP ()"
+.br
+.ti -1c
.RI "virtual int \fBWrite\fP (\fBstd::string\fP data)"
.br
.ti -1c
@@ -94,7 +97,10 @@ InspSocket \-
.RI "pollfd \fBpolls\fP"
.br
.ti -1c
-.RI "char \fBibuf\fP [1024]"
+.RI "char \fBibuf\fP [16384]"
+.br
+.ti -1c
+.RI "\fBstd::string\fP \fBIP\fP"
.br
.ti -1c
.RI "sockaddr_in \fBclient\fP"
@@ -123,327 +129,342 @@ References I_DISCONNECTED, and state.
49 }
.fi
.PP
-.SS "InspSocket::InspSocket (int newfd)"
+.SS "InspSocket::InspSocket (int newfd, char * ip)"
.PP
Definition at line 51 of file socket.cpp.
.PP
-References fd, I_CONNECTED, and state.
+References fd, I_CONNECTED, IP, and state.
.PP
.nf
52 {
53 this->fd = newfd;
54 this->state = I_CONNECTED;
-55 }
+55 this->IP = ip;
+56 }
.fi
.PP
.SS "InspSocket::InspSocket (\fBstd::string\fP host, int port, bool listening, unsigned long maxtime)"
.PP
-Definition at line 57 of file socket.cpp.
+Definition at line 58 of file socket.cpp.
.PP
-References addr, addy, Close(), DEBUG, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, OnError(), state, timeout, and timeout_end.
+References addr, addy, Close(), DEBUG, fd, I_CONNECTING, I_ERR_BIND, I_ERR_CONNECT, I_ERR_SOCKET, I_ERROR, I_LISTENING, IP, OnError(), state, timeout, and timeout_end.
.PP
.nf
-58 {
-59 if (listening) {
-60 if ((this->fd = OpenTCPSocket()) == ERROR)
-61 {
-62 this->fd = -1;
-63 this->state = I_ERROR;
-64 this->OnError(I_ERR_SOCKET);
-65 log(DEBUG,'OpenTCPSocket() error');
-66 return;
-67 }
-68 else
-69 {
-70 if (BindSocket(this->fd,this->client,this->server,port,(char*)host.c_str()) == ERROR)
-71 {
-72 this->Close();
-73 this->fd = -1;
-74 this->state = I_ERROR;
-75 this->OnError(I_ERR_BIND);
-76 log(DEBUG,'BindSocket() error %s',strerror(errno));
-77 return;
-78 }
-79 else
-80 {
-81 this->state = I_LISTENING;
-82 log(DEBUG,'New socket now in I_LISTENING state');
-83 return;
-84 }
-85 }
-86 } else {
-87 char* ip;
-88 this->host = host;
-89 hostent* hoste = gethostbyname(host.c_str());
-90 if (!hoste) {
-91 ip = (char*)host.c_str();
-92 } else {
-93 struct in_addr* ia = (in_addr*)hoste->h_addr;
-94 ip = inet_ntoa(*ia);
-95 }
-96
-97 timeout_end = time(NULL)+maxtime;
-98 timeout = false;
-99 if ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
-100 {
-101 this->state = I_ERROR;
-102 this->OnError(I_ERR_SOCKET);
-103 return;
-104 }
-105 this->port = port;
-106 inet_aton(ip,&addy);
-107 addr.sin_family = AF_INET;
-108 addr.sin_addr = addy;
-109 addr.sin_port = htons(this->port);
-110
-111 int flags;
-112 flags = fcntl(this->fd, F_GETFL, 0);
-113 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK);
-114
-115 if(connect(this->fd, (sockaddr*)&this->addr,sizeof(this->addr)) == -1)
-116 {
-117 if (errno != EINPROGRESS)
-118 {
-119 this->Close();
-120 this->OnError(I_ERR_CONNECT);
-121 this->state = I_ERROR;
-122 return;
-123 }
-124 }
-125 this->state = I_CONNECTING;
-126 return;
-127 }
-128 }
+59 {
+60 if (listening) {
+61 if ((this->fd = OpenTCPSocket()) == ERROR)
+62 {
+63 this->fd = -1;
+64 this->state = I_ERROR;
+65 this->OnError(I_ERR_SOCKET);
+66 log(DEBUG,'OpenTCPSocket() error');
+67 return;
+68 }
+69 else
+70 {
+71 if (BindSocket(this->fd,this->client,this->server,port,(char*)host.c_str()) == ERROR)
+72 {
+73 this->Close();
+74 this->fd = -1;
+75 this->state = I_ERROR;
+76 this->OnError(I_ERR_BIND);
+77 log(DEBUG,'BindSocket() error %s',strerror(errno));
+78 return;
+79 }
+80 else
+81 {
+82 this->state = I_LISTENING;
+83 log(DEBUG,'New socket now in I_LISTENING state');
+84 return;
+85 }
+86 }
+87 } else {
+88 char* ip;
+89 this->host = host;
+90 hostent* hoste = gethostbyname(host.c_str());
+91 if (!hoste) {
+92 ip = (char*)host.c_str();
+93 } else {
+94 struct in_addr* ia = (in_addr*)hoste->h_addr;
+95 ip = inet_ntoa(*ia);
+96 }
+97
+98 this->IP = ip;
+99
+100 timeout_end = time(NULL)+maxtime;
+101 timeout = false;
+102 if ((this->fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
+103 {
+104 this->state = I_ERROR;
+105 this->OnError(I_ERR_SOCKET);
+106 return;
+107 }
+108 this->port = port;
+109 inet_aton(ip,&addy);
+110 addr.sin_family = AF_INET;
+111 addr.sin_addr = addy;
+112 addr.sin_port = htons(this->port);
+113
+114 int flags;
+115 flags = fcntl(this->fd, F_GETFL, 0);
+116 fcntl(this->fd, F_SETFL, flags | O_NONBLOCK);
+117
+118 if(connect(this->fd, (sockaddr*)&this->addr,sizeof(this->addr)) == -1)
+119 {
+120 if (errno != EINPROGRESS)
+121 {
+122 this->Close();
+123 this->OnError(I_ERR_CONNECT);
+124 this->state = I_ERROR;
+125 return;
+126 }
+127 }
+128 this->state = I_CONNECTING;
+129 return;
+130 }
+131 }
.fi
.PP
.SS "InspSocket::~InspSocket ()\fC [virtual]\fP"
.PP
-Definition at line 246 of file socket.cpp.
+Definition at line 254 of file socket.cpp.
.PP
References Close().
.PP
.nf
-247 {
-248 this->Close();
-249 }
+255 {
+256 this->Close();
+257 }
.fi
.PP
.SH "Member Function Documentation"
.PP
.SS "void InspSocket::Close ()\fC [virtual]\fP"
.PP
-Definition at line 130 of file socket.cpp.
+Definition at line 133 of file socket.cpp.
.PP
References fd, and OnClose().
.PP
Referenced by InspSocket(), and ~InspSocket().
.PP
.nf
-131 {
-132 if (this->fd != -1)
-133 {
-134 this->OnClose();
-135 shutdown(this->fd,2);
-136 close(this->fd);
-137 this->fd = -1;
-138 }
-139 }
+134 {
+135 if (this->fd != -1)
+136 {
+137 this->OnClose();
+138 shutdown(this->fd,2);
+139 close(this->fd);
+140 this->fd = -1;
+141 }
+142 }
+.fi
+.PP
+.SS "\fBstd::string\fP InspSocket::GetIP ()"
+.PP
+Definition at line 144 of file socket.cpp.
+.PP
+References IP.
+.PP
+.nf
+145 {
+146 return this->IP;
+147 }
.fi
.PP
.SS "\fBInspSocketState\fP InspSocket::GetState ()"
.PP
-Definition at line 233 of file socket.cpp.
+Definition at line 241 of file socket.cpp.
.PP
References state.
.PP
.nf
-234 {
-235 return this->state;
-236 }
+242 {
+243 return this->state;
+244 }
.fi
.PP
.SS "void InspSocket::OnClose ()\fC [virtual]\fP"
.PP
-Definition at line 244 of file socket.cpp.
+Definition at line 252 of file socket.cpp.
.PP
Referenced by Close().
.PP
.nf
-244 { return; }
+252 { return; }
.fi
.PP
.SS "bool InspSocket::OnConnected ()\fC [virtual]\fP"
.PP
-Definition at line 238 of file socket.cpp.
+Definition at line 246 of file socket.cpp.
.PP
Referenced by Poll().
.PP
.nf
-238 { return true; }
+246 { return true; }
.fi
.PP
.SS "bool InspSocket::OnDataReady ()\fC [virtual]\fP"
.PP
-Definition at line 242 of file socket.cpp.
+Definition at line 250 of file socket.cpp.
.PP
Referenced by Poll().
.PP
.nf
-242 { return true; }
+250 { return true; }
.fi
.PP
.SS "int InspSocket::OnDisconnect ()\fC [virtual]\fP"
.PP
-Definition at line 240 of file socket.cpp.
+Definition at line 248 of file socket.cpp.
.PP
.nf
-240 { return 0; }
+248 { return 0; }
.fi
.PP
.SS "void InspSocket::OnError (\fBInspSocketError\fP e)\fC [virtual]\fP"
.PP
-Definition at line 239 of file socket.cpp.
+Definition at line 247 of file socket.cpp.
.PP
Referenced by InspSocket(), and Poll().
.PP
.nf
-239 { return; }
+247 { return; }
.fi
.PP
.SS "int InspSocket::OnIncomingConnection (int newfd, char * ip)\fC [virtual]\fP"
.PP
-Definition at line 241 of file socket.cpp.
+Definition at line 249 of file socket.cpp.
.PP
Referenced by Poll().
.PP
.nf
-241 { return 0; }
+249 { return 0; }
.fi
.PP
.SS "void InspSocket::OnTimeout ()\fC [virtual]\fP"
.PP
-Definition at line 243 of file socket.cpp.
+Definition at line 251 of file socket.cpp.
.PP
Referenced by Poll().
.PP
.nf
-243 { return; }
+251 { return; }
.fi
.PP
.SS "bool InspSocket::Poll ()"
.PP
-Definition at line 183 of file socket.cpp.
+Definition at line 191 of file socket.cpp.
.PP
References client, fd, I_CONNECTED, I_CONNECTING, I_ERR_TIMEOUT, I_ERROR, I_LISTENING, length, OnConnected(), OnDataReady(), OnError(), OnIncomingConnection(), OnTimeout(), polls, SetState(), state, timeout, and timeout_end.
.PP
.nf
-184 {
-185 if ((time(NULL) > timeout_end) && (this->state == I_CONNECTING))
-186 {
-187 // for non-listening sockets, the timeout can occur
-188 // which causes termination of the connection after
-189 // the given number of seconds without a successful
-190 // connection.
-191 this->OnTimeout();
-192 this->OnError(I_ERR_TIMEOUT);
-193 timeout = true;
-194 this->state = I_ERROR;
-195 return false;
-196 }
-197 polls.fd = this->fd;
-198 state == I_CONNECTING ? polls.events = POLLOUT : polls.events = POLLIN;
-199 int ret = poll(&polls,1,1);
-200
-201 if (ret > 0)
-202 {
-203 int incoming = -1;
-204
-205 switch (this->state)
-206 {
-207 case I_CONNECTING:
-208 this->SetState(I_CONNECTED);
-209 return this->OnConnected();
-210 break;
-211 case I_LISTENING:
-212 length = sizeof (client);
-213 incoming = accept (this->fd, (sockaddr*)&client,&length);
-214 this->OnIncomingConnection(incoming,inet_ntoa(client.sin_addr));
-215 return true;
-216 break;
-217 case I_CONNECTED:
-218 return this->OnDataReady();
-219 break;
-220 default:
-221 break;
-222 }
-223 }
-224 return true;
-225 }
+192 {
+193 if ((time(NULL) > timeout_end) && (this->state == I_CONNECTING))
+194 {
+195 // for non-listening sockets, the timeout can occur
+196 // which causes termination of the connection after
+197 // the given number of seconds without a successful
+198 // connection.
+199 this->OnTimeout();
+200 this->OnError(I_ERR_TIMEOUT);
+201 timeout = true;
+202 this->state = I_ERROR;
+203 return false;
+204 }
+205 polls.fd = this->fd;
+206 state == I_CONNECTING ? polls.events = POLLOUT : polls.events = POLLIN;
+207 int ret = poll(&polls,1,1);
+208
+209 if (ret > 0)
+210 {
+211 int incoming = -1;
+212
+213 switch (this->state)
+214 {
+215 case I_CONNECTING:
+216 this->SetState(I_CONNECTED);
+217 return this->OnConnected();
+218 break;
+219 case I_LISTENING:
+220 length = sizeof (client);
+221 incoming = accept (this->fd, (sockaddr*)&client,&length);
+222 this->OnIncomingConnection(incoming,inet_ntoa(client.sin_addr));
+223 return true;
+224 break;
+225 case I_CONNECTED:
+226 return this->OnDataReady();
+227 break;
+228 default:
+229 break;
+230 }
+231 }
+232 return true;
+233 }
.fi
.PP
.SS "char * InspSocket::Read ()\fC [virtual]\fP"
.PP
-Definition at line 141 of file socket.cpp.
+Definition at line 149 of file socket.cpp.
.PP
References DEBUG, and ibuf.
.PP
.nf
-142 {
-143 int n = recv(this->fd,this->ibuf,sizeof(this->ibuf),0);
-144 if (n > 0)
-145 {
-146 ibuf[n] = 0;
-147 return ibuf;
-148 }
-149 else
-150 {
-151 log(DEBUG,'EOF or error on socket');
-152 return NULL;
-153 }
-154 }
+150 {
+151 int n = recv(this->fd,this->ibuf,sizeof(this->ibuf),0);
+152 if (n > 0)
+153 {
+154 ibuf[n] = 0;
+155 return ibuf;
+156 }
+157 else
+158 {
+159 log(DEBUG,'EOF or error on socket');
+160 return NULL;
+161 }
+162 }
.fi
.PP
.SS "void InspSocket::SetState (\fBInspSocketState\fP s)"
.PP
-Definition at line 227 of file socket.cpp.
+Definition at line 235 of file socket.cpp.
.PP
References DEBUG, and state.
.PP
Referenced by Poll().
.PP
.nf
-228 {
-229 log(DEBUG,'Socket state change');
-230 this->state = s;
-231 }
+236 {
+237 log(DEBUG,'Socket state change');
+238 this->state = s;
+239 }
.fi
.PP
.SS "int InspSocket::Write (\fBstd::string\fP data)\fC [virtual]\fP"
.PP
-Definition at line 160 of file socket.cpp.
+Definition at line 168 of file socket.cpp.
.PP
.nf
-161 {
-162 char* d = (char*)data.c_str();
-163 unsigned int written = 0;
-164 int n = 0;
-165 int s = data.length();
-166 while ((written < data.length()) && (n >= 0))
-167 {
-168 n = send(this->fd,d,s,0);
-169 if (n > 0)
-170 {
-171 // If we didnt write everything, advance
-172 // the pointers so that when we retry
-173 // the next time around the loop, we try
-174 // to write what we failed to write before.
-175 written += n;
-176 s -= n;
-177 d += n;
-178 }
-179 }
-180 return written;
-181 }
+169 {
+170 char* d = (char*)data.c_str();
+171 unsigned int written = 0;
+172 int n = 0;
+173 int s = data.length();
+174 while ((written < data.length()) && (n >= 0))
+175 {
+176 n = send(this->fd,d,s,0);
+177 if (n > 0)
+178 {
+179 // If we didnt write everything, advance
+180 // the pointers so that when we retry
+181 // the next time around the loop, we try
+182 // to write what we failed to write before.
+183 written += n;
+184 s -= n;
+185 d += n;
+186 }
+187 }
+188 return written;
+189 }
.fi
.PP
.SH "Member Data Documentation"
@@ -460,7 +481,7 @@ Definition at line 38 of file socket.h.
Referenced by InspSocket().
.SS "sockaddr_in \fBInspSocket::client\fP\fC [private]\fP"
.PP
-Definition at line 43 of file socket.h.
+Definition at line 44 of file socket.h.
.PP
Referenced by Poll().
.SS "int \fBInspSocket::fd\fP\fC [private]\fP"
@@ -471,14 +492,19 @@ Referenced by Close(), InspSocket(), and Poll().
.SS "\fBstd::string\fP \fBInspSocket::host\fP\fC [private]\fP"
.PP
Definition at line 34 of file socket.h.
-.SS "char \fBInspSocket::ibuf\fP[1024]\fC [private]\fP"
+.SS "char \fBInspSocket::ibuf\fP[16384]\fC [private]\fP"
.PP
Definition at line 42 of file socket.h.
.PP
Referenced by Read().
+.SS "\fBstd::string\fP \fBInspSocket::IP\fP\fC [private]\fP"
+.PP
+Definition at line 43 of file socket.h.
+.PP
+Referenced by GetIP(), and InspSocket().
.SS "socklen_t \fBInspSocket::length\fP\fC [private]\fP"
.PP
-Definition at line 45 of file socket.h.
+Definition at line 46 of file socket.h.
.PP
Referenced by Poll().
.SS "pollfd \fBInspSocket::polls\fP\fC [private]\fP"
@@ -491,7 +517,7 @@ Referenced by Poll().
Definition at line 35 of file socket.h.
.SS "sockaddr_in \fBInspSocket::server\fP\fC [private]\fP"
.PP
-Definition at line 44 of file socket.h.
+Definition at line 45 of file socket.h.
.SS "\fBInspSocketState\fP \fBInspSocket::state\fP\fC [private]\fP"
.PP
Definition at line 36 of file socket.h.
diff --git a/docs/man/man3/InviteItem.3 b/docs/man/man3/InviteItem.3
index 11c1fd0b6..03bba1468 100644
--- a/docs/man/man3/InviteItem.3
+++ b/docs/man/man3/InviteItem.3
@@ -1,4 +1,4 @@
-.TH "InviteItem" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "InviteItem" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Invited.3 b/docs/man/man3/Invited.3
index 18e08bb8e..faf75bc02 100644
--- a/docs/man/man3/Invited.3
+++ b/docs/man/man3/Invited.3
@@ -1,4 +1,4 @@
-.TH "Invited" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Invited" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -23,12 +23,12 @@ Inherits \fBclassbase\fP.
.PP
Holds a channel name to which a user has been invited.
.PP
-Definition at line 36 of file users.h.
+Definition at line 39 of file users.h.
.SH "Member Data Documentation"
.PP
.SS "char \fBInvited::channel\fP[CHANMAX]"
.PP
-Definition at line 39 of file users.h.
+Definition at line 42 of file users.h.
.PP
Referenced by userrec::InviteTo().
diff --git a/docs/man/man3/KLine.3 b/docs/man/man3/KLine.3
index f0cbd2b59..81341d10c 100644
--- a/docs/man/man3/KLine.3
+++ b/docs/man/man3/KLine.3
@@ -1,4 +1,4 @@
-.TH "KLine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "KLine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ModeParameter.3 b/docs/man/man3/ModeParameter.3
index d2740f9ed..a6388f4c3 100644
--- a/docs/man/man3/ModeParameter.3
+++ b/docs/man/man3/ModeParameter.3
@@ -1,4 +1,4 @@
-.TH "ModeParameter" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ModeParameter" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Module.3 b/docs/man/man3/Module.3
index 335d8a5a5..e5b842580 100644
--- a/docs/man/man3/Module.3
+++ b/docs/man/man3/Module.3
@@ -1,4 +1,4 @@
-.TH "Module" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Module" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -16,9 +16,9 @@ Inherits \fBclassbase\fP.
.in +1c
.ti -1c
-.RI "\fBModule\fP ()"
+.RI "\fBModule\fP (\fBServer\fP *Me)"
.br
-.RI "\fIDefault constructor creates a module class. \fP"
+.RI "\fIDefault constructor Creates a module class. \fP"
.ti -1c
.RI "virtual \fB~Module\fP ()"
.br
@@ -32,7 +32,7 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled when a user connects. \fP"
.ti -1c
-.RI "virtual void \fBOnUserQuit\fP (\fBuserrec\fP *user)"
+.RI "virtual void \fBOnUserQuit\fP (\fBuserrec\fP *user, \fBstd::string\fP message)"
.br
.RI "\fICalled when a user quits. \fP"
.ti -1c
@@ -48,15 +48,7 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled when a user parts a channel. \fP"
.ti -1c
-.RI "virtual void \fBOnPacketTransmit\fP (\fBstd::string\fP &data, \fBstd::string\fP serv)"
-.br
-.RI "\fICalled before a packet is transmitted across the irc network between two irc servers. \fP"
-.ti -1c
-.RI "virtual void \fBOnPacketReceive\fP (\fBstd::string\fP &data, \fBstd::string\fP serv)"
-.br
-.RI "\fICalled after a packet is received from another irc server. \fP"
-.ti -1c
-.RI "virtual void \fBOnRehash\fP ()"
+.RI "virtual void \fBOnRehash\fP (\fBstd::string\fP parameter)"
.br
.RI "\fICalled on rehash. \fP"
.ti -1c
@@ -80,7 +72,7 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled whenever a user is kicked. \fP"
.ti -1c
-.RI "virtual void \fBOnOper\fP (\fBuserrec\fP *user)"
+.RI "virtual void \fBOnOper\fP (\fBuserrec\fP *user, \fBstd::string\fP opertype)"
.br
.RI "\fICalled whenever a user opers locally. \fP"
.ti -1c
@@ -96,6 +88,10 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled whenever a user is about to invite another user into a channel, before any processing is done. \fP"
.ti -1c
+.RI "virtual void \fBOnUserInvite\fP (\fBuserrec\fP *source, \fBuserrec\fP *dest, \fBchanrec\fP *channel)"
+.br
+.RI "\fICalled after a user has been successfully invited to a channel. \fP"
+.ti -1c
.RI "virtual int \fBOnUserPreMessage\fP (\fBuserrec\fP *user, void *dest, int target_type, \fBstd::string\fP &text)"
.br
.RI "\fICalled whenever a user is about to PRIVMSG A user or a channel, before any processing is done. \fP"
@@ -108,21 +104,111 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled before any nickchange, local or remote. \fP"
.ti -1c
-.RI "virtual void \fBOnUserPostNick\fP (\fBuserrec\fP *user, \fBstd::string\fP oldnick)"
+.RI "virtual void \fBOnUserMessage\fP (\fBuserrec\fP *user, void *dest, int target_type, \fBstd::string\fP text)"
.br
-.RI "\fICalled after any nickchange, local or remote. \fP"
+.RI "\fICalled after any PRIVMSG sent from a user. \fP"
.ti -1c
-.RI "virtual int \fBOnAccessCheck\fP (\fBuserrec\fP *source, \fBuserrec\fP *dest, \fBchanrec\fP *channel, int access_type)"
+.RI "virtual void \fBOnUserNotice\fP (\fBuserrec\fP *user, void *dest, int target_type, \fBstd::string\fP text)"
+.br
+.RI "\fICalled after any NOTICE sent from a user. \fP"
+.ti -1c
+.RI "virtual void \fBOnMode\fP (\fBuserrec\fP *user, void *dest, int target_type, \fBstd::string\fP text)"
+.br
+.RI "\fICalled after every MODE command sent from a user The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL. \fP"
+.ti -1c
+.RI "virtual void \fBOnGetServerDescription\fP (\fBstd::string\fP servername, \fBstd::string\fP &description)"
+.br
+.RI "\fIAllows modules to alter or create server descriptions Whenever a module requires a server description, for example for display in WHOIS, this function is called in all modules. \fP"
+.ti -1c
+.RI "virtual void \fBOnSyncUser\fP (\fBuserrec\fP *user, \fBModule\fP *proto, void *opaque)"
+.br
+.RI "\fIAllows modules to synchronize data which relates to users during a netburst. \fP"
+.ti -1c
+.RI "virtual void \fBOnSyncChannel\fP (\fBchanrec\fP *chan, \fBModule\fP *proto, void *opaque)"
+.br
+.RI "\fIAllows modules to synchronize data which relates to channels during a netburst. \fP"
+.ti -1c
+.RI "virtual void \fBOnSyncChannelMetaData\fP (\fBchanrec\fP *chan, \fBModule\fP *proto, void *opaque, \fBstd::string\fP extname)"
+.br
+.ti -1c
+.RI "virtual void \fBOnSyncUserMetaData\fP (\fBuserrec\fP *user, \fBModule\fP *proto, void *opaque, \fBstd::string\fP extname)"
.br
-.RI "\fICalled before an action which requires a channel privilage check. \fP"
.ti -1c
-.RI "virtual \fBstring_list\fP \fBOnUserSync\fP (\fBuserrec\fP *user)"
+.RI "virtual void \fBOnDecodeMetaData\fP (int target_type, void *target, \fBstd::string\fP extname, \fBstd::string\fP extdata)"
.br
-.RI "\fICalled during a netburst to sync user data. \fP"
+.RI "\fIAllows module data, sent via ProtoSendMetaData, to be decoded again by a receiving module. \fP"
.ti -1c
-.RI "virtual \fBstring_list\fP \fBOnChannelSync\fP (\fBchanrec\fP *chan)"
+.RI "virtual void \fBProtoSendMode\fP (void *opaque, int target_type, void *target, \fBstd::string\fP modeline)"
.br
-.RI "\fICalled during a netburst to sync channel data. \fP"
+.RI "\fIImplemented by modules which provide the ability to link servers. \fP"
+.ti -1c
+.RI "virtual void \fBProtoSendMetaData\fP (void *opaque, int target_type, void *target, \fBstd::string\fP extname, \fBstd::string\fP extdata)"
+.br
+.RI "\fIImplemented by modules which provide the ability to link servers. \fP"
+.ti -1c
+.RI "virtual void \fBOnWallops\fP (\fBuserrec\fP *user, \fBstd::string\fP text)"
+.br
+.RI "\fICalled after every WALLOPS command. \fP"
+.ti -1c
+.RI "virtual void \fBOnChangeHost\fP (\fBuserrec\fP *user, \fBstd::string\fP newhost)"
+.br
+.RI "\fICalled whenever a user's hostname is changed. \fP"
+.ti -1c
+.RI "virtual void \fBOnChangeName\fP (\fBuserrec\fP *user, \fBstd::string\fP gecos)"
+.br
+.RI "\fICalled whenever a user's GECOS (realname) is changed. \fP"
+.ti -1c
+.RI "virtual void \fBOnAddGLine\fP (long duration, \fBuserrec\fP *source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a gline is added by a local user. \fP"
+.ti -1c
+.RI "virtual void \fBOnAddZLine\fP (long duration, \fBuserrec\fP *source, \fBstd::string\fP reason, \fBstd::string\fP ipmask)"
+.br
+.RI "\fICalled whenever a zline is added by a local user. \fP"
+.ti -1c
+.RI "virtual void \fBOnAddKLine\fP (long duration, \fBuserrec\fP *source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a kline is added by a local user. \fP"
+.ti -1c
+.RI "virtual void \fBOnAddQLine\fP (long duration, \fBuserrec\fP *source, \fBstd::string\fP reason, \fBstd::string\fP nickmask)"
+.br
+.RI "\fICalled whenever a qline is added by a local user. \fP"
+.ti -1c
+.RI "virtual void \fBOnAddELine\fP (long duration, \fBuserrec\fP *source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a eline is added by a local user. \fP"
+.ti -1c
+.RI "virtual void \fBOnDelGLine\fP (\fBuserrec\fP *source, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a gline is deleted. \fP"
+.ti -1c
+.RI "virtual void \fBOnDelZLine\fP (\fBuserrec\fP *source, \fBstd::string\fP ipmask)"
+.br
+.RI "\fICalled whenever a zline is deleted. \fP"
+.ti -1c
+.RI "virtual void \fBOnDelKLine\fP (\fBuserrec\fP *source, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a kline is deleted. \fP"
+.ti -1c
+.RI "virtual void \fBOnDelQLine\fP (\fBuserrec\fP *source, \fBstd::string\fP nickmask)"
+.br
+.RI "\fICalled whenever a qline is deleted. \fP"
+.ti -1c
+.RI "virtual void \fBOnDelELine\fP (\fBuserrec\fP *source, \fBstd::string\fP hostmask)"
+.br
+.RI "\fICalled whenever a eline is deleted. \fP"
+.ti -1c
+.RI "virtual void \fBOnCleanup\fP (int target_type, void *item)"
+.br
+.RI "\fICalled before your module is unloaded to clean up Extensibles. \fP"
+.ti -1c
+.RI "virtual void \fBOnUserPostNick\fP (\fBuserrec\fP *user, \fBstd::string\fP oldnick)"
+.br
+.RI "\fICalled after any nickchange, local or remote. \fP"
+.ti -1c
+.RI "virtual int \fBOnAccessCheck\fP (\fBuserrec\fP *source, \fBuserrec\fP *dest, \fBchanrec\fP *channel, int access_type)"
+.br
+.RI "\fICalled before an action which requires a channel privilage check. \fP"
.ti -1c
.RI "virtual void \fBOn005Numeric\fP (\fBstd::string\fP &output)"
.br
@@ -132,6 +218,10 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled when a client is disconnected by KILL. \fP"
.ti -1c
+.RI "virtual void \fBOnRemoteKill\fP (\fBuserrec\fP *source, \fBuserrec\fP *dest, \fBstd::string\fP reason)"
+.br
+.RI "\fICalled when an oper wants to disconnect a remote user via KILL. \fP"
+.ti -1c
.RI "virtual void \fBOnLoadModule\fP (\fBModule\fP *mod, \fBstd::string\fP name)"
.br
.RI "\fICalled whenever a module is loaded. \fP"
@@ -196,6 +286,10 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalled whenever a topic is changed by a local user. \fP"
.ti -1c
+.RI "virtual void \fBOnPostLocalTopicChange\fP (\fBuserrec\fP *user, \fBchanrec\fP *chan, \fBstd::string\fP topic)"
+.br
+.RI "\fICalled whenever a local topic has been changed. \fP"
+.ti -1c
.RI "virtual void \fBOnEvent\fP (\fBEvent\fP *event)"
.br
.RI "\fICalled whenever an \fBEvent\fP class is sent to all module by another module. \fP"
@@ -246,27 +340,34 @@ Base class for all InspIRCd modules This class is the base class for InspIRCd mo
All modules must inherit from this class, its methods will be called when irc server events occur. class inherited from module must be instantiated by the \fBModuleFactory\fP class (see relevent section) for the plugin to be initialised.
.PP
-Definition at line 238 of file modules.h.
+Definition at line 239 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
-.SS "Module::Module ()"
+.SS "Module::Module (\fBServer\fP * Me)"
.PP
-Default constructor creates a module class.
+Default constructor Creates a module class.
.PP
-Definition at line 306 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIMe\fP An instance of the \fBServer\fP class which can be saved for future use
+.RE
+.PP
+
+.PP
+Definition at line 307 of file modules.cpp.
.PP
.nf
-306 { }
+307 { }
.fi
.PP
.SS "Module::~Module ()\fC [virtual]\fP"
.PP
Default destructor destroys a module class.
.PP
-Definition at line 307 of file modules.cpp.
+Definition at line 308 of file modules.cpp.
.PP
.nf
-307 { }
+308 { }
.fi
.PP
.SH "Member Function Documentation"
@@ -277,19 +378,26 @@ Returns the version number of a Module.
.PP
The method should return a \fBVersion\fP object with its version information assigned via \fBVersion::Version\fP
.PP
-Definition at line 319 of file modules.cpp.
+Definition at line 321 of file modules.cpp.
.PP
References VF_VENDOR.
.PP
.nf
-319 { return Version(1,0,0,0,VF_VENDOR); }
+321 { return Version(1,0,0,0,VF_VENDOR); }
.fi
.PP
.SS "void Module::On005Numeric (\fBstd::string\fP & output)\fC [virtual]\fP"
.PP
Called when a 005 numeric is about to be output.
.PP
-The module should modify the 005 numeric if needed to indicate its features.
+The module should modify the 005 numeric if needed to indicate its features.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIoutput\fP The 005 string to be modified if neccessary.
+.RE
+.PP
+
.PP
Definition at line 331 of file modules.cpp.
.PP
@@ -323,21 +431,50 @@ This function is called before many functions which check a users status on a ch
.br
AC_GENERAL_MODE (8) - a user channel mode is being changed<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).
+ 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).
.PP
-Definition at line 328 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The source of the access check
+.br
+\fIdest\fP The destination of the access check
+.br
+\fIchannel\fP The channel which is being checked
+.br
+\fIaccess_type\fP See above
+.RE
+.PP
+
+.PP
+Definition at line 330 of file modules.cpp.
.PP
References ACR_DEFAULT.
.PP
.nf
-328 { return ACR_DEFAULT; };
+330 { return ACR_DEFAULT; };
.fi
.PP
.SS "int Module::OnAddBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, \fBstd::string\fP banmask)\fC [virtual]\fP"
.PP
Called whenever a ban is added to a channel's list.
.PP
-Return a non-zero value to 'eat' the mode change and prevent the ban from being added.
+Return a non-zero value to 'eat' the mode change and prevent the ban from being added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user adding the ban
+.br
+\fIchannel\fP The channel the ban is being added to
+.br
+\fIbanmask\fP The ban mask being added
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to block the ban, 0 to continue as normal
+.RE
+.PP
+
.PP
Definition at line 356 of file modules.cpp.
.PP
@@ -345,11 +482,143 @@ Definition at line 356 of file modules.cpp.
356 { return 0; };
.fi
.PP
+.SS "void Module::OnAddELine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a eline is added by a local user.
+.PP
+This method is triggered after the line is added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIduration\fP The duration of the line in seconds
+.br
+\fIsource\fP The sender of the line
+.br
+\fIreason\fP The reason text to be displayed
+.br
+\fIhostmask\fP The hostmask to add
+.RE
+.PP
+
+.PP
+Definition at line 382 of file modules.cpp.
+.PP
+.nf
+382 { };
+.fi
+.PP
+.SS "void Module::OnAddGLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a gline is added by a local user.
+.PP
+This method is triggered after the line is added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIduration\fP The duration of the line in seconds
+.br
+\fIsource\fP The sender of the line
+.br
+\fIreason\fP The reason text to be displayed
+.br
+\fIhostmask\fP The hostmask to add
+.RE
+.PP
+
+.PP
+Definition at line 378 of file modules.cpp.
+.PP
+.nf
+378 { };
+.fi
+.PP
+.SS "void Module::OnAddKLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a kline is added by a local user.
+.PP
+This method is triggered after the line is added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIduration\fP The duration of the line in seconds
+.br
+\fIsource\fP The sender of the line
+.br
+\fIreason\fP The reason text to be displayed
+.br
+\fIhostmask\fP The hostmask to add
+.RE
+.PP
+
+.PP
+Definition at line 380 of file modules.cpp.
+.PP
+.nf
+380 { };
+.fi
+.PP
+.SS "void Module::OnAddQLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP nickmask)\fC [virtual]\fP"
+.PP
+Called whenever a qline is added by a local user.
+.PP
+This method is triggered after the line is added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIduration\fP The duration of the line in seconds
+.br
+\fIsource\fP The sender of the line
+.br
+\fIreason\fP The reason text to be displayed
+.br
+\fInickmask\fP The hostmask to add
+.RE
+.PP
+
+.PP
+Definition at line 381 of file modules.cpp.
+.PP
+.nf
+381 { };
+.fi
+.PP
+.SS "void Module::OnAddZLine (long duration, \fBuserrec\fP * source, \fBstd::string\fP reason, \fBstd::string\fP ipmask)\fC [virtual]\fP"
+.PP
+Called whenever a zline is added by a local user.
+.PP
+This method is triggered after the line is added.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIduration\fP The duration of the line in seconds
+.br
+\fIsource\fP The sender of the line
+.br
+\fIreason\fP The reason text to be displayed
+.br
+\fIipmask\fP The hostmask to add
+.RE
+.PP
+
+.PP
+Definition at line 379 of file modules.cpp.
+.PP
+.nf
+379 { };
+.fi
+.PP
.SS "void Module::OnBackgroundTimer (time_t curtime)\fC [virtual]\fP"
.PP
Called once every five seconds for background processing.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIcurtime\fP The current timer derived from time(2)
+.RE
+.PP
+
.PP
Definition at line 335 of file modules.cpp.
.PP
@@ -357,11 +626,46 @@ Definition at line 335 of file modules.cpp.
335 { };
.fi
.PP
+.SS "void Module::OnChangeHost (\fBuserrec\fP * user, \fBstd::string\fP newhost)\fC [virtual]\fP"
+.PP
+Called whenever a user's hostname is changed.
+.PP
+This event triggers after the host has been set.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user whos host is being changed
+.br
+\fInewhost\fP The new hostname being set
+.RE
+.PP
+
+.PP
+Definition at line 376 of file modules.cpp.
+.PP
+.nf
+376 { };
+.fi
+.PP
.SS "int Module::OnChangeLocalUserGECOS (\fBuserrec\fP * user, \fBstd::string\fP newhost)\fC [virtual]\fP"
.PP
Called whenever a change of a local users GECOS (fullname field) is attempted.
.PP
-return 1 to deny the name change, or 0 to allow it.
+return 1 to deny the name change, or 0 to allow it.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user whos GECOS will be changed
+.br
+\fInewhost\fP The new GECOS
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the GECOS change, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 349 of file modules.cpp.
.PP
@@ -373,7 +677,21 @@ Definition at line 349 of file modules.cpp.
.PP
Called whenever a change of a local users displayed host is attempted.
.PP
-Return 1 to deny the host change, or 0 to allow it.
+Return 1 to deny the host change, or 0 to allow it.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user whos host will be changed
+.br
+\fInewhost\fP The new hostname
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the host change, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 348 of file modules.cpp.
.PP
@@ -381,23 +699,46 @@ Definition at line 348 of file modules.cpp.
348 { return 0; };
.fi
.PP
-.SS "\fBstring_list\fP Module::OnChannelSync (\fBchanrec\fP * chan)\fC [virtual]\fP"
+.SS "void Module::OnChangeName (\fBuserrec\fP * user, \fBstd::string\fP gecos)\fC [virtual]\fP"
.PP
-Called during a netburst to sync channel data.
+Called whenever a user's GECOS (realname) is changed.
.PP
-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.
+This event triggers after the name has been set.
.PP
-Definition at line 330 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who's GECOS is being changed
+.br
+\fIgecos\fP The new GECOS being set on the user
+.RE
+.PP
+
+.PP
+Definition at line 377 of file modules.cpp.
.PP
.nf
-330 { string_list empty; return empty; }
+377 { };
.fi
.PP
.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.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user joining the channel
+.br
+\fIchan\fP The channel being joined
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to explicitly allow the join, 0 to proceed as normal
+.RE
+.PP
+
.PP
Definition at line 346 of file modules.cpp.
.PP
@@ -409,7 +750,21 @@ Definition at line 346 of file modules.cpp.
.PP
Called whenever a user joins a channel, to determine if invite checks should go ahead or not.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user joining the channel
+.br
+\fIchan\fP The channel being joined
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to explicitly allow the join, 0 to proceed as normal
+.RE
+.PP
+
.PP
Definition at line 343 of file modules.cpp.
.PP
@@ -421,7 +776,21 @@ Definition at line 343 of file modules.cpp.
.PP
Called whenever a user joins a channel, to determine if key checks should go ahead or not.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user joining the channel
+.br
+\fIchan\fP The channel being joined
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to explicitly allow the join, 0 to proceed as normal
+.RE
+.PP
+
.PP
Definition at line 344 of file modules.cpp.
.PP
@@ -433,7 +802,21 @@ Definition at line 344 of file modules.cpp.
.PP
Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user joining the channel
+.br
+\fIchan\fP The channel being joined
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to explicitly allow the join, 0 to proceed as normal
+.RE
+.PP
+
.PP
Definition at line 345 of file modules.cpp.
.PP
@@ -445,7 +828,19 @@ Definition at line 345 of file modules.cpp.
.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.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user to check
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+true to indicate readiness, false if otherwise
+.RE
+.PP
+
.PP
Definition at line 338 of file modules.cpp.
.PP
@@ -453,11 +848,73 @@ Definition at line 338 of file modules.cpp.
338 { return true; };
.fi
.PP
+.SS "void Module::OnCleanup (int target_type, void * item)\fC [virtual]\fP"
+.PP
+Called before your module is unloaded to clean up Extensibles.
+.PP
+This method is called once for every user and channel on the network, so that when your module unloads it may clear up any remaining data in the form of Extensibles added using \fBExtensible::Extend()\fP. If the target_type variable is TYPE_USER, then void* item refers to a userrec*, otherwise it refers to a chanrec*.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItarget_type\fP The type of item being cleaned
+.br
+\fIitem\fP A pointer to the item's class
+.RE
+.PP
+
+.PP
+Definition at line 388 of file modules.cpp.
+.PP
+.nf
+388 { };
+.fi
+.PP
+.SS "void Module::OnDecodeMetaData (int target_type, void * target, \fBstd::string\fP extname, \fBstd::string\fP extdata)\fC [virtual]\fP"
+.PP
+Allows module data, sent via ProtoSendMetaData, to be decoded again by a receiving module.
+.PP
+Please see src/modules/m_swhois.cpp for a working example of how to use this method call.
+.PP
+\fBParameters:\fP
+.RS 4
+\fItarget_type\fP The type of item to decode data for, TYPE_USER or TYPE_CHANNEL
+.br
+\fItarget\fP The chanrec* or userrec* that data should be added to
+.br
+\fIextname\fP The extension name which is being sent
+.br
+\fIextdata\fP The extension data, encoded at the other end by an identical module through OnSyncChannelMetaData or OnSyncUserMetaData
+.RE
+.PP
+
+.PP
+Definition at line 373 of file modules.cpp.
+.PP
+.nf
+373 { };
+.fi
+.PP
.SS "int Module::OnDelBan (\fBuserrec\fP * source, \fBchanrec\fP * channel, \fBstd::string\fP banmask)\fC [virtual]\fP"
.PP
Called whenever a ban is removed from a channel's list.
.PP
-Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.
+Return a non-zero value to 'eat' the mode change and prevent the ban from being removed.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user deleting the ban
+.br
+\fIchannel\fP The channel the ban is being deleted from
+.br
+\fIbanmask\fP The ban mask being deleted
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to block the unban, 0 to continue as normal
+.RE
+.PP
+
.PP
Definition at line 357 of file modules.cpp.
.PP
@@ -465,11 +922,123 @@ Definition at line 357 of file modules.cpp.
357 { return 0; };
.fi
.PP
+.SS "void Module::OnDelELine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a eline is deleted.
+.PP
+This method is triggered after the line is deleted.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user removing the line
+.br
+\fIhostmask\fP The hostmask to delete
+.RE
+.PP
+
+.PP
+Definition at line 387 of file modules.cpp.
+.PP
+.nf
+387 { };
+.fi
+.PP
+.SS "void Module::OnDelGLine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a gline is deleted.
+.PP
+This method is triggered after the line is deleted.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user removing the line
+.br
+\fIhostmask\fP The hostmask to delete
+.RE
+.PP
+
+.PP
+Definition at line 383 of file modules.cpp.
+.PP
+.nf
+383 { };
+.fi
+.PP
+.SS "void Module::OnDelKLine (\fBuserrec\fP * source, \fBstd::string\fP hostmask)\fC [virtual]\fP"
+.PP
+Called whenever a kline is deleted.
+.PP
+This method is triggered after the line is deleted.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user removing the line
+.br
+\fIhostmask\fP The hostmask to delete
+.RE
+.PP
+
+.PP
+Definition at line 385 of file modules.cpp.
+.PP
+.nf
+385 { };
+.fi
+.PP
+.SS "void Module::OnDelQLine (\fBuserrec\fP * source, \fBstd::string\fP nickmask)\fC [virtual]\fP"
+.PP
+Called whenever a qline is deleted.
+.PP
+This method is triggered after the line is deleted.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user removing the line
+.br
+\fIhostmask\fP The hostmask to delete
+.RE
+.PP
+
+.PP
+Definition at line 386 of file modules.cpp.
+.PP
+.nf
+386 { };
+.fi
+.PP
+.SS "void Module::OnDelZLine (\fBuserrec\fP * source, \fBstd::string\fP ipmask)\fC [virtual]\fP"
+.PP
+Called whenever a zline is deleted.
+.PP
+This method is triggered after the line is deleted.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user removing the line
+.br
+\fIhostmask\fP The hostmask to delete
+.RE
+.PP
+
+.PP
+Definition at line 384 of file modules.cpp.
+.PP
+.nf
+384 { };
+.fi
+.PP
.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.
.PP
-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!
+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!
+.PP
+\fBParameters:\fP
+.RS 4
+\fIevent\fP The \fBEvent\fP class being received
+.RE
+.PP
+
.PP
Definition at line 351 of file modules.cpp.
.PP
@@ -481,19 +1050,64 @@ Definition at line 351 of file modules.cpp.
.PP
Called whenever an extended mode is to be processed.
.PP
-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.
+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.
.PP
-Definition at line 318 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user issuing the mode
+.br
+\fItarget\fP The user or channel having the mode set on them
+.br
+\fImodechar\fP The mode character being set
+.br
+\fItype\fP The type of mode (user or channel) being set
+.br
+\fImode_on\fP True if the mode is being set, false if it is being unset
+.br
+\fIparams\fP A list of parameters for any channel mode (currently supports either 0 or 1 parameters)
+.RE
+.PP
+
+.PP
+Definition at line 319 of file modules.cpp.
+.PP
+.nf
+319 { return false; }
+.fi
+.PP
+.SS "void Module::OnGetServerDescription (\fBstd::string\fP servername, \fBstd::string\fP & description)\fC [virtual]\fP"
+.PP
+Allows modules to alter or create server descriptions Whenever a module requires a server description, for example for display in WHOIS, this function is called in all modules.
+.PP
+You may change or define the description given in \fBstd::string\fP &description. If you do, this description will be shown in the WHOIS fields.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIservername\fP The servername being searched for
+.br
+\fIdescription\fP Alterable server description for this server
+.RE
+.PP
+
+.PP
+Definition at line 367 of file modules.cpp.
.PP
.nf
-318 { return false; }
+367 { };
.fi
.PP
.SS "void Module::OnGlobalConnect (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Called whenever a user connects, anywhere on the network.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is connecting
+.RE
+.PP
+
.PP
Definition at line 355 of file modules.cpp.
.PP
@@ -505,7 +1119,14 @@ Definition at line 355 of file modules.cpp.
.PP
Called whenever a user is given usermode +o, anywhere on the network.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is opering
+.RE
+.PP
+
.PP
Definition at line 354 of file modules.cpp.
.PP
@@ -521,17 +1142,40 @@ The userrec will contain the information of the user who typed the command. Modu
.PP
<nick> :information here
.PP
-Definition at line 321 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user issuing /INFO
+.RE
+.PP
+
+.PP
+Definition at line 323 of file modules.cpp.
.PP
.nf
-321 { };
+323 { };
.fi
.PP
.SS "int Module::OnKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBstd::string\fP reason)\fC [virtual]\fP"
.PP
Called when a client is disconnected by KILL.
.PP
-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!
+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 or remote users. If you do so youre risking race conditions, desyncs and worse!
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user sending the KILL
+.br
+\fIdest\fP The user being killed
+.br
+\fIreason\fP The kill reason
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to prevent the kill, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 332 of file modules.cpp.
.PP
@@ -543,7 +1187,16 @@ Definition at line 332 of file modules.cpp.
.PP
Called whenever a module is loaded.
.PP
-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).
+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).
+.PP
+\fBParameters:\fP
+.RS 4
+\fImod\fP A pointer to the new module
+.br
+\fIname\fP The new module's filename
+.RE
+.PP
+
.PP
Definition at line 333 of file modules.cpp.
.PP
@@ -555,7 +1208,20 @@ Definition at line 333 of file modules.cpp.
.PP
Called whenever a topic is changed by a local user.
.PP
-Return 1 to deny the topic change, or 0 to allow it.
+Return 1 to deny the topic change, or 0 to allow it.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user changing the topic
+.br
+\fIchan\fP The channels who's topic is being changed
+.br
+\fItopic\fP The actual topic text
+.br
+\fI1\fP to block the topic change, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 350 of file modules.cpp.
.PP
@@ -563,11 +1229,24 @@ Definition at line 350 of file modules.cpp.
350 { return 0; };
.fi
.PP
-.SS "void Module::OnOper (\fBuserrec\fP * user)\fC [virtual]\fP"
+.SS "void Module::OnMode (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP"
.PP
-Called whenever a user opers locally.
+Called after every MODE command sent from a user The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL.
.PP
-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.
+The text variable contains the remainder of the mode string after the target, e.g. '+wsi' or '+ooo nick1 nick2 nick3'.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the MODEs
+.br
+\fIdest\fP The target of the modes (userrec* or chanrec*)
+.br
+\fItarget_type\fP The type of target (TYPE_USER or TYPE_CHANNEL)
+.br
+\fItext\fP The actual modes and their parameters if any
+.RE
+.PP
+
.PP
Definition at line 320 of file modules.cpp.
.PP
@@ -575,47 +1254,99 @@ Definition at line 320 of file modules.cpp.
320 { };
.fi
.PP
-.SS "int Module::OnOperCompare (\fBstd::string\fP password, \fBstd::string\fP input)\fC [virtual]\fP"
+.SS "void Module::OnOper (\fBuserrec\fP * user, \fBstd::string\fP opertype)\fC [virtual]\fP"
.PP
-Called whenever an oper password is to be compared to what a user has input.
+Called whenever a user opers locally.
.PP
-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.
+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.
.PP
-Definition at line 353 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is opering up
+.br
+\fIopertype\fP The opers type name
+.RE
+.PP
+
+.PP
+Definition at line 322 of file modules.cpp.
.PP
.nf
-353 { return 0; };
+322 { };
.fi
.PP
-.SS "void Module::OnPacketReceive (\fBstd::string\fP & data, \fBstd::string\fP serv)\fC [virtual]\fP"
+.SS "int Module::OnOperCompare (\fBstd::string\fP password, \fBstd::string\fP input)\fC [virtual]\fP"
.PP
-Called after a packet is received from another irc server.
+Called whenever an oper password is to be compared to what a user has input.
.PP
-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.
+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.
.PP
-Definition at line 314 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIpassword\fP The oper's password
+.br
+\fIinput\fP The password entered
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to match the passwords, 0 to do nothing
+.RE
+.PP
+
+.PP
+Definition at line 353 of file modules.cpp.
.PP
.nf
-314 { }
+353 { return 0; };
.fi
.PP
-.SS "void Module::OnPacketTransmit (\fBstd::string\fP & data, \fBstd::string\fP serv)\fC [virtual]\fP"
+.SS "void Module::OnPostLocalTopicChange (\fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP topic)\fC [virtual]\fP"
.PP
-Called before a packet is transmitted across the irc network between two irc servers.
+Called whenever a local topic has been changed.
.PP
-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.
+To block topic changes you must use OnLocalTopicChange instead.
.PP
-Definition at line 313 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user changing the topic
+.br
+\fIchan\fP The channels who's topic is being changed
+.br
+\fItopic\fP The actual topic text
+.RE
+.PP
+
+.PP
+Definition at line 366 of file modules.cpp.
.PP
.nf
-313 { }
+366 { };
.fi
.PP
.SS "int Module::OnPreCommand (\fBstd::string\fP command, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Called whenever any command is about to be executed.
.PP
-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!)
+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!)
+.PP
+\fBParameters:\fP
+.RS 4
+\fIcommand\fP The command being executed
+.br
+\fIparameters\fP An array of array of characters containing the parameters for the command
+.br
+\fIpcnt\fP The nuimber of parameters passed to the command
+.br
+\fIuser\fP the user issuing the command
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to block the command, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 337 of file modules.cpp.
.PP
@@ -627,7 +1358,29 @@ Definition at line 337 of file modules.cpp.
.PP
Called whenever a mode character is processed.
.PP
-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!
+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!
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is sending the mode
+.br
+\fIchan\fP The channel the mode is being sent to
+.br
+\fImode\fP The mode character being set
+.br
+\fIparam\fP The parameter for the mode or an empty string
+.br
+\fIadding\fP true of the mode is being added, false if it is being removed
+.br
+\fIpcnt\fP The parameter count for the mode (0 or 1)
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the mode, 0 to allow
+.RE
+.PP
+
.PP
Definition at line 342 of file modules.cpp.
.PP
@@ -639,7 +1392,18 @@ Definition at line 342 of file modules.cpp.
.PP
Called immediately after any connection is accepted.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIfd\fP The file descriptor returned from accept()
+.br
+\fIip\fP The IP address of the connecting user
+.br
+\fIlocalport\fP The local port number the user connected to
+.RE
+.PP
+
.PP
Definition at line 358 of file modules.cpp.
.PP
@@ -651,7 +1415,14 @@ Definition at line 358 of file modules.cpp.
.PP
Called immediately before any socket is closed.
.PP
-When this event is called, shutdown() has not yet been called on the socket.
+When this event is called, shutdown() has not yet been called on the socket.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIfd\fP The file descriptor of the socket prior to close()
+.RE
+.PP
+
.PP
Definition at line 360 of file modules.cpp.
.PP
@@ -663,7 +1434,25 @@ Definition at line 360 of file modules.cpp.
.PP
Called immediately before any read() operation on a client socket in the core.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIfd\fP The file descriptor of the socket
+.br
+\fIbuffer\fP A char* buffer being read to
+.br
+\fIcount\fP The size of the buffer
+.br
+\fIreadresult\fP The amount of characters read, or 0
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+nonzero if the event was handled, in which case readresult must be valid on exit
+.RE
+.PP
+
.PP
Definition at line 361 of file modules.cpp.
.PP
@@ -675,7 +1464,23 @@ Definition at line 361 of file modules.cpp.
.PP
Called immediately before any write() operation on a user's socket in the core.
.PP
-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().
+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().
+.PP
+\fBParameters:\fP
+.RS 4
+\fIfd\fP The file descriptor of the socket
+.br
+\fIbuffer\fP A char* buffer being written
+.br
+\fINumber\fP of characters to write
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+Number of characters actually written or 0 if you didn't handle the operation
+.RE
+.PP
+
.PP
Definition at line 359 of file modules.cpp.
.PP
@@ -683,23 +1488,58 @@ Definition at line 359 of file modules.cpp.
359 { return 0; };
.fi
.PP
-.SS "void Module::OnRehash ()\fC [virtual]\fP"
+.SS "void Module::OnRehash (\fBstd::string\fP parameter)\fC [virtual]\fP"
.PP
Called on rehash.
.PP
-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.
+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. If a parameter is given, the core has done nothing. The module receiving the event can decide if this parameter has any relevence to it.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIparameter\fP The (optional) parameter given to REHASH from the user.
+.RE
+.PP
+
+.PP
+Definition at line 316 of file modules.cpp.
+.PP
+.nf
+316 { }
+.fi
+.PP
+.SS "void Module::OnRemoteKill (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBstd::string\fP reason)\fC [virtual]\fP"
.PP
-Definition at line 315 of file modules.cpp.
+Called when an oper wants to disconnect a remote user via KILL.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user sending the KILL
+.br
+\fIdest\fP The user being killed
+.br
+\fIreason\fP The kill reason
+.RE
+.PP
+
+.PP
+Definition at line 364 of file modules.cpp.
.PP
.nf
-315 { }
+364 { };
.fi
.PP
.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.
.PP
-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).
+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).
+.PP
+\fBParameters:\fP
+.RS 4
+\fIrequest\fP The \fBRequest\fP class being received
+.RE
+.PP
+
.PP
Definition at line 352 of file modules.cpp.
.PP
@@ -713,7 +1553,18 @@ Referenced by Request::Send().
.PP
Called whenever a list is needed for a listmode.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user requesting the list
+.br
+\fIchannel\fP The channel the list is for
+.br
+\fImode\fP The listmode which a list is being requested on
+.RE
+.PP
+
.PP
Definition at line 336 of file modules.cpp.
.PP
@@ -725,29 +1576,120 @@ Definition at line 336 of file modules.cpp.
.PP
Called when a raw command is transmitted or received.
.PP
-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.
+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.
.PP
-Definition at line 316 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIraw\fP The raw string in RFC1459 format
+.br
+\fIinbound\fP A flag to indicate wether the data is coming into the daemon or going out to the user
+.br
+\fIuser\fP The user record sending the text, when inbound == true.
+.RE
+.PP
+
+.PP
+Definition at line 317 of file modules.cpp.
.PP
.nf
-316 { }
+317 { }
.fi
.PP
.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.
.PP
+\fBParameters:\fP
+.RS 4
+\fIsymbol\fP the symbol provided to /STATS
+.RE
+.PP
+
+.PP
Definition at line 347 of file modules.cpp.
.PP
.nf
347 { };
.fi
.PP
+.SS "void Module::OnSyncChannel (\fBchanrec\fP * chan, \fBModule\fP * proto, void * opaque)\fC [virtual]\fP"
+.PP
+Allows modules to synchronize data which relates to channels during a netburst.
+.PP
+When this function is called, it will be called from the module which implements the linking protocol. This currently is m_spanningtree.so. A pointer to this module is given in Module* proto, so that you may call its methods such as ProtoSendMode (see below). This function will be called for every user visible on your side of the burst, allowing you to for example set modes, etc. Do not use this call to synchronize data which you have stored using class \fBExtensible\fP -- There is a specialist function OnSyncUserMetaData and OnSyncChannelMetaData for this!
+.PP
+For a good example of how to use this function, please see src/modules/m_chanprotect.cpp
+.PP
+\fBParameters:\fP
+.RS 4
+\fIchan\fP The channel being syncronized
+.br
+\fIproto\fP A pointer to the module handling network protocol
+.br
+\fIopaque\fP An opaque pointer set by the protocol module, should not be modified!
+.RE
+.PP
+
+.PP
+Definition at line 369 of file modules.cpp.
+.PP
+.nf
+369 { };
+.fi
+.PP
+.SS "void Module::OnSyncChannelMetaData (\fBchanrec\fP * chan, \fBModule\fP * proto, void * opaque, \fBstd::string\fP extname)\fC [virtual]\fP"
+.PP
+Definition at line 371 of file modules.cpp.
+.PP
+.nf
+371 { };
+.fi
+.PP
+.SS "void Module::OnSyncUser (\fBuserrec\fP * user, \fBModule\fP * proto, void * opaque)\fC [virtual]\fP"
+.PP
+Allows modules to synchronize data which relates to users during a netburst.
+.PP
+When this function is called, it will be called from the module which implements the linking protocol. This currently is m_spanningtree.so. A pointer to this module is given in Module* proto, so that you may call its methods such as ProtoSendMode (see below). This function will be called for every user visible on your side of the burst, allowing you to for example set modes, etc. Do not use this call to synchronize data which you have stored using class \fBExtensible\fP -- There is a specialist function OnSyncUserMetaData and OnSyncChannelMetaData for this!
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user being syncronized
+.br
+\fIproto\fP A pointer to the module handling network protocol
+.br
+\fIopaque\fP An opaque pointer set by the protocol module, should not be modified!
+.RE
+.PP
+
+.PP
+Definition at line 368 of file modules.cpp.
+.PP
+.nf
+368 { };
+.fi
+.PP
+.SS "void Module::OnSyncUserMetaData (\fBuserrec\fP * user, \fBModule\fP * proto, void * opaque, \fBstd::string\fP extname)\fC [virtual]\fP"
+.PP
+Definition at line 372 of file modules.cpp.
+.PP
+.nf
+372 { };
+.fi
+.PP
.SS "void Module::OnUnloadModule (\fBModule\fP * mod, \fBstd::string\fP name)\fC [virtual]\fP"
.PP
Called whenever a module is unloaded.
.PP
-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).
+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).
+.PP
+\fBParameters:\fP
+.RS 4
+\fImod\fP Pointer to the module being unloaded (still valid)
+.br
+\fIname\fP The filename of the module being unloaded
+.RE
+.PP
+
.PP
Definition at line 334 of file modules.cpp.
.PP
@@ -759,43 +1701,102 @@ Definition at line 334 of file modules.cpp.
.PP
Called when a user connects.
.PP
-The details of the connecting user are available to you in the parameter userrec *user
+The details of the connecting user are available to you in the parameter userrec *user
.PP
-Definition at line 308 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is connecting
+.RE
+.PP
+
+.PP
+Definition at line 309 of file modules.cpp.
.PP
.nf
-308 { }
+309 { }
.fi
.PP
.SS "void Module::OnUserDisconnect (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Called whenever a user's socket is closed.
.PP
-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.
+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.
.PP
-Definition at line 310 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is disconnecting
+.RE
+.PP
+
+.PP
+Definition at line 311 of file modules.cpp.
.PP
.nf
-310 { }
+311 { }
+.fi
+.PP
+.SS "void Module::OnUserInvite (\fBuserrec\fP * source, \fBuserrec\fP * dest, \fBchanrec\fP * channel)\fC [virtual]\fP"
+.PP
+Called after a user has been successfully invited to a channel.
+.PP
+You cannot prevent the invite from occuring using this function, to do that, use OnUserPreInvite instead.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user who is issuing the INVITE
+.br
+\fIdest\fP The user being invited
+.br
+\fIchannel\fP The channel the user is being invited to
+.RE
+.PP
+
+.PP
+Definition at line 365 of file modules.cpp.
+.PP
+.nf
+365 { };
.fi
.PP
.SS "void Module::OnUserJoin (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP"
.PP
Called when a user joins a channel.
.PP
-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
+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
.PP
-Definition at line 311 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is joining
+.br
+\fIchannel\fP The channel being joined
+.RE
+.PP
+
+.PP
+Definition at line 312 of file modules.cpp.
.PP
.nf
-311 { }
+312 { }
.fi
.PP
.SS "void Module::OnUserKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP reason)\fC [virtual]\fP"
.PP
Called whenever a user is kicked.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user issuing the kick
+.br
+\fIuser\fP The user being kicked
+.br
+\fIchan\fP The channel the user is being kicked from
+.br
+\fIreason\fP The kick reason
+.RE
+.PP
+
.PP
Definition at line 341 of file modules.cpp.
.PP
@@ -803,40 +1804,124 @@ Definition at line 341 of file modules.cpp.
341 { };
.fi
.PP
+.SS "void Module::OnUserMessage (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP"
+.PP
+Called after any PRIVMSG sent from a user.
+.PP
+The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the message
+.br
+\fIdest\fP The target of the message
+.br
+\fItarget_type\fP The type of target (TYPE_USER or TYPE_CHANNEL)
+.br
+\fItext\fP the text being sent by the user
+.RE
+.PP
+
+.PP
+Definition at line 362 of file modules.cpp.
+.PP
+.nf
+362 { };
+.fi
+.PP
+.SS "void Module::OnUserNotice (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP text)\fC [virtual]\fP"
+.PP
+Called after any NOTICE sent from a user.
+.PP
+The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the message
+.br
+\fIdest\fP The target of the message
+.br
+\fItarget_type\fP The type of target (TYPE_USER or TYPE_CHANNEL)
+.br
+\fItext\fP the text being sent by the user
+.RE
+.PP
+
+.PP
+Definition at line 363 of file modules.cpp.
+.PP
+.nf
+363 { };
+.fi
+.PP
.SS "void Module::OnUserPart (\fBuserrec\fP * user, \fBchanrec\fP * channel)\fC [virtual]\fP"
.PP
Called when a user parts a channel.
.PP
-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
+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
.PP
-Definition at line 312 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is parting
+.br
+\fIchannel\fP The channel being parted
+.RE
+.PP
+
+.PP
+Definition at line 313 of file modules.cpp.
.PP
.nf
-312 { }
+313 { }
.fi
.PP
.SS "void Module::OnUserPostNick (\fBuserrec\fP * user, \fBstd::string\fP oldnick)\fC [virtual]\fP"
.PP
Called after any nickchange, local or remote.
.PP
-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.
+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.
.PP
-Definition at line 327 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user changing their nick
+.br
+\fIoldnick\fP The old nickname of the user before the nickchange
+.RE
+.PP
+
+.PP
+Definition at line 329 of file modules.cpp.
.PP
.nf
-327 { };
+329 { };
.fi
.PP
.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.
.PP
-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.
+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.
.PP
-Definition at line 323 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user who is issuing the INVITE
+.br
+\fIdest\fP The user being invited
+.br
+\fIchannel\fP The channel the user is being invited to
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the invite, 0 to allow
+.RE
+.PP
+
+.PP
+Definition at line 325 of file modules.cpp.
.PP
.nf
-323 { return 0; };
+325 { return 0; };
.fi
.PP
.SS "int Module::OnUserPreJoin (\fBuserrec\fP * user, \fBchanrec\fP * chan, const char * cname)\fC [virtual]\fP"
@@ -847,19 +1932,51 @@ Returning a value of 1 from this function stops the process immediately, causing
.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.
+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.
.PP
-Definition at line 317 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user joining the channel
+.br
+\fIcname\fP The channel name being joined
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 To prevent the join, 0 to allow it.
+.RE
+.PP
+
+.PP
+Definition at line 318 of file modules.cpp.
.PP
.nf
-317 { return 0; }
+318 { return 0; }
.fi
.PP
.SS "int Module::OnUserPreKick (\fBuserrec\fP * source, \fBuserrec\fP * user, \fBchanrec\fP * chan, \fBstd::string\fP reason)\fC [virtual]\fP"
.PP
Called whenever a user is about to be kicked.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user issuing the kick
+.br
+\fIuser\fP The user being kicked
+.br
+\fIchan\fP The channel the user is being kicked from
+.br
+\fIreason\fP The kick reason
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to prevent the kick, 0 to allow it
+.RE
+.PP
+
.PP
Definition at line 340 of file modules.cpp.
.PP
@@ -871,55 +1988,121 @@ Definition at line 340 of file modules.cpp.
.PP
Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done.
.PP
-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.
+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.
.PP
-Definition at line 324 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the message
+.br
+\fIdest\fP The target of the message (chanrec* or userrec*)
+.br
+\fItarget_type\fP The type of target (TYPE_USER or TYPE_CHANNEL)
+.br
+\fItext\fP Changeable text being sent by the user
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the NOTICE, 0 to allow it
+.RE
+.PP
+
+.PP
+Definition at line 326 of file modules.cpp.
.PP
.nf
-324 { return 0; };
+326 { return 0; };
.fi
.PP
.SS "int Module::OnUserPreNick (\fBuserrec\fP * user, \fBstd::string\fP newnick)\fC [virtual]\fP"
.PP
Called before any nickchange, local or remote.
.PP
-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.
+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.
.PP
-Definition at line 326 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The username changing their nick
+.br
+\fInewnick\fP Their new nickname
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the change, 0 to allow
+.RE
+.PP
+
+.PP
+Definition at line 328 of file modules.cpp.
.PP
.nf
-326 { return 0; };
+328 { return 0; };
.fi
.PP
.SS "int Module::OnUserPreNotice (\fBuserrec\fP * user, void * dest, int target_type, \fBstd::string\fP & text)\fC [virtual]\fP"
.PP
Called whenever a user is about to NOTICE A user or a channel, before any processing is done.
.PP
-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.
+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.
.PP
-Definition at line 325 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the message
+.br
+\fIdest\fP The target of the message (chanrec* or userrec*)
+.br
+\fItarget_type\fP The type of target (TYPE_USER or TYPE_CHANNEL)
+.br
+\fItext\fP Changeable text being sent by the user
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+1 to deny the NOTICE, 0 to allow it
+.RE
+.PP
+
+.PP
+Definition at line 327 of file modules.cpp.
.PP
.nf
-325 { return 0; };
+327 { return 0; };
.fi
.PP
-.SS "void Module::OnUserQuit (\fBuserrec\fP * user)\fC [virtual]\fP"
+.SS "void Module::OnUserQuit (\fBuserrec\fP * user, \fBstd::string\fP message)\fC [virtual]\fP"
.PP
Called when a user quits.
.PP
-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.
+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.
.PP
-Definition at line 309 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user who is quitting
+.br
+\fImessage\fP The user's quit message
+.RE
+.PP
+
+.PP
+Definition at line 310 of file modules.cpp.
.PP
.nf
-309 { }
+310 { }
.fi
.PP
.SS "void Module::OnUserRegister (\fBuserrec\fP * user)\fC [virtual]\fP"
.PP
Called whenever a user is about to register their connection (e.g.
.PP
-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.
+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.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user registering
+.RE
+.PP
+
.PP
Definition at line 339 of file modules.cpp.
.PP
@@ -927,28 +2110,100 @@ Definition at line 339 of file modules.cpp.
339 { };
.fi
.PP
-.SS "\fBstring_list\fP Module::OnUserSync (\fBuserrec\fP * user)\fC [virtual]\fP"
+.SS "void Module::OnWallops (\fBuserrec\fP * user, \fBstd::string\fP text)\fC [virtual]\fP"
+.PP
+Called after every WALLOPS command.
.PP
-Called during a netburst to sync user data.
+\fBParameters:\fP
+.RS 4
+\fIuser\fP The user sending the WALLOPS
+.br
+\fItext\fP The content of the WALLOPS message
+.RE
.PP
-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.
+
.PP
-Definition at line 329 of file modules.cpp.
+Definition at line 375 of file modules.cpp.
.PP
.nf
-329 { string_list empty; return empty; }
+375 { };
.fi
.PP
.SS "void Module::OnWhois (\fBuserrec\fP * source, \fBuserrec\fP * dest)\fC [virtual]\fP"
.PP
Called whenever a /WHOIS is performed on a local user.
.PP
-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.
+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.
.PP
-Definition at line 322 of file modules.cpp.
+\fBParameters:\fP
+.RS 4
+\fIsource\fP The user issuing the WHOIS command
+.br
+\fIdest\fP The user who is being WHOISed
+.RE
+.PP
+
+.PP
+Definition at line 324 of file modules.cpp.
.PP
.nf
-322 { };
+324 { };
+.fi
+.PP
+.SS "void Module::ProtoSendMetaData (void * opaque, int target_type, void * target, \fBstd::string\fP extname, \fBstd::string\fP extdata)\fC [virtual]\fP"
+.PP
+Implemented by modules which provide the ability to link servers.
+.PP
+These modules will implement this method, which allows metadata (extra data added to user and channel records using class \fBExtensible\fP, \fBExtensible::Extend\fP, etc) to be sent to other servers on a netburst and decoded at the other end by the same module on a different server.
+.PP
+More documentation to follow soon. Please see src/modules/m_swhois.cpp for example of how to use this function.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIopaque\fP An opaque pointer set by the protocol module, should not be modified!
+.br
+\fItarget_type\fP The type of item to decode data for, TYPE_USER or TYPE_CHANNEL
+.br
+\fItarget\fP The chanrec* or userrec* that metadata should be sent for
+.br
+\fIextname\fP The extension name to send metadata for
+.br
+\fIextdata\fP Encoded data for this extension name, which will be encoded at the oppsite end by an identical module using OnDecodeMetaData
+.RE
+.PP
+
+.PP
+Definition at line 374 of file modules.cpp.
+.PP
+.nf
+374 { };
+.fi
+.PP
+.SS "void Module::ProtoSendMode (void * opaque, int target_type, void * target, \fBstd::string\fP modeline)\fC [virtual]\fP"
+.PP
+Implemented by modules which provide the ability to link servers.
+.PP
+These modules will implement this method, which allows transparent sending of servermodes down the network link as a broadcast, without a module calling it having to know the format of the MODE command before the actual mode string.
+.PP
+More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for examples of how to use this function.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIopaque\fP An opaque pointer set by the protocol module, should not be modified!
+.br
+\fItarget_type\fP The type of item to decode data for, TYPE_USER or TYPE_CHANNEL
+.br
+\fItarget\fP The chanrec* or userrec* that modes should be sent for
+.br
+\fImodeline\fP The modes and parameters to be sent
+.RE
+.PP
+
+.PP
+Definition at line 370 of file modules.cpp.
+.PP
+.nf
+370 { };
.fi
.PP
diff --git a/docs/man/man3/ModuleFactory.3 b/docs/man/man3/ModuleFactory.3
index 38eb2c414..07c23ad69 100644
--- a/docs/man/man3/ModuleFactory.3
+++ b/docs/man/man3/ModuleFactory.3
@@ -1,4 +1,4 @@
-.TH "ModuleFactory" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleFactory" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -22,7 +22,7 @@ Inherits \fBclassbase\fP.
.RI "virtual \fB~ModuleFactory\fP ()"
.br
.ti -1c
-.RI "virtual \fBModule\fP * \fBCreateModule\fP ()=0"
+.RI "virtual \fBModule\fP * \fBCreateModule\fP (\fBServer\fP *Me)=0"
.br
.RI "\fICreates a new module. \fP"
.in -1c
@@ -32,28 +32,28 @@ 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 1265 of file modules.h.
+Definition at line 1654 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "ModuleFactory::ModuleFactory ()\fC [inline]\fP"
.PP
-Definition at line 1268 of file modules.h.
+Definition at line 1657 of file modules.h.
.PP
.nf
-1268 { }
+1657 { }
.fi
.PP
.SS "virtual ModuleFactory::~ModuleFactory ()\fC [inline, virtual]\fP"
.PP
-Definition at line 1269 of file modules.h.
+Definition at line 1658 of file modules.h.
.PP
.nf
-1269 { }
+1658 { }
.fi
.PP
.SH "Member Function Documentation"
.PP
-.SS "virtual \fBModule\fP* ModuleFactory::CreateModule ()\fC [pure virtual]\fP"
+.SS "virtual \fBModule\fP* ModuleFactory::CreateModule (\fBServer\fP * Me)\fC [pure virtual]\fP"
.PP
Creates a new module.
.PP
diff --git a/docs/man/man3/ModuleMessage.3 b/docs/man/man3/ModuleMessage.3
index 1aeb0a9ff..88ca58ca7 100644
--- a/docs/man/man3/ModuleMessage.3
+++ b/docs/man/man3/ModuleMessage.3
@@ -1,4 +1,4 @@
-.TH "ModuleMessage" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ModuleMessage" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -29,15 +29,15 @@ Inherited by \fBEvent\fP, and \fBRequest\fP.
.PP
The ModuleMessage class is the base class of \fBRequest\fP and \fBEvent\fP This class is used to represent a basic data structure which is passed between modules for safe inter-module communications.
.PP
-Definition at line 142 of file modules.h.
+Definition at line 143 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "virtual ModuleMessage::~ModuleMessage ()\fC [inline, virtual]\fP"
.PP
-Definition at line 148 of file modules.h.
+Definition at line 149 of file modules.h.
.PP
.nf
-148 {};
+149 {};
.fi
.PP
.SH "Member Function Documentation"
diff --git a/docs/man/man3/QLine.3 b/docs/man/man3/QLine.3
index a396146bc..f50afbdd4 100644
--- a/docs/man/man3/QLine.3
+++ b/docs/man/man3/QLine.3
@@ -1,4 +1,4 @@
-.TH "QLine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "QLine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/Request.3 b/docs/man/man3/Request.3
index b83cace94..bd8f3ab8f 100644
--- a/docs/man/man3/Request.3
+++ b/docs/man/man3/Request.3
@@ -1,4 +1,4 @@
-.TH "Request" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Request" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -58,7 +58,7 @@ The Request class is a unicast message directed at a given module.
When this class is properly instantiated it may be sent to a module using the \fBSend()\fP method, which will call the given module's OnRequest method with this class as its parameter.
.PP
-Definition at line 156 of file modules.h.
+Definition at line 157 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Request::Request (char * anydata, \fBModule\fP * src, \fBModule\fP * dst)"
@@ -146,21 +146,21 @@ References dest, and Module::OnRequest().
.PP
This member holds a pointer to arbitary data set by the emitter of the message.
.PP
-Definition at line 161 of file modules.h.
+Definition at line 162 of file modules.h.
.PP
Referenced by GetData().
.SS "\fBModule\fP* \fBRequest::dest\fP\fC [protected]\fP"
.PP
The single destination of the Request.
.PP
-Definition at line 168 of file modules.h.
+Definition at line 169 of file modules.h.
.PP
Referenced by GetDest(), and Send().
.SS "\fBModule\fP* \fBRequest::source\fP\fC [protected]\fP"
.PP
This is a pointer to the sender of the message, which can be used to directly trigger events, or to create a reply.
.PP
-Definition at line 165 of file modules.h.
+Definition at line 166 of file modules.h.
.PP
Referenced by GetSource().
diff --git a/docs/man/man3/Server.3 b/docs/man/man3/Server.3
index 55223633d..cca17c7e4 100644
--- a/docs/man/man3/Server.3
+++ b/docs/man/man3/Server.3
@@ -1,4 +1,4 @@
-.TH "Server" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Server" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -156,6 +156,9 @@ Inherits \fBclassbase\fP.
.br
.RI "\fICalls the handler for a command, either implemented by the core or by another module. \fP"
.ti -1c
+.RI "virtual bool \fBIsValidModuleCommand\fP (\fBstd::string\fP commandname, int pcnt, \fBuserrec\fP *user)"
+.br
+.ti -1c
.RI "virtual void \fBChangeHost\fP (\fBuserrec\fP *user, \fBstd::string\fP host)"
.br
.RI "\fIChange displayed hostname of a user. \fP"
@@ -239,6 +242,9 @@ Inherits \fBclassbase\fP.
.RI "virtual void \fBDelSocket\fP (\fBInspSocket\fP *sock)"
.br
.RI "\fIDeletes a class derived from \fBInspSocket\fP from the server's socket engine. \fP"
+.ti -1c
+.RI "virtual void \fBRehashServer\fP ()"
+.br
.in -1c
.SH "Detailed Description"
.PP
@@ -246,7 +252,7 @@ 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 696 of file modules.h.
+Definition at line 1081 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Server::Server ()"
@@ -255,11 +261,11 @@ Default constructor.
.PP
Creates a Server object.
.PP
-Definition at line 367 of file modules.cpp.
+Definition at line 394 of file modules.cpp.
.PP
.nf
-368 {
-369 }
+395 {
+396 }
.fi
.PP
.SS "Server::~Server ()\fC [virtual]\fP"
@@ -268,11 +274,11 @@ Default destructor.
.PP
Destroys a Server object.
.PP
-Definition at line 371 of file modules.cpp.
+Definition at line 398 of file modules.cpp.
.PP
.nf
-372 {
-373 }
+399 {
+400 }
.fi
.PP
.SH "Member Function Documentation"
@@ -287,14 +293,14 @@ typedef void (handlerfunc) (char**, int, userrec*); ... void \fBhandle_kill(char
.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.
.PP
-Definition at line 457 of file modules.cpp.
+Definition at line 495 of file modules.cpp.
.PP
References createcommand().
.PP
.nf
-458 {
-459 createcommand(cmd,f,flags,minparams,source);
-460 }
+496 {
+497 createcommand(cmd,f,flags,minparams,source);
+498 }
.fi
.PP
.SS "void Server::AddELine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
@@ -303,14 +309,14 @@ Adds a E-line The E-line is enforced as soon as it is added.
.PP
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.
.PP
-Definition at line 720 of file modules.cpp.
+Definition at line 758 of file modules.cpp.
.PP
References add_eline().
.PP
.nf
-721 {
-722 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-723 }
+759 {
+760 add_eline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+761 }
.fi
.PP
.SS "bool Server::AddExtendedListMode (char modechar)\fC [virtual]\fP"
@@ -329,17 +335,17 @@ This call is used to implement modes like +q and +a. The characteristics of thes
.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.
.PP
-Definition at line 625 of file modules.cpp.
+Definition at line 663 of file modules.cpp.
.PP
References DoAddExtendedMode(), ModeMakeList(), and MT_CHANNEL.
.PP
.nf
-626 {
-627 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
-628 if (res)
-629 ModeMakeList(modechar);
-630 return res;
-631 }
+664 {
+665 bool res = DoAddExtendedMode(modechar,MT_CHANNEL,false,1,1);
+666 if (res)
+667 ModeMakeList(modechar);
+668 return res;
+669 }
.fi
.PP
.SS "bool Server::AddExtendedMode (char modechar, int type, bool requires_oper, int params_when_on, int params_when_off)\fC [virtual]\fP"
@@ -348,37 +354,37 @@ Adds an extended mode letter which is parsed by a module.
.PP
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.
.PP
-Definition at line 597 of file modules.cpp.
+Definition at line 635 of file modules.cpp.
.PP
References DEBUG, DoAddExtendedMode(), MT_CLIENT, and MT_SERVER.
.PP
.nf
-598 {
-599 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z')))
-600 {
-601 if (type == MT_SERVER)
-602 {
-603 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
-604 return false;
-605 }
-606 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
-607 {
-608 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
-609 return false;
-610 }
-611 if ((params_when_on>1) || (params_when_off>1))
-612 {
-613 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
-614 return false;
-615 }
-616 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
-617 }
-618 else
-619 {
-620 log(DEBUG,'*** API ERROR *** Muppet modechar detected.');
-621 }
-622 return false;
-623 }
+636 {
+637 if (((modechar >= 'A') && (modechar <= 'Z')) || ((modechar >= 'a') && (modechar <= 'z')))
+638 {
+639 if (type == MT_SERVER)
+640 {
+641 log(DEBUG,'*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion');
+642 return false;
+643 }
+644 if (((params_when_on>0) || (params_when_off>0)) && (type == MT_CLIENT))
+645 {
+646 log(DEBUG,'*** API ERROR *** Parameters on MT_CLIENT modes are not supported');
+647 return false;
+648 }
+649 if ((params_when_on>1) || (params_when_off>1))
+650 {
+651 log(DEBUG,'*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported');
+652 return false;
+653 }
+654 return DoAddExtendedMode(modechar,type,requires_oper,params_when_on,params_when_off);
+655 }
+656 else
+657 {
+658 log(DEBUG,'*** API ERROR *** Muppet modechar detected.');
+659 }
+660 return false;
+661 }
.fi
.PP
.SS "void Server::AddGLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
@@ -387,14 +393,14 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf
.PP
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.
.PP
-Definition at line 700 of file modules.cpp.
+Definition at line 738 of file modules.cpp.
.PP
References add_gline().
.PP
.nf
-701 {
-702 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-703 }
+739 {
+740 add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+741 }
.fi
.PP
.SS "void Server::AddKLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP hostmask)\fC [virtual]\fP"
@@ -403,14 +409,14 @@ Adds a K-line The K-line is enforced as soon as it is added.
.PP
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.
.PP
-Definition at line 715 of file modules.cpp.
+Definition at line 753 of file modules.cpp.
.PP
References add_kline().
.PP
.nf
-716 {
-717 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-718 }
+754 {
+755 add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+756 }
.fi
.PP
.SS "void Server::AddQLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP nickname)\fC [virtual]\fP"
@@ -419,28 +425,28 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf
.PP
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.
.PP
-Definition at line 705 of file modules.cpp.
+Definition at line 743 of file modules.cpp.
.PP
References add_qline().
.PP
.nf
-706 {
-707 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
-708 }
+744 {
+745 add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str());
+746 }
.fi
.PP
.SS "void Server::AddSocket (\fBInspSocket\fP * sock)\fC [virtual]\fP"
.PP
Adds a class derived from \fBInspSocket\fP to the server's socket engine.
.PP
-Definition at line 375 of file modules.cpp.
+Definition at line 402 of file modules.cpp.
.PP
References module_sockets.
.PP
.nf
-376 {
-377 module_sockets.push_back(sock);
-378 }
+403 {
+404 module_sockets.push_back(sock);
+405 }
.fi
.PP
.SS "void Server::AddZLine (long duration, \fBstd::string\fP source, \fBstd::string\fP reason, \fBstd::string\fP ipaddr)\fC [virtual]\fP"
@@ -449,14 +455,14 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf
.PP
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.
.PP
-Definition at line 710 of file modules.cpp.
+Definition at line 748 of file modules.cpp.
.PP
References add_zline().
.PP
.nf
-711 {
-712 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-713 }
+749 {
+750 add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+751 }
.fi
.PP
.SS "long Server::CalcDuration (\fBstd::string\fP duration)\fC [virtual]\fP"
@@ -465,14 +471,14 @@ Calculates a duration This method will take a string containing a formatted dura
.PP
'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.
.PP
-Definition at line 750 of file modules.cpp.
+Definition at line 788 of file modules.cpp.
.PP
References duration().
.PP
.nf
-751 {
-752 return duration(delta.c_str());
-753 }
+789 {
+790 return duration(delta.c_str());
+791 }
.fi
.PP
.SS "void Server::CallCommandHandler (\fBstd::string\fP commandname, char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
@@ -483,12 +489,12 @@ You can use this function to trigger other commands in the ircd, such as PRIVMSG
.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.
.PP
-Definition at line 447 of file modules.cpp.
+Definition at line 480 of file modules.cpp.
.PP
.nf
-448 {
-449 call_handler(commandname.c_str(),parameters,pcnt,user);
-450 }
+481 {
+482 call_handler(commandname.c_str(),parameters,pcnt,user);
+483 }
.fi
.PP
.SS "void Server::ChangeGECOS (\fBuserrec\fP * user, \fBstd::string\fP gecos)\fC [virtual]\fP"
@@ -497,14 +503,14 @@ Change GECOS (fullname) of a user.
.PP
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.
.PP
-Definition at line 540 of file modules.cpp.
+Definition at line 578 of file modules.cpp.
.PP
References ChangeName().
.PP
.nf
-541 {
-542 ChangeName(user,gecos.c_str());
-543 }
+579 {
+580 ChangeName(user,gecos.c_str());
+581 }
.fi
.PP
.SS "void Server::ChangeHost (\fBuserrec\fP * user, \fBstd::string\fP host)\fC [virtual]\fP"
@@ -513,14 +519,14 @@ Change displayed hostname of a user.
.PP
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.
.PP
-Definition at line 535 of file modules.cpp.
+Definition at line 573 of file modules.cpp.
.PP
References ChangeDisplayedHost().
.PP
.nf
-536 {
-537 ChangeDisplayedHost(user,host.c_str());
-538 }
+574 {
+575 ChangeDisplayedHost(user,host.c_str());
+576 }
.fi
.PP
.SS "void Server::ChangeUserNick (\fBuserrec\fP * user, \fBstd::string\fP nickname)\fC [virtual]\fP"
@@ -529,12 +535,12 @@ Forces a user nickchange.
.PP
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.
.PP
-Definition at line 432 of file modules.cpp.
+Definition at line 465 of file modules.cpp.
.PP
.nf
-433 {
-434 force_nickchange(user,nickname.c_str());
-435 }
+466 {
+467 force_nickchange(user,nickname.c_str());
+468 }
.fi
.PP
.SS "\fBstd::string\fP Server::ChanMode (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP"
@@ -543,14 +549,14 @@ Attempts to look up a user's privilages on a channel.
.PP
This function will return a string containing either @, %, +, or an empty string, representing the user's privilages upon the channel you specify.
.PP
-Definition at line 565 of file modules.cpp.
+Definition at line 603 of file modules.cpp.
.PP
References cmode().
.PP
.nf
-566 {
-567 return cmode(User,Chan);
-568 }
+604 {
+605 return cmode(User,Chan);
+606 }
.fi
.PP
.SS "bool Server::CommonChannels (\fBuserrec\fP * u1, \fBuserrec\fP * u2)\fC [virtual]\fP"
@@ -559,14 +565,14 @@ Returns true if two users share a common channel.
.PP
This method is used internally by the NICK and QUIT commands, and the \fBServer::SendCommon\fP method.
.PP
-Definition at line 513 of file modules.cpp.
+Definition at line 551 of file modules.cpp.
.PP
References common_channels().
.PP
.nf
-514 {
-515 return (common_channels(u1,u2) != 0);
-516 }
+552 {
+553 return (common_channels(u1,u2) != 0);
+554 }
.fi
.PP
.SS "int Server::CountUsers (\fBchanrec\fP * c)\fC [virtual]\fP"
@@ -575,103 +581,103 @@ Returns a count of the number of users on a channel.
.PP
This will NEVER be 0, as if the chanrec exists, it will have at least one user in the channel.
.PP
-Definition at line 633 of file modules.cpp.
+Definition at line 671 of file modules.cpp.
.PP
.nf
-634 {
-635 return usercount(c);
-636 }
+672 {
+673 return usercount(c);
+674 }
.fi
.PP
.SS "bool Server::DelELine (\fBstd::string\fP hostmask)\fC [virtual]\fP"
.PP
Deletes a local E-Line.
.PP
-Definition at line 745 of file modules.cpp.
+Definition at line 783 of file modules.cpp.
.PP
References del_eline().
.PP
.nf
-746 {
-747 return del_eline(hostmask.c_str());
-748 }
+784 {
+785 return del_eline(hostmask.c_str());
+786 }
.fi
.PP
.SS "bool Server::DelGLine (\fBstd::string\fP hostmask)\fC [virtual]\fP"
.PP
Deletes a G-Line from all servers on the mesh.
.PP
-Definition at line 725 of file modules.cpp.
+Definition at line 763 of file modules.cpp.
.PP
References del_gline().
.PP
.nf
-726 {
-727 return del_gline(hostmask.c_str());
-728 }
+764 {
+765 return del_gline(hostmask.c_str());
+766 }
.fi
.PP
.SS "bool Server::DelKLine (\fBstd::string\fP hostmask)\fC [virtual]\fP"
.PP
Deletes a local K-Line.
.PP
-Definition at line 740 of file modules.cpp.
+Definition at line 778 of file modules.cpp.
.PP
References del_kline().
.PP
.nf
-741 {
-742 return del_kline(hostmask.c_str());
-743 }
+779 {
+780 return del_kline(hostmask.c_str());
+781 }
.fi
.PP
.SS "bool Server::DelQLine (\fBstd::string\fP nickname)\fC [virtual]\fP"
.PP
Deletes a Q-Line from all servers on the mesh.
.PP
-Definition at line 730 of file modules.cpp.
+Definition at line 768 of file modules.cpp.
.PP
References del_qline().
.PP
.nf
-731 {
-732 return del_qline(nickname.c_str());
-733 }
+769 {
+770 return del_qline(nickname.c_str());
+771 }
.fi
.PP
.SS "void Server::DelSocket (\fBInspSocket\fP * sock)\fC [virtual]\fP"
.PP
Deletes a class derived from \fBInspSocket\fP from the server's socket engine.
.PP
-Definition at line 380 of file modules.cpp.
+Definition at line 413 of file modules.cpp.
.PP
References module_sockets.
.PP
.nf
-381 {
-382 for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++)
-383 {
-384 if (*a == sock)
-385 {
-386 module_sockets.erase(a);
-387 return;
-388 }
-389 }
-390 }
+414 {
+415 for (std::vector<InspSocket*>::iterator a = module_sockets.begin(); a < module_sockets.end(); a++)
+416 {
+417 if (*a == sock)
+418 {
+419 module_sockets.erase(a);
+420 return;
+421 }
+422 }
+423 }
.fi
.PP
.SS "bool Server::DelZLine (\fBstd::string\fP ipaddr)\fC [virtual]\fP"
.PP
Deletes a Z-Line from all servers on the mesh.
.PP
-Definition at line 735 of file modules.cpp.
+Definition at line 773 of file modules.cpp.
.PP
References del_zline().
.PP
.nf
-736 {
-737 return del_zline(ipaddr.c_str());
-738 }
+774 {
+775 return del_zline(ipaddr.c_str());
+776 }
.fi
.PP
.SS "\fBchanrec\fP * Server::FindChannel (\fBstd::string\fP channel)\fC [virtual]\fP"
@@ -680,12 +686,12 @@ Attempts to look up a channel and return a pointer to it.
.PP
This function will return NULL if the channel does not exist.
.PP
-Definition at line 560 of file modules.cpp.
+Definition at line 598 of file modules.cpp.
.PP
.nf
-561 {
-562 return FindChan(channel.c_str());
-563 }
+599 {
+600 return FindChan(channel.c_str());
+601 }
.fi
.PP
.SS "\fBuserrec\fP * Server::FindDescriptor (int socket)\fC [virtual]\fP"
@@ -694,12 +700,12 @@ Attempts to look up a nick using the file descriptor associated with that nick.
.PP
This function will return NULL if the file descriptor is not associated with a valid user.
.PP
-Definition at line 555 of file modules.cpp.
+Definition at line 593 of file modules.cpp.
.PP
.nf
-556 {
-557 return (socket < 65536 ? fd_ref_table[socket] : NULL);
-558 }
+594 {
+595 return (socket < 65536 ? fd_ref_table[socket] : NULL);
+596 }
.fi
.PP
.SS "\fBModule\fP * Server::FindModule (\fBstd::string\fP name)\fC [virtual]\fP"
@@ -708,21 +714,21 @@ This function finds a module by name.
.PP
You must provide the filename of the module. If the module cannot be found (is not loaded) the function will return NULL.
.PP
-Definition at line 784 of file modules.cpp.
+Definition at line 822 of file modules.cpp.
.PP
References MODCOUNT, module_names, and modules.
.PP
.nf
-785 {
-786 for (int i = 0; i <= MODCOUNT; i++)
-787 {
-788 if (module_names[i] == name)
-789 {
-790 return modules[i];
-791 }
-792 }
-793 return NULL;
-794 }
+823 {
+824 for (int i = 0; i <= MODCOUNT; i++)
+825 {
+826 if (module_names[i] == name)
+827 {
+828 return modules[i];
+829 }
+830 }
+831 return NULL;
+832 }
.fi
.PP
.SS "\fBuserrec\fP * Server::FindNick (\fBstd::string\fP nick)\fC [virtual]\fP"
@@ -731,12 +737,12 @@ Attempts to look up a nick and return a pointer to it.
.PP
This function will return NULL if the nick does not exist.
.PP
-Definition at line 550 of file modules.cpp.
+Definition at line 588 of file modules.cpp.
.PP
.nf
-551 {
-552 return Find(nick);
-553 }
+589 {
+590 return Find(nick);
+591 }
.fi
.PP
.SS "\fBAdmin\fP Server::GetAdmin ()\fC [virtual]\fP"
@@ -745,48 +751,48 @@ Returns the information of the server as returned by the /ADMIN command.
.PP
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.
.PP
-Definition at line 590 of file modules.cpp.
+Definition at line 628 of file modules.cpp.
.PP
.nf
-591 {
-592 return Admin(getadminname(),getadminemail(),getadminnick());
-593 }
+629 {
+630 return Admin(getadminname(),getadminemail(),getadminnick());
+631 }
.fi
.PP
.SS "\fBstd::string\fP Server::GetNetworkName ()\fC [virtual]\fP"
.PP
Returns the network name, global to all linked servers.
.PP
-Definition at line 580 of file modules.cpp.
+Definition at line 618 of file modules.cpp.
.PP
.nf
-581 {
-582 return getnetworkname();
-583 }
+619 {
+620 return getnetworkname();
+621 }
.fi
.PP
.SS "\fBstd::string\fP Server::GetServerDescription ()\fC [virtual]\fP"
.PP
Returns the server description string of the local server.
.PP
-Definition at line 585 of file modules.cpp.
+Definition at line 623 of file modules.cpp.
.PP
.nf
-586 {
-587 return getserverdesc();
-588 }
+624 {
+625 return getserverdesc();
+626 }
.fi
.PP
.SS "\fBstd::string\fP Server::GetServerName ()\fC [virtual]\fP"
.PP
Returns the server name of the server where the module is loaded.
.PP
-Definition at line 575 of file modules.cpp.
+Definition at line 613 of file modules.cpp.
.PP
.nf
-576 {
-577 return getservername();
-578 }
+614 {
+615 return getservername();
+616 }
.fi
.PP
.SS "\fBchanuserlist\fP Server::GetUsers (\fBchanrec\fP * chan)\fC [virtual]\fP"
@@ -795,22 +801,22 @@ Fetches the userlist of a channel.
.PP
This function must be here and not a member of userrec or chanrec due to include constraints.
.PP
-Definition at line 420 of file modules.cpp.
+Definition at line 453 of file modules.cpp.
.PP
References chanrec::GetUsers(), and list.
.PP
.nf
-421 {
-422 chanuserlist userl;
-423 userl.clear();
-424 std::vector<char*> *list = chan->GetUsers();
-425 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++)
-426 {
-427 char* o = *i;
-428 userl.push_back((userrec*)o);
-429 }
-430 return userl;
-431 }
+454 {
+455 chanuserlist userl;
+456 userl.clear();
+457 std::vector<char*> *list = chan->GetUsers();
+458 for (std::vector<char*>::iterator i = list->begin(); i != list->end(); i++)
+459 {
+460 char* o = *i;
+461 userl.push_back((userrec*)o);
+462 }
+463 return userl;
+464 }
.fi
.PP
.SS "bool Server::IsNick (\fBstd::string\fP nick)\fC [virtual]\fP"
@@ -819,14 +825,14 @@ Returns true if a nick is valid.
.PP
Nicks for unregistered connections will return false.
.PP
-Definition at line 545 of file modules.cpp.
+Definition at line 583 of file modules.cpp.
.PP
References isnick().
.PP
.nf
-546 {
-547 return (isnick(nick.c_str()) != 0);
-548 }
+584 {
+585 return (isnick(nick.c_str()) != 0);
+586 }
.fi
.PP
.SS "bool Server::IsOnChannel (\fBuserrec\fP * User, \fBchanrec\fP * Chan)\fC [virtual]\fP"
@@ -835,14 +841,14 @@ Checks if a user is on a channel.
.PP
This function will return true or false to indicate if user 'User' is on channel 'Chan'.
.PP
-Definition at line 570 of file modules.cpp.
+Definition at line 608 of file modules.cpp.
.PP
References has_channel().
.PP
.nf
-571 {
-572 return has_channel(User,Chan);
-573 }
+609 {
+610 return has_channel(User,Chan);
+611 }
.fi
.PP
.SS "bool Server::IsUlined (\fBstd::string\fP server)\fC [virtual]\fP"
@@ -851,50 +857,60 @@ Returns true if the servername you give is ulined.
.PP
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.
.PP
-Definition at line 442 of file modules.cpp.
+Definition at line 475 of file modules.cpp.
.PP
References is_uline().
.PP
.nf
-443 {
-444 return is_uline(server.c_str());
-445 }
+476 {
+477 return is_uline(server.c_str());
+478 }
.fi
.PP
.SS "bool Server::IsValidMask (\fBstd::string\fP mask)\fC [virtual]\fP"
.PP
Returns true if a nick!ident string is correctly formatted, false if otherwise.
.PP
-Definition at line 755 of file modules.cpp.
+Definition at line 793 of file modules.cpp.
+.PP
+.nf
+794 {
+795 const char* dest = mask.c_str();
+796 if (strchr(dest,'!')==0)
+797 return false;
+798 if (strchr(dest,'@')==0)
+799 return false;
+800 for (unsigned int i = 0; i < strlen(dest); i++)
+801 if (dest[i] < 32)
+802 return false;
+803 for (unsigned int i = 0; i < strlen(dest); i++)
+804 if (dest[i] > 126)
+805 return false;
+806 unsigned int c = 0;
+807 for (unsigned int i = 0; i < strlen(dest); i++)
+808 if (dest[i] == '!')
+809 c++;
+810 if (c>1)
+811 return false;
+812 c = 0;
+813 for (unsigned int i = 0; i < strlen(dest); i++)
+814 if (dest[i] == '@')
+815 c++;
+816 if (c>1)
+817 return false;
+818
+819 return true;
+820 }
+.fi
+.PP
+.SS "bool Server::IsValidModuleCommand (\fBstd::string\fP commandname, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
+.PP
+Definition at line 485 of file modules.cpp.
.PP
.nf
-756 {
-757 const char* dest = mask.c_str();
-758 if (strchr(dest,'!')==0)
-759 return false;
-760 if (strchr(dest,'@')==0)
-761 return false;
-762 for (unsigned int i = 0; i < strlen(dest); i++)
-763 if (dest[i] < 32)
-764 return false;
-765 for (unsigned int i = 0; i < strlen(dest); i++)
-766 if (dest[i] > 126)
-767 return false;
-768 unsigned int c = 0;
-769 for (unsigned int i = 0; i < strlen(dest); i++)
-770 if (dest[i] == '!')
-771 c++;
-772 if (c>1)
-773 return false;
-774 c = 0;
-775 for (unsigned int i = 0; i < strlen(dest); i++)
-776 if (dest[i] == '@')
-777 c++;
-778 if (c>1)
-779 return false;
-780
-781 return true;
-782 }
+486 {
+487 return is_valid_cmd(commandname.c_str(), pcnt, user);
+488 }
.fi
.PP
.SS "\fBchanrec\fP * Server::JoinUserToChannel (\fBuserrec\fP * user, \fBstd::string\fP cname, \fBstd::string\fP key)\fC [virtual]\fP"
@@ -903,12 +919,12 @@ Forces a user to join a channel.
.PP
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.
.PP
-Definition at line 410 of file modules.cpp.
+Definition at line 443 of file modules.cpp.
.PP
.nf
-411 {
-412 return add_channel(user,cname.c_str(),key.c_str(),false);
-413 }
+444 {
+445 return add_channel(user,cname.c_str(),key.c_str(),false);
+446 }
.fi
.PP
.SS "void Server::Log (int level, \fBstd::string\fP s)\fC [virtual]\fP"
@@ -917,12 +933,12 @@ Writes a log string.
.PP
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.
.PP
-Definition at line 452 of file modules.cpp.
+Definition at line 490 of file modules.cpp.
.PP
.nf
-453 {
-454 log(level,'%s',s.c_str());
-455 }
+491 {
+492 log(level,'%s',s.c_str());
+493 }
.fi
.PP
.SS "bool Server::MatchText (\fBstd::string\fP sliteral, \fBstd::string\fP spattern)\fC [virtual]\fP"
@@ -931,15 +947,15 @@ Matches text against a glob pattern.
.PP
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.
.PP
-Definition at line 397 of file modules.cpp.
+Definition at line 430 of file modules.cpp.
.PP
.nf
-398 {
-399 char literal[MAXBUF],pattern[MAXBUF];
-400 strlcpy(literal,sliteral.c_str(),MAXBUF);
-401 strlcpy(pattern,spattern.c_str(),MAXBUF);
-402 return match(literal,pattern);
-403 }
+431 {
+432 char literal[MAXBUF],pattern[MAXBUF];
+433 strlcpy(literal,sliteral.c_str(),MAXBUF);
+434 strlcpy(pattern,spattern.c_str(),MAXBUF);
+435 return match(literal,pattern);
+436 }
.fi
.PP
.SS "\fBchanrec\fP * Server::PartUserFromChannel (\fBuserrec\fP * user, \fBstd::string\fP cname, \fBstd::string\fP reason)\fC [virtual]\fP"
@@ -948,12 +964,12 @@ Forces a user to part a channel.
.PP
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.
.PP
-Definition at line 415 of file modules.cpp.
+Definition at line 448 of file modules.cpp.
.PP
.nf
-416 {
-417 return del_channel(user,cname.c_str(),reason.c_str(),false);
-418 }
+449 {
+450 return del_channel(user,cname.c_str(),reason.c_str(),false);
+451 }
.fi
.PP
.SS "bool Server::PseudoToUser (\fBuserrec\fP * alive, \fBuserrec\fP * zombie, \fBstd::string\fP message)\fC [virtual]\fP"
@@ -962,39 +978,39 @@ This user takes one user, and switches their file descriptor with another user,
.PP
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.
.PP
-Definition at line 670 of file modules.cpp.
+Definition at line 708 of file modules.cpp.
.PP
References ucrec::channel, userrec::chans, userrec::ClearBuffer(), connection::fd, FD_MAGIC_NUMBER, connection::host, userrec::ident, chanrec::name, userrec::nick, chanrec::setby, chanrec::topic, and chanrec::topicset.
.PP
.nf
-671 {
-672 zombie->fd = alive->fd;
-673 alive->fd = FD_MAGIC_NUMBER;
-674 alive->ClearBuffer();
-675 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
-676 kill_link(alive,message.c_str());
-677 fd_ref_table[zombie->fd] = zombie;
-678 for (int i = 0; i != MAXCHANS; i++)
-679 {
-680 if (zombie->chans[i].channel != NULL)
-681 {
-682 if (zombie->chans[i].channel->name)
-683 {
-684 chanrec* Ptr = zombie->chans[i].channel;
-685 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
-686 if (Ptr->topicset)
-687 {
-688 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
-689 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
-690 }
-691 userlist(zombie,Ptr);
-692 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
-693
-694 }
-695 }
-696 }
-697 return true;
-698 }
+709 {
+710 zombie->fd = alive->fd;
+711 alive->fd = FD_MAGIC_NUMBER;
+712 alive->ClearBuffer();
+713 Write(zombie->fd,':%s!%s@%s NICK %s',alive->nick,alive->ident,alive->host,zombie->nick);
+714 kill_link(alive,message.c_str());
+715 fd_ref_table[zombie->fd] = zombie;
+716 for (int i = 0; i != MAXCHANS; i++)
+717 {
+718 if (zombie->chans[i].channel != NULL)
+719 {
+720 if (zombie->chans[i].channel->name)
+721 {
+722 chanrec* Ptr = zombie->chans[i].channel;
+723 WriteFrom(zombie->fd,zombie,'JOIN %s',Ptr->name);
+724 if (Ptr->topicset)
+725 {
+726 WriteServ(zombie->fd,'332 %s %s :%s', zombie->nick, Ptr->name, Ptr->topic);
+727 WriteServ(zombie->fd,'333 %s %s %s %d', zombie->nick, Ptr->name, Ptr->setby, Ptr->topicset);
+728 }
+729 userlist(zombie,Ptr);
+730 WriteServ(zombie->fd,'366 %s %s :End of /NAMES list.', zombie->nick, Ptr->name);
+731
+732 }
+733 }
+734 }
+735 return true;
+736 }
.fi
.PP
.SS "void Server::QuitUser (\fBuserrec\fP * user, \fBstd::string\fP reason)\fC [virtual]\fP"
@@ -1007,12 +1023,23 @@ 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.
.PP
-Definition at line 437 of file modules.cpp.
+Definition at line 470 of file modules.cpp.
+.PP
+.nf
+471 {
+472 kill_link(user,reason.c_str());
+473 }
+.fi
+.PP
+.SS "void Server::RehashServer ()\fC [virtual]\fP"
+.PP
+Definition at line 407 of file modules.cpp.
.PP
.nf
-438 {
-439 kill_link(user,reason.c_str());
-440 }
+408 {
+409 WriteOpers('*** Rehashing config file');
+410 ReadConfig(false,NULL);
+411 }
.fi
.PP
.SS "void Server::Send (int Socket, \fBstd::string\fP s)\fC [virtual]\fP"
@@ -1021,12 +1048,12 @@ Sends a line of text down a TCP/IP socket.
.PP
This method writes a line of text to an established socket, cutting it to 510 characters plus a carriage return and linefeed if required.
.PP
-Definition at line 467 of file modules.cpp.
+Definition at line 505 of file modules.cpp.
.PP
.nf
-468 {
-469 Write(Socket,'%s',s.c_str());
-470 }
+506 {
+507 Write(Socket,'%s',s.c_str());
+508 }
.fi
.PP
.SS "void Server::SendChannel (\fBuserrec\fP * User, \fBchanrec\fP * Channel, \fBstd::string\fP s, bool IncludeSender)\fC [virtual]\fP"
@@ -1035,19 +1062,19 @@ Sends text from a user to a channel (mulicast).
.PP
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).
.PP
-Definition at line 501 of file modules.cpp.
+Definition at line 539 of file modules.cpp.
.PP
.nf
-502 {
-503 if (IncludeSender)
-504 {
-505 WriteChannel(Channel,User,'%s',s.c_str());
-506 }
-507 else
-508 {
-509 ChanExceptSender(Channel,User,'%s',s.c_str());
-510 }
-511 }
+540 {
+541 if (IncludeSender)
+542 {
+543 WriteChannel(Channel,User,'%s',s.c_str());
+544 }
+545 else
+546 {
+547 ChanExceptSender(Channel,User,'%s',s.c_str());
+548 }
+549 }
.fi
.PP
.SS "void Server::SendChannelServerNotice (\fBstd::string\fP ServName, \fBchanrec\fP * Channel, \fBstd::string\fP text)\fC [virtual]\fP"
@@ -1056,12 +1083,12 @@ Writes text to a channel, but from a server, including all.
.PP
This can be used to send server notices to a group of users.
.PP
-Definition at line 496 of file modules.cpp.
+Definition at line 534 of file modules.cpp.
.PP
.nf
-497 {
-498 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str());
-499 }
+535 {
+536 WriteChannelWithServ((char*)ServName.c_str(), Channel, '%s', text.c_str());
+537 }
.fi
.PP
.SS "void Server::SendCommon (\fBuserrec\fP * User, \fBstd::string\fP text, bool IncludeSender)\fC [virtual]\fP"
@@ -1070,19 +1097,19 @@ Sends text from a user to one or more channels (mulicast).
.PP
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.
.PP
-Definition at line 518 of file modules.cpp.
+Definition at line 556 of file modules.cpp.
.PP
.nf
-519 {
-520 if (IncludeSender)
-521 {
-522 WriteCommon(User,'%s',text.c_str());
-523 }
-524 else
-525 {
-526 WriteCommonExcept(User,'%s',text.c_str());
-527 }
-528 }
+557 {
+558 if (IncludeSender)
+559 {
+560 WriteCommon(User,'%s',text.c_str());
+561 }
+562 else
+563 {
+564 WriteCommonExcept(User,'%s',text.c_str());
+565 }
+566 }
.fi
.PP
.SS "void Server::SendFrom (int Socket, \fBuserrec\fP * User, \fBstd::string\fP s)\fC [virtual]\fP"
@@ -1091,12 +1118,12 @@ Sends text from a user to a socket.
.PP
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)
.PP
-Definition at line 477 of file modules.cpp.
+Definition at line 515 of file modules.cpp.
.PP
.nf
-478 {
-479 WriteFrom(Socket,User,'%s',s.c_str());
-480 }
+516 {
+517 WriteFrom(Socket,User,'%s',s.c_str());
+518 }
.fi
.PP
.SS "void Server::SendMode (char ** parameters, int pcnt, \fBuserrec\fP * user)\fC [virtual]\fP"
@@ -1119,14 +1146,14 @@ 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!
.PP
-Definition at line 462 of file modules.cpp.
+Definition at line 500 of file modules.cpp.
.PP
References server_mode().
.PP
.nf
-463 {
-464 server_mode(parameters,pcnt,user);
-465 }
+501 {
+502 server_mode(parameters,pcnt,user);
+503 }
.fi
.PP
.SS "void Server::SendOpers (\fBstd::string\fP s)\fC [virtual]\fP"
@@ -1135,12 +1162,12 @@ Sends text to all opers.
.PP
This method sends a server notice to all opers with the usermode +s.
.PP
-Definition at line 392 of file modules.cpp.
+Definition at line 425 of file modules.cpp.
.PP
.nf
-393 {
-394 WriteOpers('%s',s.c_str());
-395 }
+426 {
+427 WriteOpers('%s',s.c_str());
+428 }
.fi
.PP
.SS "void Server::SendServ (int Socket, \fBstd::string\fP s)\fC [virtual]\fP"
@@ -1149,12 +1176,12 @@ Sends text from the server to a socket.
.PP
This method writes a line of text to an established socket, with the servername prepended as used by numerics (see RFC 1459)
.PP
-Definition at line 472 of file modules.cpp.
+Definition at line 510 of file modules.cpp.
.PP
.nf
-473 {
-474 WriteServ(Socket,'%s',s.c_str());
-475 }
+511 {
+512 WriteServ(Socket,'%s',s.c_str());
+513 }
.fi
.PP
.SS "void Server::SendTo (\fBuserrec\fP * Source, \fBuserrec\fP * Dest, \fBstd::string\fP s)\fC [virtual]\fP"
@@ -1171,23 +1198,23 @@ The format will become:
.PP
Which is useful for numerics and server notices to single users, etc.
.PP
-Definition at line 482 of file modules.cpp.
+Definition at line 520 of file modules.cpp.
.PP
References connection::fd.
.PP
.nf
-483 {
-484 if (!Source)
-485 {
-486 // if source is NULL, then the message originates from the local server
-487 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
-488 }
-489 else
-490 {
-491 // otherwise it comes from the user specified
-492 WriteTo(Source,Dest,'%s',s.c_str());
-493 }
-494 }
+521 {
+522 if (!Source)
+523 {
+524 // if source is NULL, then the message originates from the local server
+525 Write(Dest->fd,':%s %s',this->GetServerName().c_str(),s.c_str());
+526 }
+527 else
+528 {
+529 // otherwise it comes from the user specified
+530 WriteTo(Source,Dest,'%s',s.c_str());
+531 }
+532 }
.fi
.PP
.SS "void Server::SendToModeMask (\fBstd::string\fP modes, int flags, \fBstd::string\fP text)\fC [virtual]\fP"
@@ -1200,12 +1227,12 @@ 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.
.PP
-Definition at line 405 of file modules.cpp.
+Definition at line 438 of file modules.cpp.
.PP
.nf
-406 {
-407 WriteMode(modes.c_str(),flags,'%s',text.c_str());
-408 }
+439 {
+440 WriteMode(modes.c_str(),flags,'%s',text.c_str());
+441 }
.fi
.PP
.SS "void Server::SendWallops (\fBuserrec\fP * User, \fBstd::string\fP text)\fC [virtual]\fP"
@@ -1214,12 +1241,12 @@ Sends a WALLOPS message.
.PP
This method writes a WALLOPS message to all users with the +w flag, originating from the specified user.
.PP
-Definition at line 530 of file modules.cpp.
+Definition at line 568 of file modules.cpp.
.PP
.nf
-531 {
-532 WriteWallOps(User,false,'%s',text.c_str());
-533 }
+569 {
+570 WriteWallOps(User,false,'%s',text.c_str());
+571 }
.fi
.PP
.SS "bool Server::UserToPseudo (\fBuserrec\fP * user, \fBstd::string\fP message)\fC [virtual]\fP"
@@ -1228,40 +1255,40 @@ Remove a user's connection to the irc server, but leave their client in existenc
.PP
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.
.PP
-Definition at line 639 of file modules.cpp.
+Definition at line 677 of file modules.cpp.
.PP
References userrec::ClearBuffer(), DEBUG, connection::fd, FD_MAGIC_NUMBER, connection::host, and userrec::ident.
.PP
.nf
-640 {
-641 unsigned int old_fd = user->fd;
-642 user->fd = FD_MAGIC_NUMBER;
-643 user->ClearBuffer();
-644 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
-645 #ifdef USE_KQUEUE
-646 struct kevent ke;
-647 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-648 int i = kevent(kq, &ke, 1, 0, 0, NULL);
-649 if (i == -1)
-650 {
-651 log(DEBUG,'kqueue: Failed to remove user from queue!');
-652 }
-653 #endif
-654 #ifdef USE_EPOLL
-655 struct epoll_event ev;
-656 ev.events = EPOLLIN | EPOLLET;
-657 ev.data.fd = old_fd;
-658 int i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev);
-659 if (i < 0)
-660 {
-661 log(DEBUG,'epoll: List deletion failure!');
-662 }
-663 #endif
-664
-665 shutdown(old_fd,2);
-666 close(old_fd);
-667 return true;
-668 }
+678 {
+679 unsigned int old_fd = user->fd;
+680 user->fd = FD_MAGIC_NUMBER;
+681 user->ClearBuffer();
+682 Write(old_fd,'ERROR :Closing link (%s@%s) [%s]',user->ident,user->host,message.c_str());
+683 #ifdef USE_KQUEUE
+684 struct kevent ke;
+685 EV_SET(&ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+686 int i = kevent(kq, &ke, 1, 0, 0, NULL);
+687 if (i == -1)
+688 {
+689 log(DEBUG,'kqueue: Failed to remove user from queue!');
+690 }
+691 #endif
+692 #ifdef USE_EPOLL
+693 struct epoll_event ev;
+694 ev.events = EPOLLIN | EPOLLET;
+695 ev.data.fd = old_fd;
+696 int i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &ev);
+697 if (i < 0)
+698 {
+699 log(DEBUG,'epoll: List deletion failure!');
+700 }
+701 #endif
+702
+703 shutdown(old_fd,2);
+704 close(old_fd);
+705 return true;
+706 }
.fi
.PP
diff --git a/docs/man/man3/Version.3 b/docs/man/man3/Version.3
index 166f36369..4cc7e69ab 100644
--- a/docs/man/man3/Version.3
+++ b/docs/man/man3/Version.3
@@ -1,4 +1,4 @@
-.TH "Version" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Version" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -44,7 +44,7 @@ Holds a module's Version information The four members (set by the constructor on
A class of type Version is returned by the GetVersion method of the \fBModule\fP class.
.PP
-Definition at line 112 of file modules.h.
+Definition at line 113 of file modules.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "Version::Version (int major, int minor, int revision, int build, int flags)"
@@ -59,19 +59,19 @@ Definition at line 246 of file modules.cpp.
.PP
.SS "const int \fBVersion::Build\fP"
.PP
-Definition at line 115 of file modules.h.
+Definition at line 116 of file modules.h.
.SS "const int \fBVersion::Flags\fP"
.PP
-Definition at line 115 of file modules.h.
+Definition at line 116 of file modules.h.
.SS "const int \fBVersion::Major\fP"
.PP
-Definition at line 115 of file modules.h.
+Definition at line 116 of file modules.h.
.SS "const int \fBVersion::Minor\fP"
.PP
-Definition at line 115 of file modules.h.
+Definition at line 116 of file modules.h.
.SS "const int \fBVersion::Revision\fP"
.PP
-Definition at line 115 of file modules.h.
+Definition at line 116 of file modules.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/WhoWasUser.3 b/docs/man/man3/WhoWasUser.3
index e1fc03962..14441a78c 100644
--- a/docs/man/man3/WhoWasUser.3
+++ b/docs/man/man3/WhoWasUser.3
@@ -1,4 +1,4 @@
-.TH "WhoWasUser" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "WhoWasUser" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -39,30 +39,30 @@ WhoWasUser \- A lightweight userrec used by WHOWAS.
.PP
A lightweight userrec used by WHOWAS.
.PP
-Definition at line 325 of file users.h.
+Definition at line 332 of file users.h.
.SH "Member Data Documentation"
.PP
.SS "char \fBWhoWasUser::dhost\fP[160]"
.PP
-Definition at line 330 of file users.h.
+Definition at line 337 of file users.h.
.SS "char \fBWhoWasUser::fullname\fP[MAXGECOS+1]"
.PP
-Definition at line 332 of file users.h.
+Definition at line 339 of file users.h.
.SS "char \fBWhoWasUser::host\fP[160]"
.PP
-Definition at line 331 of file users.h.
+Definition at line 338 of file users.h.
.SS "char \fBWhoWasUser::ident\fP[IDENTMAX+1]"
.PP
-Definition at line 329 of file users.h.
+Definition at line 336 of file users.h.
.SS "char \fBWhoWasUser::nick\fP[NICKMAX]"
.PP
-Definition at line 328 of file users.h.
+Definition at line 335 of file users.h.
.SS "char \fBWhoWasUser::server\fP[256]"
.PP
-Definition at line 333 of file users.h.
+Definition at line 340 of file users.h.
.SS "time_t \fBWhoWasUser::signon\fP"
.PP
-Definition at line 334 of file users.h.
+Definition at line 341 of file users.h.
.SH "Author"
.PP
diff --git a/docs/man/man3/XLine.3 b/docs/man/man3/XLine.3
index f6d574d79..531448d3d 100644
--- a/docs/man/man3/XLine.3
+++ b/docs/man/man3/XLine.3
@@ -1,4 +1,4 @@
-.TH "XLine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "XLine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ZLine.3 b/docs/man/man3/ZLine.3
index 9b5c0c9ae..887f4b3f7 100644
--- a/docs/man/man3/ZLine.3
+++ b/docs/man/man3/ZLine.3
@@ -1,4 +1,4 @@
-.TH "ZLine" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ZLine" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_.3 b/docs/man/man3/_home_.3
index 4551c1a19..4e407fde9 100644
--- a/docs/man/man3/_home_.3
+++ b/docs/man/man3/_home_.3
@@ -1,4 +1,4 @@
-.TH "/home/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_brain_.3 b/docs/man/man3/_home_brain_.3
index 57d2400e8..de4a2293e 100644
--- a/docs/man/man3/_home_brain_.3
+++ b/docs/man/man3/_home_brain_.3
@@ -1,4 +1,4 @@
-.TH "/home/brain/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/brain/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_brain_inspircd-cvs_.3 b/docs/man/man3/_home_brain_inspircd-cvs_.3
index 96ae7889f..475459bfd 100644
--- a/docs/man/man3/_home_brain_inspircd-cvs_.3
+++ b/docs/man/man3/_home_brain_inspircd-cvs_.3
@@ -1,4 +1,4 @@
-.TH "/home/brain/inspircd-cvs/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/brain/inspircd-cvs/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_.3 b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_.3
index f1dad75d0..840161aaa 100644
--- a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_.3
+++ b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_.3
@@ -1,4 +1,4 @@
-.TH "/home/brain/inspircd-cvs/inspircd/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/brain/inspircd-cvs/inspircd/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3 b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3
index b7891755c..3f8773d1f 100644
--- a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3
+++ b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_include_.3
@@ -1,4 +1,4 @@
-.TH "/home/brain/inspircd-cvs/inspircd/include/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/brain/inspircd-cvs/inspircd/include/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_src_.3 b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_src_.3
index 868e33670..0a1c37a31 100644
--- a/docs/man/man3/_home_brain_inspircd-cvs_inspircd_src_.3
+++ b/docs/man/man3/_home_brain_inspircd-cvs_inspircd_src_.3
@@ -1,4 +1,4 @@
-.TH "/home/brain/inspircd-cvs/inspircd/src/ Directory Reference" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "/home/brain/inspircd-cvs/inspircd/src/ Directory Reference" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/base.h.3 b/docs/man/man3/base.h.3
index 293b9845c..2ccad4081 100644
--- a/docs/man/man3/base.h.3
+++ b/docs/man/man3/base.h.3
@@ -1,4 +1,4 @@
-.TH "base.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "base.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -12,6 +12,8 @@ base.h \-
.br
\fC#include <map>\fP
.br
+\fC#include <deque>\fP
+.br
\fC#include <string>\fP
.br
@@ -42,7 +44,7 @@ base.h \-
.PP
.SS "typedef void* \fBVoidPointer\fP"
.PP
-Definition at line 25 of file base.h.
+Definition at line 26 of file base.h.
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/channels.cpp.3 b/docs/man/man3/channels.cpp.3
index 41e336448..43d39173b 100644
--- a/docs/man/man3/channels.cpp.3
+++ b/docs/man/man3/channels.cpp.3
@@ -1,4 +1,4 @@
-.TH "channels.cpp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "channels.cpp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -221,7 +221,7 @@ Referenced by Server::GetUsers().
Definition at line 81 of file channels.cpp.
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 994 of file modules.cpp.
+Definition at line 1032 of file modules.cpp.
.PP
Referenced by Server::FindModule().
.SS "std::vector<\fBstd::string\fP> \fBmodule_names\fP"
diff --git a/docs/man/man3/channels.h.3 b/docs/man/man3/channels.h.3
index e0158a5fa..3ea8129b0 100644
--- a/docs/man/man3/channels.h.3
+++ b/docs/man/man3/channels.h.3
@@ -1,4 +1,4 @@
-.TH "channels.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "channels.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/chanrec.3 b/docs/man/man3/chanrec.3
index 48d998e2f..35dc47ddf 100644
--- a/docs/man/man3/chanrec.3
+++ b/docs/man/man3/chanrec.3
@@ -1,4 +1,4 @@
-.TH "chanrec" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "chanrec" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/classbase.3 b/docs/man/man3/classbase.3
index cf1538044..e8000432a 100644
--- a/docs/man/man3/classbase.3
+++ b/docs/man/man3/classbase.3
@@ -1,4 +1,4 @@
-.TH "classbase" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "classbase" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -35,27 +35,27 @@ Inherited by \fBAdmin\fP, \fBConfigReader\fP, \fBConnectClass\fP, \fBExtensible\
.PP
The base class for all inspircd classes.
.PP
-Definition at line 29 of file base.h.
+Definition at line 30 of file base.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "classbase::classbase ()\fC [inline]\fP"
.PP
Constructor, Sets the object's time.
.PP
-Definition at line 39 of file base.h.
+Definition at line 40 of file base.h.
.PP
References age.
.PP
.nf
-39 { age = time(NULL); }
+40 { age = time(NULL); }
.fi
.PP
.SS "classbase::~classbase ()\fC [inline]\fP"
.PP
-Definition at line 40 of file base.h.
+Definition at line 41 of file base.h.
.PP
.nf
-40 { }
+41 { }
.fi
.PP
.SH "Member Data Documentation"
@@ -64,7 +64,7 @@ Definition at line 40 of file base.h.
.PP
Time that the object was instantiated (used for TS calculation etc).
.PP
-Definition at line 34 of file base.h.
+Definition at line 35 of file base.h.
.PP
Referenced by classbase().
diff --git a/docs/man/man3/command_t.3 b/docs/man/man3/command_t.3
index a761b01d2..3856f66d6 100644
--- a/docs/man/man3/command_t.3
+++ b/docs/man/man3/command_t.3
@@ -1,4 +1,4 @@
-.TH "command_t" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "command_t" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/commands.h.3 b/docs/man/man3/commands.h.3
index 467911b07..643a4d95f 100644
--- a/docs/man/man3/commands.h.3
+++ b/docs/man/man3/commands.h.3
@@ -1,4 +1,4 @@
-.TH "commands.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "commands.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -188,9 +188,14 @@ commands.h \-
.RI "long \fBduration\fP (const char *str)"
.br
.RI "\fIOther useful functions. \fP"
+.ti -1c
+.RI "void \fBdo_whois\fP (\fBuserrec\fP *user, \fBuserrec\fP *dest, unsigned long signon, unsigned long idle, char *nick)"
+.br
.in -1c
.SH "Function Documentation"
.PP
+.SS "void do_whois (\fBuserrec\fP * user, \fBuserrec\fP * dest, unsigned long signon, unsigned long idle, char * nick)"
+.PP
.SS "long duration (const char * str)"
.PP
Other useful functions.
@@ -304,7 +309,7 @@ These are the handlers for user commands.
.PP
Functions for u:lined servers.
.PP
-Referenced by Server::IsUlined().
+Referenced by userrec::HasPermission(), and Server::IsUlined().
.SH "Author"
.PP
Generated automatically by Doxygen for InspIRCd from the source code.
diff --git a/docs/man/man3/connection.3 b/docs/man/man3/connection.3
index e243173d6..ca56a0899 100644
--- a/docs/man/man3/connection.3
+++ b/docs/man/man3/connection.3
@@ -1,4 +1,4 @@
-.TH "connection" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "connection" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/connection.h.3 b/docs/man/man3/connection.h.3
index 04af56c8c..9ddbe7517 100644
--- a/docs/man/man3/connection.h.3
+++ b/docs/man/man3/connection.h.3
@@ -1,4 +1,4 @@
-.TH "connection.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "connection.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ctables.h.3 b/docs/man/man3/ctables.h.3
index b9fe786ed..4579fc91f 100644
--- a/docs/man/man3/ctables.h.3
+++ b/docs/man/man3/ctables.h.3
@@ -1,4 +1,4 @@
-.TH "ctables.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ctables.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns.h.3 b/docs/man/man3/dns.h.3
index a3c90c1c8..fd601d288 100644
--- a/docs/man/man3/dns.h.3
+++ b/docs/man/man3/dns.h.3
@@ -1,4 +1,4 @@
-.TH "dns.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "dns.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/dns_ip4list.3 b/docs/man/man3/dns_ip4list.3
index 483f4c324..e857eff47 100644
--- a/docs/man/man3/dns_ip4list.3
+++ b/docs/man/man3/dns_ip4list.3
@@ -1,4 +1,4 @@
-.TH "dns_ip4list" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "dns_ip4list" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/hashcomp.h.3 b/docs/man/man3/hashcomp.h.3
index 2e77b22f0..fc7453492 100644
--- a/docs/man/man3/hashcomp.h.3
+++ b/docs/man/man3/hashcomp.h.3
@@ -1,4 +1,4 @@
-.TH "hashcomp.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "hashcomp.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc.3 b/docs/man/man3/irc.3
index 5732c80f7..192b4a0ea 100644
--- a/docs/man/man3/irc.3
+++ b/docs/man/man3/irc.3
@@ -1,4 +1,4 @@
-.TH "irc" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "irc" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_InAddr_HashComp.3 b/docs/man/man3/irc_InAddr_HashComp.3
index ead2429e0..e4d8d0720 100644
--- a/docs/man/man3/irc_InAddr_HashComp.3
+++ b/docs/man/man3/irc_InAddr_HashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::InAddr_HashComp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "irc::InAddr_HashComp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_StrHashComp.3 b/docs/man/man3/irc_StrHashComp.3
index 8b96cb26a..dae5027b7 100644
--- a/docs/man/man3/irc_StrHashComp.3
+++ b/docs/man/man3/irc_StrHashComp.3
@@ -1,4 +1,4 @@
-.TH "irc::StrHashComp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "irc::StrHashComp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/irc_irc_char_traits.3 b/docs/man/man3/irc_irc_char_traits.3
index fbc43ebdb..118de0f30 100644
--- a/docs/man/man3/irc_irc_char_traits.3
+++ b/docs/man/man3/irc_irc_char_traits.3
@@ -1,4 +1,4 @@
-.TH "irc::irc_char_traits" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "irc::irc_char_traits" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/message.h.3 b/docs/man/man3/message.h.3
index 5778a25f6..1fde59aac 100644
--- a/docs/man/man3/message.h.3
+++ b/docs/man/man3/message.h.3
@@ -1,4 +1,4 @@
-.TH "message.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "message.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/mode.h.3 b/docs/man/man3/mode.h.3
index 8a27ddae3..15a7a3541 100644
--- a/docs/man/man3/mode.h.3
+++ b/docs/man/man3/mode.h.3
@@ -1,4 +1,4 @@
-.TH "mode.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "mode.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/modules.cpp.3 b/docs/man/man3/modules.cpp.3
index 1a652c1d6..ea563e279 100644
--- a/docs/man/man3/modules.cpp.3
+++ b/docs/man/man3/modules.cpp.3
@@ -1,4 +1,4 @@
-.TH "modules.cpp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "modules.cpp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -474,7 +474,7 @@ Referenced by ConfigReader::ConfigReader().
Definition at line 81 of file channels.cpp.
.SS "int \fBMODCOUNT\fP = -1"
.PP
-Definition at line 994 of file modules.cpp.
+Definition at line 1032 of file modules.cpp.
.SS "std::vector<\fBstd::string\fP> \fBmodule_names\fP"
.PP
.SS "std::vector<\fBInspSocket\fP*> \fBmodule_sockets\fP"
diff --git a/docs/man/man3/modules.h.3 b/docs/man/man3/modules.h.3
index 36b65e742..c6eb1ac55 100644
--- a/docs/man/man3/modules.h.3
+++ b/docs/man/man3/modules.h.3
@@ -1,4 +1,4 @@
-.TH "modules.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "modules.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -71,6 +71,7 @@ modules.h \-
.ti -1c
.RI "#define \fBDEBUG\fP 10"
.br
+.RI "\fIlog levels \fP"
.ti -1c
.RI "#define \fBVERBOSE\fP 20"
.br
@@ -86,6 +87,7 @@ modules.h \-
.ti -1c
.RI "#define \fBMT_CHANNEL\fP 1"
.br
+.RI "\fIUsed with OnExtendedMode() method of modules. \fP"
.ti -1c
.RI "#define \fBMT_CLIENT\fP 2"
.br
@@ -95,6 +97,7 @@ modules.h \-
.ti -1c
.RI "#define \fBACR_DEFAULT\fP 0"
.br
+.RI "\fIUsed with OnAccessCheck() method of modules. \fP"
.ti -1c
.RI "#define \fBACR_DENY\fP 1"
.br
@@ -131,6 +134,7 @@ modules.h \-
.ti -1c
.RI "#define \fBVF_STATIC\fP 1"
.br
+.RI "\fIUsed to define a set of behavior bits for a module. \fP"
.ti -1c
.RI "#define \fBVF_VENDOR\fP 2"
.br
@@ -194,36 +198,38 @@ modules.h \-
.PP
.SS "#define AC_DEHALFOP 6"
.PP
-Definition at line 47 of file modules.h.
+Definition at line 46 of file modules.h.
.SS "#define AC_DEOP 1"
.PP
-Definition at line 42 of file modules.h.
+Definition at line 41 of file modules.h.
.SS "#define AC_DEVOICE 4"
.PP
-Definition at line 45 of file modules.h.
+Definition at line 44 of file modules.h.
.SS "#define AC_GENERAL_MODE 8"
.PP
-Definition at line 49 of file modules.h.
+Definition at line 48 of file modules.h.
.SS "#define AC_HALFOP 5"
.PP
-Definition at line 46 of file modules.h.
+Definition at line 45 of file modules.h.
.SS "#define AC_INVITE 7"
.PP
-Definition at line 48 of file modules.h.
+Definition at line 47 of file modules.h.
.SS "#define AC_KICK 0"
.PP
-Definition at line 41 of file modules.h.
+Definition at line 40 of file modules.h.
.SS "#define AC_OP 2"
.PP
-Definition at line 43 of file modules.h.
+Definition at line 42 of file modules.h.
.SS "#define AC_VOICE 3"
.PP
-Definition at line 44 of file modules.h.
+Definition at line 43 of file modules.h.
.SS "#define ACR_ALLOW 2"
.PP
Definition at line 39 of file modules.h.
.SS "#define ACR_DEFAULT 0"
.PP
+Used with OnAccessCheck() method of modules.
+.PP
Definition at line 37 of file modules.h.
.PP
Referenced by Module::OnAccessCheck().
@@ -232,40 +238,42 @@ Referenced by Module::OnAccessCheck().
Definition at line 38 of file modules.h.
.SS "#define CONF_FILE_NOT_FOUND 0x000200"
.PP
-Definition at line 1112 of file modules.h.
+Definition at line 1501 of file modules.h.
.PP
Referenced by ConfigReader::ConfigReader().
.SS "#define CONF_NOT_A_NUMBER 0x000010"
.PP
-Definition at line 1109 of file modules.h.
+Definition at line 1498 of file modules.h.
.PP
Referenced by ConfigReader::ReadInteger().
.SS "#define CONF_NOT_UNSIGNED 0x000080"
.PP
-Definition at line 1110 of file modules.h.
+Definition at line 1499 of file modules.h.
.PP
Referenced by ConfigReader::ReadInteger().
.SS "#define CONF_VALUE_NOT_FOUND 0x000100"
.PP
-Definition at line 1111 of file modules.h.
+Definition at line 1500 of file modules.h.
.PP
Referenced by ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue().
.SS "#define DEBUG 10"
.PP
+log levels
+.PP
Definition at line 23 of file modules.h.
.PP
-Referenced by Server::AddExtendedMode(), chanrec::AddUser(), chanrec::DelUser(), userrec::HasPermission(), InspSocket::InspSocket(), chanrec::IsCustomModeSet(), InspSocket::Read(), userrec::ReadData(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), and Server::UserToPseudo().
+Referenced by Server::AddExtendedMode(), chanrec::AddUser(), chanrec::DelUser(), InspSocket::InspSocket(), chanrec::IsCustomModeSet(), InspSocket::Read(), userrec::ReadData(), userrec::RemoveInvite(), chanrec::SetCustomMode(), chanrec::SetCustomModeParam(), InspSocket::SetState(), userrec::SetWriteError(), and Server::UserToPseudo().
.SS "#define DEFAULT 30"
.PP
Definition at line 25 of file modules.h.
.SS "#define FD_MAGIC_NUMBER -42"
.PP
-Definition at line 100 of file modules.h.
+Definition at line 101 of file modules.h.
.PP
Referenced by Server::PseudoToUser(), and Server::UserToPseudo().
.SS "#define FOREACH_MOD for (int _i = 0; _i <= \fBMODCOUNT\fP; _i++) modules[_i]->"
.PP
-Definition at line 80 of file modules.h.
+Definition at line 81 of file modules.h.
.PP
Referenced by Event::Send().
.SS "#define FOREACH_RESULT(x)"
@@ -284,9 +292,11 @@ Referenced by Event::Send().
}
.fi
.PP
-Definition at line 88 of file modules.h.
+Definition at line 89 of file modules.h.
.SS "#define MT_CHANNEL 1"
.PP
+Used with OnExtendedMode() method of modules.
+.PP
Definition at line 31 of file modules.h.
.PP
Referenced by Server::AddExtendedListMode(), and ModeMakeList().
@@ -311,16 +321,18 @@ Definition at line 26 of file modules.h.
Definition at line 24 of file modules.h.
.SS "#define VF_COMMON 8"
.PP
-Definition at line 56 of file modules.h.
+Definition at line 55 of file modules.h.
.SS "#define VF_SERVICEPROVIDER 4"
.PP
-Definition at line 55 of file modules.h.
+Definition at line 54 of file modules.h.
.SS "#define VF_STATIC 1"
.PP
-Definition at line 53 of file modules.h.
+Used to define a set of behavior bits for a module.
+.PP
+Definition at line 52 of file modules.h.
.SS "#define VF_VENDOR 2"
.PP
-Definition at line 54 of file modules.h.
+Definition at line 53 of file modules.h.
.PP
Referenced by Module::GetVersion().
.SH "Typedef Documentation"
@@ -329,18 +341,18 @@ Referenced by Module::GetVersion().
.PP
Holds a list of users in a channel.
.PP
-Definition at line 73 of file modules.h.
+Definition at line 74 of file modules.h.
.SS "typedef std::deque<\fBstd::string\fP> \fBfile_cache\fP"
.PP
Low level definition of a \fBFileReader\fP classes file cache area.
.PP
-Definition at line 68 of file modules.h.
+Definition at line 65 of file modules.h.
.SS "typedef DLLFactory<\fBModuleFactory\fP> \fBircd_module\fP"
.PP
-Definition at line 1278 of file modules.h.
+Definition at line 1667 of file modules.h.
.SS "typedef \fBfile_cache\fP \fBstring_list\fP"
.PP
-Definition at line 69 of file modules.h.
+Definition at line 70 of file modules.h.
.SH "Function Documentation"
.PP
.SS "void createcommand (char * cmd, handlerfunc f, char flags, int minparams, char * source)"
diff --git a/docs/man/man3/nspace.3 b/docs/man/man3/nspace.3
index 44ac7474d..6459e68a2 100644
--- a/docs/man/man3/nspace.3
+++ b/docs/man/man3/nspace.3
@@ -1,4 +1,4 @@
-.TH "nspace" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "nspace" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace_hash_ in_addr _.3 b/docs/man/man3/nspace_hash_ in_addr _.3
index c75ee4fc5..2058787ef 100644
--- a/docs/man/man3/nspace_hash_ in_addr _.3
+++ b/docs/man/man3/nspace_hash_ in_addr _.3
@@ -1,4 +1,4 @@
-.TH "nspace::hash< in_addr >" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::hash< in_addr >" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/nspace_hash_ string _.3 b/docs/man/man3/nspace_hash_ string _.3
index 8d218437a..c9cd5e252 100644
--- a/docs/man/man3/nspace_hash_ string _.3
+++ b/docs/man/man3/nspace_hash_ string _.3
@@ -1,4 +1,4 @@
-.TH "nspace::hash< string >" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "nspace::hash< string >" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/socket.cpp.3 b/docs/man/man3/socket.cpp.3
index 37e4f4a85..136a95e21 100644
--- a/docs/man/man3/socket.cpp.3
+++ b/docs/man/man3/socket.cpp.3
@@ -1,4 +1,4 @@
-.TH "socket.cpp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "socket.cpp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/socket.h.3 b/docs/man/man3/socket.h.3
index a41c11226..bdb68566b 100644
--- a/docs/man/man3/socket.h.3
+++ b/docs/man/man3/socket.h.3
@@ -1,4 +1,4 @@
-.TH "socket.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "socket.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std.3 b/docs/man/man3/std.3
index e566786d7..03a3fe2ea 100644
--- a/docs/man/man3/std.3
+++ b/docs/man/man3/std.3
@@ -1,4 +1,4 @@
-.TH "std" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "std" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/std_char_traits.3 b/docs/man/man3/std_char_traits.3
index dcf736b14..6dd1f9220 100644
--- a/docs/man/man3/std_char_traits.3
+++ b/docs/man/man3/std_char_traits.3
@@ -1,4 +1,4 @@
-.TH "std::char_traits" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "std::char_traits" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/ucrec.3 b/docs/man/man3/ucrec.3
index 464b9ab48..fdf24381c 100644
--- a/docs/man/man3/ucrec.3
+++ b/docs/man/man3/ucrec.3
@@ -1,4 +1,4 @@
-.TH "ucrec" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "ucrec" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
diff --git a/docs/man/man3/userrec.3 b/docs/man/man3/userrec.3
index dd6cda28e..38c346b28 100644
--- a/docs/man/man3/userrec.3
+++ b/docs/man/man3/userrec.3
@@ -1,4 +1,4 @@
-.TH "userrec" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "userrec" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -19,9 +19,6 @@ Inherits \fBconnection\fP.
.RI "\fBuserrec\fP ()"
.br
.ti -1c
-.RI "virtual \fB~userrec\fP ()"
-.br
-.ti -1c
.RI "virtual char * \fBGetFullHost\fP ()"
.br
.RI "\fIReturns 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. \fP"
@@ -89,6 +86,9 @@ Inherits \fBconnection\fP.
.RI "void \fBCloseSocket\fP ()"
.br
.RI "\fIShuts down and closes the user's socket. \fP"
+.ti -1c
+.RI "virtual \fB~userrec\fP ()"
+.br
.in -1c
.SS "Public Attributes"
@@ -192,52 +192,53 @@ 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 108 of file users.h.
+Definition at line 111 of file users.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "userrec::userrec ()"
.PP
-Definition at line 33 of file users.cpp.
+Definition at line 38 of file users.cpp.
.PP
References awaymsg, connection::bytes_in, connection::bytes_out, ucrec::channel, chans, connection::cmds_in, connection::cmds_out, dhost, dns_done, connection::fd, flood, fullname, connection::haspassed, connection::host, ident, connection::idle_lastmsg, invites, connection::ip, connection::lastping, lines_in, modes, nick, connection::nping, oper, connection::port, recvq, connection::registered, reset_due, sendq, server, ServerName, connection::signon, TIME, timeout, and ucrec::uc_modes.
.PP
.nf
-34 {
-35 // the PROPER way to do it, AVOID bzero at *ALL* costs
-36 strcpy(nick,'');
-37 strcpy(ip,'127.0.0.1');
-38 timeout = 0;
-39 strcpy(ident,'');
-40 strcpy(host,'');
-41 strcpy(dhost,'');
-42 strcpy(fullname,'');
-43 strcpy(modes,'');
-44 server = (char*)FindServerNamePtr(ServerName);
-45 strcpy(awaymsg,'');
-46 strcpy(oper,'');
-47 reset_due = TIME;
-48 lines_in = 0;
-49 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
-50 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
-51 haspassed = false;
-52 dns_done = false;
-53 recvq = '';
-54 sendq = '';
-55 for (int i = 0; i < MAXCHANS; i++)
-56 {
-57 this->chans[i].channel = NULL;
-58 this->chans[i].uc_modes = 0;
-59 }
-60 invites.clear();
-61 }
+39 {
+40 // the PROPER way to do it, AVOID bzero at *ALL* costs
+41 strcpy(nick,'');
+42 strcpy(ip,'127.0.0.1');
+43 timeout = 0;
+44 strcpy(ident,'');
+45 strcpy(host,'');
+46 strcpy(dhost,'');
+47 strcpy(fullname,'');
+48 strcpy(modes,'');
+49 server = (char*)FindServerNamePtr(ServerName);
+50 strcpy(awaymsg,'');
+51 strcpy(oper,'');
+52 reset_due = TIME;
+53 lines_in = 0;
+54 fd = lastping = signon = idle_lastmsg = nping = registered = 0;
+55 flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
+56 haspassed = false;
+57 dns_done = false;
+58 recvq = '';
+59 sendq = '';
+60 for (int i = 0; i < MAXCHANS; i++)
+61 {
+62 this->chans[i].channel = NULL;
+63 this->chans[i].uc_modes = 0;
+64 }
+65 invites.clear();
+66 }
.fi
.PP
-.SS "virtual userrec::~userrec ()\fC [inline, virtual]\fP"
+.SS "userrec::~userrec ()\fC [virtual]\fP"
.PP
-Definition at line 221 of file users.h.
+Definition at line 68 of file users.cpp.
.PP
.nf
-221 { }
+69 {
+70 }
.fi
.PP
.SH "Member Function Documentation"
@@ -248,35 +249,35 @@ This method adds data to the buffer of the user.
.PP
The buffer can grow to any size within limits of the available memory, managed by the size of a \fBstd::string\fP, 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.
.PP
-Definition at line 194 of file users.cpp.
+Definition at line 205 of file users.cpp.
.PP
References recvq, recvqmax, and SetWriteError().
.PP
.nf
-195 {
-196 std::string b = '';
-197 for (unsigned int i = 0; i < a.length(); i++)
-198 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7))
-199 b = b + a[i];
-200 std::stringstream stream(recvq);
-201 stream << b;
-202 recvq = stream.str();
-203 unsigned int i = 0;
-204 // count the size of the first line in the buffer.
-205 while (i < recvq.length())
-206 {
-207 if (recvq[i++] == '\n')
-208 break;
-209 }
-210 if (recvq.length() > (unsigned)this->recvqmax)
-211 {
-212 this->SetWriteError('RecvQ exceeded');
-213 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax);
-214 }
-215 // return false if we've had more than 600 characters WITHOUT
-216 // a carriage return (this is BAD, drop the socket)
-217 return (i < 600);
-218 }
+206 {
+207 std::string b = '';
+208 for (unsigned int i = 0; i < a.length(); i++)
+209 if ((a[i] != '\r') && (a[i] != '\0') && (a[i] != 7))
+210 b = b + a[i];
+211 std::stringstream stream(recvq);
+212 stream << b;
+213 recvq = stream.str();
+214 unsigned int i = 0;
+215 // count the size of the first line in the buffer.
+216 while (i < recvq.length())
+217 {
+218 if (recvq[i++] == '\n')
+219 break;
+220 }
+221 if (recvq.length() > (unsigned)this->recvqmax)
+222 {
+223 this->SetWriteError('RecvQ exceeded');
+224 WriteOpers('*** User %s RecvQ of %d exceeds connect class maximum of %d',this->nick,recvq.length(),this->recvqmax);
+225 }
+226 // return false if we've had more than 600 characters WITHOUT
+227 // a carriage return (this is BAD, drop the socket)
+228 return (i < 600);
+229 }
.fi
.PP
.SS "void userrec::AddWriteBuf (\fBstd::string\fP data)"
@@ -285,24 +286,24 @@ Adds to the user's write buffer.
.PP
You may add any amount of text up to this users sendq value, if you exceed the sendq value, \fBSetWriteError()\fP will be called to set the users error string to 'SendQ exceeded', and further buffer adds will be dropped.
.PP
-Definition at line 250 of file users.cpp.
+Definition at line 261 of file users.cpp.
.PP
References sendq, sendqmax, and SetWriteError().
.PP
.nf
-251 {
-252 if (this->GetWriteError() != '')
-253 return;
-254 if (sendq.length() + data.length() > (unsigned)this->sendqmax)
-255 {
-256 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax);
-257 this->SetWriteError('SendQ exceeded');
-258 return;
-259 }
-260 std::stringstream stream;
-261 stream << sendq << data;
-262 sendq = stream.str();
-263 }
+262 {
+263 if (this->GetWriteError() != '')
+264 return;
+265 if (sendq.length() + data.length() > (unsigned)this->sendqmax)
+266 {
+267 WriteOpers('*** User %s SendQ of %d exceeds connect class maximum of %d',this->nick,sendq.length() + data.length(),this->sendqmax);
+268 this->SetWriteError('SendQ exceeded');
+269 return;
+270 }
+271 std::stringstream stream;
+272 stream << sendq << data;
+273 sendq = stream.str();
+274 }
.fi
.PP
.SS "bool userrec::BufferIsReady ()"
@@ -311,46 +312,46 @@ This method returns true if the buffer contains at least one carriage return cha
.PP
one complete line may be read)
.PP
-Definition at line 220 of file users.cpp.
+Definition at line 231 of file users.cpp.
.PP
References recvq.
.PP
.nf
-221 {
-222 for (unsigned int i = 0; i < recvq.length(); i++)
-223 if (recvq[i] == '\n')
-224 return true;
-225 return false;
-226 }
+232 {
+233 for (unsigned int i = 0; i < recvq.length(); i++)
+234 if (recvq[i] == '\n')
+235 return true;
+236 return false;
+237 }
.fi
.PP
.SS "void userrec::ClearBuffer ()"
.PP
This function clears the entire buffer by setting it to an empty string.
.PP
-Definition at line 228 of file users.cpp.
+Definition at line 239 of file users.cpp.
.PP
References recvq.
.PP
Referenced by Server::PseudoToUser(), and Server::UserToPseudo().
.PP
.nf
-229 {
-230 recvq = '';
-231 }
+240 {
+241 recvq = '';
+242 }
.fi
.PP
.SS "void userrec::CloseSocket ()"
.PP
Shuts down and closes the user's socket.
.PP
-Definition at line 63 of file users.cpp.
+Definition at line 72 of file users.cpp.
.PP
.nf
-64 {
-65 shutdown(this->fd,2);
-66 close(this->fd);
-67 }
+73 {
+74 shutdown(this->fd,2);
+75 close(this->fd);
+76 }
.fi
.PP
.SS "void userrec::FlushWriteBuf ()"
@@ -359,31 +360,31 @@ Flushes as much of the user's buffer to the file descriptor as possible.
.PP
This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.
.PP
-Definition at line 266 of file users.cpp.
+Definition at line 277 of file users.cpp.
.PP
References connection::bytes_out, connection::cmds_out, sendq, and SetWriteError().
.PP
.nf
-267 {
-268 if (sendq.length())
-269 {
-270 char* tb = (char*)this->sendq.c_str();
-271 int n_sent = write(this->fd,tb,this->sendq.length());
-272 if (n_sent == -1)
-273 {
-274 this->SetWriteError(strerror(errno));
-275 }
-276 else
-277 {
-278 // advance the queue
-279 tb += n_sent;
-280 this->sendq = tb;
-281 // update the user's stats counters
-282 this->bytes_out += n_sent;
-283 this->cmds_out++;
-284 }
-285 }
-286 }
+278 {
+279 if (sendq.length())
+280 {
+281 char* tb = (char*)this->sendq.c_str();
+282 int n_sent = write(this->fd,tb,this->sendq.length());
+283 if (n_sent == -1)
+284 {
+285 this->SetWriteError(strerror(errno));
+286 }
+287 else
+288 {
+289 // advance the queue
+290 tb += n_sent;
+291 this->sendq = tb;
+292 // update the user's stats counters
+293 this->bytes_out += n_sent;
+294 this->cmds_out++;
+295 }
+296 }
+297 }
.fi
.PP
.SS "\fBstd::string\fP userrec::GetBuffer ()"
@@ -392,42 +393,42 @@ This method returns the first available string at the tail end of the buffer and
.PP
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.
.PP
-Definition at line 233 of file users.cpp.
+Definition at line 244 of file users.cpp.
.PP
References recvq.
.PP
.nf
-234 {
-235 if (recvq == '')
-236 return '';
-237 char* line = (char*)recvq.c_str();
-238 std::string ret = '';
-239 while ((*line != '\n') && (strlen(line)))
-240 {
-241 ret = ret + *line;
-242 line++;
-243 }
-244 if ((*line == '\n') || (*line == '\r'))
-245 line++;
-246 recvq = line;
-247 return ret;
-248 }
+245 {
+246 if (recvq == '')
+247 return '';
+248 char* line = (char*)recvq.c_str();
+249 std::string ret = '';
+250 while ((*line != '\n') && (strlen(line)))
+251 {
+252 ret = ret + *line;
+253 line++;
+254 }
+255 if ((*line == '\n') || (*line == '\r'))
+256 line++;
+257 recvq = line;
+258 return ret;
+259 }
.fi
.PP
.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.
.PP
-Definition at line 69 of file users.cpp.
+Definition at line 78 of file users.cpp.
.PP
References dhost, ident, and nick.
.PP
.nf
-70 {
-71 static char result[MAXBUF];
-72 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
-73 return result;
-74 }
+79 {
+80 static char result[MAXBUF];
+81 snprintf(result,MAXBUF,'%s!%s@%s',nick,ident,dhost);
+82 return result;
+83 }
.fi
.PP
.SS "char * userrec::GetFullRealHost ()\fC [virtual]\fP"
@@ -436,44 +437,44 @@ Returns the full real host of the user This member function returns the hostname
.PP
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.
.PP
-Definition at line 87 of file users.cpp.
+Definition at line 96 of file users.cpp.
.PP
References connection::host, ident, and nick.
.PP
.nf
-88 {
-89 static char fresult[MAXBUF];
-90 snprintf(fresult,MAXBUF,'%s!%s@%s',nick,ident,host);
-91 return fresult;
-92 }
+97 {
+98 static char fresult[MAXBUF];
+99 snprintf(fresult,MAXBUF,'%s!%s@%s',nick,ident,host);
+100 return fresult;
+101 }
.fi
.PP
.SS "\fBInvitedList\fP * userrec::GetInviteList ()"
.PP
Returns the list of channels this user has been invited to but has not yet joined.
.PP
-Definition at line 108 of file users.cpp.
+Definition at line 117 of file users.cpp.
.PP
References invites.
.PP
.nf
-109 {
-110 return &invites;
-111 }
+118 {
+119 return &invites;
+120 }
.fi
.PP
.SS "\fBstd::string\fP userrec::GetWriteError ()"
.PP
Returns the write error which last occured on this connection or an empty string if none occured.
.PP
-Definition at line 296 of file users.cpp.
+Definition at line 307 of file users.cpp.
.PP
References WriteError.
.PP
.nf
-297 {
-298 return this->WriteError;
-299 }
+308 {
+309 return this->WriteError;
+310 }
.fi
.PP
.SS "bool userrec::HasPermission (char * command)"
@@ -482,118 +483,120 @@ Returns true or false for if a user can execute a privilaged oper command.
.PP
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.
.PP
-Definition at line 142 of file users.cpp.
+Definition at line 151 of file users.cpp.
.PP
-References config_f, and DEBUG.
+References config_f, and is_uline().
.PP
.nf
-143 {
-144 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-145 char* mycmd;
-146 char* savept;
-147 char* savept2;
-148
-149 // are they even an oper at all?
-150 if (strchr(this->modes,'o'))
-151 {
-152 log(DEBUG,'*** HasPermission: %s is an oper',this->nick);
-153 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
-154 {
-155 ConfValue('type','name',j,TypeName,&config_f);
-156 if (!strcmp(TypeName,this->oper))
-157 {
-158 log(DEBUG,'*** HasPermission: %s is an oper of type '%s'',this->nick,this->oper);
-159 ConfValue('type','classes',j,Classes,&config_f);
-160 char* myclass = strtok_r(Classes,' ',&savept);
-161 while (myclass)
-162 {
-163 log(DEBUG,'*** HasPermission: checking classtype '%s'',myclass);
-164 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
-165 {
-166 ConfValue('class','name',k,ClassName,&config_f);
-167 if (!strcmp(ClassName,myclass))
-168 {
-169 ConfValue('class','commands',k,CommandList,&config_f);
-170 log(DEBUG,'*** HasPermission: found class named %s with commands: '%s'',ClassName,CommandList);
-171
-172
-173 mycmd = strtok_r(CommandList,' ',&savept2);
-174 while (mycmd)
-175 {
-176 if (!strcasecmp(mycmd,command))
-177 {
-178 log(DEBUG,'*** Command %s found, returning true',command);
-179 return true;
-180 }
-181 mycmd = strtok_r(NULL,' ',&savept2);
-182 }
-183 }
-184 }
-185 myclass = strtok_r(NULL,' ',&savept);
-186 }
-187 }
-188 }
-189 }
-190 return false;
-191 }
+152 {
+153 char TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+154 char* mycmd;
+155 char* savept;
+156 char* savept2;
+157
+158 // users on u-lined servers can completely bypass
+159 // all permissions based checks.
+160 //
+161 // of course, if this is sent to a remote server and this
+162 // server is not ulined there, then that other server
+163 // silently drops the command.
+164 if (is_uline(this->server))
+165 return true;
+166
+167 // are they even an oper at all?
+168 if (strchr(this->modes,'o'))
+169 {
+170 for (int j =0; j < ConfValueEnum('type',&config_f); j++)
+171 {
+172 ConfValue('type','name',j,TypeName,&config_f);
+173 if (!strcmp(TypeName,this->oper))
+174 {
+175 ConfValue('type','classes',j,Classes,&config_f);
+176 char* myclass = strtok_r(Classes,' ',&savept);
+177 while (myclass)
+178 {
+179 for (int k =0; k < ConfValueEnum('class',&config_f); k++)
+180 {
+181 ConfValue('class','name',k,ClassName,&config_f);
+182 if (!strcmp(ClassName,myclass))
+183 {
+184 ConfValue('class','commands',k,CommandList,&config_f);
+185 mycmd = strtok_r(CommandList,' ',&savept2);
+186 while (mycmd)
+187 {
+188 if ((!strcasecmp(mycmd,command)) || (*mycmd == '*'))
+189 {
+190 return true;
+191 }
+192 mycmd = strtok_r(NULL,' ',&savept2);
+193 }
+194 }
+195 }
+196 myclass = strtok_r(NULL,' ',&savept);
+197 }
+198 }
+199 }
+200 }
+201 return false;
+202 }
.fi
.PP
.SS "void userrec::InviteTo (char * channel)\fC [virtual]\fP"
.PP
Adds a channel to a users invite list (invites them to a channel).
.PP
-Definition at line 113 of file users.cpp.
+Definition at line 122 of file users.cpp.
.PP
References Invited::channel, and invites.
.PP
.nf
-114 {
-115 Invited i;
-116 strlcpy(i.channel,channel,CHANMAX);
-117 invites.push_back(i);
-118 }
+123 {
+124 Invited i;
+125 strlcpy(i.channel,channel,CHANMAX);
+126 invites.push_back(i);
+127 }
.fi
.PP
.SS "bool userrec::IsInvited (char * channel)\fC [virtual]\fP"
.PP
Returns true if a user is invited to a channel.
.PP
-Definition at line 94 of file users.cpp.
+Definition at line 103 of file users.cpp.
.PP
References invites.
.PP
.nf
-95 {
-96 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-97 {
-98 if (i->channel) {
-99 if (!strcasecmp(i->channel,channel))
-100 {
-101 return true;
-102 }
-103 }
-104 }
-105 return false;
-106 }
+104 {
+105 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+106 {
+107 if (i->channel) {
+108 if (!strcasecmp(i->channel,channel))
+109 {
+110 return true;
+111 }
+112 }
+113 }
+114 return false;
+115 }
.fi
.PP
.SS "int userrec::ReadData (void * buffer, size_t size)"
.PP
Calls read() to read some data for this user using their fd.
.PP
-Definition at line 76 of file users.cpp.
+Definition at line 85 of file users.cpp.
.PP
References DEBUG.
.PP
.nf
-77 {
-78 if (this->fd > -1)
-79 {
-80 log(DEBUG,'userrec::ReadData on fd %d',this->fd);
-81 return read(this->fd, buffer, size);
-82 }
-83 else return 0;
-84 }
+86 {
+87 if (this->fd > -1)
+88 {
+89 log(DEBUG,'userrec::ReadData on fd %d',this->fd);
+90 return read(this->fd, buffer, size);
+91 }
+92 else return 0;
+93 }
.fi
.PP
.SS "void userrec::RemoveInvite (char * channel)\fC [virtual]\fP"
@@ -602,31 +605,31 @@ Removes a channel from a users invite list.
.PP
This member function is called on successfully joining an invite only channel to which the user has previously been invited, to clear the invitation.
.PP
-Definition at line 120 of file users.cpp.
+Definition at line 129 of file users.cpp.
.PP
References DEBUG, and invites.
.PP
.nf
-121 {
-122 log(DEBUG,'Removing invites');
-123 if (channel)
-124 {
-125 if (invites.size())
-126 {
-127 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
-128 {
-129 if (i->channel)
-130 {
-131 if (!strcasecmp(i->channel,channel))
-132 {
-133 invites.erase(i);
-134 return;
-135 }
-136 }
-137 }
-138 }
-139 }
-140 }
+130 {
+131 log(DEBUG,'Removing invites');
+132 if (channel)
+133 {
+134 if (invites.size())
+135 {
+136 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++)
+137 {
+138 if (i->channel)
+139 {
+140 if (!strcasecmp(i->channel,channel))
+141 {
+142 invites.erase(i);
+143 return;
+144 }
+145 }
+146 }
+147 }
+148 }
+149 }
.fi
.PP
.SS "void userrec::SetWriteError (\fBstd::string\fP error)"
@@ -635,19 +638,19 @@ Sets the write error for a connection.
.PP
This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.
.PP
-Definition at line 288 of file users.cpp.
+Definition at line 299 of file users.cpp.
.PP
References DEBUG, and WriteError.
.PP
Referenced by AddBuffer(), AddWriteBuf(), and FlushWriteBuf().
.PP
.nf
-289 {
-290 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str());
-291 // don't try to set the error twice, its already set take the first string.
-292 if (this->WriteError == '')
-293 this->WriteError = error;
-294 }
+300 {
+301 log(DEBUG,'Setting error string for %s to '%s'',this->nick,error.c_str());
+302 // don't try to set the error twice, its already set take the first string.
+303 if (this->WriteError == '')
+304 this->WriteError = error;
+305 }
.fi
.PP
.SH "Member Data Documentation"
@@ -658,12 +661,12 @@ The user's away message.
.PP
If this string is empty, the user is not marked as away.
.PP
-Definition at line 155 of file users.h.
+Definition at line 158 of file users.h.
.PP
Referenced by userrec().
.SS "\fBucrec\fP \fBuserrec::chans\fP[MAXCHANS]"
.PP
-Definition at line 146 of file users.h.
+Definition at line 149 of file users.h.
.PP
Referenced by Server::PseudoToUser(), and userrec().
.SS "char \fBuserrec::dhost\fP[160]"
@@ -672,28 +675,28 @@ The host displayed to non-opers (used for cloaking etc).
.PP
This usually matches the value of \fBuserrec::host\fP.
.PP
-Definition at line 131 of file users.h.
+Definition at line 134 of file users.h.
.PP
Referenced by GetFullHost(), and userrec().
.SS "bool \fBuserrec::dns_done\fP"
.PP
True when \fBDNS\fP lookups are completed.
.PP
-Definition at line 178 of file users.h.
+Definition at line 181 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.
.PP
-Definition at line 161 of file users.h.
+Definition at line 164 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::fullname\fP[MAXGECOS+1]"
.PP
The users full name.
.PP
-Definition at line 135 of file users.h.
+Definition at line 138 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::ident\fP[IDENTMAX+2]"
@@ -702,21 +705,21 @@ The users ident reply.
.PP
Two characters are added to the user-defined limit to compensate for the tilde etc.
.PP
-Definition at line 126 of file users.h.
+Definition at line 129 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.
.PP
-Definition at line 114 of file users.h.
+Definition at line 117 of file users.h.
.PP
Referenced by GetInviteList(), InviteTo(), IsInvited(), RemoveInvite(), and userrec().
.SS "int \fBuserrec::lines_in\fP"
.PP
Flood counters.
.PP
-Definition at line 203 of file users.h.
+Definition at line 206 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::modes\fP[54]"
@@ -725,7 +728,7 @@ The user's mode string.
.PP
This may contain any of the following RFC characters: o, w, s, i Your module may define other mode characters as it sees fit. it is limited to length 54, as there can only be a maximum of 52 user modes (26 upper, 26 lower case) a null terminating char, and an optional + character.
.PP
-Definition at line 144 of file users.h.
+Definition at line 147 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::nick\fP[NICKMAX]"
@@ -734,7 +737,7 @@ The users nickname.
.PP
An invalid nickname indicates an unregistered connection prior to the NICK command.
.PP
-Definition at line 121 of file users.h.
+Definition at line 124 of file users.h.
.PP
Referenced by ConfigReader::DumpErrors(), GetFullHost(), GetFullRealHost(), Server::PseudoToUser(), and userrec().
.SS "char \fBuserrec::oper\fP[NICKMAX]"
@@ -743,7 +746,7 @@ The oper type they logged in as, if they are an oper.
.PP
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.
.PP
-Definition at line 174 of file users.h.
+Definition at line 177 of file users.h.
.PP
Referenced by userrec().
.SS "char \fBuserrec::password\fP[MAXBUF]"
@@ -752,31 +755,31 @@ Password specified by the user when they registered.
.PP
This is stored even if the <connect> block doesnt need a password, so that modules may check it.
.PP
-Definition at line 188 of file users.h.
+Definition at line 191 of file users.h.
.SS "unsigned int \fBuserrec::pingmax\fP"
.PP
Number of seconds between PINGs for this user (set from <connect:allow> tag.
.PP
-Definition at line 182 of file users.h.
+Definition at line 185 of file users.h.
.SS "\fBstd::string\fP \fBuserrec::recvq\fP"
.PP
User's receive queue.
.PP
Lines from the IRCd awaiting processing are stored here. Upgraded april 2005, old system a bit hairy.
.PP
-Definition at line 194 of file users.h.
+Definition at line 197 of file users.h.
.PP
Referenced by AddBuffer(), BufferIsReady(), ClearBuffer(), GetBuffer(), and userrec().
.SS "long \fBuserrec::recvqmax\fP"
.PP
Maximum size this user's recvq can become.
.PP
-Definition at line 217 of file users.h.
+Definition at line 220 of file users.h.
.PP
Referenced by AddBuffer().
.SS "time_t \fBuserrec::reset_due\fP"
.PP
-Definition at line 204 of file users.h.
+Definition at line 207 of file users.h.
.PP
Referenced by userrec().
.SS "\fBstd::string\fP \fBuserrec::sendq\fP"
@@ -785,36 +788,36 @@ User's send queue.
.PP
Lines waiting to be sent are stored here until their buffer is flushed.
.PP
-Definition at line 199 of file users.h.
+Definition at line 202 of file users.h.
.PP
Referenced by AddWriteBuf(), FlushWriteBuf(), and userrec().
.SS "long \fBuserrec::sendqmax\fP"
.PP
Maximum size this user's sendq can become.
.PP
-Definition at line 213 of file users.h.
+Definition at line 216 of file users.h.
.PP
Referenced by AddWriteBuf().
.SS "char* \fBuserrec::server\fP"
.PP
The server the user is connected to.
.PP
-Definition at line 150 of file users.h.
+Definition at line 153 of file users.h.
.PP
Referenced by userrec().
.SS "long \fBuserrec::threshold\fP"
.PP
-Definition at line 205 of file users.h.
+Definition at line 208 of file users.h.
.SS "unsigned int \fBuserrec::timeout\fP"
.PP
Number of seconds this user is given to send USER/NICK If they do not send their details in this time limit they will be disconnected.
.PP
-Definition at line 167 of file users.h.
+Definition at line 170 of file users.h.
.PP
Referenced by userrec().
.SS "\fBstd::string\fP \fBuserrec::WriteError\fP"
.PP
-Definition at line 209 of file users.h.
+Definition at line 212 of file users.h.
.PP
Referenced by GetWriteError(), and SetWriteError().
diff --git a/docs/man/man3/users.cpp.3 b/docs/man/man3/users.cpp.3
index 48f8e97a8..392e603cc 100644
--- a/docs/man/man3/users.cpp.3
+++ b/docs/man/man3/users.cpp.3
@@ -1,4 +1,4 @@
-.TH "users.cpp" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "users.cpp" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -20,6 +20,8 @@ users.cpp \-
.br
\fC#include 'inspstring.h'\fP
.br
+\fC#include 'commands.h'\fP
+.br
\fC#include 'helperfuncs.h'\fP
.br
diff --git a/docs/man/man3/users.h.3 b/docs/man/man3/users.h.3
index 673e90f71..ec37125ae 100644
--- a/docs/man/man3/users.h.3
+++ b/docs/man/man3/users.h.3
@@ -1,4 +1,4 @@
-.TH "users.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "users.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -75,34 +75,34 @@ users.h \-
.PP
.SS "#define CC_ALLOW 0"
.PP
-Definition at line 31 of file users.h.
+Definition at line 34 of file users.h.
.SS "#define CC_DENY 1"
.PP
-Definition at line 32 of file users.h.
+Definition at line 35 of file users.h.
.SS "#define STATUS_HOP 2"
.PP
-Definition at line 27 of file users.h.
+Definition at line 30 of file users.h.
.SS "#define STATUS_NORMAL 0"
.PP
-Definition at line 29 of file users.h.
+Definition at line 32 of file users.h.
.SS "#define STATUS_OP 4"
.PP
-Definition at line 26 of file users.h.
+Definition at line 29 of file users.h.
.SS "#define STATUS_VOICE 1"
.PP
-Definition at line 28 of file users.h.
+Definition at line 31 of file users.h.
.SH "Typedef Documentation"
.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).
.PP
-Definition at line 100 of file users.h.
+Definition at line 103 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.
.PP
-Definition at line 94 of file users.h.
+Definition at line 97 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 9b6a790a3..b2eaee5de 100644
--- a/docs/man/man3/xline.h.3
+++ b/docs/man/man3/xline.h.3
@@ -1,4 +1,4 @@
-.TH "xline.h" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "xline.h" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -132,6 +132,9 @@ xline.h \-
.RI "void \fBzline_set_creation_time\fP (char *ip, time_t create_time)"
.br
.ti -1c
+.RI "void \fBeline_set_creation_time\fP (char *host, time_t create_time)"
+.br
+.ti -1c
.RI "bool \fBzline_make_global\fP (const char *ipaddr)"
.br
.ti -1c
@@ -172,6 +175,8 @@ Referenced by Server::DelQLine().
.SS "bool del_zline (const char * ipaddr)"
.PP
Referenced by Server::DelZLine().
+.SS "void eline_set_creation_time (char * host, time_t create_time)"
+.PP
.SS "void expire_lines ()"
.PP
.SS "void gline_set_creation_time (char * host, time_t create_time)"
diff --git a/docs/module-doc/annotated.html b/docs/module-doc/annotated.html
index 8d3b2baae..bd438814f 100644
--- a/docs/module-doc/annotated.html
+++ b/docs/module-doc/annotated.html
@@ -49,7 +49,7 @@
<tr><td class="indexkey"><a class="el" href="classXLine.html">XLine</a></td><td class="indexvalue">XLine is the base class for ban lines such as G lines and K lines </td></tr>
<tr><td class="indexkey"><a class="el" href="classZLine.html">ZLine</a></td><td class="indexvalue">ZLine class </td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/base_8h-source.html b/docs/module-doc/base_8h-source.html
index 3023bee60..3a161dafb 100644
--- a/docs/module-doc/base_8h-source.html
+++ b/docs/module-doc/base_8h-source.html
@@ -29,63 +29,66 @@
<a name="l00020"></a>00020 <span class="preprocessor">#include "inspircd_config.h"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;time.h&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;map&gt;</span>
-<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;string&gt;</span>
-<a name="l00024"></a>00024
-<a name="l00025"></a><a class="code" href="base_8h.html#VoidPointer">00025</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="base_8h.html#VoidPointer">VoidPointer</a>;
-<a name="l00026"></a>00026
-<a name="l00029"></a><a class="code" href="classclassbase.html">00029</a> <span class="keyword">class </span><a class="code" href="classclassbase.html">classbase</a>
-<a name="l00030"></a>00030 {
-<a name="l00031"></a>00031 <span class="keyword">public</span>:
-<a name="l00034"></a><a class="code" href="classclassbase.html#age">00034</a> time_t <a class="code" href="classclassbase.html#age">age</a>;
-<a name="l00035"></a>00035
-<a name="l00039"></a><a class="code" href="classclassbase.html#classbase_28_29">00039</a> <a class="code" href="classclassbase.html#classbase_28_29">classbase</a>() { <a class="code" href="classclassbase.html#age">age</a> = time(NULL); }
-<a name="l00040"></a><a class="code" href="classclassbase.html#_7Eclassbase_28_29">00040</a> <a class="code" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>() { }
-<a name="l00041"></a>00041 };
-<a name="l00042"></a>00042
-<a name="l00050"></a><a class="code" href="classExtensible.html">00050</a> <span class="keyword">class </span><a class="code" href="classExtensible.html">Extensible</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00051"></a>00051 {
-<a name="l00054"></a><a class="code" href="classExtensible.html#Extension_5FItems">00054</a> std::map&lt;std::string,char*&gt; <a class="code" href="classExtensible.html#Extension_5FItems">Extension_Items</a>;
-<a name="l00055"></a>00055
-<a name="l00056"></a>00056 <span class="keyword">public</span>:
-<a name="l00057"></a>00057
-<a name="l00069"></a>00069 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extend</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key, <span class="keywordtype">char</span>* p);
-<a name="l00070"></a>00070
-<a name="l00080"></a>00080 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key);
-<a name="l00081"></a>00081
-<a name="l00088"></a>00088 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">GetExt</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key);
-<a name="l00089"></a>00089 };
+<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;deque&gt;</span>
+<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;string&gt;</span>
+<a name="l00025"></a>00025
+<a name="l00026"></a><a class="code" href="base_8h.html#VoidPointer">00026</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="base_8h.html#VoidPointer">VoidPointer</a>;
+<a name="l00027"></a>00027
+<a name="l00030"></a><a class="code" href="classclassbase.html">00030</a> <span class="keyword">class </span><a class="code" href="classclassbase.html">classbase</a>
+<a name="l00031"></a>00031 {
+<a name="l00032"></a>00032 <span class="keyword">public</span>:
+<a name="l00035"></a><a class="code" href="classclassbase.html#age">00035</a> time_t <a class="code" href="classclassbase.html#age">age</a>;
+<a name="l00036"></a>00036
+<a name="l00040"></a><a class="code" href="classclassbase.html#classbase_28_29">00040</a> <a class="code" href="classclassbase.html#classbase_28_29">classbase</a>() { <a class="code" href="classclassbase.html#age">age</a> = time(NULL); }
+<a name="l00041"></a><a class="code" href="classclassbase.html#_7Eclassbase_28_29">00041</a> <a class="code" href="classclassbase.html#_7Eclassbase_28_29">~classbase</a>() { }
+<a name="l00042"></a>00042 };
+<a name="l00043"></a>00043
+<a name="l00051"></a><a class="code" href="classExtensible.html">00051</a> <span class="keyword">class </span><a class="code" href="classExtensible.html">Extensible</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00052"></a>00052 {
+<a name="l00055"></a><a class="code" href="classExtensible.html#Extension_5FItems">00055</a> std::map&lt;std::string,char*&gt; <a class="code" href="classExtensible.html#Extension_5FItems">Extension_Items</a>;
+<a name="l00056"></a>00056
+<a name="l00057"></a>00057 <span class="keyword">public</span>:
+<a name="l00058"></a>00058
+<a name="l00070"></a>00070 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extend</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key, <span class="keywordtype">char</span>* p);
+<a name="l00071"></a>00071
+<a name="l00081"></a>00081 <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key);
+<a name="l00082"></a>00082
+<a name="l00089"></a>00089 <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">GetExt</a>(<a class="code" href="namespaceirc.html#string">std::string</a> key);
<a name="l00090"></a>00090
-<a name="l00095"></a><a class="code" href="classBoolSet.html">00095</a> <span class="keyword">class </span><a class="code" href="classBoolSet.html">BoolSet</a>
-<a name="l00096"></a>00096 {
-<a name="l00097"></a><a class="code" href="classBoolSet.html#bits">00097</a> <span class="keywordtype">char</span> <a class="code" href="classBoolSet.html#bits">bits</a>;
-<a name="l00098"></a>00098
-<a name="l00099"></a>00099 <span class="keyword">public</span>:
-<a name="l00100"></a>00100
-<a name="l00103"></a>00103 <a class="code" href="classBoolSet.html#BoolSet_28_29">BoolSet</a>();
-<a name="l00104"></a>00104
-<a name="l00107"></a>00107 <a class="code" href="classBoolSet.html#BoolSet_28_29">BoolSet</a>(<span class="keywordtype">char</span> bitmask);
-<a name="l00108"></a>00108
-<a name="l00113"></a>00113 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Set_28int_20number_29">Set</a>(<span class="keywordtype">int</span> number);
-<a name="l00114"></a>00114
-<a name="l00121"></a>00121 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#Get_28int_20number_29">Get</a>(<span class="keywordtype">int</span> number);
-<a name="l00122"></a>00122
-<a name="l00127"></a>00127 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Unset_28int_20number_29">Unset</a>(<span class="keywordtype">int</span> number);
-<a name="l00128"></a>00128
-<a name="l00133"></a>00133 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Invert_28int_20number_29">Invert</a>(<span class="keywordtype">int</span> number);
-<a name="l00134"></a>00134
-<a name="l00137"></a>00137 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">operator==</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
-<a name="l00138"></a>00138
-<a name="l00141"></a>00141 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">operator|</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
-<a name="l00142"></a>00142
-<a name="l00145"></a>00145 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#operator_20_26_28BoolSet_20other_29">operator&amp;</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
-<a name="l00146"></a>00146
-<a name="l00149"></a>00149 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">operator=</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
-<a name="l00150"></a>00150 };
-<a name="l00151"></a>00151
-<a name="l00152"></a>00152
-<a name="l00153"></a>00153 <span class="preprocessor">#endif</span>
-<a name="l00154"></a>00154 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00097"></a>00097 <span class="keywordtype">void</span> <a class="code" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt;std::string&gt; &amp;list);
+<a name="l00098"></a>00098 };
+<a name="l00099"></a>00099
+<a name="l00104"></a><a class="code" href="classBoolSet.html">00104</a> <span class="keyword">class </span><a class="code" href="classBoolSet.html">BoolSet</a>
+<a name="l00105"></a>00105 {
+<a name="l00106"></a><a class="code" href="classBoolSet.html#bits">00106</a> <span class="keywordtype">char</span> <a class="code" href="classBoolSet.html#bits">bits</a>;
+<a name="l00107"></a>00107
+<a name="l00108"></a>00108 <span class="keyword">public</span>:
+<a name="l00109"></a>00109
+<a name="l00112"></a>00112 <a class="code" href="classBoolSet.html#BoolSet_28_29">BoolSet</a>();
+<a name="l00113"></a>00113
+<a name="l00116"></a>00116 <a class="code" href="classBoolSet.html#BoolSet_28_29">BoolSet</a>(<span class="keywordtype">char</span> bitmask);
+<a name="l00117"></a>00117
+<a name="l00122"></a>00122 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Set_28int_20number_29">Set</a>(<span class="keywordtype">int</span> number);
+<a name="l00123"></a>00123
+<a name="l00130"></a>00130 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#Get_28int_20number_29">Get</a>(<span class="keywordtype">int</span> number);
+<a name="l00131"></a>00131
+<a name="l00136"></a>00136 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Unset_28int_20number_29">Unset</a>(<span class="keywordtype">int</span> number);
+<a name="l00137"></a>00137
+<a name="l00142"></a>00142 <span class="keywordtype">void</span> <a class="code" href="classBoolSet.html#Invert_28int_20number_29">Invert</a>(<span class="keywordtype">int</span> number);
+<a name="l00143"></a>00143
+<a name="l00146"></a>00146 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">operator==</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+<a name="l00147"></a>00147
+<a name="l00150"></a>00150 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">operator|</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+<a name="l00151"></a>00151
+<a name="l00154"></a>00154 <a class="code" href="classBoolSet.html">BoolSet</a> <a class="code" href="classBoolSet.html#operator_20_26_28BoolSet_20other_29">operator&amp;</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+<a name="l00155"></a>00155
+<a name="l00158"></a>00158 <span class="keywordtype">bool</span> <a class="code" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">operator=</a>(<a class="code" href="classBoolSet.html">BoolSet</a> other);
+<a name="l00159"></a>00159 };
+<a name="l00160"></a>00160
+<a name="l00161"></a>00161
+<a name="l00162"></a>00162 <span class="preprocessor">#endif</span>
+<a name="l00163"></a>00163 <span class="preprocessor"></span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/base_8h.html b/docs/module-doc/base_8h.html
index f2d9350a9..775e3da7e 100644
--- a/docs/module-doc/base_8h.html
+++ b/docs/module-doc/base_8h.html
@@ -10,6 +10,7 @@
<h1>base.h File Reference</h1><code>#include &quot;inspircd_config.h&quot;</code><br>
<code>#include &lt;time.h&gt;</code><br>
<code>#include &lt;map&gt;</code><br>
+<code>#include &lt;deque&gt;</code><br>
<code>#include &lt;string&gt;</code><br>
<p>
@@ -18,18 +19,18 @@ Include dependency graph for base.h:<p><center><img src="base_8h__incl.gif" bord
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="base_8h__dep__incl.gif" border="0" usemap="#base.hdep_map" alt=""></center>
<map name="base.hdep_map">
-<area href="channels_8h-source.html" shape="rect" coords="123,260,208,287" alt="">
-<area href="connection_8h-source.html" shape="rect" coords="116,108,215,135" alt="">
-<area href="ctables_8h-source.html" shape="rect" coords="264,7,339,33" alt="">
-<area href="modules_8h-source.html" shape="rect" coords="396,57,479,84" alt="">
-<area href="users_8cpp-source.html" shape="rect" coords="398,159,478,185" alt="">
-<area href="users_8h-source.html" shape="rect" coords="270,260,334,287" alt="">
-<area href="commands_8h-source.html" shape="rect" coords="388,463,487,489" alt="">
-<area href="message_8h-source.html" shape="rect" coords="395,209,480,236" alt="">
-<area href="mode_8h-source.html" shape="rect" coords="404,311,471,337" alt="">
-<area href="xline_8h-source.html" shape="rect" coords="407,361,468,388" alt="">
-<area href="channels_8cpp-source.html" shape="rect" coords="536,235,635,261" alt="">
-<area href="modules_8cpp-source.html" shape="rect" coords="536,311,635,337" alt="">
+<area href="channels_8h-source.html" shape="rect" coords="123,327,208,353" alt="">
+<area href="connection_8h-source.html" shape="rect" coords="116,276,215,303" alt="">
+<area href="ctables_8h-source.html" shape="rect" coords="264,529,339,556" alt="">
+<area href="modules_8h-source.html" shape="rect" coords="396,479,479,505" alt="">
+<area href="users_8cpp-source.html" shape="rect" coords="546,99,626,125" alt="">
+<area href="users_8h-source.html" shape="rect" coords="270,276,334,303" alt="">
+<area href="commands_8h-source.html" shape="rect" coords="388,124,487,151" alt="">
+<area href="message_8h-source.html" shape="rect" coords="395,428,480,455" alt="">
+<area href="mode_8h-source.html" shape="rect" coords="404,327,471,353" alt="">
+<area href="xline_8h-source.html" shape="rect" coords="407,377,468,404" alt="">
+<area href="channels_8cpp-source.html" shape="rect" coords="536,428,635,455" alt="">
+<area href="modules_8cpp-source.html" shape="rect" coords="536,377,635,404" alt="">
</map>
<p>
@@ -72,10 +73,10 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-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>
+Definition at line <a class="el" href="base_8h-source.html#l00026">26</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 Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:04 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/base_8h__dep__incl.gif b/docs/module-doc/base_8h__dep__incl.gif
index 3722ae7c0..ae4b48aaa 100644
--- a/docs/module-doc/base_8h__dep__incl.gif
+++ b/docs/module-doc/base_8h__dep__incl.gif
Binary files differ
diff --git a/docs/module-doc/base_8h__dep__incl.map b/docs/module-doc/base_8h__dep__incl.map
index 1174c2639..cecf4bb8a 100644
--- a/docs/module-doc/base_8h__dep__incl.map
+++ b/docs/module-doc/base_8h__dep__incl.map
@@ -1,13 +1,13 @@
base referer
-rect $channels_8h-source.html 123,260 208,287
-rect $connection_8h-source.html 116,108 215,135
-rect $ctables_8h-source.html 264,7 339,33
-rect $modules_8h-source.html 396,57 479,84
-rect $users_8cpp-source.html 398,159 478,185
-rect $users_8h-source.html 270,260 334,287
-rect $commands_8h-source.html 388,463 487,489
-rect $message_8h-source.html 395,209 480,236
-rect $mode_8h-source.html 404,311 471,337
-rect $xline_8h-source.html 407,361 468,388
-rect $channels_8cpp-source.html 536,235 635,261
-rect $modules_8cpp-source.html 536,311 635,337
+rect $channels_8h-source.html 123,327 208,353
+rect $connection_8h-source.html 116,276 215,303
+rect $ctables_8h-source.html 264,529 339,556
+rect $modules_8h-source.html 396,479 479,505
+rect $users_8cpp-source.html 546,99 626,125
+rect $users_8h-source.html 270,276 334,303
+rect $commands_8h-source.html 388,124 487,151
+rect $message_8h-source.html 395,428 480,455
+rect $mode_8h-source.html 404,327 471,353
+rect $xline_8h-source.html 407,377 468,404
+rect $channels_8cpp-source.html 536,428 635,455
+rect $modules_8cpp-source.html 536,377 635,404
diff --git a/docs/module-doc/base_8h__dep__incl.md5 b/docs/module-doc/base_8h__dep__incl.md5
index e545b47b2..4d82252e0 100644
--- a/docs/module-doc/base_8h__dep__incl.md5
+++ b/docs/module-doc/base_8h__dep__incl.md5
@@ -1 +1 @@
-f6b12bb178ea9037bef41c096843593c \ No newline at end of file
+e28f78b35c4f957a36c51e1bcb09e76a \ No newline at end of file
diff --git a/docs/module-doc/base_8h__incl.gif b/docs/module-doc/base_8h__incl.gif
index 009720209..3f882f006 100644
--- a/docs/module-doc/base_8h__incl.gif
+++ b/docs/module-doc/base_8h__incl.gif
Binary files differ
diff --git a/docs/module-doc/base_8h__incl.md5 b/docs/module-doc/base_8h__incl.md5
index 9190d9f22..008189a10 100644
--- a/docs/module-doc/base_8h__incl.md5
+++ b/docs/module-doc/base_8h__incl.md5
@@ -1 +1 @@
-67c328a54e3df328858803d816336df4 \ No newline at end of file
+6c8bdf0cad8e094c4c6082bc5e0b8386 \ No newline at end of file
diff --git a/docs/module-doc/channels_8cpp-source.html b/docs/module-doc/channels_8cpp-source.html
index d99c7dae0..2d0f5739d 100644
--- a/docs/module-doc/channels_8cpp-source.html
+++ b/docs/module-doc/channels_8cpp-source.html
@@ -225,7 +225,7 @@
<a name="l00216"></a>00216 {
<a name="l00217"></a>00217 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>;
<a name="l00218"></a>00218 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/channels_8cpp.html b/docs/module-doc/channels_8cpp.html
index cfaa8f104..5d78dcae2 100644
--- a/docs/module-doc/channels_8cpp.html
+++ b/docs/module-doc/channels_8cpp.html
@@ -263,7 +263,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00053">53</a>
<p>
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00142">userrec::HasPermission()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00151">userrec::HasPermission()</a>. </td>
</tr>
</table>
<a class="anchor" name="custom_5Fmode_5Fparams"></a><!-- doxytag: member="channels.cpp::custom_mode_params" ref="custom_5Fmode_5Fparams" args="" --><p>
@@ -430,7 +430,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00175">chanrec::Get
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00420">Server::GetUsers()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00453">Server::GetUsers()</a>. </td>
</tr>
</table>
<a class="anchor" name="log_5Ffile"></a><!-- doxytag: member="channels.cpp::log_file" ref="log_5Ffile" args="" --><p>
@@ -526,9 +526,9 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00994">994</a> 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>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td>
</tr>
</table>
<a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="channels.cpp::module_names" ref="module_5Fnames" args="" --><p>
@@ -553,7 +553,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindM
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td>
</tr>
</table>
<a class="anchor" name="modules"></a><!-- doxytag: member="channels.cpp::modules" ref="modules" args="" --><p>
@@ -578,7 +578,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindM
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindModule()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00822">Server::FindModule()</a>. </td>
</tr>
</table>
<a class="anchor" name="motd_5BMAXBUF_5D"></a><!-- doxytag: member="channels.cpp::motd" ref="motd_5BMAXBUF_5D" args="[MAXBUF]" --><p>
@@ -833,7 +833,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00784">Server::FindM
<p>
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="startup_5Ftime"></a><!-- doxytag: member="channels.cpp::startup_time" ref="startup_5Ftime" args="" --><p>
@@ -881,7 +881,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userre
<p>
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="WHOWAS_5FMAX"></a><!-- doxytag: member="channels.cpp::WHOWAS_MAX" ref="WHOWAS_5FMAX" args="" --><p>
@@ -930,7 +930,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userre
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:05 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/channels_8cpp__incl.md5 b/docs/module-doc/channels_8cpp__incl.md5
index bc705adcd..8b4c9e585 100644
--- a/docs/module-doc/channels_8cpp__incl.md5
+++ b/docs/module-doc/channels_8cpp__incl.md5
@@ -1 +1 @@
-b9467ee45a5cd937945c9c8802f0376d \ No newline at end of file
+00cd09e5fafd85fb588d65342322aed6 \ No newline at end of file
diff --git a/docs/module-doc/channels_8h-source.html b/docs/module-doc/channels_8h-source.html
index e9acc6bb2..26d81b34d 100644
--- a/docs/module-doc/channels_8h-source.html
+++ b/docs/module-doc/channels_8h-source.html
@@ -148,7 +148,7 @@
<a name="l00257"></a>00257
<a name="l00258"></a>00258 <span class="preprocessor">#endif</span>
<a name="l00259"></a>00259 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/channels_8h.html b/docs/module-doc/channels_8h.html
index b1a4e82db..2374c6875 100644
--- a/docs/module-doc/channels_8h.html
+++ b/docs/module-doc/channels_8h.html
@@ -22,14 +22,14 @@ Include dependency graph for channels.h:<p><center><img src="channels_8h__incl.g
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="channels_8h__dep__incl.gif" border="0" usemap="#channels.hdep_map" alt=""></center>
<map name="channels.hdep_map">
-<area href="users_8cpp-source.html" shape="rect" coords="267,7,347,33" alt="">
-<area href="users_8h-source.html" shape="rect" coords="144,199,208,225" alt="">
-<area href="commands_8h-source.html" shape="rect" coords="257,311,356,337" alt="">
-<area href="message_8h-source.html" shape="rect" coords="264,57,349,84" alt="">
-<area href="mode_8h-source.html" shape="rect" coords="273,159,340,185" alt="">
-<area href="xline_8h-source.html" shape="rect" coords="276,260,337,287" alt="">
-<area href="channels_8cpp-source.html" shape="rect" coords="405,133,504,160" alt="">
-<area href="modules_8cpp-source.html" shape="rect" coords="405,209,504,236" alt="">
+<area href="users_8cpp-source.html" shape="rect" coords="415,58,495,84" alt="">
+<area href="users_8h-source.html" shape="rect" coords="144,210,208,236" alt="">
+<area href="commands_8h-source.html" shape="rect" coords="257,58,356,84" alt="">
+<area href="message_8h-source.html" shape="rect" coords="264,362,349,388" alt="">
+<area href="mode_8h-source.html" shape="rect" coords="273,159,340,186" alt="">
+<area href="xline_8h-source.html" shape="rect" coords="276,311,337,338" alt="">
+<area href="channels_8cpp-source.html" shape="rect" coords="405,286,504,312" alt="">
+<area href="modules_8cpp-source.html" shape="rect" coords="405,210,504,236" alt="">
</map>
<p>
@@ -449,7 +449,7 @@ Holds a complete invite list.
Definition at line <a class="el" href="channels_8h-source.html#l00095">95</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:06 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/channels_8h__dep__incl.gif b/docs/module-doc/channels_8h__dep__incl.gif
index c30f900f1..201a0931d 100644
--- a/docs/module-doc/channels_8h__dep__incl.gif
+++ b/docs/module-doc/channels_8h__dep__incl.gif
Binary files differ
diff --git a/docs/module-doc/channels_8h__dep__incl.map b/docs/module-doc/channels_8h__dep__incl.map
index 6a4cbd04f..cff1e4e14 100644
--- a/docs/module-doc/channels_8h__dep__incl.map
+++ b/docs/module-doc/channels_8h__dep__incl.map
@@ -1,9 +1,9 @@
base referer
-rect $users_8cpp-source.html 267,7 347,33
-rect $users_8h-source.html 144,199 208,225
-rect $commands_8h-source.html 257,311 356,337
-rect $message_8h-source.html 264,57 349,84
-rect $mode_8h-source.html 273,159 340,185
-rect $xline_8h-source.html 276,260 337,287
-rect $channels_8cpp-source.html 405,133 504,160
-rect $modules_8cpp-source.html 405,209 504,236
+rect $users_8cpp-source.html 415,58 495,84
+rect $users_8h-source.html 144,210 208,236
+rect $commands_8h-source.html 257,58 356,84
+rect $message_8h-source.html 264,362 349,388
+rect $mode_8h-source.html 273,159 340,186
+rect $xline_8h-source.html 276,311 337,338
+rect $channels_8cpp-source.html 405,286 504,312
+rect $modules_8cpp-source.html 405,210 504,236
diff --git a/docs/module-doc/channels_8h__dep__incl.md5 b/docs/module-doc/channels_8h__dep__incl.md5
index 25db181a9..deb32325f 100644
--- a/docs/module-doc/channels_8h__dep__incl.md5
+++ b/docs/module-doc/channels_8h__dep__incl.md5
@@ -1 +1 @@
-3803f94897b7a90d54a987bd74d935ae \ No newline at end of file
+dae3fe0b8a33c3f04852556c65af182e \ No newline at end of file
diff --git a/docs/module-doc/channels_8h__incl.gif b/docs/module-doc/channels_8h__incl.gif
index 8e4dd03bb..2c8fb0983 100644
--- a/docs/module-doc/channels_8h__incl.gif
+++ b/docs/module-doc/channels_8h__incl.gif
Binary files differ
diff --git a/docs/module-doc/channels_8h__incl.md5 b/docs/module-doc/channels_8h__incl.md5
index e2b7ccf71..18c79c8c4 100644
--- a/docs/module-doc/channels_8h__incl.md5
+++ b/docs/module-doc/channels_8h__incl.md5
@@ -1 +1 @@
-bff3dff79fdca44ef00db5b6a6df4411 \ No newline at end of file
+2faa87cc7e26d0d2ae6d67b690f5412a \ No newline at end of file
diff --git a/docs/module-doc/classAdmin-members.html b/docs/module-doc/classAdmin-members.html
index 493a13aa1..f00b7f227 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#Name">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#Nick">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classAdmin.html b/docs/module-doc/classAdmin.html
index d026f9314..2dba3923c 100644
--- a/docs/module-doc/classAdmin.html
+++ b/docs/module-doc/classAdmin.html
@@ -38,7 +38,7 @@ It is constructed by class <a class="el" href="classServer.html">Server</a>, and
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00124">124</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#l00125">125</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29"></a><!-- doxytag: member="Admin::Admin" ref="Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29" args="(std::string name, std::string email, std::string nick)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -110,7 +110,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00250">250</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00127">127</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#l00128">128</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Name"></a><!-- doxytag: member="Admin::Name" ref="Name" args="" --><p>
@@ -135,7 +135,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00127">127</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00127">127</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#l00128">128</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Nick"></a><!-- doxytag: member="Admin::Nick" ref="Nick" args="" --><p>
@@ -160,12 +160,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00127">127</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00127">127</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#l00128">128</a> of file <a class="el" href="modules_8h-source.html">modules.h</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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classBanItem-members.html b/docs/module-doc/classBanItem-members.html
index 15d2909d0..6f4b5a8c3 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#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classBanItem.html b/docs/module-doc/classBanItem.html
index 7dd3b43e8..a485356af 100644
--- a/docs/module-doc/classBanItem.html
+++ b/docs/module-doc/classBanItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00052">52</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classBoolSet-members.html b/docs/module-doc/classBoolSet-members.html
index c0728dad7..9a39a66b9 100644
--- a/docs/module-doc/classBoolSet-members.html
+++ b/docs/module-doc/classBoolSet-members.html
@@ -17,7 +17,7 @@
<tr class="memlist"><td><a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">operator|</a>(BoolSet other)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classBoolSet.html#Set_28int_20number_29">Set</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classBoolSet.html#Unset_28int_20number_29">Unset</a>(int number)</td><td><a class="el" href="classBoolSet.html">BoolSet</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classBoolSet.html b/docs/module-doc/classBoolSet.html
index c812aee4f..5cf4610b1 100644
--- a/docs/module-doc/classBoolSet.html
+++ b/docs/module-doc/classBoolSet.html
@@ -55,7 +55,7 @@ Use <a class="el" href="classBoolSet.html#Set_28int_20number_29">BoolSet::Set</a
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00095">95</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="base_8h-source.html#l00104">104</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="BoolSet_28_29"></a><!-- doxytag: member="BoolSet::BoolSet" ref="BoolSet_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -400,12 +400,12 @@ The Unset method unsets one value in the set.
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00097">97</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
+Definition at line <a class="el" href="base_8h-source.html#l00106">106</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classConfigReader-members.html b/docs/module-doc/classConfigReader-members.html
index 27016f475..ad8fb8962 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#Verify_28_29">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#_7Eclassbase_28_29">~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#_7EConfigReader_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html
index 331390141..6a8a95db9 100644
--- a/docs/module-doc/classConfigReader.html
+++ b/docs/module-doc/classConfigReader.html
@@ -73,7 +73,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#l01121">1121</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#l01510">1510</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ConfigReader_28_29"></a><!-- doxytag: member="ConfigReader::ConfigReader" ref="ConfigReader_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -102,16 +102,16 @@ 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#l00796">796</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00834">834</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, <a class="el" href="modules_8h-source.html#l01112">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01134">error</a>, <a class="el" href="modules_8h-source.html#l01130">errorlog</a>, <a class="el" href="modules_8cpp.html#include_5Fstack">include_stack</a>, and <a class="el" href="modules_8h-source.html#l01133">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00797"></a>00797 {
-<a name="l00798"></a>00798 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear();
-<a name="l00799"></a>00799 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00800"></a>00800 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00801"></a>00801 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-<a name="l00802"></a>00802 <span class="keywordflow">if</span> (!this-&gt;readerror)
-<a name="l00803"></a>00803 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
-<a name="l00804"></a>00804 }
+References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, <a class="el" href="modules_8cpp.html#include_5Fstack">include_stack</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00835"></a>00835 {
+<a name="l00836"></a>00836 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear();
+<a name="l00837"></a>00837 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00838"></a>00838 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00839"></a>00839 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+<a name="l00840"></a>00840 <span class="keywordflow">if</span> (!this-&gt;readerror)
+<a name="l00841"></a>00841 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
+<a name="l00842"></a>00842 }
</pre></div>
<p>
</td>
@@ -146,15 +146,15 @@ 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#l00816">816</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+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>.
<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, <a class="el" href="modules_8h-source.html#l01112">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01134">error</a>, <a class="el" href="modules_8h-source.html#l01130">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01133">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00817"></a>00817 {
-<a name="l00818"></a>00818 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00819"></a>00819 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00820"></a>00820 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>);
-<a name="l00821"></a>00821 <span class="keywordflow">if</span> (!this-&gt;readerror)
-<a name="l00822"></a>00822 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
-<a name="l00823"></a>00823 };
+References <a class="el" href="modules_8h-source.html#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01501">CONF_FILE_NOT_FOUND</a>, <a class="el" href="modules_8h-source.html#l01523">error</a>, <a class="el" href="modules_8h-source.html#l01519">errorlog</a>, and <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00855"></a>00855 {
+<a name="l00856"></a>00856 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00857"></a>00857 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00858"></a>00858 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>);
+<a name="l00859"></a>00859 <span class="keywordflow">if</span> (!this-&gt;readerror)
+<a name="l00860"></a>00860 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
+<a name="l00861"></a>00861 };
</pre></div>
<p>
</td>
@@ -188,14 +188,14 @@ Default destructor.
<p>
This method destroys the ConfigReader class.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00807">807</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00845">845</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, and <a class="el" href="modules_8h-source.html#l01130">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00808"></a>00808 {
-<a name="l00809"></a>00809 <span class="keywordflow">if</span> (this-&gt;cache)
-<a name="l00810"></a>00810 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>;
-<a name="l00811"></a>00811 <span class="keywordflow">if</span> (this-&gt;errorlog)
-<a name="l00812"></a>00812 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
-<a name="l00813"></a>00813 }
+References <a class="el" href="modules_8h-source.html#l01518">cache</a>, and <a class="el" href="modules_8h-source.html#l01519">errorlog</a>.<div class="fragment"><pre class="fragment"><a name="l00846"></a>00846 {
+<a name="l00847"></a>00847 <span class="keywordflow">if</span> (this-&gt;cache)
+<a name="l00848"></a>00848 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>;
+<a name="l00849"></a>00849 <span class="keywordflow">if</span> (this-&gt;errorlog)
+<a name="l00850"></a>00850 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
+<a name="l00851"></a>00851 }
</pre></div>
<p>
</td>
@@ -240,38 +240,38 @@ 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#l00894">894</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01130">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00895"></a>00895 {
-<a name="l00896"></a>00896 <span class="keywordflow">if</span> (bail)
-<a name="l00897"></a>00897 {
-<a name="l00898"></a>00898 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;str().c_str());
-<a name="l00899"></a>00899 exit(0);
-<a name="l00900"></a>00900 }
-<a name="l00901"></a>00901 <span class="keywordflow">else</span>
-<a name="l00902"></a>00902 {
-<a name="l00903"></a>00903 <span class="keywordtype">char</span> dataline[1024];
-<a name="l00904"></a>00904 <span class="keywordflow">if</span> (user)
-<a name="l00905"></a>00905 {
-<a name="l00906"></a>00906 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00907"></a>00907 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
-<a name="l00908"></a>00908 {
-<a name="l00909"></a>00909 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
-<a name="l00910"></a>00910 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline);
-<a name="l00911"></a>00911 }
-<a name="l00912"></a>00912 }
-<a name="l00913"></a>00913 <span class="keywordflow">else</span>
-<a name="l00914"></a>00914 {
-<a name="l00915"></a>00915 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00916"></a>00916 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
-<a name="l00917"></a>00917 {
-<a name="l00918"></a>00918 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
-<a name="l00919"></a>00919 WriteOpers(dataline);
-<a name="l00920"></a>00920 }
-<a name="l00921"></a>00921 }
-<a name="l00922"></a>00922 <span class="keywordflow">return</span>;
-<a name="l00923"></a>00923 }
-<a name="l00924"></a>00924 }
+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#l01519">errorlog</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, and <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>.<div class="fragment"><pre class="fragment"><a name="l00933"></a>00933 {
+<a name="l00934"></a>00934 <span class="keywordflow">if</span> (bail)
+<a name="l00935"></a>00935 {
+<a name="l00936"></a>00936 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;str().c_str());
+<a name="l00937"></a>00937 exit(0);
+<a name="l00938"></a>00938 }
+<a name="l00939"></a>00939 <span class="keywordflow">else</span>
+<a name="l00940"></a>00940 {
+<a name="l00941"></a>00941 <span class="keywordtype">char</span> dataline[1024];
+<a name="l00942"></a>00942 <span class="keywordflow">if</span> (user)
+<a name="l00943"></a>00943 {
+<a name="l00944"></a>00944 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00945"></a>00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
+<a name="l00946"></a>00946 {
+<a name="l00947"></a>00947 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
+<a name="l00948"></a>00948 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline);
+<a name="l00949"></a>00949 }
+<a name="l00950"></a>00950 }
+<a name="l00951"></a>00951 <span class="keywordflow">else</span>
+<a name="l00952"></a>00952 {
+<a name="l00953"></a>00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00954"></a>00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
+<a name="l00955"></a>00955 {
+<a name="l00956"></a>00956 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
+<a name="l00957"></a>00957 WriteOpers(dataline);
+<a name="l00958"></a>00958 }
+<a name="l00959"></a>00959 }
+<a name="l00960"></a>00960 <span class="keywordflow">return</span>;
+<a name="l00961"></a>00961 }
+<a name="l00962"></a>00962 }
</pre></div>
<p>
</td>
@@ -306,11 +306,11 @@ 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#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">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#l00927">927</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+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>.
<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00928"></a>00928 {
-<a name="l00929"></a>00929 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str());
-<a name="l00930"></a>00930 }
+References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00966"></a>00966 {
+<a name="l00967"></a>00967 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str());
+<a name="l00968"></a>00968 }
</pre></div>
<p>
</td>
@@ -354,11 +354,11 @@ 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#l00932">932</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+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>.
<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00933"></a>00933 {
-<a name="l00934"></a>00934 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index);
-<a name="l00935"></a>00935 }
+References <a class="el" href="modules_8h-source.html#l01518">cache</a>.<div class="fragment"><pre class="fragment"><a name="l00971"></a>00971 {
+<a name="l00972"></a>00972 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index);
+<a name="l00973"></a>00973 }
</pre></div>
<p>
</td>
@@ -392,13 +392,13 @@ 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#GetError_28_29">GetError()</a> resets the error flag back to 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00887">887</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+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>.
<p>
-References <a class="el" href="modules_8h-source.html#l01134">error</a>.<div class="fragment"><pre class="fragment"><a name="l00888"></a>00888 {
-<a name="l00889"></a>00889 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#error">error</a>;
-<a name="l00890"></a>00890 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = 0;
-<a name="l00891"></a>00891 <span class="keywordflow">return</span> olderr;
-<a name="l00892"></a>00892 }
+References <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00926"></a>00926 {
+<a name="l00927"></a>00927 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#error">error</a>;
+<a name="l00928"></a>00928 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = 0;
+<a name="l00929"></a>00929 <span class="keywordflow">return</span> olderr;
+<a name="l00930"></a>00930 }
</pre></div>
<p>
</td>
@@ -448,23 +448,23 @@ 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#l00841">841</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, <a class="el" href="modules_8h-source.html#l01111">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01134">error</a>.<div class="fragment"><pre class="fragment"><a name="l00842"></a>00842 {
-<a name="l00843"></a>00843 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00844"></a>00844 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00845"></a>00845 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00846"></a>00846 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00847"></a>00847 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00848"></a>00848 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00849"></a>00849 <span class="keywordflow">if</span> (!res)
-<a name="l00850"></a>00850 {
-<a name="l00851"></a>00851 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00852"></a>00852 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00853"></a>00853 }
-<a name="l00854"></a>00854 <a class="code" href="namespaceirc.html#string">std::string</a> s = val;
-<a name="l00855"></a>00855 <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>));
-<a name="l00856"></a>00856 }
+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#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00880"></a>00880 {
+<a name="l00881"></a>00881 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00882"></a>00882 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00883"></a>00883 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00884"></a>00884 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00885"></a>00885 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00886"></a>00886 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00887"></a>00887 <span class="keywordflow">if</span> (!res)
+<a name="l00888"></a>00888 {
+<a name="l00889"></a>00889 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00890"></a>00890 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00891"></a>00891 }
+<a name="l00892"></a>00892 <a class="code" href="namespaceirc.html#string">std::string</a> s = val;
+<a name="l00893"></a>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>));
+<a name="l00894"></a>00894 }
</pre></div>
<p>
</td>
@@ -520,35 +520,35 @@ 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#GetError_28_29">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#GetError_28_29">GetError()</a> will return CONF_NOT_UNSIGNED
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00858">858</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, <a class="el" href="modules_8h-source.html#l01109">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01110">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01111">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01134">error</a>.<div class="fragment"><pre class="fragment"><a name="l00859"></a>00859 {
-<a name="l00860"></a>00860 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00861"></a>00861 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00862"></a>00862 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00863"></a>00863 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00864"></a>00864 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00865"></a>00865 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00866"></a>00866 <span class="keywordflow">if</span> (!res)
-<a name="l00867"></a>00867 {
-<a name="l00868"></a>00868 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00869"></a>00869 <span class="keywordflow">return</span> 0;
-<a name="l00870"></a>00870 }
-<a name="l00871"></a>00871 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
-<a name="l00872"></a>00872 {
-<a name="l00873"></a>00873 <span class="keywordflow">if</span> (!isdigit(val[i]))
-<a name="l00874"></a>00874 {
-<a name="l00875"></a>00875 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>;
-<a name="l00876"></a>00876 <span class="keywordflow">return</span> 0;
-<a name="l00877"></a>00877 }
-<a name="l00878"></a>00878 }
-<a name="l00879"></a>00879 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-<a name="l00880"></a>00880 {
-<a name="l00881"></a>00881 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>;
-<a name="l00882"></a>00882 <span class="keywordflow">return</span> 0;
-<a name="l00883"></a>00883 }
-<a name="l00884"></a>00884 <span class="keywordflow">return</span> atoi(val);
-<a name="l00885"></a>00885 }
+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#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01498">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l01499">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00897"></a>00897 {
+<a name="l00898"></a>00898 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00899"></a>00899 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00900"></a>00900 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00901"></a>00901 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00902"></a>00902 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00903"></a>00903 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00904"></a>00904 <span class="keywordflow">if</span> (!res)
+<a name="l00905"></a>00905 {
+<a name="l00906"></a>00906 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00907"></a>00907 <span class="keywordflow">return</span> 0;
+<a name="l00908"></a>00908 }
+<a name="l00909"></a>00909 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+<a name="l00910"></a>00910 {
+<a name="l00911"></a>00911 <span class="keywordflow">if</span> (!isdigit(val[i]))
+<a name="l00912"></a>00912 {
+<a name="l00913"></a>00913 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>;
+<a name="l00914"></a>00914 <span class="keywordflow">return</span> 0;
+<a name="l00915"></a>00915 }
+<a name="l00916"></a>00916 }
+<a name="l00917"></a>00917 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+<a name="l00918"></a>00918 {
+<a name="l00919"></a>00919 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>;
+<a name="l00920"></a>00920 <span class="keywordflow">return</span> 0;
+<a name="l00921"></a>00921 }
+<a name="l00922"></a>00922 <span class="keywordflow">return</span> atoi(val);
+<a name="l00923"></a>00923 }
</pre></div>
<p>
</td>
@@ -598,22 +598,22 @@ 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#l00825">825</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01129">cache</a>, <a class="el" href="modules_8h-source.html#l01111">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01134">error</a>.<div class="fragment"><pre class="fragment"><a name="l00826"></a>00826 {
-<a name="l00827"></a>00827 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00828"></a>00828 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00829"></a>00829 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00830"></a>00830 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00831"></a>00831 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00832"></a>00832 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00833"></a>00833 <span class="keywordflow">if</span> (!res)
-<a name="l00834"></a>00834 {
-<a name="l00835"></a>00835 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00836"></a>00836 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00837"></a>00837 }
-<a name="l00838"></a>00838 <span class="keywordflow">return</span> val;
-<a name="l00839"></a>00839 }
+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#l01518">cache</a>, <a class="el" href="modules_8h-source.html#l01500">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l01523">error</a>.<div class="fragment"><pre class="fragment"><a name="l00864"></a>00864 {
+<a name="l00865"></a>00865 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00866"></a>00866 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00867"></a>00867 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00868"></a>00868 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00869"></a>00869 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00870"></a>00870 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00871"></a>00871 <span class="keywordflow">if</span> (!res)
+<a name="l00872"></a>00872 {
+<a name="l00873"></a>00873 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00874"></a>00874 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l00875"></a>00875 }
+<a name="l00876"></a>00876 <span class="keywordflow">return</span> val;
+<a name="l00877"></a>00877 }
</pre></div>
<p>
</td>
@@ -647,11 +647,11 @@ 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#l00937">937</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00975">975</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01133">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00938"></a>00938 {
-<a name="l00939"></a>00939 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a>;
-<a name="l00940"></a>00940 }
+References <a class="el" href="modules_8h-source.html#l01522">readerror</a>.<div class="fragment"><pre class="fragment"><a name="l00976"></a>00976 {
+<a name="l00977"></a>00977 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a>;
+<a name="l00978"></a>00978 }
</pre></div>
<p>
</td>
@@ -682,9 +682,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#l01129">1129</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#l01518">1518</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#l00796">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00927">Enumerate()</a>, <a class="el" href="modules_8cpp-source.html#l00932">EnumerateValues()</a>, <a class="el" href="modules_8cpp-source.html#l00841">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00858">ReadInteger()</a>, <a class="el" href="modules_8cpp-source.html#l00825">ReadValue()</a>, and <a class="el" href="modules_8cpp-source.html#l00807">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">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>
</tr>
</table>
<a class="anchor" name="error"></a><!-- doxytag: member="ConfigReader::error" ref="error" args="" --><p>
@@ -709,9 +709,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00796">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01134">1134</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#l01523">1523</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#l00796">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00887">GetError()</a>, <a class="el" href="modules_8cpp-source.html#l00841">ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00858">ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00825">ReadValue()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">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>
</tr>
</table>
<a class="anchor" name="errorlog"></a><!-- doxytag: member="ConfigReader::errorlog" ref="errorlog" args="" --><p>
@@ -736,9 +736,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00796">ConfigReader(
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01130">1130</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#l01519">1519</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#l00796">ConfigReader()</a>, <a class="el" href="modules_8cpp-source.html#l00894">DumpErrors()</a>, and <a class="el" href="modules_8cpp-source.html#l00807">~ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">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>
</tr>
</table>
<a class="anchor" name="readerror"></a><!-- doxytag: member="ConfigReader::readerror" ref="readerror" args="" --><p>
@@ -765,14 +765,14 @@ Used to store errors.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01133">1133</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#l01522">1522</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#l00796">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00937">Verify()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader()</a>, and <a class="el" href="modules_8cpp-source.html#l00975">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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classConnectClass-members.html b/docs/module-doc/classConnectClass-members.html
index c3f989f12..ee728b9b1 100644
--- a/docs/module-doc/classConnectClass-members.html
+++ b/docs/module-doc/classConnectClass-members.html
@@ -19,7 +19,7 @@
<tr class="memlist"><td><a class="el" href="classConnectClass.html#threshold">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#type">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classConnectClass.html b/docs/module-doc/classConnectClass.html
index 8b6b1b40a..ad1f05e34 100644
--- a/docs/module-doc/classConnectClass.html
+++ b/docs/module-doc/classConnectClass.html
@@ -57,7 +57,7 @@ Holds information relevent to &lt;connect allow&gt; and &lt;connect deny&gt; tag
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00045">45</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#l00048">48</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ConnectClass_28_29"></a><!-- doxytag: member="ConnectClass::ConnectClass" ref="ConnectClass_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -84,18 +84,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#l00079">79</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>, <a class="el" href="users_8h-source.html#l00077">recvqmax</a>, <a class="el" href="users_8h-source.html#l00053">registration_timeout</a>, <a class="el" href="users_8h-source.html#l00073">sendqmax</a>, and <a class="el" href="users_8h-source.html#l00069">threshold</a>.<div class="fragment"><pre class="fragment"><a name="l00080"></a>00080 {
-<a name="l00081"></a>00081 <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a> = 0;
-<a name="l00082"></a>00082 <a class="code" href="classConnectClass.html#flood">flood</a> = 0;
-<a name="l00083"></a>00083 <a class="code" href="classConnectClass.html#pingtime">pingtime</a> = 0;
-<a name="l00084"></a>00084 <a class="code" href="classConnectClass.html#threshold">threshold</a> = 0;
-<a name="l00085"></a>00085 <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a> = 0;
-<a name="l00086"></a>00086 <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a> = 0;
-<a name="l00087"></a>00087 strlcpy(<a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>,<span class="stringliteral">""</span>,MAXBUF);
-<a name="l00088"></a>00088 strlcpy(<a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
-<a name="l00089"></a>00089 }
+Definition at line <a class="el" href="users_8h-source.html#l00082">82</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00059">flood</a>, <a class="el" href="users_8h-source.html#l00062">host</a>, <a class="el" href="users_8h-source.html#l00068">pass</a>, <a class="el" href="users_8h-source.html#l00065">pingtime</a>, <a class="el" href="users_8h-source.html#l00080">recvqmax</a>, <a class="el" href="users_8h-source.html#l00056">registration_timeout</a>, <a class="el" href="users_8h-source.html#l00076">sendqmax</a>, and <a class="el" href="users_8h-source.html#l00072">threshold</a>.<div class="fragment"><pre class="fragment"><a name="l00083"></a>00083 {
+<a name="l00084"></a>00084 <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a> = 0;
+<a name="l00085"></a>00085 <a class="code" href="classConnectClass.html#flood">flood</a> = 0;
+<a name="l00086"></a>00086 <a class="code" href="classConnectClass.html#pingtime">pingtime</a> = 0;
+<a name="l00087"></a>00087 <a class="code" href="classConnectClass.html#threshold">threshold</a> = 0;
+<a name="l00088"></a>00088 <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a> = 0;
+<a name="l00089"></a>00089 <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a> = 0;
+<a name="l00090"></a>00090 strlcpy(<a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>,<span class="stringliteral">""</span>,MAXBUF);
+<a name="l00091"></a>00091 strlcpy(<a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
+<a name="l00092"></a>00092 }
</pre></div>
<p>
</td>
@@ -126,9 +126,9 @@ Number of lines in buffer before excess flood is triggered.
<p>
<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>.
+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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="host_5BMAXBUF_5D"></a><!-- doxytag: member="ConnectClass::host" ref="host_5BMAXBUF_5D" args="[MAXBUF]" --><p>
@@ -155,9 +155,9 @@ Host mask for this line.
<p>
<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>.
+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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="pass_5BMAXBUF_5D"></a><!-- doxytag: member="ConnectClass::pass" ref="pass_5BMAXBUF_5D" args="[MAXBUF]" --><p>
@@ -184,9 +184,9 @@ Referenced by <a class="el" href="users_8h-source.html#l00079">ConnectClass()</a
<p>
<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>.
+Definition at line <a class="el" href="users_8h-source.html#l00068">68</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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="pingtime"></a><!-- doxytag: member="ConnectClass::pingtime" ref="pingtime" args="" --><p>
@@ -213,9 +213,9 @@ Number of seconds between pings for this line.
<p>
<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>.
+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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="recvqmax"></a><!-- doxytag: member="ConnectClass::recvqmax" ref="recvqmax" args="" --><p>
@@ -242,9 +242,9 @@ Maximum size of recvq for users in this class (bytes).
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00077">77</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#l00080">80</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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="registration_5Ftimeout"></a><!-- doxytag: member="ConnectClass::registration_timeout" ref="registration_5Ftimeout" args="" --><p>
@@ -271,9 +271,9 @@ Max time to register the connection in seconds.
<p>
<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>.
+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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="sendqmax"></a><!-- doxytag: member="ConnectClass::sendqmax" ref="sendqmax" args="" --><p>
@@ -300,9 +300,9 @@ Maximum size of sendq for users in this class (bytes).
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00073">73</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#l00076">76</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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="threshold"></a><!-- doxytag: member="ConnectClass::threshold" ref="threshold" args="" --><p>
@@ -329,9 +329,9 @@ 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>.
+Definition at line <a class="el" href="users_8h-source.html#l00072">72</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#l00079">ConnectClass()</a>. </td>
+Referenced by <a class="el" href="users_8h-source.html#l00082">ConnectClass()</a>. </td>
</tr>
</table>
<a class="anchor" name="type"></a><!-- doxytag: member="ConnectClass::type" ref="type" args="" --><p>
@@ -358,12 +358,12 @@ Type of line, either CC_ALLOW or CC_DENY.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00050">50</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#l00053">53</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classDNS-members.html b/docs/module-doc/classDNS-members.html
index f1d0bb6e8..168801c8c 100644
--- a/docs/module-doc/classDNS-members.html
+++ b/docs/module-doc/classDNS-members.html
@@ -23,17 +23,19 @@
<tr class="memlist"><td><a class="el" href="classDNS.html#dns_5Fntoa_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4</a>(const in_addr *const ip)</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#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4_r</a>(const in_addr *const ip)</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#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">dns_ntoa4_s</a>(const in_addr *const ip, char *const result)</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#fd">fd</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#ForwardLookup_28std_3A_3Astring_20host_29">ForwardLookup</a>(std::string host)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#GetFD_28_29">GetFD</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#GetResult_28_29">GetResult</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classDNS.html#GetResultIP_28_29">GetResultIP</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#HasResult_28_29">HasResult</a>()</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">localbuf</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#myfd">myfd</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#result">result</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#ReverseLookup_28std_3A_3Astring_20ip_29">ReverseLookup</a>(std::string ip)</td><td><a class="el" href="classDNS.html">DNS</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">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#t">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#_7EDNS_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classDNS.html b/docs/module-doc/classDNS.html
index 0ed6c7daa..56c81e054 100644
--- a/docs/module-doc/classDNS.html
+++ b/docs/module-doc/classDNS.html
@@ -35,6 +35,8 @@ Collaboration diagram for DNS:<p><center><img src="classDNS__coll__graph.gif" bo
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#GetResult_28_29">GetResult</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns the result of your query as a string, depending upon wether you called <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS::ReverseLookup()</a> or <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS::ForwardLookup</a>. <a href="#GetResult_28_29"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#GetResultIP_28_29">GetResultIP</a> ()</td></tr>
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#GetFD_28_29">GetFD</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns the file handle used by the dns query socket or zero if the query is invalid for some reason, e.g. <a href="#GetFD_28_29"></a><br></td></tr>
@@ -55,28 +57,30 @@ Collaboration diagram for DNS:<p><center><img src="classDNS__coll__graph.gif" bo
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetname_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_getname4</a> (const in_addr *const ip)</td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_28const_20int_20fd_29">dns_getresult</a> (const int <a class="el" href="classDNS.html#fd">fd</a>)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_28const_20int_20fd_29">dns_getresult</a> (const int fd)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">in_addr *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Faton_34_5Fs_28const_20char_20_2Aconst_20ipstring_2C_20in_5Faddr_20_2Aconst_20ip_29">dns_aton4_s</a> (const char *const ipstring, in_addr *const ip)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">dns_ntoa4_s</a> (const in_addr *const ip, char *const <a class="el" href="classDNS.html#result">result</a>)</td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_5Fs_28const_20int_20fd_2C_20char_20_2Aconst_20result_29">dns_getresult_s</a> (const int <a class="el" href="classDNS.html#fd">fd</a>, char *const <a class="el" href="classDNS.html#result">result</a>)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_5Fs_28const_20int_20fd_2C_20char_20_2Aconst_20result_29">dns_getresult_s</a> (const int fd, char *const <a class="el" href="classDNS.html#result">result</a>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">in_addr *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Faton_34_5Fr_28const_20char_20_2Aconst_20ipstring_29">dns_aton4_r</a> (const char *const ipstring)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4_r</a> (const in_addr *const ip)</td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_5Fr_28const_20int_20fd_29">dns_getresult_r</a> (const int <a class="el" href="classDNS.html#fd">fd</a>)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#dns_5Fgetresult_5Fr_28const_20int_20fd_29">dns_getresult_r</a> (const int fd)</td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">in_addr *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#binip">binip</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#result">result</a></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">localbuf</a> [1024]</td></tr>
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#t">t</a></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#fd">fd</a></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDNS.html#myfd">myfd</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
@@ -682,6 +686,33 @@ This method returns the result of your query as a string, depending upon wether
</td>
</tr>
</table>
+<a class="anchor" name="GetResultIP_28_29"></a><!-- doxytag: member="DNS::GetResultIP" ref="GetResultIP_28_29" args="()" --><p>
+<table class="mdTable" 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="namespaceirc.html#string">std::string</a> DNS::GetResultIP </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>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="HasResult_28_29"></a><!-- doxytag: member="DNS::HasResult" ref="HasResult_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -795,13 +826,13 @@ This method will start the reverse lookup of an ip given in dotted decimal forma
Definition at line <a class="el" href="dns_8h-source.html#l00038">38</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
</tr>
</table>
-<a class="anchor" name="fd"></a><!-- doxytag: member="DNS::fd" ref="fd" args="" --><p>
+<a class="anchor" name="localbuf_5B_31_30_32_34_5D"></a><!-- doxytag: member="DNS::localbuf" ref="localbuf_5B_31_30_32_34_5D" args="[1024]" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">int <a class="el" href="classDNS.html#fd">DNS::fd</a><code> [private]</code> </td>
+ <td class="md" nowrap valign="top">char <a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">DNS::localbuf</a>[1024]<code> [private]</code> </td>
</tr>
</table>
</td>
@@ -817,7 +848,32 @@ Definition at line <a class="el" href="dns_8h-source.html#l00038">38</a> of file
<p>
<p>
-Definition at line <a class="el" href="dns_8h-source.html#l00042">42</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
+Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="myfd"></a><!-- doxytag: member="DNS::myfd" ref="myfd" args="" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">int <a class="el" href="classDNS.html#myfd">DNS::myfd</a><code> [private]</code> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="dns_8h-source.html#l00043">43</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
</tr>
</table>
<a class="anchor" name="result"></a><!-- doxytag: member="DNS::result" ref="result" args="" --><p>
@@ -867,12 +923,12 @@ Definition at line <a class="el" href="dns_8h-source.html#l00039">39</a> of file
<p>
<p>
-Definition at line <a class="el" href="dns_8h-source.html#l00040">40</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
+Definition at line <a class="el" href="dns_8h-source.html#l00041">41</a> of file <a class="el" href="dns_8h-source.html">dns.h</a>. </td>
</tr>
</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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classDNS__coll__graph.gif b/docs/module-doc/classDNS__coll__graph.gif
index ddb6ebb1d..d1cf9cc49 100644
--- a/docs/module-doc/classDNS__coll__graph.gif
+++ b/docs/module-doc/classDNS__coll__graph.gif
Binary files differ
diff --git a/docs/module-doc/classDNS__coll__graph.md5 b/docs/module-doc/classDNS__coll__graph.md5
index 7d5283854..3b6e88a7e 100644
--- a/docs/module-doc/classDNS__coll__graph.md5
+++ b/docs/module-doc/classDNS__coll__graph.md5
@@ -1 +1 @@
-30aee4bdc7bc1791511ab48a46f93734 \ No newline at end of file
+0840238510d3cd2b1f0c40a4d86dbdbe \ No newline at end of file
diff --git a/docs/module-doc/classELine-members.html b/docs/module-doc/classELine-members.html
index 94e06c52f..a89e471aa 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classELine.html b/docs/module-doc/classELine.html
index 7a26d840d..5a9afa2b1 100644
--- a/docs/module-doc/classELine.html
+++ b/docs/module-doc/classELine.html
@@ -59,7 +59,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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classEvent-members.html b/docs/module-doc/classEvent-members.html
index 626f9ce32..bf5d0ea7d 100644
--- a/docs/module-doc/classEvent-members.html
+++ b/docs/module-doc/classEvent-members.html
@@ -18,7 +18,7 @@
<tr class="memlist"><td><a class="el" href="classEvent.html#source">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classEvent.html b/docs/module-doc/classEvent.html
index 6e0a14d33..cba0e76e8 100644
--- a/docs/module-doc/classEvent.html
+++ b/docs/module-doc/classEvent.html
@@ -57,7 +57,7 @@ When the class is properly instantiated it may be sent to all modules using the
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00196">196</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#l00197">197</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29"></a><!-- doxytag: member="Event::Event" ref="Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29" args="(char *anydata, Module *src, std::string eventid)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -139,7 +139,7 @@ Get the Event data.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00283">283</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00201">data</a>.<div class="fragment"><pre class="fragment"><a name="l00284"></a>00284 {
+References <a class="el" href="modules_8h-source.html#l00202">data</a>.<div class="fragment"><pre class="fragment"><a name="l00284"></a>00284 {
<a name="l00285"></a>00285 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#data">data</a>;
<a name="l00286"></a>00286 }
</pre></div>
@@ -177,7 +177,7 @@ 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#l00299">299</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00210">id</a>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 {
+References <a class="el" href="modules_8h-source.html#l00211">id</a>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 {
<a name="l00301"></a>00301 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#id">id</a>;
<a name="l00302"></a>00302 }
</pre></div>
@@ -215,7 +215,7 @@ Get the event Source.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00288">288</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00205">source</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 {
+References <a class="el" href="modules_8h-source.html#l00206">source</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 {
<a name="l00290"></a>00290 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classEvent.html#source">source</a>;
<a name="l00291"></a>00291 }
</pre></div>
@@ -255,7 +255,7 @@ Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleM
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00293">293</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00080">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 {
+References <a class="el" href="modules_8h-source.html#l00081">FOREACH_MOD</a>.<div class="fragment"><pre class="fragment"><a name="l00294"></a>00294 {
<a name="l00295"></a>00295 <a class="code" href="modules_8h.html#FOREACH_5FMOD">FOREACH_MOD</a> OnEvent(<span class="keyword">this</span>);
<a name="l00296"></a>00296 <span class="keywordflow">return</span> NULL;
<a name="l00297"></a>00297 }
@@ -289,7 +289,7 @@ This member holds a pointer to arbitary data set by the emitter of the message.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00201">201</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#l00202">202</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#l00283">GetData()</a>. </td>
</tr>
@@ -318,7 +318,7 @@ The event identifier.
<p>
This is arbitary text which should be used to distinguish one type of event from another.
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00210">210</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#l00211">211</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#l00299">GetEventID()</a>. </td>
</tr>
@@ -347,14 +347,14 @@ This is a pointer to the sender of the message, which can be used to directly tr
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00205">205</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#l00206">206</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#l00288">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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExemptItem-members.html b/docs/module-doc/classExemptItem-members.html
index df9a82186..fda27de54 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#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExemptItem.html b/docs/module-doc/classExemptItem.html
index 3d93816f7..c49acaf37 100644
--- a/docs/module-doc/classExemptItem.html
+++ b/docs/module-doc/classExemptItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00060">60</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExtMode-members.html b/docs/module-doc/classExtMode-members.html
index 9e287e28e..21efddd55 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#params_5Fwhen_5Fon">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#type">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExtMode.html b/docs/module-doc/classExtMode.html
index 1c1255ba9..c643babee 100644
--- a/docs/module-doc/classExtMode.html
+++ b/docs/module-doc/classExtMode.html
@@ -251,7 +251,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00143">143</a>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExtensible-members.html b/docs/module-doc/classExtensible-members.html
index 00599a442..fb1606799 100644
--- a/docs/module-doc/classExtensible-members.html
+++ b/docs/module-doc/classExtensible-members.html
@@ -11,9 +11,10 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">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="classExtensible.html#Extension_5FItems">Extension_Items</a></td><td><a class="el" href="classExtensible.html">Extensible</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">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#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt; std::string &gt; &amp;list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classExtensible.html b/docs/module-doc/classExtensible.html
index 4308465d9..0deebba1a 100644
--- a/docs/module-doc/classExtensible.html
+++ b/docs/module-doc/classExtensible.html
@@ -34,6 +34,9 @@ Inheritance diagram for Extensible:<p><center><img src="classExtensible__inherit
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">GetExt</a> (<a class="el" href="namespaceirc.html#string">std::string</a> key)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an extension item. <a href="#GetExt_28std_3A_3Astring_20key_29"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a> (std::deque&lt; <a class="el" href="namespaceirc.html#string">std::string</a> &gt; &amp;<a class="el" href="modules_8cpp.html#list_5BMAXBUF_5D">list</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all extension items names. <a href="#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::map&lt; <a class="el" href="namespaceirc.html#string">std::string</a>, char * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExtensible.html#Extension_5FItems">Extension_Items</a></td></tr>
@@ -46,7 +49,7 @@ class Extensible implements a system which allows modules to 'extend' the class
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00050">50</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Member Function Documentation</h2>
+Definition at line <a class="el" href="base_8h-source.html#l00051">51</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29"></a><!-- doxytag: member="Extensible::Extend" ref="Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29" args="(std::string key, char *p)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -130,6 +133,42 @@ Get an extension item.
</td>
</tr>
</table>
+<a class="anchor" name="GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29"></a><!-- doxytag: member="Extensible::GetExtList" ref="GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29" args="(std::deque&lt; std::string &gt; &amp;list)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Extensible::GetExtList </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::deque&lt; <a class="el" href="namespaceirc.html#string">std::string</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>list</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>
+Get a list of all extension items names.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>A deque of strings to receive the list</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>This function writes a list of all extension items stored in this object by name into the given deque and returns void.</dd></dl>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="Shrink_28std_3A_3Astring_20key_29"></a><!-- doxytag: member="Extensible::Shrink" ref="Shrink_28std_3A_3Astring_20key_29" args="(std::string key)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -192,12 +231,12 @@ Private data store.
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00054">54</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
+Definition at line <a class="el" href="base_8h-source.html#l00055">55</a> of file <a class="el" href="base_8h-source.html">base.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classFileReader-members.html b/docs/module-doc/classFileReader-members.html
index c27c1c19d..da64ad375 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#LoadFile_28std_3A_3Astring_20filename_29">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#_7Eclassbase_28_29">~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#_7EFileReader_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html
index 6141b3c73..afa717b3b 100644
--- a/docs/module-doc/classFileReader.html
+++ b/docs/module-doc/classFileReader.html
@@ -53,7 +53,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#l01210">1210</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#l01599">1599</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="FileReader_28_29"></a><!-- doxytag: member="FileReader::FileReader" ref="FileReader_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -82,8 +82,8 @@ 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#l00950">950</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00951"></a>00951 {
-<a name="l00952"></a>00952 }
+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>.<div class="fragment"><pre class="fragment"><a name="l00989"></a>00989 {
+<a name="l00990"></a>00990 }
</pre></div>
<p>
</td>
@@ -118,13 +118,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00943">943</a> 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#l01212">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00944"></a>00944 {
-<a name="l00945"></a>00945 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
-<a name="l00946"></a>00946 readfile(c,filename.c_str());
-<a name="l00947"></a>00947 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
-<a name="l00948"></a>00948 }
+References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00982"></a>00982 {
+<a name="l00983"></a>00983 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
+<a name="l00984"></a>00984 readfile(c,filename.c_str());
+<a name="l00985"></a>00985 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
+<a name="l00986"></a>00986 }
</pre></div>
<p>
</td>
@@ -158,8 +158,8 @@ Default destructor.
<p>
This deletes the memory allocated to the file.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00962">962</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00963"></a>00963 {
-<a name="l00964"></a>00964 }
+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>.<div class="fragment"><pre class="fragment"><a name="l01001"></a>01001 {
+<a name="l01002"></a>01002 }
</pre></div>
<p>
</td>
@@ -194,18 +194,18 @@ 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#l00966">966</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l01212">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00967"></a>00967 {
-<a name="l00968"></a>00968 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0)
-<a name="l00969"></a>00969 {
-<a name="l00970"></a>00970 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-<a name="l00971"></a>00971 }
-<a name="l00972"></a>00972 <span class="keywordflow">else</span>
-<a name="l00973"></a>00973 {
-<a name="l00974"></a>00974 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-<a name="l00975"></a>00975 }
-<a name="l00976"></a>00976 }
+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>
+References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01005"></a>01005 {
+<a name="l01006"></a>01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0)
+<a name="l01007"></a>01007 {
+<a name="l01008"></a>01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+<a name="l01009"></a>01009 }
+<a name="l01010"></a>01010 <span class="keywordflow">else</span>
+<a name="l01011"></a>01011 {
+<a name="l01012"></a>01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+<a name="l01013"></a>01013 }
+<a name="l01014"></a>01014 }
</pre></div>
<p>
</td>
@@ -239,11 +239,11 @@ 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#l00985">985</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+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>.
<p>
-References <a class="el" href="modules_8h-source.html#l01212">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00986"></a>00986 {
-<a name="l00987"></a>00987 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size();
-<a name="l00988"></a>00988 }
+References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01024"></a>01024 {
+<a name="l01025"></a>01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size();
+<a name="l01026"></a>01026 }
</pre></div>
<p>
</td>
@@ -278,13 +278,13 @@ 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#l00978">978</a> 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>
-References <a class="el" href="modules_8h-source.html#l01212">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00979"></a>00979 {
-<a name="l00980"></a>00980 <span class="keywordflow">if</span> ((x&lt;0) || ((<span class="keywordtype">unsigned</span>)x&gt;<a class="code" href="classFileReader.html#fc">fc</a>.size()))
-<a name="l00981"></a>00981 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00982"></a>00982 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x];
-<a name="l00983"></a>00983 }
+References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01017"></a>01017 {
+<a name="l01018"></a>01018 <span class="keywordflow">if</span> ((x&lt;0) || ((<span class="keywordtype">unsigned</span>)x&gt;<a class="code" href="classFileReader.html#fc">fc</a>.size()))
+<a name="l01019"></a>01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l01020"></a>01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x];
+<a name="l01021"></a>01021 }
</pre></div>
<p>
</td>
@@ -319,13 +319,13 @@ 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#FileSize_28_29">FileReader::FileSize</a> returns 0.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00954">954</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00992">992</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l01212">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00955"></a>00955 {
-<a name="l00956"></a>00956 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
-<a name="l00957"></a>00957 readfile(c,filename.c_str());
-<a name="l00958"></a>00958 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
-<a name="l00959"></a>00959 }
+References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00993"></a>00993 {
+<a name="l00994"></a>00994 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
+<a name="l00995"></a>00995 readfile(c,filename.c_str());
+<a name="l00996"></a>00996 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
+<a name="l00997"></a>00997 }
</pre></div>
<p>
</td>
@@ -354,14 +354,14 @@ References <a class="el" href="modules_8h-source.html#l01212">fc</a>.<div class=
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01212">1212</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#l01601">1601</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#l00966">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00943">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00985">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00978">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00954">LoadFile()</a>. </td>
+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>
</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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classGLine-members.html b/docs/module-doc/classGLine-members.html
index eca26ed66..7b280769c 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classGLine.html b/docs/module-doc/classGLine.html
index 6d2a46d4d..87544b0d1 100644
--- a/docs/module-doc/classGLine.html
+++ b/docs/module-doc/classGLine.html
@@ -62,7 +62,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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classHostItem-members.html b/docs/module-doc/classHostItem-members.html
index 6914cbe50..5c90d36c3 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#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classHostItem.html b/docs/module-doc/classHostItem.html
index 238f52f13..e22456404 100644
--- a/docs/module-doc/classHostItem.html
+++ b/docs/module-doc/classHostItem.html
@@ -186,7 +186,7 @@ Definition at line <a class="el" href="channels_8h-source.html#l00039">39</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInspSocket-members.html b/docs/module-doc/classInspSocket-members.html
index 360dde71c..efbe82517 100644
--- a/docs/module-doc/classInspSocket-members.html
+++ b/docs/module-doc/classInspSocket-members.html
@@ -11,12 +11,14 @@
<tr class="memlist"><td><a class="el" href="classInspSocket.html#client">client</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#Close_28_29">Close</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#fd">fd</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
+ <tr class="memlist"><td><a class="el" href="classInspSocket.html#GetIP_28_29">GetIP</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#GetState_28_29">GetState</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#host">host</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
- <tr class="memlist"><td><a class="el" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
+ <tr class="memlist"><td><a class="el" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
- <tr class="memlist"><td><a class="el" href="classInspSocket.html#InspSocket_28int_20newfd_29">InspSocket</a>(int newfd)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classInspSocket.html#InspSocket_28int_20newfd_2C_20char_20_2Aip_29">InspSocket</a>(int newfd, char *ip)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">InspSocket</a>(std::string host, int port, bool listening, unsigned long maxtime)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td></td></tr>
+ <tr class="memlist"><td><a class="el" href="classInspSocket.html#IP">IP</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#length">length</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#OnClose_28_29">OnClose</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr>
@@ -36,7 +38,7 @@
<tr class="memlist"><td><a class="el" href="classInspSocket.html#timeout_5Fend">timeout_end</a></td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [private]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a>(std::string data)</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>()</td><td><a class="el" href="classInspSocket.html">InspSocket</a></td><td><code> [virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInspSocket.html b/docs/module-doc/classInspSocket.html
index ba3112cbe..6aee4b7e0 100644
--- a/docs/module-doc/classInspSocket.html
+++ b/docs/module-doc/classInspSocket.html
@@ -13,7 +13,7 @@ Collaboration diagram for InspSocket:<p><center><img src="classInspSocket__coll_
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#InspSocket_28_29">InspSocket</a> ()</td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#InspSocket_28int_20newfd_29">InspSocket</a> (int newfd)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#InspSocket_28int_20newfd_2C_20char_20_2Aip_29">InspSocket</a> (int newfd, char *ip)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">InspSocket</a> (<a class="el" href="namespaceirc.html#string">std::string</a> <a class="el" href="classInspSocket.html#host">host</a>, int <a class="el" href="classInspSocket.html#port">port</a>, bool listening, unsigned long maxtime)</td></tr>
@@ -31,6 +31,8 @@ Collaboration diagram for InspSocket:<p><center><img src="classInspSocket__coll_
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#Read_28_29">Read</a> ()</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#GetIP_28_29">GetIP</a> ()</td></tr>
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a> (<a class="el" href="namespaceirc.html#string">std::string</a> data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a> (int newfd, char *ip)</td></tr>
@@ -64,7 +66,9 @@ Collaboration diagram for InspSocket:<p><center><img src="classInspSocket__coll_
<tr><td class="memItemLeft" nowrap align="right" valign="top">pollfd&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#polls">polls</a></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a> [1024]</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a> [16384]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#IP">IP</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">sockaddr_in&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classInspSocket.html#client">client</a></td></tr>
@@ -115,7 +119,7 @@ References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I
</td>
</tr>
</table>
-<a class="anchor" name="InspSocket_28int_20newfd_29"></a><!-- doxytag: member="InspSocket::InspSocket" ref="InspSocket_28int_20newfd_29" args="(int newfd)" --><p>
+<a class="anchor" name="InspSocket_28int_20newfd_2C_20char_20_2Aip_29"></a><!-- doxytag: member="InspSocket::InspSocket" ref="InspSocket_28int_20newfd_2C_20char_20_2Aip_29" args="(int newfd, char *ip)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -124,9 +128,18 @@ References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I
<td class="md" nowrap valign="top">InspSocket::InspSocket </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> <em>newfd</em> </td>
- <td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="mdname" nowrap> <em>newfd</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>ip</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
</tr>
</table>
</td>
@@ -144,10 +157,11 @@ References <a class="el" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I
<p>
Definition at line <a class="el" href="socket_8cpp-source.html#l00051">51</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-References <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00052"></a>00052 {
+References <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00052"></a>00052 {
<a name="l00053"></a>00053 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = newfd;
<a name="l00054"></a>00054 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>;
-<a name="l00055"></a>00055 }
+<a name="l00055"></a>00055 this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a> = ip;
+<a name="l00056"></a>00056 }
</pre></div>
<p>
</td>
@@ -201,79 +215,81 @@ References <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="e
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00057">57</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
-<p>
-References <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class="el" href="socket_8h-source.html#l00038">addy</a>, <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8cpp-source.html#l00239">OnError()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00058"></a>00058 {
-<a name="l00059"></a>00059 <span class="keywordflow">if</span> (listening) {
-<a name="l00060"></a>00060 <span class="keywordflow">if</span> ((this-&gt;fd = OpenTCPSocket()) == ERROR)
-<a name="l00061"></a>00061 {
-<a name="l00062"></a>00062 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00063"></a>00063 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00064"></a>00064 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
-<a name="l00065"></a>00065 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>);
-<a name="l00066"></a>00066 <span class="keywordflow">return</span>;
-<a name="l00067"></a>00067 }
-<a name="l00068"></a>00068 <span class="keywordflow">else</span>
-<a name="l00069"></a>00069 {
-<a name="l00070"></a>00070 <span class="keywordflow">if</span> (BindSocket(this-&gt;fd,this-&gt;client,this-&gt;server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == ERROR)
-<a name="l00071"></a>00071 {
-<a name="l00072"></a>00072 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00073"></a>00073 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00074"></a>00074 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00075"></a>00075 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>);
-<a name="l00076"></a>00076 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno));
-<a name="l00077"></a>00077 <span class="keywordflow">return</span>;
-<a name="l00078"></a>00078 }
-<a name="l00079"></a>00079 <span class="keywordflow">else</span>
-<a name="l00080"></a>00080 {
-<a name="l00081"></a>00081 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>;
-<a name="l00082"></a>00082 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>);
-<a name="l00083"></a>00083 <span class="keywordflow">return</span>;
-<a name="l00084"></a>00084 }
-<a name="l00085"></a>00085 }
-<a name="l00086"></a>00086 } <span class="keywordflow">else</span> {
-<a name="l00087"></a>00087 <span class="keywordtype">char</span>* ip;
-<a name="l00088"></a>00088 this-&gt;<a class="code" href="classInspSocket.html#host">host</a> = <a class="code" href="classInspSocket.html#host">host</a>;
-<a name="l00089"></a>00089 hostent* hoste = gethostbyname(<a class="code" href="classInspSocket.html#host">host</a>.c_str());
-<a name="l00090"></a>00090 <span class="keywordflow">if</span> (!hoste) {
-<a name="l00091"></a>00091 ip = (<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str();
-<a name="l00092"></a>00092 } <span class="keywordflow">else</span> {
-<a name="l00093"></a>00093 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste-&gt;h_addr;
-<a name="l00094"></a>00094 ip = inet_ntoa(*ia);
-<a name="l00095"></a>00095 }
-<a name="l00096"></a>00096
-<a name="l00097"></a>00097 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime;
-<a name="l00098"></a>00098 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>;
-<a name="l00099"></a>00099 <span class="keywordflow">if</span> ((this-&gt;fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
-<a name="l00100"></a>00100 {
-<a name="l00101"></a>00101 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00102"></a>00102 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
-<a name="l00103"></a>00103 <span class="keywordflow">return</span>;
-<a name="l00104"></a>00104 }
-<a name="l00105"></a>00105 this-&gt;<a class="code" href="classInspSocket.html#port">port</a> = <a class="code" href="classInspSocket.html#port">port</a>;
-<a name="l00106"></a>00106 inet_aton(ip,&amp;<a class="code" href="classInspSocket.html#addy">addy</a>);
-<a name="l00107"></a>00107 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET;
-<a name="l00108"></a>00108 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>;
-<a name="l00109"></a>00109 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this-&gt;port);
-<a name="l00110"></a>00110
-<a name="l00111"></a>00111 <span class="keywordtype">int</span> flags;
-<a name="l00112"></a>00112 flags = fcntl(this-&gt;fd, F_GETFL, 0);
-<a name="l00113"></a>00113 fcntl(this-&gt;fd, F_SETFL, flags | O_NONBLOCK);
-<a name="l00114"></a>00114
-<a name="l00115"></a>00115 <span class="keywordflow">if</span>(connect(this-&gt;fd, (sockaddr*)&amp;this-&gt;addr,<span class="keyword">sizeof</span>(this-&gt;addr)) == -1)
-<a name="l00116"></a>00116 {
-<a name="l00117"></a>00117 <span class="keywordflow">if</span> (errno != EINPROGRESS)
-<a name="l00118"></a>00118 {
-<a name="l00119"></a>00119 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00120"></a>00120 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>);
-<a name="l00121"></a>00121 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00122"></a>00122 <span class="keywordflow">return</span>;
-<a name="l00123"></a>00123 }
-<a name="l00124"></a>00124 }
-<a name="l00125"></a>00125 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>;
-<a name="l00126"></a>00126 <span class="keywordflow">return</span>;
-<a name="l00127"></a>00127 }
-<a name="l00128"></a>00128 }
+Definition at line <a class="el" href="socket_8cpp-source.html#l00058">58</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+<p>
+References <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class="el" href="socket_8h-source.html#l00038">addy</a>, <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00043">IP</a>, <a class="el" href="socket_8cpp-source.html#l00247">OnError()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00059"></a>00059 {
+<a name="l00060"></a>00060 <span class="keywordflow">if</span> (listening) {
+<a name="l00061"></a>00061 <span class="keywordflow">if</span> ((this-&gt;fd = OpenTCPSocket()) == ERROR)
+<a name="l00062"></a>00062 {
+<a name="l00063"></a>00063 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00064"></a>00064 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00065"></a>00065 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
+<a name="l00066"></a>00066 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>);
+<a name="l00067"></a>00067 <span class="keywordflow">return</span>;
+<a name="l00068"></a>00068 }
+<a name="l00069"></a>00069 <span class="keywordflow">else</span>
+<a name="l00070"></a>00070 {
+<a name="l00071"></a>00071 <span class="keywordflow">if</span> (BindSocket(this-&gt;fd,this-&gt;client,this-&gt;server,<a class="code" href="classInspSocket.html#port">port</a>,(<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str()) == ERROR)
+<a name="l00072"></a>00072 {
+<a name="l00073"></a>00073 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00074"></a>00074 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00075"></a>00075 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00076"></a>00076 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>);
+<a name="l00077"></a>00077 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno));
+<a name="l00078"></a>00078 <span class="keywordflow">return</span>;
+<a name="l00079"></a>00079 }
+<a name="l00080"></a>00080 <span class="keywordflow">else</span>
+<a name="l00081"></a>00081 {
+<a name="l00082"></a>00082 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>;
+<a name="l00083"></a>00083 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>);
+<a name="l00084"></a>00084 <span class="keywordflow">return</span>;
+<a name="l00085"></a>00085 }
+<a name="l00086"></a>00086 }
+<a name="l00087"></a>00087 } <span class="keywordflow">else</span> {
+<a name="l00088"></a>00088 <span class="keywordtype">char</span>* ip;
+<a name="l00089"></a>00089 this-&gt;<a class="code" href="classInspSocket.html#host">host</a> = <a class="code" href="classInspSocket.html#host">host</a>;
+<a name="l00090"></a>00090 hostent* hoste = gethostbyname(<a class="code" href="classInspSocket.html#host">host</a>.c_str());
+<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!hoste) {
+<a name="l00092"></a>00092 ip = (<span class="keywordtype">char</span>*)<a class="code" href="classInspSocket.html#host">host</a>.c_str();
+<a name="l00093"></a>00093 } <span class="keywordflow">else</span> {
+<a name="l00094"></a>00094 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste-&gt;h_addr;
+<a name="l00095"></a>00095 ip = inet_ntoa(*ia);
+<a name="l00096"></a>00096 }
+<a name="l00097"></a>00097
+<a name="l00098"></a>00098 this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a> = ip;
+<a name="l00099"></a>00099
+<a name="l00100"></a>00100 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime;
+<a name="l00101"></a>00101 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>;
+<a name="l00102"></a>00102 <span class="keywordflow">if</span> ((this-&gt;fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
+<a name="l00103"></a>00103 {
+<a name="l00104"></a>00104 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00105"></a>00105 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
+<a name="l00106"></a>00106 <span class="keywordflow">return</span>;
+<a name="l00107"></a>00107 }
+<a name="l00108"></a>00108 this-&gt;<a class="code" href="classInspSocket.html#port">port</a> = <a class="code" href="classInspSocket.html#port">port</a>;
+<a name="l00109"></a>00109 inet_aton(ip,&amp;<a class="code" href="classInspSocket.html#addy">addy</a>);
+<a name="l00110"></a>00110 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET;
+<a name="l00111"></a>00111 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>;
+<a name="l00112"></a>00112 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this-&gt;port);
+<a name="l00113"></a>00113
+<a name="l00114"></a>00114 <span class="keywordtype">int</span> flags;
+<a name="l00115"></a>00115 flags = fcntl(this-&gt;fd, F_GETFL, 0);
+<a name="l00116"></a>00116 fcntl(this-&gt;fd, F_SETFL, flags | O_NONBLOCK);
+<a name="l00117"></a>00117
+<a name="l00118"></a>00118 <span class="keywordflow">if</span>(connect(this-&gt;fd, (sockaddr*)&amp;this-&gt;addr,<span class="keyword">sizeof</span>(this-&gt;addr)) == -1)
+<a name="l00119"></a>00119 {
+<a name="l00120"></a>00120 <span class="keywordflow">if</span> (errno != EINPROGRESS)
+<a name="l00121"></a>00121 {
+<a name="l00122"></a>00122 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00123"></a>00123 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>);
+<a name="l00124"></a>00124 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00125"></a>00125 <span class="keywordflow">return</span>;
+<a name="l00126"></a>00126 }
+<a name="l00127"></a>00127 }
+<a name="l00128"></a>00128 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>;
+<a name="l00129"></a>00129 <span class="keywordflow">return</span>;
+<a name="l00130"></a>00130 }
+<a name="l00131"></a>00131 }
</pre></div>
<p>
</td>
@@ -305,11 +321,11 @@ References <a class="el" href="socket_8h-source.html#l00037">addr</a>, <a class=
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00246">246</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00254">254</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-References <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00247"></a>00247 {
-<a name="l00248"></a>00248 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00249"></a>00249 }
+References <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 {
+<a name="l00256"></a>00256 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00257"></a>00257 }
</pre></div>
<p>
</td>
@@ -342,19 +358,55 @@ References <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>.<div
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00130">130</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00133">133</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-References <a class="el" href="socket_8h-source.html#l00033">fd</a>, and <a class="el" href="socket_8cpp-source.html#l00244">OnClose()</a>.
+References <a class="el" href="socket_8h-source.html#l00033">fd</a>, and <a class="el" href="socket_8cpp-source.html#l00252">OnClose()</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00246">~InspSocket()</a>.<div class="fragment"><pre class="fragment"><a name="l00131"></a>00131 {
-<a name="l00132"></a>00132 <span class="keywordflow">if</span> (this-&gt;fd != -1)
-<a name="l00133"></a>00133 {
-<a name="l00134"></a>00134 this-&gt;<a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
-<a name="l00135"></a>00135 shutdown(this-&gt;fd,2);
-<a name="l00136"></a>00136 close(this-&gt;fd);
-<a name="l00137"></a>00137 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00138"></a>00138 }
-<a name="l00139"></a>00139 }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00254">~InspSocket()</a>.<div class="fragment"><pre class="fragment"><a name="l00134"></a>00134 {
+<a name="l00135"></a>00135 <span class="keywordflow">if</span> (this-&gt;fd != -1)
+<a name="l00136"></a>00136 {
+<a name="l00137"></a>00137 this-&gt;<a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
+<a name="l00138"></a>00138 shutdown(this-&gt;fd,2);
+<a name="l00139"></a>00139 close(this-&gt;fd);
+<a name="l00140"></a>00140 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00141"></a>00141 }
+<a name="l00142"></a>00142 }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="GetIP_28_29"></a><!-- doxytag: member="InspSocket::GetIP" ref="GetIP_28_29" args="()" --><p>
+<table class="mdTable" 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="namespaceirc.html#string">std::string</a> InspSocket::GetIP </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>
+
+<p>
+Definition at line <a class="el" href="socket_8cpp-source.html#l00144">144</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+<p>
+References <a class="el" href="socket_8h-source.html#l00043">IP</a>.<div class="fragment"><pre class="fragment"><a name="l00145"></a>00145 {
+<a name="l00146"></a>00146 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a>;
+<a name="l00147"></a>00147 }
</pre></div>
<p>
</td>
@@ -386,11 +438,11 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00233">233</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00241">241</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00234"></a>00234 {
-<a name="l00235"></a>00235 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#state">state</a>;
-<a name="l00236"></a>00236 }
+References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 {
+<a name="l00243"></a>00243 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#state">state</a>;
+<a name="l00244"></a>00244 }
</pre></div>
<p>
</td>
@@ -422,9 +474,9 @@ References <a class="el" href="socket_8h-source.html#l00036">state</a>.<div clas
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00244">244</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00252">252</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00244"></a>00244 { <span class="keywordflow">return</span>; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>.<div class="fragment"><pre class="fragment"><a name="l00252"></a>00252 { <span class="keywordflow">return</span>; }
</pre></div>
<p>
</td>
@@ -456,9 +508,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>.<d
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00238">238</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00246">246</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00238"></a>00238 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
</pre></div>
<p>
</td>
@@ -490,9 +542,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<di
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00242">242</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00250">250</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00242"></a>00242 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00250"></a>00250 { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
</pre></div>
<p>
</td>
@@ -524,7 +576,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<di
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00240">240</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 { <span class="keywordflow">return</span> 0; }
+Definition at line <a class="el" href="socket_8cpp-source.html#l00248">248</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00248"></a>00248 { <span class="keywordflow">return</span> 0; }
</pre></div>
<p>
</td>
@@ -557,9 +609,9 @@ Definition at line <a class="el" href="socket_8cpp-source.html#l00240">240</a> o
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00239">239</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00247">247</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00239"></a>00239 { <span class="keywordflow">return</span>; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00247"></a>00247 { <span class="keywordflow">return</span>; }
</pre></div>
<p>
</td>
@@ -601,9 +653,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00241">241</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00249">249</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00241"></a>00241 { <span class="keywordflow">return</span> 0; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00249"></a>00249 { <span class="keywordflow">return</span> 0; }
</pre></div>
<p>
</td>
@@ -635,9 +687,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<di
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00243">243</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00251">251</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00243"></a>00243 { <span class="keywordflow">return</span>; }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 { <span class="keywordflow">return</span>; }
</pre></div>
<p>
</td>
@@ -669,50 +721,50 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<di
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00183">183</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
-<p>
-References <a class="el" href="socket_8h-source.html#l00043">client</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00045">length</a>, <a class="el" href="socket_8cpp-source.html#l00238">OnConnected()</a>, <a class="el" href="socket_8cpp-source.html#l00242">OnDataReady()</a>, <a class="el" href="socket_8cpp-source.html#l00239">OnError()</a>, <a class="el" href="socket_8cpp-source.html#l00241">OnIncomingConnection()</a>, <a class="el" href="socket_8cpp-source.html#l00243">OnTimeout()</a>, <a class="el" href="socket_8h-source.html#l00041">polls</a>, <a class="el" href="socket_8cpp-source.html#l00227">SetState()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00184"></a>00184 {
-<a name="l00185"></a>00185 <span class="keywordflow">if</span> ((time(NULL) &gt; <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) &amp;&amp; (this-&gt;state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>))
-<a name="l00186"></a>00186 {
-<a name="l00187"></a>00187 <span class="comment">// for non-listening sockets, the timeout can occur</span>
-<a name="l00188"></a>00188 <span class="comment">// which causes termination of the connection after</span>
-<a name="l00189"></a>00189 <span class="comment">// the given number of seconds without a successful</span>
-<a name="l00190"></a>00190 <span class="comment">// connection.</span>
-<a name="l00191"></a>00191 this-&gt;<a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
-<a name="l00192"></a>00192 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>);
-<a name="l00193"></a>00193 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>;
-<a name="l00194"></a>00194 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00195"></a>00195 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00196"></a>00196 }
-<a name="l00197"></a>00197 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a>;
-<a name="l00198"></a>00198 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN;
-<a name="l00199"></a>00199 <span class="keywordtype">int</span> ret = poll(&amp;<a class="code" href="classInspSocket.html#polls">polls</a>,1,1);
-<a name="l00200"></a>00200
-<a name="l00201"></a>00201 <span class="keywordflow">if</span> (ret &gt; 0)
-<a name="l00202"></a>00202 {
-<a name="l00203"></a>00203 <span class="keywordtype">int</span> incoming = -1;
-<a name="l00204"></a>00204
-<a name="l00205"></a>00205 <span class="keywordflow">switch</span> (this-&gt;state)
-<a name="l00206"></a>00206 {
-<a name="l00207"></a>00207 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>:
-<a name="l00208"></a>00208 this-&gt;<a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>);
-<a name="l00209"></a>00209 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
-<a name="l00210"></a>00210 <span class="keywordflow">break</span>;
-<a name="l00211"></a>00211 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>:
-<a name="l00212"></a>00212 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>);
-<a name="l00213"></a>00213 incoming = accept (this-&gt;fd, (sockaddr*)&amp;<a class="code" href="classInspSocket.html#client">client</a>,&amp;<a class="code" href="classInspSocket.html#length">length</a>);
-<a name="l00214"></a>00214 this-&gt;<a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(<a class="code" href="classInspSocket.html#client">client</a>.sin_addr));
-<a name="l00215"></a>00215 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00216"></a>00216 <span class="keywordflow">break</span>;
-<a name="l00217"></a>00217 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>:
-<a name="l00218"></a>00218 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
-<a name="l00219"></a>00219 <span class="keywordflow">break</span>;
-<a name="l00220"></a>00220 <span class="keywordflow">default</span>:
-<a name="l00221"></a>00221 <span class="keywordflow">break</span>;
-<a name="l00222"></a>00222 }
-<a name="l00223"></a>00223 }
-<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00225"></a>00225 }
+Definition at line <a class="el" href="socket_8cpp-source.html#l00191">191</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+<p>
+References <a class="el" href="socket_8h-source.html#l00044">client</a>, <a class="el" href="socket_8h-source.html#l00033">fd</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>, <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>, <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>, <a class="el" href="socket_8h-source.html#l00046">length</a>, <a class="el" href="socket_8cpp-source.html#l00246">OnConnected()</a>, <a class="el" href="socket_8cpp-source.html#l00250">OnDataReady()</a>, <a class="el" href="socket_8cpp-source.html#l00247">OnError()</a>, <a class="el" href="socket_8cpp-source.html#l00249">OnIncomingConnection()</a>, <a class="el" href="socket_8cpp-source.html#l00251">OnTimeout()</a>, <a class="el" href="socket_8h-source.html#l00041">polls</a>, <a class="el" href="socket_8cpp-source.html#l00235">SetState()</a>, <a class="el" href="socket_8h-source.html#l00036">state</a>, <a class="el" href="socket_8h-source.html#l00040">timeout</a>, and <a class="el" href="socket_8h-source.html#l00039">timeout_end</a>.<div class="fragment"><pre class="fragment"><a name="l00192"></a>00192 {
+<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((time(NULL) &gt; <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) &amp;&amp; (this-&gt;state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>))
+<a name="l00194"></a>00194 {
+<a name="l00195"></a>00195 <span class="comment">// for non-listening sockets, the timeout can occur</span>
+<a name="l00196"></a>00196 <span class="comment">// which causes termination of the connection after</span>
+<a name="l00197"></a>00197 <span class="comment">// the given number of seconds without a successful</span>
+<a name="l00198"></a>00198 <span class="comment">// connection.</span>
+<a name="l00199"></a>00199 this-&gt;<a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
+<a name="l00200"></a>00200 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>);
+<a name="l00201"></a>00201 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>;
+<a name="l00202"></a>00202 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00203"></a>00203 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00204"></a>00204 }
+<a name="l00205"></a>00205 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a>;
+<a name="l00206"></a>00206 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN;
+<a name="l00207"></a>00207 <span class="keywordtype">int</span> ret = poll(&amp;<a class="code" href="classInspSocket.html#polls">polls</a>,1,1);
+<a name="l00208"></a>00208
+<a name="l00209"></a>00209 <span class="keywordflow">if</span> (ret &gt; 0)
+<a name="l00210"></a>00210 {
+<a name="l00211"></a>00211 <span class="keywordtype">int</span> incoming = -1;
+<a name="l00212"></a>00212
+<a name="l00213"></a>00213 <span class="keywordflow">switch</span> (this-&gt;state)
+<a name="l00214"></a>00214 {
+<a name="l00215"></a>00215 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>:
+<a name="l00216"></a>00216 this-&gt;<a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>);
+<a name="l00217"></a>00217 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
+<a name="l00218"></a>00218 <span class="keywordflow">break</span>;
+<a name="l00219"></a>00219 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>:
+<a name="l00220"></a>00220 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>);
+<a name="l00221"></a>00221 incoming = accept (this-&gt;fd, (sockaddr*)&amp;<a class="code" href="classInspSocket.html#client">client</a>,&amp;<a class="code" href="classInspSocket.html#length">length</a>);
+<a name="l00222"></a>00222 this-&gt;<a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(<a class="code" href="classInspSocket.html#client">client</a>.sin_addr));
+<a name="l00223"></a>00223 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00224"></a>00224 <span class="keywordflow">break</span>;
+<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>:
+<a name="l00226"></a>00226 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
+<a name="l00227"></a>00227 <span class="keywordflow">break</span>;
+<a name="l00228"></a>00228 <span class="keywordflow">default</span>:
+<a name="l00229"></a>00229 <span class="keywordflow">break</span>;
+<a name="l00230"></a>00230 }
+<a name="l00231"></a>00231 }
+<a name="l00232"></a>00232 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00233"></a>00233 }
</pre></div>
<p>
</td>
@@ -744,21 +796,21 @@ References <a class="el" href="socket_8h-source.html#l00043">client</a>, <a clas
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00141">141</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00149">149</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00042">ibuf</a>.<div class="fragment"><pre class="fragment"><a name="l00142"></a>00142 {
-<a name="l00143"></a>00143 <span class="keywordtype">int</span> n = recv(this-&gt;fd,this-&gt;ibuf,<span class="keyword">sizeof</span>(this-&gt;ibuf),0);
-<a name="l00144"></a>00144 <span class="keywordflow">if</span> (n &gt; 0)
-<a name="l00145"></a>00145 {
-<a name="l00146"></a>00146 <a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a>[n] = 0;
-<a name="l00147"></a>00147 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a>;
-<a name="l00148"></a>00148 }
-<a name="l00149"></a>00149 <span class="keywordflow">else</span>
-<a name="l00150"></a>00150 {
-<a name="l00151"></a>00151 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>);
-<a name="l00152"></a>00152 <span class="keywordflow">return</span> NULL;
-<a name="l00153"></a>00153 }
-<a name="l00154"></a>00154 }
+References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00042">ibuf</a>.<div class="fragment"><pre class="fragment"><a name="l00150"></a>00150 {
+<a name="l00151"></a>00151 <span class="keywordtype">int</span> n = recv(this-&gt;fd,this-&gt;ibuf,<span class="keyword">sizeof</span>(this-&gt;ibuf),0);
+<a name="l00152"></a>00152 <span class="keywordflow">if</span> (n &gt; 0)
+<a name="l00153"></a>00153 {
+<a name="l00154"></a>00154 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0;
+<a name="l00155"></a>00155 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>;
+<a name="l00156"></a>00156 }
+<a name="l00157"></a>00157 <span class="keywordflow">else</span>
+<a name="l00158"></a>00158 {
+<a name="l00159"></a>00159 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>);
+<a name="l00160"></a>00160 <span class="keywordflow">return</span> NULL;
+<a name="l00161"></a>00161 }
+<a name="l00162"></a>00162 }
</pre></div>
<p>
</td>
@@ -791,14 +843,14 @@ References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00227">227</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
+Definition at line <a class="el" href="socket_8cpp-source.html#l00235">235</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.
<p>
References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="socket_8h-source.html#l00036">state</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00228"></a>00228 {
-<a name="l00229"></a>00229 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>);
-<a name="l00230"></a>00230 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = s;
-<a name="l00231"></a>00231 }
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>.<div class="fragment"><pre class="fragment"><a name="l00236"></a>00236 {
+<a name="l00237"></a>00237 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>);
+<a name="l00238"></a>00238 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = s;
+<a name="l00239"></a>00239 }
</pre></div>
<p>
</td>
@@ -831,27 +883,27 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.<di
<p>
<p>
-Definition at line <a class="el" href="socket_8cpp-source.html#l00160">160</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00161"></a>00161 {
-<a name="l00162"></a>00162 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str();
-<a name="l00163"></a>00163 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0;
-<a name="l00164"></a>00164 <span class="keywordtype">int</span> n = 0;
-<a name="l00165"></a>00165 <span class="keywordtype">int</span> s = data.length();
-<a name="l00166"></a>00166 <span class="keywordflow">while</span> ((written &lt; data.length()) &amp;&amp; (n &gt;= 0))
-<a name="l00167"></a>00167 {
-<a name="l00168"></a>00168 n = send(this-&gt;fd,d,s,0);
-<a name="l00169"></a>00169 <span class="keywordflow">if</span> (n &gt; 0)
-<a name="l00170"></a>00170 {
-<a name="l00171"></a>00171 <span class="comment">// If we didnt write everything, advance</span>
-<a name="l00172"></a>00172 <span class="comment">// the pointers so that when we retry</span>
-<a name="l00173"></a>00173 <span class="comment">// the next time around the loop, we try</span>
-<a name="l00174"></a>00174 <span class="comment">// to write what we failed to write before.</span>
-<a name="l00175"></a>00175 written += n;
-<a name="l00176"></a>00176 s -= n;
-<a name="l00177"></a>00177 d += n;
-<a name="l00178"></a>00178 }
-<a name="l00179"></a>00179 }
-<a name="l00180"></a>00180 <span class="keywordflow">return</span> written;
-<a name="l00181"></a>00181 }
+Definition at line <a class="el" href="socket_8cpp-source.html#l00168">168</a> of file <a class="el" href="socket_8cpp-source.html">socket.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00169"></a>00169 {
+<a name="l00170"></a>00170 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str();
+<a name="l00171"></a>00171 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0;
+<a name="l00172"></a>00172 <span class="keywordtype">int</span> n = 0;
+<a name="l00173"></a>00173 <span class="keywordtype">int</span> s = data.length();
+<a name="l00174"></a>00174 <span class="keywordflow">while</span> ((written &lt; data.length()) &amp;&amp; (n &gt;= 0))
+<a name="l00175"></a>00175 {
+<a name="l00176"></a>00176 n = send(this-&gt;fd,d,s,0);
+<a name="l00177"></a>00177 <span class="keywordflow">if</span> (n &gt; 0)
+<a name="l00178"></a>00178 {
+<a name="l00179"></a>00179 <span class="comment">// If we didnt write everything, advance</span>
+<a name="l00180"></a>00180 <span class="comment">// the pointers so that when we retry</span>
+<a name="l00181"></a>00181 <span class="comment">// the next time around the loop, we try</span>
+<a name="l00182"></a>00182 <span class="comment">// to write what we failed to write before.</span>
+<a name="l00183"></a>00183 written += n;
+<a name="l00184"></a>00184 s -= n;
+<a name="l00185"></a>00185 d += n;
+<a name="l00186"></a>00186 }
+<a name="l00187"></a>00187 }
+<a name="l00188"></a>00188 <span class="keywordflow">return</span> written;
+<a name="l00189"></a>00189 }
</pre></div>
<p>
</td>
@@ -882,7 +934,7 @@ Definition at line <a class="el" href="socket_8cpp-source.html#l00160">160</a> o
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00037">37</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>. </td>
</tr>
</table>
<a class="anchor" name="addy"></a><!-- doxytag: member="InspSocket::addy" ref="addy" args="" --><p>
@@ -909,7 +961,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00038">38</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>. </td>
</tr>
</table>
<a class="anchor" name="client"></a><!-- doxytag: member="InspSocket::client" ref="client" args="" --><p>
@@ -934,9 +986,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</
<p>
<p>
-Definition at line <a class="el" href="socket_8h-source.html#l00043">43</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
+Definition at line <a class="el" href="socket_8h-source.html#l00044">44</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<a class="anchor" name="fd"></a><!-- doxytag: member="InspSocket::fd" ref="fd" args="" --><p>
@@ -963,7 +1015,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00033">33</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>, <a class="el" href="socket_8cpp-source.html#l00051">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00133">Close()</a>, <a class="el" href="socket_8cpp-source.html#l00051">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<a class="anchor" name="host"></a><!-- doxytag: member="InspSocket::host" ref="host" args="" --><p>
@@ -991,13 +1043,13 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00130">Close()</a>, <
Definition at line <a class="el" href="socket_8h-source.html#l00034">34</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. </td>
</tr>
</table>
-<a class="anchor" name="ibuf_5B_31_30_32_34_5D"></a><!-- doxytag: member="InspSocket::ibuf" ref="ibuf_5B_31_30_32_34_5D" args="[1024]" --><p>
+<a class="anchor" name="ibuf_5B_31_36_33_38_34_5D"></a><!-- doxytag: member="InspSocket::ibuf" ref="ibuf_5B_31_36_33_38_34_5D" args="[16384]" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">char <a class="el" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">InspSocket::ibuf</a>[1024]<code> [private]</code> </td>
+ <td class="md" nowrap valign="top">char <a class="el" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">InspSocket::ibuf</a>[16384]<code> [private]</code> </td>
</tr>
</table>
</td>
@@ -1015,7 +1067,34 @@ Definition at line <a class="el" href="socket_8h-source.html#l00034">34</a> of f
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00042">42</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00141">Read()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00149">Read()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="IP"></a><!-- doxytag: member="InspSocket::IP" ref="IP" args="" --><p>
+<table class="mdTable" 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="namespaceirc.html#string">std::string</a> <a class="el" href="classInspSocket.html#IP">InspSocket::IP</a><code> [private]</code> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="socket_8h-source.html#l00043">43</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
+<p>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00144">GetIP()</a>, and <a class="el" href="socket_8cpp-source.html#l00051">InspSocket()</a>. </td>
</tr>
</table>
<a class="anchor" name="length"></a><!-- doxytag: member="InspSocket::length" ref="length" args="" --><p>
@@ -1040,9 +1119,9 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00141">Read()</a>.
<p>
<p>
-Definition at line <a class="el" href="socket_8h-source.html#l00045">45</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
+Definition at line <a class="el" href="socket_8h-source.html#l00046">46</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<a class="anchor" name="polls"></a><!-- doxytag: member="InspSocket::polls" ref="polls" args="" --><p>
@@ -1069,7 +1148,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>.
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00041">41</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<a class="anchor" name="port"></a><!-- doxytag: member="InspSocket::port" ref="port" args="" --><p>
@@ -1119,7 +1198,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00035">35</a> of f
<p>
<p>
-Definition at line <a class="el" href="socket_8h-source.html#l00044">44</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. </td>
+Definition at line <a class="el" href="socket_8h-source.html#l00045">45</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>. </td>
</tr>
</table>
<a class="anchor" name="state"></a><!-- doxytag: member="InspSocket::state" ref="state" args="" --><p>
@@ -1146,7 +1225,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00044">44</a> of f
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00036">36</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00233">GetState()</a>, <a class="el" href="socket_8cpp-source.html#l00046">InspSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>, and <a class="el" href="socket_8cpp-source.html#l00227">SetState()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00241">GetState()</a>, <a class="el" href="socket_8cpp-source.html#l00046">InspSocket()</a>, <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>, and <a class="el" href="socket_8cpp-source.html#l00235">SetState()</a>. </td>
</tr>
</table>
<a class="anchor" name="timeout"></a><!-- doxytag: member="InspSocket::timeout" ref="timeout" args="" --><p>
@@ -1173,7 +1252,7 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00233">GetState()</a>
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00040">40</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<a class="anchor" name="timeout_5Fend"></a><!-- doxytag: member="InspSocket::timeout_end" ref="timeout_5Fend" args="" --><p>
@@ -1200,12 +1279,12 @@ Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</
<p>
Definition at line <a class="el" href="socket_8h-source.html#l00039">39</a> of file <a class="el" href="socket_8h-source.html">socket.h</a>.
<p>
-Referenced by <a class="el" href="socket_8cpp-source.html#l00057">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00183">Poll()</a>. </td>
+Referenced by <a class="el" href="socket_8cpp-source.html#l00058">InspSocket()</a>, and <a class="el" href="socket_8cpp-source.html#l00191">Poll()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="socket_8h-source.html">socket.h</a><li><a class="el" href="socket_8cpp-source.html">socket.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInspSocket__coll__graph.gif b/docs/module-doc/classInspSocket__coll__graph.gif
index d86379c9e..9269ee903 100644
--- a/docs/module-doc/classInspSocket__coll__graph.gif
+++ b/docs/module-doc/classInspSocket__coll__graph.gif
Binary files differ
diff --git a/docs/module-doc/classInspSocket__coll__graph.md5 b/docs/module-doc/classInspSocket__coll__graph.md5
index f725ccf80..6ab1742da 100644
--- a/docs/module-doc/classInspSocket__coll__graph.md5
+++ b/docs/module-doc/classInspSocket__coll__graph.md5
@@ -1 +1 @@
-54ad555a6ea1c60b284e46323c9c0329 \ No newline at end of file
+2124408fbdca907827a4683c5601f725 \ No newline at end of file
diff --git a/docs/module-doc/classInviteItem-members.html b/docs/module-doc/classInviteItem-members.html
index 716504d80..b63f569dc 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#set_5Ftime">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#_7Eclassbase_28_29">~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#_7EHostItem_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInviteItem.html b/docs/module-doc/classInviteItem.html
index 0cce8bbce..b1f14360b 100644
--- a/docs/module-doc/classInviteItem.html
+++ b/docs/module-doc/classInviteItem.html
@@ -30,7 +30,7 @@ A subclass of <a class="el" href="classHostItem.html">HostItem</a> designed to h
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00068">68</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInvited-members.html b/docs/module-doc/classInvited-members.html
index 1170cf069..7c4b21450 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#channel_5BCHANMAX_5D">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#classbase_28_29">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classInvited.html b/docs/module-doc/classInvited.html
index 37365beb0..8b0434bb5 100644
--- a/docs/module-doc/classInvited.html
+++ b/docs/module-doc/classInvited.html
@@ -29,7 +29,7 @@ Holds a channel name to which a user has been invited.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00036">36</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
+Definition at line <a class="el" href="users_8h-source.html#l00039">39</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="channel_5BCHANMAX_5D"></a><!-- doxytag: member="Invited::channel" ref="channel_5BCHANMAX_5D" args="[CHANMAX]" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -52,14 +52,14 @@ Definition at line <a class="el" href="users_8h-source.html#l00036">36</a> of fi
<p>
<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>.
+Definition at line <a class="el" href="users_8h-source.html#l00042">42</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#l00113">userrec::InviteTo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00122">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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classKLine-members.html b/docs/module-doc/classKLine-members.html
index 4ace61462..e0006eebb 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classKLine.html b/docs/module-doc/classKLine.html
index 6fe7cc184..4a3660712 100644
--- a/docs/module-doc/classKLine.html
+++ b/docs/module-doc/classKLine.html
@@ -62,7 +62,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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModeParameter-members.html b/docs/module-doc/classModeParameter-members.html
index 71145bb65..8ed231973 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#mode">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#parameter_5BMAXBUF_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModeParameter.html b/docs/module-doc/classModeParameter.html
index 23fafdc0a..8cd857a03 100644
--- a/docs/module-doc/classModeParameter.html
+++ b/docs/module-doc/classModeParameter.html
@@ -119,7 +119,7 @@ Referenced by <a class="el" href="channels_8cpp-source.html#l00138">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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModule-members.html b/docs/module-doc/classModule-members.html
index ae7b0320c..368a410c1 100644
--- a/docs/module-doc/classModule-members.html
+++ b/docs/module-doc/classModule-members.html
@@ -9,48 +9,70 @@
<tr class="memlist"><td><a class="el" href="classclassbase.html#age">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#classbase_28_29">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#GetVersion_28_29">GetVersion</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#Module_28_29">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#Module_28Server_20_2AMe_29">Module</a>(Server *Me)</td><td><a class="el" href="classModule.html">Module</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">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#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">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#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddELine</a>(long duration, userrec *source, std::string reason, std::string hostmask)</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#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddGLine</a>(long duration, userrec *source, std::string reason, std::string hostmask)</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#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddKLine</a>(long duration, userrec *source, std::string reason, std::string hostmask)</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#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">OnAddQLine</a>(long duration, userrec *source, std::string reason, std::string nickmask)</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#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">OnAddZLine</a>(long duration, userrec *source, std::string reason, std::string ipmask)</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#OnBackgroundTimer_28time_5Ft_20curtime_29">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#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeHost</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#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">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#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeLocalUserHost</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#OnChannelSync_28chanrec_20_2Achan_29">OnChannelSync</a>(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#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">OnChangeName</a>(userrec *user, std::string gecos)</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#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckBan</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#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckInvite</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#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">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#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">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#OnCheckReady_28userrec_20_2Auser_29">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#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">OnCleanup</a>(int target_type, void *item)</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#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">OnDecodeMetaData</a>(int target_type, void *target, std::string extname, std::string extdata)</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#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">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#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelELine</a>(userrec *source, std::string hostmask)</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#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelGLine</a>(userrec *source, std::string hostmask)</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#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelKLine</a>(userrec *source, std::string hostmask)</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#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">OnDelQLine</a>(userrec *source, std::string nickmask)</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#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">OnDelZLine</a>(userrec *source, std::string ipmask)</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#OnEvent_28Event_20_2Aevent_29">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#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">OnGetServerDescription</a>(std::string servername, std::string &amp;description)</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#OnGlobalConnect_28userrec_20_2Auser_29">OnGlobalConnect</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#OnGlobalOper_28userrec_20_2Auser_29">OnGlobalOper</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#OnInfo_28userrec_20_2Auser_29">OnInfo</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#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnKill</a>(userrec *source, userrec *dest, std::string reason)</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#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnLoadModule</a>(Module *mod, std::string name)</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#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnLocalTopicChange</a>(userrec *user, chanrec *chan, std::string topic)</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#OnOper_28userrec_20_2Auser_29">OnOper</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#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnMode</a>(userrec *user, void *dest, int target_type, std::string text)</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#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">OnOper</a>(userrec *user, std::string opertype)</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#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">OnOperCompare</a>(std::string password, std::string input)</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#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">OnPacketReceive</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#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">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#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnPostLocalTopicChange</a>(userrec *user, chanrec *chan, std::string topic)</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#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">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#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">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#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">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#OnRawSocketClose_28int_20fd_29">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#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">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#OnRehash_28_29">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#OnRehash_28std_3A_3Astring_20parameter_29">OnRehash</a>(std::string parameter)</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#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnRemoteKill</a>(userrec *source, userrec *dest, std::string reason)</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#OnRequest_28Request_20_2Arequest_29">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#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">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>
<tr class="memlist"><td><a class="el" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">OnServerRaw</a>(std::string &amp;raw, bool inbound, 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#OnStats_28char_20symbol_29">OnStats</a>(char symbol)</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#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncChannel</a>(chanrec *chan, Module *proto, void *opaque)</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#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncChannelMetaData</a>(chanrec *chan, Module *proto, void *opaque, std::string extname)</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#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncUser</a>(userrec *user, Module *proto, void *opaque)</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#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncUserMetaData</a>(userrec *user, Module *proto, void *opaque, std::string extname)</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#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnUnloadModule</a>(Module *mod, std::string name)</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#OnUserConnect_28userrec_20_2Auser_29">OnUserConnect</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#OnUserDisconnect_28userrec_20_2Auser_29">OnUserDisconnect</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#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">OnUserInvite</a>(userrec *source, userrec *dest, chanrec *channel)</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#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserJoin</a>(userrec *user, chanrec *channel)</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#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">OnUserKick</a>(userrec *source, userrec *user, chanrec *chan, std::string reason)</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#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserMessage</a>(userrec *user, void *dest, int target_type, std::string text)</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#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserNotice</a>(userrec *user, void *dest, int target_type, std::string text)</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#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserPart</a>(userrec *user, chanrec *channel)</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#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">OnUserPostNick</a>(userrec *user, std::string oldnick)</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#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">OnUserPreInvite</a>(userrec *source, userrec *dest, chanrec *channel)</td><td><a class="el" href="classModule.html">Module</a></td><td><code> [virtual]</code></td></tr>
@@ -59,13 +81,15 @@
<tr class="memlist"><td><a class="el" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreMessage</a>(userrec *user, void *dest, int target_type, std::string &amp;text)</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#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">OnUserPreNick</a>(userrec *user, std::string newnick)</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#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreNotice</a>(userrec *user, void *dest, int target_type, std::string &amp;text)</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#OnUserQuit_28userrec_20_2Auser_29">OnUserQuit</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#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">OnUserQuit</a>(userrec *user, std::string message)</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#OnUserRegister_28userrec_20_2Auser_29">OnUserRegister</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#OnUserSync_28userrec_20_2Auser_29">OnUserSync</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#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">OnWallops</a>(userrec *user, std::string text)</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#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">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="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">ProtoSendMetaData</a>(void *opaque, int target_type, void *target, std::string extname, std::string extdata)</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#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">ProtoSendMode</a>(void *opaque, int target_type, void *target, std::string modeline)</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#_7Eclassbase_28_29">~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#_7EModule_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html
index a97d7c059..deef06e8c 100644
--- a/docs/module-doc/classModule.html
+++ b/docs/module-doc/classModule.html
@@ -21,9 +21,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classModule-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#Module_28_29">Module</a> ()</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a> (<a class="el" href="classServer.html">Server</a> *Me)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor creates a module class. <a href="#Module_28_29"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor Creates a module class. <a href="#Module_28Server_20_2AMe_29"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#_7EModule_28_29">~Module</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default destructor destroys a module class. <a href="#_7EModule_28_29"></a><br></td></tr>
@@ -33,9 +33,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">OnUserConnect</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a user connects. <a href="#OnUserConnect_28userrec_20_2Auser_29"></a><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#OnUserQuit_28userrec_20_2Auser_29">OnUserQuit</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</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#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">OnUserQuit</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> message)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a user quits. <a href="#OnUserQuit_28userrec_20_2Auser_29"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a user quits. <a href="#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29"></a><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#OnUserDisconnect_28userrec_20_2Auser_29">OnUserDisconnect</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's socket is closed. <a href="#OnUserDisconnect_28userrec_20_2Auser_29"></a><br></td></tr>
@@ -45,15 +45,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserPart</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a user parts a channel. <a href="#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29"></a><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#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">OnPacketTransmit</a> (<a class="el" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="el" href="namespaceirc.html#string">std::string</a> serv)</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#OnRehash_28std_3A_3Astring_20parameter_29">OnRehash</a> (<a class="el" href="namespaceirc.html#string">std::string</a> parameter)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called before a packet is transmitted across the irc network between two irc servers. <a href="#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29"></a><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#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">OnPacketReceive</a> (<a class="el" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="el" href="namespaceirc.html#string">std::string</a> serv)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after a packet is received from another irc server. <a href="#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29"></a><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#OnRehash_28_29">OnRehash</a> ()</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called on rehash. <a href="#OnRehash_28_29"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called on rehash. <a href="#OnRehash_28std_3A_3Astring_20parameter_29"></a><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#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">OnServerRaw</a> (<a class="el" href="namespaceirc.html#string">std::string</a> &amp;raw, bool inbound, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a raw command is transmitted or received. <a href="#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29"></a><br></td></tr>
@@ -69,9 +63,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">OnUserKick</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, <a class="el" href="namespaceirc.html#string">std::string</a> reason)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user is kicked. <a href="#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29"></a><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#OnOper_28userrec_20_2Auser_29">OnOper</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</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#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">OnOper</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> opertype)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user opers locally. <a href="#OnOper_28userrec_20_2Auser_29"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user opers locally. <a href="#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29"></a><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#OnInfo_28userrec_20_2Auser_29">OnInfo</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 types /INFO. <a href="#OnInfo_28userrec_20_2Auser_29"></a><br></td></tr>
@@ -81,6 +75,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">OnUserPreInvite</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user is about to invite another user into a channel, before any processing is done. <a href="#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29"></a><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#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">OnUserInvite</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after a user has been successfully invited to a channel. <a href="#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29"></a><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#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreMessage</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, <a class="el" href="namespaceirc.html#string">std::string</a> &amp;text)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. <a href="#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29"></a><br></td></tr>
@@ -90,24 +87,94 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">OnUserPreNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> newnick)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called before any nickchange, local or remote. <a href="#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29"></a><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#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserMessage</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, <a class="el" href="namespaceirc.html#string">std::string</a> text)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after any PRIVMSG sent from a user. <a href="#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><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#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserNotice</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, <a class="el" href="namespaceirc.html#string">std::string</a> text)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after any NOTICE sent from a user. <a href="#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><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#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, <a class="el" href="namespaceirc.html#string">std::string</a> text)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after every MODE command sent from a user The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL. <a href="#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><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#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">OnGetServerDescription</a> (<a class="el" href="namespaceirc.html#string">std::string</a> servername, <a class="el" href="namespaceirc.html#string">std::string</a> &amp;description)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows modules to alter or create server descriptions Whenever a module requires a server description, for example for display in WHOIS, this function is called in all modules. <a href="#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29"></a><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#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncUser</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classModule.html">Module</a> *proto, void *opaque)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows modules to synchronize data which relates to users during a netburst. <a href="#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29"></a><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#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncChannel</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan, <a class="el" href="classModule.html">Module</a> *proto, void *opaque)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows modules to synchronize data which relates to channels during a netburst. <a href="#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29"></a><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#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncChannelMetaData</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan, <a class="el" href="classModule.html">Module</a> *proto, void *opaque, <a class="el" href="namespaceirc.html#string">std::string</a> extname)</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#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncUserMetaData</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classModule.html">Module</a> *proto, void *opaque, <a class="el" href="namespaceirc.html#string">std::string</a> extname)</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#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">OnDecodeMetaData</a> (int target_type, void *target, <a class="el" href="namespaceirc.html#string">std::string</a> extname, <a class="el" href="namespaceirc.html#string">std::string</a> extdata)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows module data, sent via ProtoSendMetaData, to be decoded again by a receiving module. <a href="#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29"></a><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#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">ProtoSendMode</a> (void *opaque, int target_type, void *target, <a class="el" href="namespaceirc.html#string">std::string</a> modeline)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implemented by modules which provide the ability to link servers. <a href="#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29"></a><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#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">ProtoSendMetaData</a> (void *opaque, int target_type, void *target, <a class="el" href="namespaceirc.html#string">std::string</a> extname, <a class="el" href="namespaceirc.html#string">std::string</a> extdata)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implemented by modules which provide the ability to link servers. <a href="#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29"></a><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#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">OnWallops</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> text)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after every WALLOPS command. <a href="#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29"></a><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#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> newhost)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user's hostname is changed. <a href="#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29"></a><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#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">OnChangeName</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> gecos)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a user's GECOS (realname) is changed. <a href="#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29"></a><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#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddGLine</a> (long duration, <a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> reason, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a gline is added by a local user. <a href="#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">OnAddZLine</a> (long duration, <a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> reason, <a class="el" href="namespaceirc.html#string">std::string</a> ipmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a zline is added by a local user. <a href="#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29"></a><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#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddKLine</a> (long duration, <a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> reason, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a kline is added by a local user. <a href="#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">OnAddQLine</a> (long duration, <a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> reason, <a class="el" href="namespaceirc.html#string">std::string</a> nickmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a qline is added by a local user. <a href="#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29"></a><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#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddELine</a> (long duration, <a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> reason, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a eline is added by a local user. <a href="#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelGLine</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a gline is deleted. <a href="#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">OnDelZLine</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> ipmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a zline is deleted. <a href="#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29"></a><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#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelKLine</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a kline is deleted. <a href="#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">OnDelQLine</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> nickmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a qline is deleted. <a href="#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29"></a><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#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelELine</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="namespaceirc.html#string">std::string</a> hostmask)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a eline is deleted. <a href="#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><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#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">OnCleanup</a> (int target_type, void *item)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called before your module is unloaded to clean up Extensibles. <a href="#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29"></a><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#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">OnUserPostNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> oldnick)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called after any nickchange, local or remote. <a href="#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29"></a><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#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">OnAccessCheck</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="classchanrec.html">chanrec</a> *channel, int access_type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called before an action which requires a channel privilage check. <a href="#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="modules_8h.html#string_5Flist">string_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called during a netburst to sync user data. <a href="#OnUserSync_28userrec_20_2Auser_29"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="modules_8h.html#string_5Flist">string_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
-
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called during a netburst to sync channel data. <a href="#OnChannelSync_28chanrec_20_2Achan_29"></a><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#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">On005Numeric</a> (<a class="el" href="namespaceirc.html#string">std::string</a> &amp;output)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a 005 numeric is about to be output. <a href="#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29"></a><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#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnKill</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="namespaceirc.html#string">std::string</a> reason)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when a client is disconnected by KILL. <a href="#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29"></a><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#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnRemoteKill</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, <a class="el" href="namespaceirc.html#string">std::string</a> reason)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called when an oper wants to disconnect a remote user via KILL. <a href="#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29"></a><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#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnLoadModule</a> (<a class="el" href="classModule.html">Module</a> *mod, <a class="el" href="namespaceirc.html#string">std::string</a> name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a module is loaded. <a href="#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29"></a><br></td></tr>
@@ -156,6 +223,9 @@ Inheritance diagram for Module:<p><center><img src="classModule__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnLocalTopicChange</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, <a class="el" href="namespaceirc.html#string">std::string</a> topic)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a topic is changed by a local user. <a href="#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29"></a><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#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnPostLocalTopicChange</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, <a class="el" href="namespaceirc.html#string">std::string</a> topic)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever a local topic has been changed. <a href="#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29"></a><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#OnEvent_28Event_20_2Aevent_29">OnEvent</a> (<a class="el" href="classEvent.html">Event</a> *event)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called whenever an <a class="el" href="classEvent.html">Event</a> class is sent to all module by another module. <a href="#OnEvent_28Event_20_2Aevent_29"></a><br></td></tr>
@@ -197,8 +267,8 @@ All modules must inherit from this class, its methods will be called when irc se
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00238">238</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
-<a class="anchor" name="Module_28_29"></a><!-- doxytag: member="Module::Module" ref="Module_28_29" args="()" --><p>
+Definition at line <a class="el" href="modules_8h-source.html#l00239">239</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="Module_28Server_20_2AMe_29"></a><!-- doxytag: member="Module::Module" ref="Module_28Server_20_2AMe_29" args="(Server *Me)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -206,7 +276,8 @@ Definition at line <a class="el" href="modules_8h-source.html#l00238">238</a> of
<tr>
<td class="md" nowrap valign="top">Module::Module </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" nowrap valign="top"><a class="el" href="classServer.html">Server</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>Me</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
@@ -222,11 +293,16 @@ Definition at line <a class="el" href="modules_8h-source.html#l00238">238</a> of
<td>
<p>
-Default constructor creates a module class.
+Default constructor Creates a module class.
<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>Me</em>&nbsp;</td><td>An instance of the <a class="el" href="classServer.html">Server</a> class which can be saved for future use</td></tr>
+ </table>
+</dl>
<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>.<div class="fragment"><pre class="fragment"><a name="l00306"></a>00306 { }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00307"></a>00307 { }
</pre></div>
<p>
</td>
@@ -260,7 +336,7 @@ Default destructor destroys a module class.
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00307">307</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00307"></a>00307 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00308"></a>00308 { }
</pre></div>
<p>
</td>
@@ -295,9 +371,9 @@ 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#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version::Version</a>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00054">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00319"></a>00319 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); }
+References <a class="el" href="modules_8h-source.html#l00053">VF_VENDOR</a>.<div class="fragment"><pre class="fragment"><a name="l00321"></a>00321 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0,<a class="code" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>); }
</pre></div>
<p>
</td>
@@ -330,7 +406,12 @@ References <a class="el" href="modules_8h-source.html#l00054">VF_VENDOR</a>.<div
<p>
Called when a 005 numeric is about to be output.
<p>
-The module should modify the 005 numeric if needed to indicate its features.
+The module should modify the 005 numeric if needed to indicate its features. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>The 005 string to be modified if neccessary.</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00331">331</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00331"></a>00331 { };
</pre></div>
@@ -397,11 +478,19 @@ This function is called before many functions which check a users status on a ch
AC_DEHALFOP (6) - a user is being dehalfopped<br>
AC_INVITE (7) - a user is being invited<br>
AC_GENERAL_MODE (8) - a user channel mode is being changed&lt;br&gt;<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).
+ 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). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The source of the access check </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The destination of the access check </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel which is being checked </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>access_type</em>&nbsp;</td><td>See above</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<div class="fragment"><pre class="fragment"><a name="l00328"></a>00328 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; };
+References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<div class="fragment"><pre class="fragment"><a name="l00330"></a>00330 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>; };
</pre></div>
<p>
</td>
@@ -449,7 +538,15 @@ References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.<d
<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.
+Return a non-zero value to 'eat' the mode change and prevent the ban from being added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user adding the ban </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel the ban is being added to </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>banmask</em>&nbsp;</td><td>The ban mask being added </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to block the ban, 0 to continue as normal</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00356"></a>00356 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -457,6 +554,326 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnAddELine" ref="OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29" args="(long duration, userrec *source, std::string reason, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnAddELine </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">long&nbsp;</td>
+ <td class="mdname" nowrap> <em>duration</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 eline is added by a local user.
+<p>
+This method is triggered after the line is added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>duration</em>&nbsp;</td><td>The duration of the line in seconds </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The sender of the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The reason text to be displayed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to add</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00382"></a>00382 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnAddGLine" ref="OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29" args="(long duration, userrec *source, std::string reason, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnAddGLine </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">long&nbsp;</td>
+ <td class="mdname" nowrap> <em>duration</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 gline is added by a local user.
+<p>
+This method is triggered after the line is added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>duration</em>&nbsp;</td><td>The duration of the line in seconds </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The sender of the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The reason text to be displayed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to add</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00378"></a>00378 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnAddKLine" ref="OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29" args="(long duration, userrec *source, std::string reason, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnAddKLine </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">long&nbsp;</td>
+ <td class="mdname" nowrap> <em>duration</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 kline is added by a local user.
+<p>
+This method is triggered after the line is added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>duration</em>&nbsp;</td><td>The duration of the line in seconds </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The sender of the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The reason text to be displayed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to add</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00380"></a>00380 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29"></a><!-- doxytag: member="Module::OnAddQLine" ref="OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29" args="(long duration, userrec *source, std::string reason, std::string nickmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnAddQLine </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">long&nbsp;</td>
+ <td class="mdname" nowrap> <em>duration</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nickmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 qline is added by a local user.
+<p>
+This method is triggered after the line is added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>duration</em>&nbsp;</td><td>The duration of the line in seconds </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The sender of the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The reason text to be displayed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>nickmask</em>&nbsp;</td><td>The hostmask to add</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00381"></a>00381 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29"></a><!-- doxytag: member="Module::OnAddZLine" ref="OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29" args="(long duration, userrec *source, std::string reason, std::string ipmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnAddZLine </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">long&nbsp;</td>
+ <td class="mdname" nowrap> <em>duration</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>ipmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 zline is added by a local user.
+<p>
+This method is triggered after the line is added. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>duration</em>&nbsp;</td><td>The duration of the line in seconds </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The sender of the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The reason text to be displayed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>ipmask</em>&nbsp;</td><td>The hostmask to add</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00379"></a>00379 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnBackgroundTimer_28time_5Ft_20curtime_29"></a><!-- doxytag: member="Module::OnBackgroundTimer" ref="OnBackgroundTimer_28time_5Ft_20curtime_29" args="(time_t curtime)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -484,7 +901,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00356">356</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>curtime</em>&nbsp;</td><td>The current timer derived from time(2)</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00335"></a>00335 { };
</pre></div>
@@ -492,6 +914,56 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29"></a><!-- doxytag: member="Module::OnChangeHost" ref="OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29" args="(userrec *user, std::string newhost)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnChangeHost </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>newhost</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 user's hostname is changed.
+<p>
+This event triggers after the host has been set. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user whos host is being changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>newhost</em>&nbsp;</td><td>The new hostname being set</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00376"></a>00376 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29"></a><!-- doxytag: member="Module::OnChangeLocalUserGECOS" ref="OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29" args="(userrec *user, std::string newhost)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -528,7 +1000,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00335">335</a>
<p>
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.
+return 1 to deny the name change, or 0 to allow it. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user whos GECOS will be changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>newhost</em>&nbsp;</td><td>The new GECOS </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the GECOS change, 0 to allow</dd></dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00349"></a>00349 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -572,7 +1051,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00349">349</a>
<p>
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.
+Return 1 to deny the host change, or 0 to allow it. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user whos host will be changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>newhost</em>&nbsp;</td><td>The new hostname </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the host change, 0 to allow</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00348"></a>00348 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -580,18 +1066,27 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a>
</td>
</tr>
</table>
-<a class="anchor" name="OnChannelSync_28chanrec_20_2Achan_29"></a><!-- doxytag: member="Module::OnChannelSync" ref="OnChannelSync_28chanrec_20_2Achan_29" args="(chanrec *chan)" --><p>
+<a class="anchor" name="OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29"></a><!-- doxytag: member="Module::OnChangeName" ref="OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29" args="(userrec *user, std::string gecos)" --><p>
<table class="mdTable" 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#string_5Flist">string_list</a> Module::OnChannelSync </td>
+ <td class="md" nowrap valign="top">void Module::OnChangeName </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> <em>chan</em> </td>
- <td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap><code> [virtual]</code></td>
+ <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>gecos</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
@@ -605,11 +1100,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00348">348</a>
<td>
<p>
-Called during a netburst to sync channel data.
+Called whenever a user's GECOS (realname) is changed.
<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.
+This event triggers after the name has been set. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who's GECOS is being changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>gecos</em>&nbsp;</td><td>The new GECOS being set on the user</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00330"></a>00330 { <a class="code" href="modules_8h.html#string_5Flist">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+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>.<div class="fragment"><pre class="fragment"><a name="l00377"></a>00377 { };
</pre></div>
<p>
</td>
@@ -651,7 +1152,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00330">330</a>
<p>
Called whenever a user joins a channel, to determine if banlist checks should go ahead or not.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user joining the channel </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel being joined </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00346"></a>00346 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -695,7 +1203,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00346">346</a>
<p>
Called whenever a user joins a channel, to determine if invite checks should go ahead or not.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user joining the channel </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel being joined </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00343"></a>00343 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -745,7 +1260,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00343">343</a>
<p>
Called whenever a user joins a channel, to determine if key checks should go ahead or not.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user joining the channel </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel being joined </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00344"></a>00344 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -789,7 +1311,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00344">344</a>
<p>
Called whenever a user joins a channel, to determine if channel limit checks should go ahead or not.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user joining the channel </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel being joined </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to explicitly allow the join, 0 to proceed as normal</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00345"></a>00345 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -824,7 +1353,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00345">345</a>
<p>
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.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user to check </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>true to indicate readiness, false if otherwise</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00338"></a>00338 { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
</pre></div>
@@ -832,6 +1367,120 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29"></a><!-- doxytag: member="Module::OnCleanup" ref="OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29" args="(int target_type, void *item)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnCleanup </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>item</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 before your module is unloaded to clean up Extensibles.
+<p>
+This method is called once for every user and channel on the network, so that when your module unloads it may clear up any remaining data in the form of Extensibles added using <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible::Extend()</a>. If the target_type variable is TYPE_USER, then void* item refers to a userrec*, otherwise it refers to a chanrec*. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of item being cleaned </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>A pointer to the item's class</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00388"></a>00388 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29"></a><!-- doxytag: member="Module::OnDecodeMetaData" ref="OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29" args="(int target_type, void *target, std::string extname, std::string extdata)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDecodeMetaData </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>target</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extname</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extdata</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Allows module data, sent via ProtoSendMetaData, to be decoded again by a receiving module.
+<p>
+Please see src/modules/m_swhois.cpp for a working example of how to use this method call. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of item to decode data for, TYPE_USER or TYPE_CHANNEL </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>The chanrec* or userrec* that data should be added to </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>extname</em>&nbsp;</td><td>The extension name which is being sent </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>extdata</em>&nbsp;</td><td>The extension data, encoded at the other end by an identical module through OnSyncChannelMetaData or OnSyncUserMetaData</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00373"></a>00373 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29"></a><!-- doxytag: member="Module::OnDelBan" ref="OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29" args="(userrec *source, chanrec *channel, std::string banmask)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -874,7 +1523,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00338">338</a>
<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.
+Return a non-zero value to 'eat' the mode change and prevent the ban from being removed. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user deleting the ban </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel the ban is being deleted from </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>banmask</em>&nbsp;</td><td>The ban mask being deleted </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to block the unban, 0 to continue as normal</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00357"></a>00357 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -882,6 +1539,256 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnDelELine" ref="OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29" args="(userrec *source, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDelELine </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 eline is deleted.
+<p>
+This method is triggered after the line is deleted. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user removing the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to delete</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00387"></a>00387 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnDelGLine" ref="OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29" args="(userrec *source, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDelGLine </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 gline is deleted.
+<p>
+This method is triggered after the line is deleted. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user removing the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to delete</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00383"></a>00383 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29"></a><!-- doxytag: member="Module::OnDelKLine" ref="OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29" args="(userrec *source, std::string hostmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDelKLine </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>hostmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 kline is deleted.
+<p>
+This method is triggered after the line is deleted. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user removing the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to delete</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00385"></a>00385 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29"></a><!-- doxytag: member="Module::OnDelQLine" ref="OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29" args="(userrec *source, std::string nickmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDelQLine </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nickmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 qline is deleted.
+<p>
+This method is triggered after the line is deleted. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user removing the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to delete</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00386"></a>00386 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29"></a><!-- doxytag: member="Module::OnDelZLine" ref="OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29" args="(userrec *source, std::string ipmask)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnDelZLine </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>ipmask</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 zline is deleted.
+<p>
+This method is triggered after the line is deleted. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user removing the line </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>hostmask</em>&nbsp;</td><td>The hostmask to delete</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00384"></a>00384 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnEvent_28Event_20_2Aevent_29"></a><!-- doxytag: member="Module::OnEvent" ref="OnEvent_28Event_20_2Aevent_29" args="(Event *event)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -909,7 +1816,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00357">357</a>
<p>
Called whenever an <a class="el" href="classEvent.html">Event</a> class is sent to all module by another module.
<p>
-Please see the documentation of <a class="el" href="classEvent.html#Send_28_29">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#GetEventID_28_29">Event::GetEventID()</a> before doing anything to the event data, and you should *not* change the event data in any way!
+Please see the documentation of <a class="el" href="classEvent.html#Send_28_29">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#GetEventID_28_29">Event::GetEventID()</a> before doing anything to the event data, and you should *not* change the event data in any way! <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>The <a class="el" href="classEvent.html">Event</a> class being received</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00351"></a>00351 { <span class="keywordflow">return</span>; };
</pre></div>
@@ -977,9 +1889,69 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00351">351</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#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user issuing the mode </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>The user or channel having the mode set on them </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>modechar</em>&nbsp;</td><td>The mode character being set </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>The type of mode (user or channel) being set </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>mode_on</em>&nbsp;</td><td>True if the mode is being set, false if it is being unset </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>params</em>&nbsp;</td><td>A list of parameters for any channel mode (currently supports either 0 or 1 parameters)</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00318"></a>00318 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00319">319</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00319"></a>00319 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29"></a><!-- doxytag: member="Module::OnGetServerDescription" ref="OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29" args="(std::string servername, std::string &amp;description)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnGetServerDescription </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>servername</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>description</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Allows modules to alter or create server descriptions Whenever a module requires a server description, for example for display in WHOIS, this function is called in all modules.
+<p>
+You may change or define the description given in <a class="el" href="namespaceirc.html#string">std::string</a> &amp;description. If you do, this description will be shown in the WHOIS fields. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>servername</em>&nbsp;</td><td>The servername being searched for </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>description</em>&nbsp;</td><td>Alterable server description for this server</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00367"></a>00367 { };
</pre></div>
<p>
</td>
@@ -1012,7 +1984,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00318">318</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is connecting</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00355"></a>00355 { };
</pre></div>
@@ -1047,7 +2024,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00355">355</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is opering</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00354"></a>00354 { };
</pre></div>
@@ -1083,9 +2065,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00354">354</a>
Called whenever a user types /INFO.
<p>
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
+&lt;nick&gt; :information here<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user issuing /INFO</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00321"></a>00321 { };
+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>.<div class="fragment"><pre class="fragment"><a name="l00323"></a>00323 { };
</pre></div>
<p>
</td>
@@ -1133,7 +2121,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00321">321</a>
<p>
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!
+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 or remote users. If you do so youre risking race conditions, desyncs and worse! <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user sending the KILL </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The user being killed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The kill reason </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kill, 0 to allow</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00332"></a>00332 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1177,7 +2173,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00332">332</a>
<p>
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).
+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). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>mod</em>&nbsp;</td><td>A pointer to the new module </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The new module's filename</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00333"></a>00333 { };
</pre></div>
@@ -1227,7 +2229,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00333">333</a>
<p>
Called whenever a topic is changed by a local user.
<p>
-Return 1 to deny the topic change, or 0 to allow it.
+Return 1 to deny the topic change, or 0 to allow it. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user changing the topic </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channels who's topic is being changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>topic</em>&nbsp;</td><td>The actual topic text </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>1</em>&nbsp;</td><td>to block the topic change, 0 to allow</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00350"></a>00350 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1235,18 +2245,39 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a>
</td>
</tr>
</table>
-<a class="anchor" name="OnOper_28userrec_20_2Auser_29"></a><!-- doxytag: member="Module::OnOper" ref="OnOper_28userrec_20_2Auser_29" args="(userrec *user)" --><p>
+<a class="anchor" name="OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><!-- doxytag: member="Module::OnMode" ref="OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29" args="(userrec *user, void *dest, int target_type, std::string text)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">void Module::OnOper </td>
+ <td class="md" nowrap valign="top">void Module::OnMode </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><code> [virtual]</code></td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>text</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
@@ -1260,9 +2291,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00350">350</a>
<td>
<p>
-Called whenever a user opers locally.
+Called after every MODE command sent from a user The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL.
<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.
+The text variable contains the remainder of the mode string after the target, e.g. "+wsi" or "+ooo nick1 nick2 nick3". <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the MODEs </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The target of the modes (userrec* or chanrec*) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of target (TYPE_USER or TYPE_CHANNEL) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The actual modes and their parameters if any</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00320"></a>00320 { };
</pre></div>
@@ -1270,22 +2309,22 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a>
</td>
</tr>
</table>
-<a class="anchor" name="OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29"></a><!-- doxytag: member="Module::OnOperCompare" ref="OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29" args="(std::string password, std::string input)" --><p>
+<a class="anchor" name="OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29"></a><!-- doxytag: member="Module::OnOper" ref="OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29" args="(userrec *user, std::string opertype)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">int Module::OnOperCompare </td>
+ <td class="md" nowrap valign="top">void Module::OnOper </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
- <td class="mdname" nowrap> <em>password</em>, </td>
+ <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
- <td class="mdname" nowrap> <em>input</em></td>
+ <td class="mdname" nowrap> <em>opertype</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -1304,32 +2343,38 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00320">320</a>
<td>
<p>
-Called whenever an oper password is to be compared to what a user has input.
+Called whenever a user opers locally.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is opering up </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>opertype</em>&nbsp;</td><td>The opers type name</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00353"></a>00353 { <span class="keywordflow">return</span> 0; };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00322"></a>00322 { };
</pre></div>
<p>
</td>
</tr>
</table>
-<a class="anchor" name="OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29"></a><!-- doxytag: member="Module::OnPacketReceive" ref="OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29" args="(std::string &amp;data, std::string serv)" --><p>
+<a class="anchor" name="OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29"></a><!-- doxytag: member="Module::OnOperCompare" ref="OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29" args="(std::string password, std::string input)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">void Module::OnPacketReceive </td>
+ <td class="md" nowrap valign="top">int Module::OnOperCompare </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> &amp;&nbsp;</td>
- <td class="mdname" nowrap> <em>data</em>, </td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>password</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
- <td class="mdname" nowrap> <em>serv</em></td>
+ <td class="mdname" nowrap> <em>input</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -1348,32 +2393,45 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00353">353</a>
<td>
<p>
-Called after a packet is received from another irc server.
+Called whenever an oper password is to be compared to what a user has input.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>password</em>&nbsp;</td><td>The oper's password </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>input</em>&nbsp;</td><td>The password entered </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to match the passwords, 0 to do nothing</dd></dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00314"></a>00314 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00353"></a>00353 { <span class="keywordflow">return</span> 0; };
</pre></div>
<p>
</td>
</tr>
</table>
-<a class="anchor" name="OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29"></a><!-- doxytag: member="Module::OnPacketTransmit" ref="OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29" args="(std::string &amp;data, std::string serv)" --><p>
+<a class="anchor" name="OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29"></a><!-- doxytag: member="Module::OnPostLocalTopicChange" ref="OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29" args="(userrec *user, chanrec *chan, std::string topic)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">void Module::OnPacketTransmit </td>
+ <td class="md" nowrap valign="top">void Module::OnPostLocalTopicChange </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a> &amp;&nbsp;</td>
- <td class="mdname" nowrap> <em>data</em>, </td>
+ <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>chan</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
- <td class="mdname" nowrap> <em>serv</em></td>
+ <td class="mdname" nowrap> <em>topic</em></td>
</tr>
<tr>
<td class="md"></td>
@@ -1392,11 +2450,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00314">314</a>
<td>
<p>
-Called before a packet is transmitted across the irc network between two irc servers.
+Called whenever a local topic has been changed.
<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.
+To block topic changes you must use OnLocalTopicChange instead. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user changing the topic </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channels who's topic is being changed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>topic</em>&nbsp;</td><td>The actual topic text</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00313"></a>00313 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00366"></a>00366 { };
</pre></div>
<p>
</td>
@@ -1450,7 +2515,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00313">313</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#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">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#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">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!) <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>command</em>&nbsp;</td><td>The command being executed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>parameters</em>&nbsp;</td><td>An array of array of characters containing the parameters for the command </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>pcnt</em>&nbsp;</td><td>The nuimber of parameters passed to the command </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>the user issuing the command </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to block the command, 0 to allow</dd></dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00337"></a>00337 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1518,7 +2592,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00337">337</a>
<p>
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!
+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! <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is sending the mode </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel the mode is being sent to </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The mode character being set </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>param</em>&nbsp;</td><td>The parameter for the mode or an empty string </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>adding</em>&nbsp;</td><td>true of the mode is being added, false if it is being removed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>pcnt</em>&nbsp;</td><td>The parameter count for the mode (0 or 1) </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the mode, 0 to allow</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00342"></a>00342 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1568,7 +2653,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00342">342</a>
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>fd</em>&nbsp;</td><td>The file descriptor returned from accept() </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>ip</em>&nbsp;</td><td>The IP address of the connecting user </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>localport</em>&nbsp;</td><td>The local port number the user connected to</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00358"></a>00358 { };
</pre></div>
@@ -1603,7 +2695,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00358">358</a>
<p>
Called immediately before any socket is closed.
<p>
-When this event is called, shutdown() has not yet been called on the socket.
+When this event is called, shutdown() has not yet been called on the socket. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>fd</em>&nbsp;</td><td>The file descriptor of the socket prior to close()</td></tr>
+ </table>
+</dl>
+
<p>
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>.<div class="fragment"><pre class="fragment"><a name="l00360"></a>00360 { };
</pre></div>
@@ -1659,7 +2756,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00360">360</a>
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>fd</em>&nbsp;</td><td>The file descriptor of the socket </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>A char* buffer being read to </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The size of the buffer </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>readresult</em>&nbsp;</td><td>The amount of characters read, or 0 </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>nonzero if the event was handled, in which case readresult must be valid on exit</dd></dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00361"></a>00361 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1709,7 +2815,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00361">361</a>
<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().
+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(). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>fd</em>&nbsp;</td><td>The file descriptor of the socket </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>A char* buffer being written </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>Number</em>&nbsp;</td><td>of characters to write </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>Number of characters actually written or 0 if you didn't handle the operation</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00359"></a>00359 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -1717,7 +2831,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a>
</td>
</tr>
</table>
-<a class="anchor" name="OnRehash_28_29"></a><!-- doxytag: member="Module::OnRehash" ref="OnRehash_28_29" args="()" --><p>
+<a class="anchor" name="OnRehash_28std_3A_3Astring_20parameter_29"></a><!-- doxytag: member="Module::OnRehash" ref="OnRehash_28std_3A_3Astring_20parameter_29" args="(std::string parameter)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -1725,7 +2839,8 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a>
<tr>
<td class="md" nowrap valign="top">void Module::OnRehash </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>parameter</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
@@ -1743,9 +2858,71 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00359">359</a>
<p>
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.
+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. If a parameter is given, the core has done nothing. The module receiving the event can decide if this parameter has any relevence to it. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>parameter</em>&nbsp;</td><td>The (optional) parameter given to REHASH from the user.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00316"></a>00316 { }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29"></a><!-- doxytag: member="Module::OnRemoteKill" ref="OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29" args="(userrec *source, userrec *dest, std::string reason)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnRemoteKill </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>reason</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 when an oper wants to disconnect a remote user via KILL.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user sending the KILL </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The user being killed </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The kill reason</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00315"></a>00315 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00364"></a>00364 { };
</pre></div>
<p>
</td>
@@ -1778,7 +2955,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00315">315</a>
<p>
Called whenever a <a class="el" href="classRequest.html">Request</a> class is sent to your module by another module.
<p>
-Please see the documentation of <a class="el" href="classRequest.html#Send_28_29">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).
+Please see the documentation of <a class="el" href="classRequest.html#Send_28_29">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). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>request</em>&nbsp;</td><td>The <a class="el" href="classRequest.html">Request</a> class being received</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00352">352</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
@@ -1830,7 +3012,14 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00269">Request::Send
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user requesting the list </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel the list is for </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The listmode which a list is being requested on</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00336"></a>00336 { };
</pre></div>
@@ -1880,9 +3069,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00336">336</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>raw</em>&nbsp;</td><td>The raw string in RFC1459 format </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>inbound</em>&nbsp;</td><td>A flag to indicate wether the data is coming into the daemon or going out to the user </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user record sending the text, when inbound == true.</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00316"></a>00316 { }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00317"></a>00317 { }
</pre></div>
<p>
</td>
@@ -1915,6 +3111,11 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00316">316</a>
<p>
Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core.
<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>symbol</em>&nbsp;</td><td>the symbol provided to /STATS</td></tr>
+ </table>
+</dl>
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00347"></a>00347 { };
@@ -1923,6 +3124,230 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29"></a><!-- doxytag: member="Module::OnSyncChannel" ref="OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29" args="(chanrec *chan, Module *proto, void *opaque)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnSyncChannel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>chan</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classModule.html">Module</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Allows modules to synchronize data which relates to channels during a netburst.
+<p>
+When this function is called, it will be called from the module which implements the linking protocol. This currently is m_spanningtree.so. A pointer to this module is given in Module* proto, so that you may call its methods such as ProtoSendMode (see below). This function will be called for every user visible on your side of the burst, allowing you to for example set modes, etc. Do not use this call to synchronize data which you have stored using class <a class="el" href="classExtensible.html">Extensible</a> -- There is a specialist function OnSyncUserMetaData and OnSyncChannelMetaData for this!<p>
+For a good example of how to use this function, please see src/modules/m_chanprotect.cpp<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel being syncronized </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>proto</em>&nbsp;</td><td>A pointer to the module handling network protocol </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>opaque</em>&nbsp;</td><td>An opaque pointer set by the protocol module, should not be modified!</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00369"></a>00369 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29"></a><!-- doxytag: member="Module::OnSyncChannelMetaData" ref="OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29" args="(chanrec *chan, Module *proto, void *opaque, std::string extname)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnSyncChannelMetaData </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>chan</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classModule.html">Module</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extname</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00371"></a>00371 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29"></a><!-- doxytag: member="Module::OnSyncUser" ref="OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29" args="(userrec *user, Module *proto, void *opaque)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnSyncUser </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classModule.html">Module</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Allows modules to synchronize data which relates to users during a netburst.
+<p>
+When this function is called, it will be called from the module which implements the linking protocol. This currently is m_spanningtree.so. A pointer to this module is given in Module* proto, so that you may call its methods such as ProtoSendMode (see below). This function will be called for every user visible on your side of the burst, allowing you to for example set modes, etc. Do not use this call to synchronize data which you have stored using class <a class="el" href="classExtensible.html">Extensible</a> -- There is a specialist function OnSyncUserMetaData and OnSyncChannelMetaData for this! <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user being syncronized </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>proto</em>&nbsp;</td><td>A pointer to the module handling network protocol </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>opaque</em>&nbsp;</td><td>An opaque pointer set by the protocol module, should not be modified!</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00368"></a>00368 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29"></a><!-- doxytag: member="Module::OnSyncUserMetaData" ref="OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29" args="(userrec *user, Module *proto, void *opaque, std::string extname)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnSyncUserMetaData </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classModule.html">Module</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extname</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00372"></a>00372 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29"></a><!-- doxytag: member="Module::OnUnloadModule" ref="OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29" args="(Module *mod, std::string name)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -1959,7 +3384,13 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00347">347</a>
<p>
Called whenever a module is unloaded.
<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).
+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). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>mod</em>&nbsp;</td><td>Pointer to the module being unloaded (still valid) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The filename of the module being unloaded</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00334"></a>00334 { };
</pre></div>
@@ -1994,9 +3425,14 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00334">334</a>
<p>
Called when a user connects.
<p>
-The details of the connecting user are available to you in the parameter userrec *user
+The details of the connecting user are available to you in the parameter userrec *user <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is connecting</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00308"></a>00308 { }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00309"></a>00309 { }
</pre></div>
<p>
</td>
@@ -2029,9 +3465,71 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00308">308</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is disconnecting</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 { }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00311"></a>00311 { }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29"></a><!-- doxytag: member="Module::OnUserInvite" ref="OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29" args="(userrec *source, userrec *dest, chanrec *channel)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnUserInvite </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 class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></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 class="md"></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 after a user has been successfully invited to a channel.
+<p>
+You cannot prevent the invite from occuring using this function, to do that, use OnUserPreInvite instead. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user who is issuing the INVITE </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The user being invited </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel the user is being invited to</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00365"></a>00365 { };
</pre></div>
<p>
</td>
@@ -2073,9 +3571,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a>
<p>
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
+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 <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is joining </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel being joined</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00311"></a>00311 { }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00312"></a>00312 { }
</pre></div>
<p>
</td>
@@ -2129,7 +3633,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00311">311</a>
<p>
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#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserPreKick</a> instead of this method.
+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#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module::OnUserPreKick</a> instead of this method. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user issuing the kick </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user being kicked </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel the user is being kicked from </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The kick reason</td></tr>
+ </table>
+</dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00341"></a>00341 { };
</pre></div>
@@ -2137,6 +3649,134 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a>
</td>
</tr>
</table>
+<a class="anchor" name="OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><!-- doxytag: member="Module::OnUserMessage" ref="OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29" args="(userrec *user, void *dest, int target_type, std::string text)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnUserMessage </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>text</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 after any PRIVMSG sent from a user.
+<p>
+The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The target of the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of target (TYPE_USER or TYPE_CHANNEL) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>the text being sent by the user</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00362"></a>00362 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29"></a><!-- doxytag: member="Module::OnUserNotice" ref="OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29" args="(userrec *user, void *dest, int target_type, std::string text)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::OnUserNotice </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>text</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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 after any NOTICE sent from a user.
+<p>
+The dest variable contains a userrec* if target_type is TYPE_USER and a chanrec* if target_type is TYPE_CHANNEL. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The target of the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of target (TYPE_USER or TYPE_CHANNEL) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>the text being sent by the user</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00363"></a>00363 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29"></a><!-- doxytag: member="Module::OnUserPart" ref="OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29" args="(userrec *user, chanrec *channel)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -2173,9 +3813,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00341">341</a>
<p>
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
+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 <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is parting </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel being parted</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00312"></a>00312 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00313"></a>00313 { }
</pre></div>
<p>
</td>
@@ -2217,9 +3863,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00312">312</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user changing their nick </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>oldnick</em>&nbsp;</td><td>The old nickname of the user before the nickchange</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00327"></a>00327 { };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00329"></a>00329 { };
</pre></div>
<p>
</td>
@@ -2267,9 +3919,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a>
<p>
Called whenever a user is about to invite another user into a channel, before any processing is done.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user who is issuing the INVITE </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The user being invited </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>channel</em>&nbsp;</td><td>The channel the user is being invited to </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the invite, 0 to allow</dd></dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00323">323</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00323"></a>00323 { <span class="keywordflow">return</span> 0; };
+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>.<div class="fragment"><pre class="fragment"><a name="l00325"></a>00325 { <span class="keywordflow">return</span> 0; };
</pre></div>
<p>
</td>
@@ -2319,9 +3979,16 @@ Called whenever a user is about to join a channel, before any processing is done
<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. This is useful for modules which may want to mimic +b, +k, +l etc. Returning -1 from this function forces the join to be allowed, bypassing restrictions such as banlists, invite, keys etc.<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user joining the channel </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>cname</em>&nbsp;</td><td>The channel name being joined </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 To prevent the join, 0 to allow it.</dd></dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00317"></a>00317 { <span class="keywordflow">return</span> 0; }
+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>.<div class="fragment"><pre class="fragment"><a name="l00318"></a>00318 { <span class="keywordflow">return</span> 0; }
</pre></div>
<p>
</td>
@@ -2375,7 +4042,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00317">317</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user issuing the kick </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user being kicked </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>chan</em>&nbsp;</td><td>The channel the user is being kicked from </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The kick reason </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to prevent the kick, 0 to allow it</dd></dl>
+
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00340"></a>00340 { <span class="keywordflow">return</span> 0; };
</pre></div>
@@ -2431,9 +4107,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00340">340</a>
<p>
Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The target of the message (chanrec* or userrec*) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of target (TYPE_USER or TYPE_CHANNEL) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Changeable text being sent by the user </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00324"></a>00324 { <span class="keywordflow">return</span> 0; };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00326"></a>00326 { <span class="keywordflow">return</span> 0; };
</pre></div>
<p>
</td>
@@ -2475,9 +4160,16 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The username changing their nick </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>newnick</em>&nbsp;</td><td>Their new nickname </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the change, 0 to allow</dd></dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00326"></a>00326 { <span class="keywordflow">return</span> 0; };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00328">328</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00328"></a>00328 { <span class="keywordflow">return</span> 0; };
</pre></div>
<p>
</td>
@@ -2531,15 +4223,24 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00326">326</a>
<p>
Called whenever a user is about to NOTICE A user or a channel, before any processing is done.
<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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the message </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The target of the message (chanrec* or userrec*) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of target (TYPE_USER or TYPE_CHANNEL) </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>Changeable text being sent by the user </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>1 to deny the NOTICE, 0 to allow it</dd></dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00325"></a>00325 { <span class="keywordflow">return</span> 0; };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00327">327</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00327"></a>00327 { <span class="keywordflow">return</span> 0; };
</pre></div>
<p>
</td>
</tr>
</table>
-<a class="anchor" name="OnUserQuit_28userrec_20_2Auser_29"></a><!-- doxytag: member="Module::OnUserQuit" ref="OnUserQuit_28userrec_20_2Auser_29" args="(userrec *user)" --><p>
+<a class="anchor" name="OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29"></a><!-- doxytag: member="Module::OnUserQuit" ref="OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29" args="(userrec *user, std::string message)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -2548,9 +4249,18 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a>
<td class="md" nowrap valign="top">void Module::OnUserQuit </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><code> [virtual]</code></td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>message</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
@@ -2566,9 +4276,15 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00325">325</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user who is quitting </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The user's quit message</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00309"></a>00309 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00310"></a>00310 { }
</pre></div>
<p>
</td>
@@ -2601,7 +4317,12 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00309">309</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user registering</td></tr>
+ </table>
+</dl>
+
<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>.<div class="fragment"><pre class="fragment"><a name="l00339"></a>00339 { };
</pre></div>
@@ -2609,18 +4330,27 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a>
</td>
</tr>
</table>
-<a class="anchor" name="OnUserSync_28userrec_20_2Auser_29"></a><!-- doxytag: member="Module::OnUserSync" ref="OnUserSync_28userrec_20_2Auser_29" args="(userrec *user)" --><p>
+<a class="anchor" name="OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29"></a><!-- doxytag: member="Module::OnWallops" ref="OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29" args="(userrec *user, std::string text)" --><p>
<table class="mdTable" 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#string_5Flist">string_list</a> Module::OnUserSync </td>
+ <td class="md" nowrap valign="top">void Module::OnWallops </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><code> [virtual]</code></td>
+ <td class="mdname" nowrap> <em>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>text</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
@@ -2634,11 +4364,17 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00339">339</a>
<td>
<p>
-Called during a netburst to sync user data.
+Called after every WALLOPS command.
<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.
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>user</em>&nbsp;</td><td>The user sending the WALLOPS </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The content of the WALLOPS message</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00329"></a>00329 { <a class="code" href="modules_8h.html#string_5Flist">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+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>.<div class="fragment"><pre class="fragment"><a name="l00375"></a>00375 { };
</pre></div>
<p>
</td>
@@ -2680,9 +4416,153 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00329">329</a>
<p>
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.
+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. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The user issuing the WHOIS command </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>dest</em>&nbsp;</td><td>The user who is being WHOISed</td></tr>
+ </table>
+</dl>
+
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00322"></a>00322 { };
+Definition at line <a class="el" href="modules_8cpp-source.html#l00324">324</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00324"></a>00324 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29"></a><!-- doxytag: member="Module::ProtoSendMetaData" ref="ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29" args="(void *opaque, int target_type, void *target, std::string extname, std::string extdata)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::ProtoSendMetaData </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>target</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extname</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>extdata</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Implemented by modules which provide the ability to link servers.
+<p>
+These modules will implement this method, which allows metadata (extra data added to user and channel records using class <a class="el" href="classExtensible.html">Extensible</a>, <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible::Extend</a>, etc) to be sent to other servers on a netburst and decoded at the other end by the same module on a different server.<p>
+More documentation to follow soon. Please see src/modules/m_swhois.cpp for example of how to use this function. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>opaque</em>&nbsp;</td><td>An opaque pointer set by the protocol module, should not be modified! </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of item to decode data for, TYPE_USER or TYPE_CHANNEL </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>The chanrec* or userrec* that metadata should be sent for </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>extname</em>&nbsp;</td><td>The extension name to send metadata for </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>extdata</em>&nbsp;</td><td>Encoded data for this extension name, which will be encoded at the oppsite end by an identical module using OnDecodeMetaData</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00374"></a>00374 { };
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29"></a><!-- doxytag: member="Module::ProtoSendMode" ref="ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29" args="(void *opaque, int target_type, void *target, std::string modeline)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Module::ProtoSendMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>opaque</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>target_type</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>target</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>modeline</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+Implemented by modules which provide the ability to link servers.
+<p>
+These modules will implement this method, which allows transparent sending of servermodes down the network link as a broadcast, without a module calling it having to know the format of the MODE command before the actual mode string.<p>
+More documentation to follow soon. Please see src/modules/m_chanprotect.cpp for examples of how to use this function.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>opaque</em>&nbsp;</td><td>An opaque pointer set by the protocol module, should not be modified! </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target_type</em>&nbsp;</td><td>The type of item to decode data for, TYPE_USER or TYPE_CHANNEL </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>The chanrec* or userrec* that modes should be sent for </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>modeline</em>&nbsp;</td><td>The modes and parameters to be sent</td></tr>
+ </table>
+</dl>
+
+<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>.<div class="fragment"><pre class="fragment"><a name="l00370"></a>00370 { };
</pre></div>
<p>
</td>
@@ -2690,7 +4570,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00322">322</a>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModuleFactory-members.html b/docs/module-doc/classModuleFactory-members.html
index b73bcb781..3fe0642ed 100644
--- a/docs/module-doc/classModuleFactory-members.html
+++ b/docs/module-doc/classModuleFactory-members.html
@@ -8,11 +8,11 @@
<h1>ModuleFactory Member List</h1>This is the complete list of members for <a class="el" href="classModuleFactory.html">ModuleFactory</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classclassbase.html#age">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#classbase_28_29">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#CreateModule_28_29_3D_30">CreateModule</a>()=0</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [pure virtual]</code></td></tr>
+ <tr class="memlist"><td><a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">CreateModule</a>(Server *Me)=0</td><td><a class="el" href="classModuleFactory.html">ModuleFactory</a></td><td><code> [pure virtual]</code></td></tr>
<tr class="memlist"><td><a class="el" href="classModuleFactory.html#ModuleFactory_28_29">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#_7Eclassbase_28_29">~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#_7EModuleFactory_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModuleFactory.html b/docs/module-doc/classModuleFactory.html
index 7c1a7c248..a3dc0a079 100644
--- a/docs/module-doc/classModuleFactory.html
+++ b/docs/module-doc/classModuleFactory.html
@@ -25,9 +25,9 @@ Inheritance diagram for ModuleFactory:<p><center><img src="classModuleFactory__i
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classModuleFactory.html#_7EModuleFactory_28_29">~ModuleFactory</a> ()</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="classModuleFactory.html#CreateModule_28_29_3D_30">CreateModule</a> ()=0</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="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">CreateModule</a> (<a class="el" href="classServer.html">Server</a> *Me)=0</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new module. <a href="#CreateModule_28_29_3D_30"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new module. <a href="#CreateModule_28Server_20_2AMe_29_3D_30"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Instantiates classes inherited from <a class="el" href="classModule.html">Module</a> This class creates a class inherited from type <a class="el" href="classModule.html">Module</a>, using new.
@@ -36,7 +36,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#l01265">1265</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#l01654">1654</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ModuleFactory_28_29"></a><!-- doxytag: member="ModuleFactory::ModuleFactory" ref="ModuleFactory_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -63,7 +63,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01265">1265</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01268">1268</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l01268"></a>01268 { }
+Definition at line <a class="el" href="modules_8h-source.html#l01657">1657</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l01657"></a>01657 { }
</pre></div>
<p>
</td>
@@ -95,14 +95,14 @@ Definition at line <a class="el" href="modules_8h-source.html#l01268">1268</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01269">1269</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l01269"></a>01269 { }
+Definition at line <a class="el" href="modules_8h-source.html#l01658">1658</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l01658"></a>01658 { }
</pre></div>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
-<a class="anchor" name="CreateModule_28_29_3D_30"></a><!-- doxytag: member="ModuleFactory::CreateModule" ref="CreateModule_28_29_3D_30" args="()=0" --><p>
+<a class="anchor" name="CreateModule_28Server_20_2AMe_29_3D_30"></a><!-- doxytag: member="ModuleFactory::CreateModule" ref="CreateModule_28Server_20_2AMe_29_3D_30" args="(Server *Me)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -110,7 +110,8 @@ Definition at line <a class="el" href="modules_8h-source.html#l01269">1269</a> o
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classModule.html">Module</a>* ModuleFactory::CreateModule </td>
<td class="md" valign="top">(&nbsp;</td>
- <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" nowrap valign="top"><a class="el" href="classServer.html">Server</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>Me</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
@@ -133,7 +134,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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModuleMessage-members.html b/docs/module-doc/classModuleMessage-members.html
index b632b3a31..96103b242 100644
--- a/docs/module-doc/classModuleMessage-members.html
+++ b/docs/module-doc/classModuleMessage-members.html
@@ -11,7 +11,7 @@
<tr class="memlist"><td><a class="el" href="classModuleMessage.html#Send_28_29_3D_30">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classModuleMessage.html b/docs/module-doc/classModuleMessage.html
index 4c1211a7b..1b6c1eb90 100644
--- a/docs/module-doc/classModuleMessage.html
+++ b/docs/module-doc/classModuleMessage.html
@@ -34,7 +34,7 @@ The ModuleMessage class is the base class of <a class="el" href="classRequest.ht
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00142">142</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#l00143">143</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="_7EModuleMessage_28_29"></a><!-- doxytag: member="ModuleMessage::~ModuleMessage" ref="_7EModuleMessage_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -61,7 +61,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00142">142</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00148">148</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l00148"></a>00148 {};
+Definition at line <a class="el" href="modules_8h-source.html#l00149">149</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<div class="fragment"><pre class="fragment"><a name="l00149"></a>00149 {};
</pre></div>
<p>
</td>
@@ -101,7 +101,7 @@ Implemented in <a class="el" href="classRequest.html#Send_28_29">Request</a>, an
</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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classQLine-members.html b/docs/module-doc/classQLine-members.html
index e1497bcbe..67f8cba88 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classQLine.html b/docs/module-doc/classQLine.html
index 589abe351..6e7bb430e 100644
--- a/docs/module-doc/classQLine.html
+++ b/docs/module-doc/classQLine.html
@@ -92,7 +92,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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classRequest-members.html b/docs/module-doc/classRequest-members.html
index 05f160ddc..6eb061050 100644
--- a/docs/module-doc/classRequest-members.html
+++ b/docs/module-doc/classRequest-members.html
@@ -18,7 +18,7 @@
<tr class="memlist"><td><a class="el" href="classRequest.html#source">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#_7Eclassbase_28_29">~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#_7EModuleMessage_28_29">~ModuleMessage</a>()</td><td><a class="el" href="classModuleMessage.html">ModuleMessage</a></td><td><code> [inline, virtual]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classRequest.html b/docs/module-doc/classRequest.html
index a65615678..8eb92ac45 100644
--- a/docs/module-doc/classRequest.html
+++ b/docs/module-doc/classRequest.html
@@ -57,7 +57,7 @@ When this class is properly instantiated it may be sent to a module using the <a
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00156">156</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#l00157">157</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29"></a><!-- doxytag: member="Request::Request" ref="Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29" args="(char *anydata, Module *src, Module *dst)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -139,7 +139,7 @@ Fetch the Request data.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00254">254</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00161">data</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 {
+References <a class="el" href="modules_8h-source.html#l00162">data</a>.<div class="fragment"><pre class="fragment"><a name="l00255"></a>00255 {
<a name="l00256"></a>00256 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#data">data</a>;
<a name="l00257"></a>00257 }
</pre></div>
@@ -177,7 +177,7 @@ Fetch the request destination (should be 'this' in the receiving module).
<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>.
<p>
-References <a class="el" href="modules_8h-source.html#l00168">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00265"></a>00265 {
+References <a class="el" href="modules_8h-source.html#l00169">dest</a>.<div class="fragment"><pre class="fragment"><a name="l00265"></a>00265 {
<a name="l00266"></a>00266 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#dest">dest</a>;
<a name="l00267"></a>00267 }
</pre></div>
@@ -215,7 +215,7 @@ Fetch the request source.
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00259">259</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00165">source</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 {
+References <a class="el" href="modules_8h-source.html#l00166">source</a>.<div class="fragment"><pre class="fragment"><a name="l00260"></a>00260 {
<a name="l00261"></a>00261 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classRequest.html#source">source</a>;
<a name="l00262"></a>00262 }
</pre></div>
@@ -255,7 +255,7 @@ Implements <a class="el" href="classModuleMessage.html#Send_28_29_3D_30">ModuleM
<p>
Definition at line <a class="el" href="modules_8cpp-source.html#l00269">269</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00168">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00352">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00270"></a>00270 {
+References <a class="el" href="modules_8h-source.html#l00169">dest</a>, and <a class="el" href="modules_8cpp-source.html#l00352">Module::OnRequest()</a>.<div class="fragment"><pre class="fragment"><a name="l00270"></a>00270 {
<a name="l00271"></a>00271 <span class="keywordflow">if</span> (this-&gt;dest)
<a name="l00272"></a>00272 {
<a name="l00273"></a>00273 <span class="keywordflow">return</span> <a class="code" href="classRequest.html#dest">dest</a>-&gt;<a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<span class="keyword">this</span>);
@@ -295,7 +295,7 @@ This member holds a pointer to arbitary data set by the emitter of the message.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00161">161</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#l00162">162</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#l00254">GetData()</a>. </td>
</tr>
@@ -324,7 +324,7 @@ The single destination of the Request.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00168">168</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#l00169">169</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#l00264">GetDest()</a>, and <a class="el" href="modules_8cpp-source.html#l00269">Send()</a>. </td>
</tr>
@@ -353,14 +353,14 @@ This is a pointer to the sender of the message, which can be used to directly tr
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00165">165</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#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#l00259">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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:12 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classServer-members.html b/docs/module-doc/classServer-members.html
index f620cf802..1482d4be1 100644
--- a/docs/module-doc/classServer-members.html
+++ b/docs/module-doc/classServer-members.html
@@ -44,12 +44,14 @@
<tr class="memlist"><td><a class="el" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">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#IsUlined_28std_3A_3Astring_20server_29">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#IsValidMask_28std_3A_3Astring_20mask_29">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#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">IsValidModuleCommand</a>(std::string commandname, 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#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">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#Log_28int_20level_2C_20std_3A_3Astring_20s_29">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#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">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#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">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#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">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#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">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#RehashServer_28_29">RehashServer</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#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">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#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">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#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">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>
@@ -65,7 +67,7 @@
<tr class="memlist"><td><a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">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#_7Eclassbase_28_29">~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#_7EServer_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classServer.html b/docs/module-doc/classServer.html
index 8285fb2d6..f71644ac0 100644
--- a/docs/module-doc/classServer.html
+++ b/docs/module-doc/classServer.html
@@ -126,6 +126,8 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">CallCommandHandler</a> (<a class="el" href="namespaceirc.html#string">std::string</a> 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">Calls the handler for a command, either implemented by the core or by another module. <a href="#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><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#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">IsValidModuleCommand</a> (<a class="el" href="namespaceirc.html#string">std::string</a> commandname, int pcnt, <a class="el" href="classuserrec.html">userrec</a> *user)</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#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">ChangeHost</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="namespaceirc.html#string">std::string</a> host)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change displayed hostname of a user. <a href="#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29"></a><br></td></tr>
@@ -189,6 +191,8 @@ Inheritance diagram for Server:<p><center><img src="classServer__inherit__graph.
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">DelSocket</a> (<a class="el" href="classInspSocket.html">InspSocket</a> *sock)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a class derived from <a class="el" href="classInspSocket.html">InspSocket</a> from the server's socket engine. <a href="#DelSocket_28InspSocket_20_2Asock_29"></a><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#RehashServer_28_29">RehashServer</a> ()</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 +201,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#l00696">696</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#l01081">1081</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Server_28_29"></a><!-- doxytag: member="Server::Server" ref="Server_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -226,8 +230,8 @@ Default constructor.
<p>
Creates a Server object.
<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>.<div class="fragment"><pre class="fragment"><a name="l00368"></a>00368 {
-<a name="l00369"></a>00369 }
+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>.<div class="fragment"><pre class="fragment"><a name="l00395"></a>00395 {
+<a name="l00396"></a>00396 }
</pre></div>
<p>
</td>
@@ -261,8 +265,8 @@ Default destructor.
<p>
Destroys a Server object.
<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>.<div class="fragment"><pre class="fragment"><a name="l00372"></a>00372 {
-<a name="l00373"></a>00373 }
+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>.<div class="fragment"><pre class="fragment"><a name="l00399"></a>00399 {
+<a name="l00400"></a>00400 }
</pre></div>
<p>
</td>
@@ -327,11 +331,11 @@ 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#handle_5Fkill_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">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#l00457">457</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00495">495</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00458"></a>00458 {
-<a name="l00459"></a>00459 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source);
-<a name="l00460"></a>00460 }
+References <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand()</a>.<div class="fragment"><pre class="fragment"><a name="l00496"></a>00496 {
+<a name="l00497"></a>00497 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source);
+<a name="l00498"></a>00498 }
</pre></div>
<p>
</td>
@@ -387,11 +391,11 @@ 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#CalcDuration_28std_3A_3Astring_20duration_29">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#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#l00758">758</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00721"></a>00721 {
-<a name="l00722"></a>00722 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00723"></a>00723 }
+References <a class="el" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00759"></a>00759 {
+<a name="l00760"></a>00760 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00761"></a>00761 }
</pre></div>
<p>
</td>
@@ -431,14 +435,14 @@ 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#l00625">625</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00663">663</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00626"></a>00626 {
-<a name="l00627"></a>00627 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
-<a name="l00628"></a>00628 <span class="keywordflow">if</span> (res)
-<a name="l00629"></a>00629 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar);
-<a name="l00630"></a>00630 <span class="keywordflow">return</span> res;
-<a name="l00631"></a>00631 }
+References <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtendedMode()</a>, <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>, and <a class="el" href="modules_8h-source.html#l00031">MT_CHANNEL</a>.<div class="fragment"><pre class="fragment"><a name="l00664"></a>00664 {
+<a name="l00665"></a>00665 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
+<a name="l00666"></a>00666 <span class="keywordflow">if</span> (res)
+<a name="l00667"></a>00667 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar);
+<a name="l00668"></a>00668 <span class="keywordflow">return</span> res;
+<a name="l00669"></a>00669 }
</pre></div>
<p>
</td>
@@ -500,34 +504,34 @@ 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#l00597">597</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#l00221">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>.<div class="fragment"><pre class="fragment"><a name="l00598"></a>00598 {
-<a name="l00599"></a>00599 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'Z'</span>)) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
-<a name="l00600"></a>00600 {
-<a name="l00601"></a>00601 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>)
-<a name="l00602"></a>00602 {
-<a name="l00603"></a>00603 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
-<a name="l00604"></a>00604 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00605"></a>00605 }
-<a name="l00606"></a>00606 <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#MT_5FCLIENT">MT_CLIENT</a>))
-<a name="l00607"></a>00607 {
-<a name="l00608"></a>00608 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
-<a name="l00609"></a>00609 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00610"></a>00610 }
-<a name="l00611"></a>00611 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-<a name="l00612"></a>00612 {
-<a name="l00613"></a>00613 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
-<a name="l00614"></a>00614 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00615"></a>00615 }
-<a name="l00616"></a>00616 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
-<a name="l00617"></a>00617 }
-<a name="l00618"></a>00618 <span class="keywordflow">else</span>
-<a name="l00619"></a>00619 {
-<a name="l00620"></a>00620 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
-<a name="l00621"></a>00621 }
-<a name="l00622"></a>00622 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00623"></a>00623 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00635">635</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#l00221">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>.<div class="fragment"><pre class="fragment"><a name="l00636"></a>00636 {
+<a name="l00637"></a>00637 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'Z'</span>)) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
+<a name="l00638"></a>00638 {
+<a name="l00639"></a>00639 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>)
+<a name="l00640"></a>00640 {
+<a name="l00641"></a>00641 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
+<a name="l00642"></a>00642 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00643"></a>00643 }
+<a name="l00644"></a>00644 <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#MT_5FCLIENT">MT_CLIENT</a>))
+<a name="l00645"></a>00645 {
+<a name="l00646"></a>00646 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
+<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00648"></a>00648 }
+<a name="l00649"></a>00649 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+<a name="l00650"></a>00650 {
+<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
+<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00653"></a>00653 }
+<a name="l00654"></a>00654 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
+<a name="l00655"></a>00655 }
+<a name="l00656"></a>00656 <span class="keywordflow">else</span>
+<a name="l00657"></a>00657 {
+<a name="l00658"></a>00658 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+<a name="l00659"></a>00659 }
+<a name="l00660"></a>00660 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00661"></a>00661 }
</pre></div>
<p>
</td>
@@ -583,11 +587,11 @@ Adds a G-line The G-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00738">738</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00701"></a>00701 {
-<a name="l00702"></a>00702 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00703"></a>00703 }
+References <a class="el" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00739"></a>00739 {
+<a name="l00740"></a>00740 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00741"></a>00741 }
</pre></div>
<p>
</td>
@@ -643,11 +647,11 @@ 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#CalcDuration_28std_3A_3Astring_20duration_29">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#l00753">753</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00716"></a>00716 {
-<a name="l00717"></a>00717 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00718"></a>00718 }
+References <a class="el" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00754"></a>00754 {
+<a name="l00755"></a>00755 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00756"></a>00756 }
</pre></div>
<p>
</td>
@@ -703,11 +707,11 @@ Adds a Q-line The Q-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00743">743</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00706"></a>00706 {
-<a name="l00707"></a>00707 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
-<a name="l00708"></a>00708 }
+References <a class="el" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00744"></a>00744 {
+<a name="l00745"></a>00745 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), nickname.c_str());
+<a name="l00746"></a>00746 }
</pre></div>
<p>
</td>
@@ -742,11 +746,11 @@ Adds a class derived from <a class="el" href="classInspSocket.html">InspSocket</
<p>
<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#l00402">402</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00376"></a>00376 {
-<a name="l00377"></a>00377 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock);
-<a name="l00378"></a>00378 }
+References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00403"></a>00403 {
+<a name="l00404"></a>00404 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock);
+<a name="l00405"></a>00405 }
</pre></div>
<p>
</td>
@@ -802,11 +806,11 @@ Adds a Z-line The Z-line is propogated to all of the servers in the mesh and enf
<p>
The duration must be in seconds, however you can use the <a class="el" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">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#l00748">748</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00711"></a>00711 {
-<a name="l00712"></a>00712 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
-<a name="l00713"></a>00713 }
+References <a class="el" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00749"></a>00749 {
+<a name="l00750"></a>00750 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(<a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, source.c_str(), reason.c_str(), ipaddr.c_str());
+<a name="l00751"></a>00751 }
</pre></div>
<p>
</td>
@@ -841,11 +845,11 @@ 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#l00750">750</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00788">788</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00751"></a>00751 {
-<a name="l00752"></a>00752 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str());
-<a name="l00753"></a>00753 }
+References <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration()</a>.<div class="fragment"><pre class="fragment"><a name="l00789"></a>00789 {
+<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str());
+<a name="l00791"></a>00791 }
</pre></div>
<p>
</td>
@@ -902,9 +906,9 @@ Calls the handler for a command, either implemented by the core or by another mo
You can use this function to trigger other commands in the ircd, such as PRIVMSG, JOIN, KICK etc, or even as a method of callback. By defining command names that are untypeable for users on irc (e.g. those which contain a or <br>
) you may use them as callback identifiers. The first parameter to this method is the name of the command handler you wish to call, e.g. PRIVMSG. This will be a command handler previously registered by the core or wih <a class="el" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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#l00447">447</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00448"></a>00448 {
-<a name="l00449"></a>00449 call_handler(commandname.c_str(),parameters,pcnt,user);
-<a name="l00450"></a>00450 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00480">480</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00481"></a>00481 {
+<a name="l00482"></a>00482 call_handler(commandname.c_str(),parameters,pcnt,user);
+<a name="l00483"></a>00483 }
</pre></div>
<p>
</td>
@@ -948,11 +952,11 @@ 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#l00540">540</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00578">578</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00541"></a>00541 {
-<a name="l00542"></a>00542 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str());
-<a name="l00543"></a>00543 }
+References <a class="el" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName()</a>.<div class="fragment"><pre class="fragment"><a name="l00579"></a>00579 {
+<a name="l00580"></a>00580 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str());
+<a name="l00581"></a>00581 }
</pre></div>
<p>
</td>
@@ -996,11 +1000,11 @@ 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#l00535">535</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00573">573</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00536"></a>00536 {
-<a name="l00537"></a>00537 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str());
-<a name="l00538"></a>00538 }
+References <a class="el" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost()</a>.<div class="fragment"><pre class="fragment"><a name="l00574"></a>00574 {
+<a name="l00575"></a>00575 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str());
+<a name="l00576"></a>00576 }
</pre></div>
<p>
</td>
@@ -1044,9 +1048,9 @@ 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#l00432">432</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00433"></a>00433 {
-<a name="l00434"></a>00434 force_nickchange(user,nickname.c_str());
-<a name="l00435"></a>00435 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00465">465</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00466"></a>00466 {
+<a name="l00467"></a>00467 force_nickchange(user,nickname.c_str());
+<a name="l00468"></a>00468 }
</pre></div>
<p>
</td>
@@ -1090,11 +1094,11 @@ 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#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#l00603">603</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00566"></a>00566 {
-<a name="l00567"></a>00567 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan);
-<a name="l00568"></a>00568 }
+References <a class="el" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode()</a>.<div class="fragment"><pre class="fragment"><a name="l00604"></a>00604 {
+<a name="l00605"></a>00605 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan);
+<a name="l00606"></a>00606 }
</pre></div>
<p>
</td>
@@ -1138,11 +1142,11 @@ 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#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a> method.
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00513">513</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00551">551</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00514"></a>00514 {
-<a name="l00515"></a>00515 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0);
-<a name="l00516"></a>00516 }
+References <a class="el" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels()</a>.<div class="fragment"><pre class="fragment"><a name="l00552"></a>00552 {
+<a name="l00553"></a>00553 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0);
+<a name="l00554"></a>00554 }
</pre></div>
<p>
</td>
@@ -1177,9 +1181,9 @@ 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#l00633">633</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00634"></a>00634 {
-<a name="l00635"></a>00635 <span class="keywordflow">return</span> usercount(c);
-<a name="l00636"></a>00636 }
+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>.<div class="fragment"><pre class="fragment"><a name="l00672"></a>00672 {
+<a name="l00673"></a>00673 <span class="keywordflow">return</span> usercount(c);
+<a name="l00674"></a>00674 }
</pre></div>
<p>
</td>
@@ -1214,11 +1218,11 @@ Deletes a local E-Line.
<p>
<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#l00783">783</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00746"></a>00746 {
-<a name="l00747"></a>00747 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str());
-<a name="l00748"></a>00748 }
+References <a class="el" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline()</a>.<div class="fragment"><pre class="fragment"><a name="l00784"></a>00784 {
+<a name="l00785"></a>00785 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str());
+<a name="l00786"></a>00786 }
</pre></div>
<p>
</td>
@@ -1253,11 +1257,11 @@ Deletes a G-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#l00763">763</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00726"></a>00726 {
-<a name="l00727"></a>00727 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str());
-<a name="l00728"></a>00728 }
+References <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline()</a>.<div class="fragment"><pre class="fragment"><a name="l00764"></a>00764 {
+<a name="l00765"></a>00765 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str());
+<a name="l00766"></a>00766 }
</pre></div>
<p>
</td>
@@ -1292,11 +1296,11 @@ Deletes a local K-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#l00778">778</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00741"></a>00741 {
-<a name="l00742"></a>00742 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str());
-<a name="l00743"></a>00743 }
+References <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline()</a>.<div class="fragment"><pre class="fragment"><a name="l00779"></a>00779 {
+<a name="l00780"></a>00780 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str());
+<a name="l00781"></a>00781 }
</pre></div>
<p>
</td>
@@ -1331,11 +1335,11 @@ Deletes a Q-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#l00768">768</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00731"></a>00731 {
-<a name="l00732"></a>00732 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str());
-<a name="l00733"></a>00733 }
+References <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline()</a>.<div class="fragment"><pre class="fragment"><a name="l00769"></a>00769 {
+<a name="l00770"></a>00770 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str());
+<a name="l00771"></a>00771 }
</pre></div>
<p>
</td>
@@ -1370,18 +1374,18 @@ Deletes a class derived from <a class="el" href="classInspSocket.html">InspSocke
<p>
<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#l00413">413</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00381"></a>00381 {
-<a name="l00382"></a>00382 <span class="keywordflow">for</span> (std::vector&lt;InspSocket*&gt;::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a &lt; <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++)
-<a name="l00383"></a>00383 {
-<a name="l00384"></a>00384 <span class="keywordflow">if</span> (*a == sock)
-<a name="l00385"></a>00385 {
-<a name="l00386"></a>00386 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a);
-<a name="l00387"></a>00387 <span class="keywordflow">return</span>;
-<a name="l00388"></a>00388 }
-<a name="l00389"></a>00389 }
-<a name="l00390"></a>00390 }
+References <a class="el" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.<div class="fragment"><pre class="fragment"><a name="l00414"></a>00414 {
+<a name="l00415"></a>00415 <span class="keywordflow">for</span> (std::vector&lt;InspSocket*&gt;::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a &lt; <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++)
+<a name="l00416"></a>00416 {
+<a name="l00417"></a>00417 <span class="keywordflow">if</span> (*a == sock)
+<a name="l00418"></a>00418 {
+<a name="l00419"></a>00419 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a);
+<a name="l00420"></a>00420 <span class="keywordflow">return</span>;
+<a name="l00421"></a>00421 }
+<a name="l00422"></a>00422 }
+<a name="l00423"></a>00423 }
</pre></div>
<p>
</td>
@@ -1416,11 +1420,11 @@ Deletes a Z-Line from all servers on the mesh.
<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#l00773">773</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00736"></a>00736 {
-<a name="l00737"></a>00737 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str());
-<a name="l00738"></a>00738 }
+References <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline()</a>.<div class="fragment"><pre class="fragment"><a name="l00774"></a>00774 {
+<a name="l00775"></a>00775 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str());
+<a name="l00776"></a>00776 }
</pre></div>
<p>
</td>
@@ -1455,9 +1459,9 @@ 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#l00560">560</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00561"></a>00561 {
-<a name="l00562"></a>00562 <span class="keywordflow">return</span> FindChan(channel.c_str());
-<a name="l00563"></a>00563 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00598">598</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00599"></a>00599 {
+<a name="l00600"></a>00600 <span class="keywordflow">return</span> FindChan(channel.c_str());
+<a name="l00601"></a>00601 }
</pre></div>
<p>
</td>
@@ -1492,9 +1496,9 @@ 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#l00555">555</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00556"></a>00556 {
-<a name="l00557"></a>00557 <span class="keywordflow">return</span> (socket &lt; 65536 ? fd_ref_table[socket] : NULL);
-<a name="l00558"></a>00558 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00593">593</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00594"></a>00594 {
+<a name="l00595"></a>00595 <span class="keywordflow">return</span> (socket &lt; 65536 ? fd_ref_table[socket] : NULL);
+<a name="l00596"></a>00596 }
</pre></div>
<p>
</td>
@@ -1529,18 +1533,18 @@ 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#l00784">784</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="modules_8cpp-source.html#l00994">MODCOUNT</a>, <a class="el" href="channels_8cpp.html#module_5Fnames">module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00785"></a>00785 {
-<a name="l00786"></a>00786 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++)
-<a name="l00787"></a>00787 {
-<a name="l00788"></a>00788 <span class="keywordflow">if</span> (module_names[i] == name)
-<a name="l00789"></a>00789 {
-<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i];
-<a name="l00791"></a>00791 }
-<a name="l00792"></a>00792 }
-<a name="l00793"></a>00793 <span class="keywordflow">return</span> NULL;
-<a name="l00794"></a>00794 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00822">822</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.html#module_5Fnames">module_names</a>, and <a class="el" href="channels_8cpp.html#modules">modules</a>.<div class="fragment"><pre class="fragment"><a name="l00823"></a>00823 {
+<a name="l00824"></a>00824 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++)
+<a name="l00825"></a>00825 {
+<a name="l00826"></a>00826 <span class="keywordflow">if</span> (module_names[i] == name)
+<a name="l00827"></a>00827 {
+<a name="l00828"></a>00828 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i];
+<a name="l00829"></a>00829 }
+<a name="l00830"></a>00830 }
+<a name="l00831"></a>00831 <span class="keywordflow">return</span> NULL;
+<a name="l00832"></a>00832 }
</pre></div>
<p>
</td>
@@ -1575,9 +1579,9 @@ 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#l00550">550</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00551"></a>00551 {
-<a name="l00552"></a>00552 <span class="keywordflow">return</span> Find(nick);
-<a name="l00553"></a>00553 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00588">588</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00589"></a>00589 {
+<a name="l00590"></a>00590 <span class="keywordflow">return</span> Find(nick);
+<a name="l00591"></a>00591 }
</pre></div>
<p>
</td>
@@ -1611,9 +1615,9 @@ 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#Nick">Admin::Nick</a>, <a class="el" href="classAdmin.html#Email">Admin::Email</a> and <a class="el" href="classAdmin.html#Name">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#l00590">590</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00591"></a>00591 {
-<a name="l00592"></a>00592 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-<a name="l00593"></a>00593 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00628">628</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00629"></a>00629 {
+<a name="l00630"></a>00630 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
+<a name="l00631"></a>00631 }
</pre></div>
<p>
</td>
@@ -1647,9 +1651,9 @@ Returns the network name, global to all linked servers.
<p>
<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>.<div class="fragment"><pre class="fragment"><a name="l00581"></a>00581 {
-<a name="l00582"></a>00582 <span class="keywordflow">return</span> getnetworkname();
-<a name="l00583"></a>00583 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00618">618</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00619"></a>00619 {
+<a name="l00620"></a>00620 <span class="keywordflow">return</span> getnetworkname();
+<a name="l00621"></a>00621 }
</pre></div>
<p>
</td>
@@ -1683,9 +1687,9 @@ Returns the server description string of the local server.
<p>
<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>.<div class="fragment"><pre class="fragment"><a name="l00586"></a>00586 {
-<a name="l00587"></a>00587 <span class="keywordflow">return</span> getserverdesc();
-<a name="l00588"></a>00588 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00623">623</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00624"></a>00624 {
+<a name="l00625"></a>00625 <span class="keywordflow">return</span> getserverdesc();
+<a name="l00626"></a>00626 }
</pre></div>
<p>
</td>
@@ -1719,9 +1723,9 @@ 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#l00575">575</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00576"></a>00576 {
-<a name="l00577"></a>00577 <span class="keywordflow">return</span> getservername();
-<a name="l00578"></a>00578 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00613">613</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00614"></a>00614 {
+<a name="l00615"></a>00615 <span class="keywordflow">return</span> getservername();
+<a name="l00616"></a>00616 }
</pre></div>
<p>
</td>
@@ -1756,19 +1760,19 @@ 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#l00420">420</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="channels_8cpp-source.html#l00215">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>.<div class="fragment"><pre class="fragment"><a name="l00421"></a>00421 {
-<a name="l00422"></a>00422 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl;
-<a name="l00423"></a>00423 userl.clear();
-<a name="l00424"></a>00424 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-&gt;<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>();
-<a name="l00425"></a>00425 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = list-&gt;begin(); i != list-&gt;end(); i++)
-<a name="l00426"></a>00426 {
-<a name="l00427"></a>00427 <span class="keywordtype">char</span>* o = *i;
-<a name="l00428"></a>00428 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
-<a name="l00429"></a>00429 }
-<a name="l00430"></a>00430 <span class="keywordflow">return</span> userl;
-<a name="l00431"></a>00431 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00453">453</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="channels_8cpp-source.html#l00215">chanrec::GetUsers()</a>, and <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a>.<div class="fragment"><pre class="fragment"><a name="l00454"></a>00454 {
+<a name="l00455"></a>00455 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl;
+<a name="l00456"></a>00456 userl.clear();
+<a name="l00457"></a>00457 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-&gt;<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>();
+<a name="l00458"></a>00458 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = list-&gt;begin(); i != list-&gt;end(); i++)
+<a name="l00459"></a>00459 {
+<a name="l00460"></a>00460 <span class="keywordtype">char</span>* o = *i;
+<a name="l00461"></a>00461 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+<a name="l00462"></a>00462 }
+<a name="l00463"></a>00463 <span class="keywordflow">return</span> userl;
+<a name="l00464"></a>00464 }
</pre></div>
<p>
</td>
@@ -1803,11 +1807,11 @@ 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#l00545">545</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00583">583</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00546"></a>00546 {
-<a name="l00547"></a>00547 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0);
-<a name="l00548"></a>00548 }
+References <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick()</a>.<div class="fragment"><pre class="fragment"><a name="l00584"></a>00584 {
+<a name="l00585"></a>00585 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0);
+<a name="l00586"></a>00586 }
</pre></div>
<p>
</td>
@@ -1851,11 +1855,11 @@ 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#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#l00608">608</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00571"></a>00571 {
-<a name="l00572"></a>00572 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan);
-<a name="l00573"></a>00573 }
+References <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel()</a>.<div class="fragment"><pre class="fragment"><a name="l00609"></a>00609 {
+<a name="l00610"></a>00610 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan);
+<a name="l00611"></a>00611 }
</pre></div>
<p>
</td>
@@ -1890,11 +1894,11 @@ 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#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#l00475">475</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00443"></a>00443 {
-<a name="l00444"></a>00444 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str());
-<a name="l00445"></a>00445 }
+References <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00476"></a>00476 {
+<a name="l00477"></a>00477 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str());
+<a name="l00478"></a>00478 }
</pre></div>
<p>
</td>
@@ -1929,33 +1933,83 @@ 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#l00755">755</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00756"></a>00756 {
-<a name="l00757"></a>00757 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-<a name="l00758"></a>00758 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-<a name="l00759"></a>00759 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00760"></a>00760 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
-<a name="l00761"></a>00761 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00762"></a>00762 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00763"></a>00763 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-<a name="l00764"></a>00764 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00765"></a>00765 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00766"></a>00766 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-<a name="l00767"></a>00767 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00768"></a>00768 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0;
-<a name="l00769"></a>00769 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00770"></a>00770 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-<a name="l00771"></a>00771 c++;
-<a name="l00772"></a>00772 <span class="keywordflow">if</span> (c&gt;1)
-<a name="l00773"></a>00773 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00774"></a>00774 c = 0;
-<a name="l00775"></a>00775 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00776"></a>00776 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-<a name="l00777"></a>00777 c++;
-<a name="l00778"></a>00778 <span class="keywordflow">if</span> (c&gt;1)
-<a name="l00779"></a>00779 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00780"></a>00780
-<a name="l00781"></a>00781 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00782"></a>00782 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00793">793</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00794"></a>00794 {
+<a name="l00795"></a>00795 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+<a name="l00796"></a>00796 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
+<a name="l00797"></a>00797 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00798"></a>00798 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+<a name="l00799"></a>00799 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00800"></a>00800 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00801"></a>00801 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+<a name="l00802"></a>00802 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00803"></a>00803 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00804"></a>00804 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+<a name="l00805"></a>00805 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00806"></a>00806 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0;
+<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00808"></a>00808 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+<a name="l00809"></a>00809 c++;
+<a name="l00810"></a>00810 <span class="keywordflow">if</span> (c&gt;1)
+<a name="l00811"></a>00811 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00812"></a>00812 c = 0;
+<a name="l00813"></a>00813 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00814"></a>00814 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+<a name="l00815"></a>00815 c++;
+<a name="l00816"></a>00816 <span class="keywordflow">if</span> (c&gt;1)
+<a name="l00817"></a>00817 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00818"></a>00818
+<a name="l00819"></a>00819 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00820"></a>00820 }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="Server::IsValidModuleCommand" ref="IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(std::string commandname, int pcnt, userrec *user)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">bool Server::IsValidModuleCommand </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="namespaceirc.html#string">std::string</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>commandname</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>pcnt</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>user</em></td>
+ </tr>
+ <tr>
+ <td class="md"></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>
+
+<p>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00485">485</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00486"></a>00486 {
+<a name="l00487"></a>00487 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user);
+<a name="l00488"></a>00488 }
</pre></div>
<p>
</td>
@@ -2005,9 +2059,9 @@ 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#l00410">410</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00411"></a>00411 {
-<a name="l00412"></a>00412 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
-<a name="l00413"></a>00413 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00443">443</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00444"></a>00444 {
+<a name="l00445"></a>00445 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
+<a name="l00446"></a>00446 }
</pre></div>
<p>
</td>
@@ -2051,9 +2105,9 @@ 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#l00452">452</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00453"></a>00453 {
-<a name="l00454"></a>00454 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00455"></a>00455 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00490">490</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00491"></a>00491 {
+<a name="l00492"></a>00492 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00493"></a>00493 }
</pre></div>
<p>
</td>
@@ -2097,12 +2151,12 @@ 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#l00397">397</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00398"></a>00398 {
-<a name="l00399"></a>00399 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-<a name="l00400"></a>00400 strlcpy(literal,sliteral.c_str(),MAXBUF);
-<a name="l00401"></a>00401 strlcpy(pattern,spattern.c_str(),MAXBUF);
-<a name="l00402"></a>00402 <span class="keywordflow">return</span> match(literal,pattern);
-<a name="l00403"></a>00403 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00430">430</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00431"></a>00431 {
+<a name="l00432"></a>00432 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+<a name="l00433"></a>00433 strlcpy(literal,sliteral.c_str(),MAXBUF);
+<a name="l00434"></a>00434 strlcpy(pattern,spattern.c_str(),MAXBUF);
+<a name="l00435"></a>00435 <span class="keywordflow">return</span> match(literal,pattern);
+<a name="l00436"></a>00436 }
</pre></div>
<p>
</td>
@@ -2152,9 +2206,9 @@ 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#l00415">415</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00416"></a>00416 {
-<a name="l00417"></a>00417 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
-<a name="l00418"></a>00418 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00448">448</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00449"></a>00449 {
+<a name="l00450"></a>00450 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+<a name="l00451"></a>00451 }
</pre></div>
<p>
</td>
@@ -2204,36 +2258,36 @@ 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#l00670">670</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00146">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00228">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00100">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00121">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.<div class="fragment"><pre class="fragment"><a name="l00671"></a>00671 {
-<a name="l00672"></a>00672 zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a> = alive-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
-<a name="l00673"></a>00673 alive-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
-<a name="l00674"></a>00674 alive-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
-<a name="l00675"></a>00675 Write(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00676"></a>00676 kill_link(alive,message.c_str());
-<a name="l00677"></a>00677 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>] = zombie;
-<a name="l00678"></a>00678 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-<a name="l00679"></a>00679 {
-<a name="l00680"></a>00680 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL)
-<a name="l00681"></a>00681 {
-<a name="l00682"></a>00682 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)
-<a name="l00683"></a>00683 {
-<a name="l00684"></a>00684 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>;
-<a name="l00685"></a>00685 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
-<a name="l00686"></a>00686 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>)
-<a name="l00687"></a>00687 {
-<a name="l00688"></a>00688 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>);
-<a name="l00689"></a>00689 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>);
-<a name="l00690"></a>00690 }
-<a name="l00691"></a>00691 userlist(zombie,Ptr);
-<a name="l00692"></a>00692 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
-<a name="l00693"></a>00693
-<a name="l00694"></a>00694 }
-<a name="l00695"></a>00695 }
-<a name="l00696"></a>00696 }
-<a name="l00697"></a>00697 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00698"></a>00698 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00708">708</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00149">userrec::chans</a>, <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>, <a class="el" href="channels_8h-source.html#l00106">chanrec::name</a>, <a class="el" href="users_8h-source.html#l00124">userrec::nick</a>, <a class="el" href="channels_8h-source.html#l00131">chanrec::setby</a>, <a class="el" href="channels_8h-source.html#l00120">chanrec::topic</a>, and <a class="el" href="channels_8h-source.html#l00127">chanrec::topicset</a>.<div class="fragment"><pre class="fragment"><a name="l00709"></a>00709 {
+<a name="l00710"></a>00710 zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a> = alive-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
+<a name="l00711"></a>00711 alive-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
+<a name="l00712"></a>00712 alive-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
+<a name="l00713"></a>00713 Write(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00714"></a>00714 kill_link(alive,message.c_str());
+<a name="l00715"></a>00715 <a class="code" href="modules_8cpp.html#fd_5Fref_5Ftable_5B_36_35_35_33_36_5D">fd_ref_table</a>[zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>] = zombie;
+<a name="l00716"></a>00716 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+<a name="l00717"></a>00717 {
+<a name="l00718"></a>00718 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL)
+<a name="l00719"></a>00719 {
+<a name="l00720"></a>00720 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)
+<a name="l00721"></a>00721 {
+<a name="l00722"></a>00722 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>;
+<a name="l00723"></a>00723 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
+<a name="l00724"></a>00724 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>)
+<a name="l00725"></a>00725 {
+<a name="l00726"></a>00726 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>);
+<a name="l00727"></a>00727 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>);
+<a name="l00728"></a>00728 }
+<a name="l00729"></a>00729 userlist(zombie,Ptr);
+<a name="l00730"></a>00730 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
+<a name="l00731"></a>00731
+<a name="l00732"></a>00732 }
+<a name="l00733"></a>00733 }
+<a name="l00734"></a>00734 }
+<a name="l00735"></a>00735 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00736"></a>00736 }
</pre></div>
<p>
</td>
@@ -2279,9 +2333,44 @@ 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#l00437">437</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00438"></a>00438 {
-<a name="l00439"></a>00439 kill_link(user,reason.c_str());
-<a name="l00440"></a>00440 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00470">470</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00471"></a>00471 {
+<a name="l00472"></a>00472 kill_link(user,reason.c_str());
+<a name="l00473"></a>00473 }
+</pre></div>
+<p>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="RehashServer_28_29"></a><!-- doxytag: member="Server::RehashServer" ref="RehashServer_28_29" args="()" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void Server::RehashServer </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><code> [virtual]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00407">407</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00408"></a>00408 {
+<a name="l00409"></a>00409 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>);
+<a name="l00410"></a>00410 ReadConfig(<span class="keyword">false</span>,NULL);
+<a name="l00411"></a>00411 }
</pre></div>
<p>
</td>
@@ -2325,9 +2414,9 @@ 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#l00467">467</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00468"></a>00468 {
-<a name="l00469"></a>00469 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00470"></a>00470 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00505">505</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00506"></a>00506 {
+<a name="l00507"></a>00507 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00508"></a>00508 }
</pre></div>
<p>
</td>
@@ -2383,16 +2472,16 @@ 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#l00501">501</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00502"></a>00502 {
-<a name="l00503"></a>00503 <span class="keywordflow">if</span> (IncludeSender)
-<a name="l00504"></a>00504 {
-<a name="l00505"></a>00505 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00506"></a>00506 }
-<a name="l00507"></a>00507 <span class="keywordflow">else</span>
-<a name="l00508"></a>00508 {
-<a name="l00509"></a>00509 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00510"></a>00510 }
-<a name="l00511"></a>00511 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00539">539</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00540"></a>00540 {
+<a name="l00541"></a>00541 <span class="keywordflow">if</span> (IncludeSender)
+<a name="l00542"></a>00542 {
+<a name="l00543"></a>00543 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00544"></a>00544 }
+<a name="l00545"></a>00545 <span class="keywordflow">else</span>
+<a name="l00546"></a>00546 {
+<a name="l00547"></a>00547 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00548"></a>00548 }
+<a name="l00549"></a>00549 }
</pre></div>
<p>
</td>
@@ -2442,9 +2531,9 @@ 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#l00496">496</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00497"></a>00497 {
-<a name="l00498"></a>00498 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
-<a name="l00499"></a>00499 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00534">534</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00535"></a>00535 {
+<a name="l00536"></a>00536 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+<a name="l00537"></a>00537 }
</pre></div>
<p>
</td>
@@ -2494,16 +2583,16 @@ 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#l00518">518</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00519"></a>00519 {
-<a name="l00520"></a>00520 <span class="keywordflow">if</span> (IncludeSender)
-<a name="l00521"></a>00521 {
-<a name="l00522"></a>00522 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00523"></a>00523 }
-<a name="l00524"></a>00524 <span class="keywordflow">else</span>
-<a name="l00525"></a>00525 {
-<a name="l00526"></a>00526 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00527"></a>00527 }
-<a name="l00528"></a>00528 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00556">556</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00557"></a>00557 {
+<a name="l00558"></a>00558 <span class="keywordflow">if</span> (IncludeSender)
+<a name="l00559"></a>00559 {
+<a name="l00560"></a>00560 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00561"></a>00561 }
+<a name="l00562"></a>00562 <span class="keywordflow">else</span>
+<a name="l00563"></a>00563 {
+<a name="l00564"></a>00564 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00565"></a>00565 }
+<a name="l00566"></a>00566 }
</pre></div>
<p>
</td>
@@ -2553,9 +2642,9 @@ 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#l00477">477</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00478"></a>00478 {
-<a name="l00479"></a>00479 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00480"></a>00480 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00515">515</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00516"></a>00516 {
+<a name="l00517"></a>00517 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00518"></a>00518 }
</pre></div>
<p>
</td>
@@ -2612,11 +2701,11 @@ 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#l00462">462</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+Definition at line <a class="el" href="modules_8cpp-source.html#l00500">500</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
<p>
-References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00463"></a>00463 {
-<a name="l00464"></a>00464 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user);
-<a name="l00465"></a>00465 }
+References <a class="el" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode()</a>.<div class="fragment"><pre class="fragment"><a name="l00501"></a>00501 {
+<a name="l00502"></a>00502 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user);
+<a name="l00503"></a>00503 }
</pre></div>
<p>
</td>
@@ -2651,9 +2740,9 @@ 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#l00392">392</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00393"></a>00393 {
-<a name="l00394"></a>00394 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00395"></a>00395 }
+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>.<div class="fragment"><pre class="fragment"><a name="l00426"></a>00426 {
+<a name="l00427"></a>00427 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00428"></a>00428 }
</pre></div>
<p>
</td>
@@ -2697,9 +2786,9 @@ 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#l00472">472</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00473"></a>00473 {
-<a name="l00474"></a>00474 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00475"></a>00475 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00510">510</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00511"></a>00511 {
+<a name="l00512"></a>00512 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00513"></a>00513 }
</pre></div>
<p>
</td>
@@ -2753,20 +2842,20 @@ 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#l00482">482</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>.<div class="fragment"><pre class="fragment"><a name="l00483"></a>00483 {
-<a name="l00484"></a>00484 <span class="keywordflow">if</span> (!Source)
-<a name="l00485"></a>00485 {
-<a name="l00486"></a>00486 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-<a name="l00487"></a>00487 Write(Dest-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
-<a name="l00488"></a>00488 }
-<a name="l00489"></a>00489 <span class="keywordflow">else</span>
-<a name="l00490"></a>00490 {
-<a name="l00491"></a>00491 <span class="comment">// otherwise it comes from the user specified</span>
-<a name="l00492"></a>00492 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00493"></a>00493 }
-<a name="l00494"></a>00494 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00520">520</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>.<div class="fragment"><pre class="fragment"><a name="l00521"></a>00521 {
+<a name="l00522"></a>00522 <span class="keywordflow">if</span> (!Source)
+<a name="l00523"></a>00523 {
+<a name="l00524"></a>00524 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+<a name="l00525"></a>00525 Write(Dest-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
+<a name="l00526"></a>00526 }
+<a name="l00527"></a>00527 <span class="keywordflow">else</span>
+<a name="l00528"></a>00528 {
+<a name="l00529"></a>00529 <span class="comment">// otherwise it comes from the user specified</span>
+<a name="l00530"></a>00530 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00531"></a>00531 }
+<a name="l00532"></a>00532 }
</pre></div>
<p>
</td>
@@ -2818,9 +2907,9 @@ 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#l00405">405</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00406"></a>00406 {
-<a name="l00407"></a>00407 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00408"></a>00408 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00438">438</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00439"></a>00439 {
+<a name="l00440"></a>00440 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00441"></a>00441 }
</pre></div>
<p>
</td>
@@ -2864,9 +2953,9 @@ 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#l00530">530</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00531"></a>00531 {
-<a name="l00532"></a>00532 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00533"></a>00533 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00568">568</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00569"></a>00569 {
+<a name="l00570"></a>00570 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00571"></a>00571 }
</pre></div>
<p>
</td>
@@ -2910,37 +2999,37 @@ 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#l00639">639</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
-<p>
-References <a class="el" href="users_8cpp-source.html#l00228">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00100">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, and <a class="el" href="users_8h-source.html#l00126">userrec::ident</a>.<div class="fragment"><pre class="fragment"><a name="l00640"></a>00640 {
-<a name="l00641"></a>00641 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
-<a name="l00642"></a>00642 user-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
-<a name="l00643"></a>00643 user-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
-<a name="l00644"></a>00644 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str());
-<a name="l00645"></a>00645 <span class="preprocessor">#ifdef USE_KQUEUE</span>
-<a name="l00646"></a>00646 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
-<a name="l00647"></a>00647 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-<a name="l00648"></a>00648 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
-<a name="l00649"></a>00649 <span class="keywordflow">if</span> (i == -1)
-<a name="l00650"></a>00650 {
-<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
-<a name="l00652"></a>00652 }
-<a name="l00653"></a>00653 <span class="preprocessor">#endif</span>
-<a name="l00654"></a>00654 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
-<a name="l00655"></a>00655 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
-<a name="l00656"></a>00656 ev.events = EPOLLIN | EPOLLET;
-<a name="l00657"></a>00657 ev.data.fd = old_fd;
-<a name="l00658"></a>00658 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
-<a name="l00659"></a>00659 <span class="keywordflow">if</span> (i &lt; 0)
-<a name="l00660"></a>00660 {
-<a name="l00661"></a>00661 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
-<a name="l00662"></a>00662 }
-<a name="l00663"></a>00663 <span class="preprocessor">#endif</span>
-<a name="l00664"></a>00664 <span class="preprocessor"></span>
-<a name="l00665"></a>00665 shutdown(old_fd,2);
-<a name="l00666"></a>00666 close(old_fd);
-<a name="l00667"></a>00667 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00668"></a>00668 }
+Definition at line <a class="el" href="modules_8cpp-source.html#l00677">677</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="users_8cpp-source.html#l00239">userrec::ClearBuffer()</a>, <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="modules_8h-source.html#l00101">FD_MAGIC_NUMBER</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, and <a class="el" href="users_8h-source.html#l00129">userrec::ident</a>.<div class="fragment"><pre class="fragment"><a name="l00678"></a>00678 {
+<a name="l00679"></a>00679 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
+<a name="l00680"></a>00680 user-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
+<a name="l00681"></a>00681 user-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
+<a name="l00682"></a>00682 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str());
+<a name="l00683"></a>00683 <span class="preprocessor">#ifdef USE_KQUEUE</span>
+<a name="l00684"></a>00684 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
+<a name="l00685"></a>00685 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+<a name="l00686"></a>00686 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
+<a name="l00687"></a>00687 <span class="keywordflow">if</span> (i == -1)
+<a name="l00688"></a>00688 {
+<a name="l00689"></a>00689 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
+<a name="l00690"></a>00690 }
+<a name="l00691"></a>00691 <span class="preprocessor">#endif</span>
+<a name="l00692"></a>00692 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
+<a name="l00693"></a>00693 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
+<a name="l00694"></a>00694 ev.events = EPOLLIN | EPOLLET;
+<a name="l00695"></a>00695 ev.data.fd = old_fd;
+<a name="l00696"></a>00696 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
+<a name="l00697"></a>00697 <span class="keywordflow">if</span> (i &lt; 0)
+<a name="l00698"></a>00698 {
+<a name="l00699"></a>00699 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
+<a name="l00700"></a>00700 }
+<a name="l00701"></a>00701 <span class="preprocessor">#endif</span>
+<a name="l00702"></a>00702 <span class="preprocessor"></span>
+<a name="l00703"></a>00703 shutdown(old_fd,2);
+<a name="l00704"></a>00704 close(old_fd);
+<a name="l00705"></a>00705 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00706"></a>00706 }
</pre></div>
<p>
</td>
@@ -2948,7 +3037,7 @@ References <a class="el" href="users_8cpp-source.html#l00228">userrec::ClearBuff
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classVersion-members.html b/docs/module-doc/classVersion-members.html
index 641098da6..8685101ac 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#Revision">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#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classVersion.html b/docs/module-doc/classVersion.html
index c2caf8f31..634494f3d 100644
--- a/docs/module-doc/classVersion.html
+++ b/docs/module-doc/classVersion.html
@@ -42,7 +42,7 @@ A class of type Version is returned by the GetVersion method of the <a class="el
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00112">112</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#l00113">113</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29"></a><!-- doxytag: member="Version::Version" ref="Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29" args="(int major, int minor, int revision, int build, int flags)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -126,7 +126,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00115">115</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#l00116">116</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Flags"></a><!-- doxytag: member="Version::Flags" ref="Flags" args="" --><p>
@@ -151,7 +151,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00115">115</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#l00116">116</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Major"></a><!-- doxytag: member="Version::Major" ref="Major" args="" --><p>
@@ -176,7 +176,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00115">115</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#l00116">116</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Minor"></a><!-- doxytag: member="Version::Minor" ref="Minor" args="" --><p>
@@ -201,7 +201,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00115">115</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#l00116">116</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="Revision"></a><!-- doxytag: member="Version::Revision" ref="Revision" args="" --><p>
@@ -226,12 +226,12 @@ Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00115">115</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#l00116">116</a> of file <a class="el" href="modules_8h-source.html">modules.h</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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classWhoWasUser-members.html b/docs/module-doc/classWhoWasUser-members.html
index 7708132ee..a5c9aa762 100644
--- a/docs/module-doc/classWhoWasUser-members.html
+++ b/docs/module-doc/classWhoWasUser-members.html
@@ -13,7 +13,7 @@
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#nick_5BNICKMAX_5D">nick</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#server_5B_32_35_36_5D">server</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classWhoWasUser.html#signon">signon</a></td><td><a class="el" href="classWhoWasUser.html">WhoWasUser</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classWhoWasUser.html b/docs/module-doc/classWhoWasUser.html
index aa182b7a0..5bfbf3f63 100644
--- a/docs/module-doc/classWhoWasUser.html
+++ b/docs/module-doc/classWhoWasUser.html
@@ -34,7 +34,7 @@ A lightweight userrec used by WHOWAS.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00325">325</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
+Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="dhost_5B_31_36_30_5D"></a><!-- doxytag: member="WhoWasUser::dhost" ref="dhost_5B_31_36_30_5D" args="[160]" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -57,7 +57,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00325">325</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00330">330</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00337">337</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="fullname_5BMAXGECOS_2B_31_5D"></a><!-- doxytag: member="WhoWasUser::fullname" ref="fullname_5BMAXGECOS_2B_31_5D" args="[MAXGECOS+1]" --><p>
@@ -82,7 +82,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00330">330</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00339">339</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="host_5B_31_36_30_5D"></a><!-- doxytag: member="WhoWasUser::host" ref="host_5B_31_36_30_5D" args="[160]" --><p>
@@ -107,7 +107,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00332">332</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00338">338</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="ident_5BIDENTMAX_2B_31_5D"></a><!-- doxytag: member="WhoWasUser::ident" ref="ident_5BIDENTMAX_2B_31_5D" args="[IDENTMAX+1]" --><p>
@@ -132,7 +132,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00331">331</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00329">329</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00336">336</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="nick_5BNICKMAX_5D"></a><!-- doxytag: member="WhoWasUser::nick" ref="nick_5BNICKMAX_5D" args="[NICKMAX]" --><p>
@@ -157,7 +157,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00329">329</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00328">328</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#l00335">335</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="server_5B_32_35_36_5D"></a><!-- doxytag: member="WhoWasUser::server" ref="server_5B_32_35_36_5D" args="[256]" --><p>
@@ -182,7 +182,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00328">328</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00333">333</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00340">340</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="signon"></a><!-- doxytag: member="WhoWasUser::signon" ref="signon" args="" --><p>
@@ -207,12 +207,12 @@ Definition at line <a class="el" href="users_8h-source.html#l00333">333</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00334">334</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00341">341</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classXLine-members.html b/docs/module-doc/classXLine-members.html
index 5bef18732..4ec53d0f6 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classXLine.html b/docs/module-doc/classXLine.html
index 45d896e8c..8af097557 100644
--- a/docs/module-doc/classXLine.html
+++ b/docs/module-doc/classXLine.html
@@ -185,7 +185,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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classZLine-members.html b/docs/module-doc/classZLine-members.html
index 25b5a6b34..b0a42f011 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#set_5Ftime">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#source_5B_32_35_36_5D">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classZLine.html b/docs/module-doc/classZLine.html
index af5bdfbe5..afe33572b 100644
--- a/docs/module-doc/classZLine.html
+++ b/docs/module-doc/classZLine.html
@@ -92,7 +92,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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classchanrec-members.html b/docs/module-doc/classchanrec-members.html
index 3e93502dc..daaf0b7de 100644
--- a/docs/module-doc/classchanrec-members.html
+++ b/docs/module-doc/classchanrec-members.html
@@ -17,6 +17,7 @@
<tr class="memlist"><td><a class="el" href="classchanrec.html#DelUser_28char_20_2Acastuser_29">DelUser</a>(char *castuser)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">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="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">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#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt; std::string &gt; &amp;list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">GetModeParameter</a>(char mode)</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classchanrec.html#GetUserCounter_28_29">GetUserCounter</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#GetUsers_28_29">GetUsers</a>()</td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
@@ -33,7 +34,7 @@
<tr class="memlist"><td><a class="el" href="classchanrec.html#topicset">topicset</a></td><td><a class="el" href="classchanrec.html">chanrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classchanrec.html#_7Echanrec_28_29">~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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classchanrec.html b/docs/module-doc/classchanrec.html
index f332e4510..3d4ba950a 100644
--- a/docs/module-doc/classchanrec.html
+++ b/docs/module-doc/classchanrec.html
@@ -398,7 +398,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00215">215</a>
<p>
References <a class="el" href="channels_8h-source.html#l00115">internal_userlist</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00420">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00216"></a>00216 {
+Referenced by <a class="el" href="modules_8cpp-source.html#l00453">Server::GetUsers()</a>.<div class="fragment"><pre class="fragment"><a name="l00216"></a>00216 {
<a name="l00217"></a>00217 <span class="keywordflow">return</span> &amp;<a class="code" href="classchanrec.html#internal_5Fuserlist">internal_userlist</a>;
<a name="l00218"></a>00218 }
</pre></div>
@@ -842,7 +842,7 @@ The channels name.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00106">106</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00201">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, <a class="el" href="channels_8cpp-source.html#l00201">DelUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a class="anchor" name="setby_5BNICKMAX_5D"></a><!-- doxytag: member="chanrec::setby" ref="setby_5BNICKMAX_5D" args="[NICKMAX]" --><p>
@@ -871,7 +871,7 @@ If this member is an empty string, no topic was ever set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00131">131</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a class="anchor" name="topic_5BMAXBUF_5D"></a><!-- doxytag: member="chanrec::topic" ref="topic_5BMAXBUF_5D" args="[MAXBUF]" --><p>
@@ -900,7 +900,7 @@ If this is an empty string, no channel topic is set.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00120">120</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<a class="anchor" name="topicset"></a><!-- doxytag: member="chanrec::topicset" ref="topicset" args="" --><p>
@@ -929,12 +929,12 @@ If no topic was ever set, this will be equal to <a class="el" href="classchanrec
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00127">127</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>. </td>
+Referenced by <a class="el" href="channels_8cpp-source.html#l00101">chanrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a><li><a class="el" href="channels_8cpp-source.html">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classclassbase-members.html b/docs/module-doc/classclassbase-members.html
index 3cc34fdbc..10d979f6f 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#age">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#classbase_28_29">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classclassbase.html b/docs/module-doc/classclassbase.html
index 4f065424f..39acb09ff 100644
--- a/docs/module-doc/classclassbase.html
+++ b/docs/module-doc/classclassbase.html
@@ -48,7 +48,7 @@ The base class for all inspircd classes.
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00029">29</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+Definition at line <a class="el" href="base_8h-source.html#l00030">30</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="classbase_28_29"></a><!-- doxytag: member="classbase::classbase" ref="classbase_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -77,9 +77,9 @@ Constructor, Sets the object's time.
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00039">39</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
+Definition at line <a class="el" href="base_8h-source.html#l00040">40</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
<p>
-References <a class="el" href="base_8h-source.html#l00034">age</a>.<div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 { <a class="code" href="classclassbase.html#age">age</a> = time(NULL); }
+References <a class="el" href="base_8h-source.html#l00035">age</a>.<div class="fragment"><pre class="fragment"><a name="l00040"></a>00040 { <a class="code" href="classclassbase.html#age">age</a> = time(NULL); }
</pre></div>
<p>
</td>
@@ -111,7 +111,7 @@ References <a class="el" href="base_8h-source.html#l00034">age</a>.<div class="f
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00040">40</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<div class="fragment"><pre class="fragment"><a name="l00040"></a>00040 { }
+Definition at line <a class="el" href="base_8h-source.html#l00041">41</a> of file <a class="el" href="base_8h-source.html">base.h</a>.<div class="fragment"><pre class="fragment"><a name="l00041"></a>00041 { }
</pre></div>
<p>
</td>
@@ -142,14 +142,14 @@ Time that the object was instantiated (used for TS calculation etc).
<p>
<p>
-Definition at line <a class="el" href="base_8h-source.html#l00034">34</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
+Definition at line <a class="el" href="base_8h-source.html#l00035">35</a> of file <a class="el" href="base_8h-source.html">base.h</a>.
<p>
-Referenced by <a class="el" href="base_8h-source.html#l00039">classbase()</a>. </td>
+Referenced by <a class="el" href="base_8h-source.html#l00040">classbase()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="base_8h-source.html">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classcommand__t-members.html b/docs/module-doc/classcommand__t-members.html
index 947d15e3a..aeb511356 100644
--- a/docs/module-doc/classcommand__t-members.html
+++ b/docs/module-doc/classcommand__t-members.html
@@ -12,6 +12,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">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="classcommand__t.html#flags_5Fneeded">flags_needed</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="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">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#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt; std::string &gt; &amp;list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classcommand__t.html#handler_5Ffunction">handler_function</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#min_5Fparams">min_params</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="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
@@ -19,7 +20,7 @@
<tr class="memlist"><td><a class="el" href="classcommand__t.html#total_5Fbytes">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#use_5Fcount">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#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classcommand__t.html b/docs/module-doc/classcommand__t.html
index ce2282e17..aad0922e0 100644
--- a/docs/module-doc/classcommand__t.html
+++ b/docs/module-doc/classcommand__t.html
@@ -242,7 +242,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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classconnection-members.html b/docs/module-doc/classconnection-members.html
index 6dbe2d41d..1cafc344e 100644
--- a/docs/module-doc/classconnection-members.html
+++ b/docs/module-doc/classconnection-members.html
@@ -16,6 +16,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">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#fd">fd</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#GetExt_28std_3A_3Astring_20key_29">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#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt; std::string &gt; &amp;list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#haspassed">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#host_5B_31_36_30_5D">host</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#idle_5Flastmsg">idle_lastmsg</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
@@ -27,7 +28,7 @@
<tr class="memlist"><td><a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Shrink</a>(std::string key)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classconnection.html#signon">signon</a></td><td><a class="el" href="classconnection.html">connection</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classconnection.html b/docs/module-doc/classconnection.html
index 76ef16db8..258877c45 100644
--- a/docs/module-doc/classconnection.html
+++ b/docs/module-doc/classconnection.html
@@ -142,7 +142,7 @@ Stats counter for bytes inbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00054">54</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="bytes_5Fout"></a><!-- doxytag: member="connection::bytes_out" ref="bytes_5Fout" args="" --><p>
@@ -171,7 +171,7 @@ Stats counter for bytes outbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00058">58</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#l00266">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00277">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="cmds_5Fin"></a><!-- doxytag: member="connection::cmds_in" ref="cmds_5Fin" args="" --><p>
@@ -200,7 +200,7 @@ Stats counter for commands inbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00062">62</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="cmds_5Fout"></a><!-- doxytag: member="connection::cmds_out" ref="cmds_5Fout" args="" --><p>
@@ -229,7 +229,7 @@ Stats counter for commands outbound.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00066">66</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#l00266">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00277">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="fd"></a><!-- doxytag: member="connection::fd" ref="fd" args="" --><p>
@@ -258,7 +258,7 @@ File descriptor of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00042">42</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
<p>
-Referenced by <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00894">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00482">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00520">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a class="anchor" name="haspassed"></a><!-- doxytag: member="connection::haspassed" ref="haspassed" args="" --><p>
@@ -287,7 +287,7 @@ True if server/user has authenticated, false if otherwise.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00070">70</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="host_5B_31_36_30_5D"></a><!-- doxytag: member="connection::host" ref="host_5B_31_36_30_5D" args="[160]" --><p>
@@ -316,7 +316,7 @@ Not used if this is a serverrec
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00046">46</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#l00087">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00096">userrec::GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a class="anchor" name="idle_5Flastmsg"></a><!-- doxytag: member="connection::idle_lastmsg" ref="idle_5Flastmsg" args="" --><p>
@@ -345,7 +345,7 @@ Time that the connection last sent data, used to calculate idle time.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00092">92</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="ip_5B_31_36_5D"></a><!-- doxytag: member="connection::ip" ref="ip_5B_31_36_5D" args="[16]" --><p>
@@ -374,7 +374,7 @@ IP of connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00050">50</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="lastping"></a><!-- doxytag: member="connection::lastping" ref="lastping" args="" --><p>
@@ -403,7 +403,7 @@ Time the connection was last pinged.
<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>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="nping"></a><!-- doxytag: member="connection::nping" ref="nping" args="" --><p>
@@ -432,7 +432,7 @@ Used by PING checks with clients.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00096">96</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="port"></a><!-- doxytag: member="connection::port" ref="port" args="" --><p>
@@ -461,7 +461,7 @@ For a serverrec this is the current listening port of the serverrec object.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00076">76</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="registered"></a><!-- doxytag: member="connection::registered" ref="registered" args="" --><p>
@@ -490,7 +490,7 @@ Used by userrec to indicate the registration status of the connection.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00080">80</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="signon"></a><!-- doxytag: member="connection::signon" ref="signon" args="" --><p>
@@ -519,12 +519,12 @@ Time the connection was created, set in the constructor.
<p>
Definition at line <a class="el" href="connection_8h-source.html#l00088">88</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#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classes.html b/docs/module-doc/classes.html
index 1d3d77251..bc1966cbd 100644
--- a/docs/module-doc/classes.html
+++ b/docs/module-doc/classes.html
@@ -27,7 +27,7 @@
</td></tr><tr><td><a class="el" href="classConnectClass.html">ConnectClass</a>&nbsp;&nbsp;&nbsp;</td><td><a name="letter_G"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;G&nbsp;&nbsp;</div></td></tr></table>
</td><td><a name="letter_K"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&nbsp;&nbsp;K&nbsp;&nbsp;</div></td></tr></table>
</td><td><a class="el" href="classServer.html">Server</a>&nbsp;&nbsp;&nbsp;</td><td><a class="el" href="classZLine.html">ZLine</a>&nbsp;&nbsp;&nbsp;</td></tr><tr><td><a class="el" href="classconnection.html">connection</a>&nbsp;&nbsp;&nbsp;</td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_A">A</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_B">B</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_C">C</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_D">D</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_E">E</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_F">F</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_G">G</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_H">H</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_I">I</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_K">K</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_M">M</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_Q">Q</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_R">R</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_S">S</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_U">U</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_V">V</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_W">W</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_X">X</a>&nbsp;|&nbsp;<a class="qindex" href="#letter_Z">Z</a></div><p>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classstd_1_1char__traits.html b/docs/module-doc/classstd_1_1char__traits.html
index c91c33065..3843fbc07 100644
--- a/docs/module-doc/classstd_1_1char__traits.html
+++ b/docs/module-doc/classstd_1_1char__traits.html
@@ -14,7 +14,7 @@
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classucrec-members.html b/docs/module-doc/classucrec-members.html
index 630eeec48..c95b71f14 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#ucrec_28_29">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#_7Eclassbase_28_29">~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#_7Eucrec_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classucrec.html b/docs/module-doc/classucrec.html
index 22589f797..356b90092 100644
--- a/docs/module-doc/classucrec.html
+++ b/docs/module-doc/classucrec.html
@@ -133,7 +133,7 @@ If the record is not in use, this value will be NULL.
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00252">252</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="uc_5Fmodes"></a><!-- doxytag: member="ucrec::uc_modes" ref="uc_5Fmodes" args="" --><p>
@@ -162,12 +162,12 @@ Contains a bitmask of the UCMODE_OP .
<p>
Definition at line <a class="el" href="channels_8h-source.html#l00247">247</a> of file <a class="el" href="channels_8h-source.html">channels.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec::userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec::userrec()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="channels_8h-source.html">channels.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classuserrec-members.html b/docs/module-doc/classuserrec-members.html
index 03f0cdccd..fbd98bf62 100644
--- a/docs/module-doc/classuserrec-members.html
+++ b/docs/module-doc/classuserrec-members.html
@@ -29,6 +29,7 @@
<tr class="memlist"><td><a class="el" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#GetBuffer_28_29">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#GetExt_28std_3A_3Astring_20key_29">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#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">GetExtList</a>(std::deque&lt; std::string &gt; &amp;list)</td><td><a class="el" href="classExtensible.html">Extensible</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#GetFullHost_28_29">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#GetFullRealHost_28_29">GetFullRealHost</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#GetInviteList_28_29">GetInviteList</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
@@ -68,8 +69,8 @@
<tr class="memlist"><td><a class="el" href="classuserrec.html#userrec_28_29">userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classuserrec.html#WriteError">WriteError</a></td><td><a class="el" href="classuserrec.html">userrec</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classclassbase.html#_7Eclassbase_28_29">~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#_7Euserrec_28_29">~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 Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+ <tr class="memlist"><td><a class="el" href="classuserrec.html#_7Euserrec_28_29">~userrec</a>()</td><td><a class="el" href="classuserrec.html">userrec</a></td><td><code> [virtual]</code></td></tr>
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/classuserrec.html b/docs/module-doc/classuserrec.html
index 9c47c4518..93514f343 100644
--- a/docs/module-doc/classuserrec.html
+++ b/docs/module-doc/classuserrec.html
@@ -26,8 +26,6 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuserrec.html#userrec_28_29">userrec</a> ()</td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuserrec.html#_7Euserrec_28_29">~userrec</a> ()</td></tr>
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. <a href="#GetFullHost_28_29"></a><br></td></tr>
@@ -79,6 +77,8 @@ Inheritance diagram for userrec:<p><center><img src="classuserrec__inherit__grap
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuserrec.html#CloseSocket_28_29">CloseSocket</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shuts down and closes the user's socket. <a href="#CloseSocket_28_29"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuserrec.html#_7Euserrec_28_29">~userrec</a> ()</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#nick_5BNICKMAX_5D">nick</a> [NICKMAX]</td></tr>
@@ -154,7 +154,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#l00108">108</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#l00111">111</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="userrec_28_29"></a><!-- doxytag: member="userrec::userrec" ref="userrec_28_29" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -181,36 +181,36 @@ Definition at line <a class="el" href="users_8h-source.html#l00108">108</a> of f
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00033">33</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00155">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00054">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00146">chans</a>, <a class="el" href="connection_8h-source.html#l00062">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00131">dhost</a>, <a class="el" href="users_8h-source.html#l00178">dns_done</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="users_8h-source.html#l00161">flood</a>, <a class="el" href="users_8h-source.html#l00135">fullname</a>, <a class="el" href="connection_8h-source.html#l00070">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, <a class="el" href="connection_8h-source.html#l00092">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00114">invites</a>, <a class="el" href="connection_8h-source.html#l00050">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00084">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00203">lines_in</a>, <a class="el" href="users_8h-source.html#l00144">modes</a>, <a class="el" href="users_8h-source.html#l00121">nick</a>, <a class="el" href="connection_8h-source.html#l00096">connection::nping</a>, <a class="el" href="users_8h-source.html#l00174">oper</a>, <a class="el" href="connection_8h-source.html#l00076">connection::port</a>, <a class="el" href="users_8h-source.html#l00194">recvq</a>, <a class="el" href="connection_8h-source.html#l00080">connection::registered</a>, <a class="el" href="users_8h-source.html#l00204">reset_due</a>, <a class="el" href="users_8h-source.html#l00199">sendq</a>, <a class="el" href="users_8h-source.html#l00150">server</a>, <a class="el" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>, <a class="el" href="connection_8h-source.html#l00088">connection::signon</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, <a class="el" href="users_8h-source.html#l00167">timeout</a>, and <a class="el" href="channels_8h-source.html#l00247">ucrec::uc_modes</a>.<div class="fragment"><pre class="fragment"><a name="l00034"></a>00034 {
-<a name="l00035"></a>00035 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
-<a name="l00036"></a>00036 strcpy(<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<span class="stringliteral">""</span>);
-<a name="l00037"></a>00037 strcpy(<a class="code" href="classconnection.html#ip_5B_31_36_5D">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
-<a name="l00038"></a>00038 <a class="code" href="classuserrec.html#timeout">timeout</a> = 0;
-<a name="l00039"></a>00039 strcpy(<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<span class="stringliteral">""</span>);
-<a name="l00040"></a>00040 strcpy(<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,<span class="stringliteral">""</span>);
-<a name="l00041"></a>00041 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>);
-<a name="l00042"></a>00042 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>);
-<a name="l00043"></a>00043 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>);
-<a name="l00044"></a>00044 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(ServerName);
-<a name="l00045"></a>00045 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>);
-<a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>);
-<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
-<a name="l00048"></a>00048 <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a> = 0;
-<a name="l00049"></a>00049 <a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="classconnection.html#lastping">lastping</a> = <a class="code" href="classconnection.html#signon">signon</a> = <a class="code" href="classconnection.html#idle_5Flastmsg">idle_lastmsg</a> = <a class="code" href="classconnection.html#nping">nping</a> = <a class="code" href="classconnection.html#registered">registered</a> = 0;
-<a name="l00050"></a>00050 <a class="code" href="classuserrec.html#flood">flood</a> = <a class="code" href="classconnection.html#port">port</a> = <a class="code" href="classconnection.html#bytes_5Fin">bytes_in</a> = <a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> = <a class="code" href="classconnection.html#cmds_5Fin">cmds_in</a> = <a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a> = 0;
-<a name="l00051"></a>00051 <a class="code" href="classconnection.html#haspassed">haspassed</a> = <span class="keyword">false</span>;
-<a name="l00052"></a>00052 <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a> = <span class="keyword">false</span>;
-<a name="l00053"></a>00053 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
-<a name="l00054"></a>00054 <a class="code" href="classuserrec.html#sendq">sendq</a> = <span class="stringliteral">""</span>;
-<a name="l00055"></a>00055 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
-<a name="l00056"></a>00056 {
-<a name="l00057"></a>00057 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> = NULL;
-<a name="l00058"></a>00058 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0;
-<a name="l00059"></a>00059 }
-<a name="l00060"></a>00060 <a class="code" href="classuserrec.html#invites">invites</a>.clear();
-<a name="l00061"></a>00061 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00038">38</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00158">awaymsg</a>, <a class="el" href="connection_8h-source.html#l00054">connection::bytes_in</a>, <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="channels_8h-source.html#l00252">ucrec::channel</a>, <a class="el" href="users_8h-source.html#l00149">chans</a>, <a class="el" href="connection_8h-source.html#l00062">connection::cmds_in</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00181">dns_done</a>, <a class="el" href="connection_8h-source.html#l00042">connection::fd</a>, <a class="el" href="users_8h-source.html#l00164">flood</a>, <a class="el" href="users_8h-source.html#l00138">fullname</a>, <a class="el" href="connection_8h-source.html#l00070">connection::haspassed</a>, <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, <a class="el" href="connection_8h-source.html#l00092">connection::idle_lastmsg</a>, <a class="el" href="users_8h-source.html#l00117">invites</a>, <a class="el" href="connection_8h-source.html#l00050">connection::ip</a>, <a class="el" href="connection_8h-source.html#l00084">connection::lastping</a>, <a class="el" href="users_8h-source.html#l00206">lines_in</a>, <a class="el" href="users_8h-source.html#l00147">modes</a>, <a class="el" href="users_8h-source.html#l00124">nick</a>, <a class="el" href="connection_8h-source.html#l00096">connection::nping</a>, <a class="el" href="users_8h-source.html#l00177">oper</a>, <a class="el" href="connection_8h-source.html#l00076">connection::port</a>, <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="connection_8h-source.html#l00080">connection::registered</a>, <a class="el" href="users_8h-source.html#l00207">reset_due</a>, <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00153">server</a>, <a class="el" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>, <a class="el" href="connection_8h-source.html#l00088">connection::signon</a>, <a class="el" href="channels_8cpp.html#TIME">TIME</a>, <a class="el" href="users_8h-source.html#l00170">timeout</a>, and <a class="el" href="channels_8h-source.html#l00247">ucrec::uc_modes</a>.<div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 {
+<a name="l00040"></a>00040 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
+<a name="l00041"></a>00041 strcpy(<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<span class="stringliteral">""</span>);
+<a name="l00042"></a>00042 strcpy(<a class="code" href="classconnection.html#ip_5B_31_36_5D">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
+<a name="l00043"></a>00043 <a class="code" href="classuserrec.html#timeout">timeout</a> = 0;
+<a name="l00044"></a>00044 strcpy(<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<span class="stringliteral">""</span>);
+<a name="l00045"></a>00045 strcpy(<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,<span class="stringliteral">""</span>);
+<a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>);
+<a name="l00047"></a>00047 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>);
+<a name="l00048"></a>00048 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>);
+<a name="l00049"></a>00049 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(ServerName);
+<a name="l00050"></a>00050 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>);
+<a name="l00051"></a>00051 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>);
+<a name="l00052"></a>00052 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
+<a name="l00053"></a>00053 <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a> = 0;
+<a name="l00054"></a>00054 <a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="classconnection.html#lastping">lastping</a> = <a class="code" href="classconnection.html#signon">signon</a> = <a class="code" href="classconnection.html#idle_5Flastmsg">idle_lastmsg</a> = <a class="code" href="classconnection.html#nping">nping</a> = <a class="code" href="classconnection.html#registered">registered</a> = 0;
+<a name="l00055"></a>00055 <a class="code" href="classuserrec.html#flood">flood</a> = <a class="code" href="classconnection.html#port">port</a> = <a class="code" href="classconnection.html#bytes_5Fin">bytes_in</a> = <a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> = <a class="code" href="classconnection.html#cmds_5Fin">cmds_in</a> = <a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a> = 0;
+<a name="l00056"></a>00056 <a class="code" href="classconnection.html#haspassed">haspassed</a> = <span class="keyword">false</span>;
+<a name="l00057"></a>00057 <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a> = <span class="keyword">false</span>;
+<a name="l00058"></a>00058 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
+<a name="l00059"></a>00059 <a class="code" href="classuserrec.html#sendq">sendq</a> = <span class="stringliteral">""</span>;
+<a name="l00060"></a>00060 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
+<a name="l00061"></a>00061 {
+<a name="l00062"></a>00062 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> = NULL;
+<a name="l00063"></a>00063 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0;
+<a name="l00064"></a>00064 }
+<a name="l00065"></a>00065 <a class="code" href="classuserrec.html#invites">invites</a>.clear();
+<a name="l00066"></a>00066 }
</pre></div>
<p>
</td>
@@ -222,11 +222,11 @@ References <a class="el" href="users_8h-source.html#l00155">awaymsg</a>, <a clas
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
- <td class="md" nowrap valign="top">virtual userrec::~userrec </td>
+ <td class="md" nowrap valign="top">userrec::~userrec </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><code> [inline, virtual]</code></td>
+ <td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
@@ -242,7 +242,8 @@ References <a class="el" href="users_8h-source.html#l00155">awaymsg</a>, <a clas
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00221">221</a> of file <a class="el" href="users_8h-source.html">users.h</a>.<div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 { }
+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>.<div class="fragment"><pre class="fragment"><a name="l00069"></a>00069 {
+<a name="l00070"></a>00070 }
</pre></div>
<p>
</td>
@@ -278,32 +279,32 @@ 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 <a class="el" href="namespaceirc.html#string">std::string</a>, 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#l00194">194</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00194">recvq</a>, <a class="el" href="users_8h-source.html#l00217">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00288">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00195"></a>00195 {
-<a name="l00196"></a>00196 <a class="code" href="namespaceirc.html#string">std::string</a> b = <span class="stringliteral">""</span>;
-<a name="l00197"></a>00197 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
-<a name="l00198"></a>00198 <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))
-<a name="l00199"></a>00199 b = b + a[i];
-<a name="l00200"></a>00200 std::stringstream stream(<a class="code" href="classuserrec.html#recvq">recvq</a>);
-<a name="l00201"></a>00201 stream &lt;&lt; b;
-<a name="l00202"></a>00202 <a class="code" href="classuserrec.html#recvq">recvq</a> = stream.str();
-<a name="l00203"></a>00203 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0;
-<a name="l00204"></a>00204 <span class="comment">// count the size of the first line in the buffer.</span>
-<a name="l00205"></a>00205 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length())
-<a name="l00206"></a>00206 {
-<a name="l00207"></a>00207 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
-<a name="l00208"></a>00208 <span class="keywordflow">break</span>;
-<a name="l00209"></a>00209 }
-<a name="l00210"></a>00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>)
-<a name="l00211"></a>00211 {
-<a name="l00212"></a>00212 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
-<a name="l00213"></a>00213 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>);
-<a name="l00214"></a>00214 }
-<a name="l00215"></a>00215 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
-<a name="l00216"></a>00216 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
-<a name="l00217"></a>00217 <span class="keywordflow">return</span> (i &lt; 600);
-<a name="l00218"></a>00218 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00205">205</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00197">recvq</a>, <a class="el" href="users_8h-source.html#l00220">recvqmax</a>, and <a class="el" href="users_8cpp-source.html#l00299">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00206"></a>00206 {
+<a name="l00207"></a>00207 <a class="code" href="namespaceirc.html#string">std::string</a> b = <span class="stringliteral">""</span>;
+<a name="l00208"></a>00208 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+<a name="l00209"></a>00209 <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))
+<a name="l00210"></a>00210 b = b + a[i];
+<a name="l00211"></a>00211 std::stringstream stream(<a class="code" href="classuserrec.html#recvq">recvq</a>);
+<a name="l00212"></a>00212 stream &lt;&lt; b;
+<a name="l00213"></a>00213 <a class="code" href="classuserrec.html#recvq">recvq</a> = stream.str();
+<a name="l00214"></a>00214 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0;
+<a name="l00215"></a>00215 <span class="comment">// count the size of the first line in the buffer.</span>
+<a name="l00216"></a>00216 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length())
+<a name="l00217"></a>00217 {
+<a name="l00218"></a>00218 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+<a name="l00219"></a>00219 <span class="keywordflow">break</span>;
+<a name="l00220"></a>00220 }
+<a name="l00221"></a>00221 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>)
+<a name="l00222"></a>00222 {
+<a name="l00223"></a>00223 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
+<a name="l00224"></a>00224 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>);
+<a name="l00225"></a>00225 }
+<a name="l00226"></a>00226 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+<a name="l00227"></a>00227 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+<a name="l00228"></a>00228 <span class="keywordflow">return</span> (i &lt; 600);
+<a name="l00229"></a>00229 }
</pre></div>
<p>
</td>
@@ -338,21 +339,21 @@ Adds to the user's write buffer.
<p>
You may add any amount of text up to this users sendq value, if you exceed the sendq value, <a class="el" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError()</a> will be called to set the users error string to "SendQ exceeded", and further buffer adds will be dropped.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00250">250</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00199">sendq</a>, <a class="el" href="users_8h-source.html#l00213">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00288">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00251"></a>00251 {
-<a name="l00252"></a>00252 <span class="keywordflow">if</span> (this-&gt;GetWriteError() != <span class="stringliteral">""</span>)
-<a name="l00253"></a>00253 <span class="keywordflow">return</span>;
-<a name="l00254"></a>00254 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>)
-<a name="l00255"></a>00255 {
-<a name="l00256"></a>00256 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>);
-<a name="l00257"></a>00257 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
-<a name="l00258"></a>00258 <span class="keywordflow">return</span>;
-<a name="l00259"></a>00259 }
-<a name="l00260"></a>00260 std::stringstream stream;
-<a name="l00261"></a>00261 stream &lt;&lt; <a class="code" href="classuserrec.html#sendq">sendq</a> &lt;&lt; data;
-<a name="l00262"></a>00262 <a class="code" href="classuserrec.html#sendq">sendq</a> = stream.str();
-<a name="l00263"></a>00263 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00261">261</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00202">sendq</a>, <a class="el" href="users_8h-source.html#l00216">sendqmax</a>, and <a class="el" href="users_8cpp-source.html#l00299">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00262"></a>00262 {
+<a name="l00263"></a>00263 <span class="keywordflow">if</span> (this-&gt;GetWriteError() != <span class="stringliteral">""</span>)
+<a name="l00264"></a>00264 <span class="keywordflow">return</span>;
+<a name="l00265"></a>00265 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>)
+<a name="l00266"></a>00266 {
+<a name="l00267"></a>00267 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>);
+<a name="l00268"></a>00268 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
+<a name="l00269"></a>00269 <span class="keywordflow">return</span>;
+<a name="l00270"></a>00270 }
+<a name="l00271"></a>00271 std::stringstream stream;
+<a name="l00272"></a>00272 stream &lt;&lt; <a class="code" href="classuserrec.html#sendq">sendq</a> &lt;&lt; data;
+<a name="l00273"></a>00273 <a class="code" href="classuserrec.html#sendq">sendq</a> = stream.str();
+<a name="l00274"></a>00274 }
</pre></div>
<p>
</td>
@@ -386,14 +387,14 @@ This method returns true if the buffer contains at least one carriage return cha
<p>
one complete line may be read)
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00220">220</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#l00231">231</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00194">recvq</a>.<div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 {
-<a name="l00222"></a>00222 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length(); i++)
-<a name="l00223"></a>00223 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i] == <span class="charliteral">'\n'</span>)
-<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00225"></a>00225 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00226"></a>00226 }
+References <a class="el" href="users_8h-source.html#l00197">recvq</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 {
+<a name="l00233"></a>00233 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length(); i++)
+<a name="l00234"></a>00234 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+<a name="l00235"></a>00235 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00236"></a>00236 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00237"></a>00237 }
</pre></div>
<p>
</td>
@@ -427,13 +428,13 @@ 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#l00228">228</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#l00239">239</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00194">recvq</a>.
+References <a class="el" href="users_8h-source.html#l00197">recvq</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00229"></a>00229 {
-<a name="l00230"></a>00230 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
-<a name="l00231"></a>00231 }
+Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>.<div class="fragment"><pre class="fragment"><a name="l00240"></a>00240 {
+<a name="l00241"></a>00241 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
+<a name="l00242"></a>00242 }
</pre></div>
<p>
</td>
@@ -467,10 +468,10 @@ Shuts down and closes the user's socket.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00063">63</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00064"></a>00064 {
-<a name="l00065"></a>00065 shutdown(this-&gt;fd,2);
-<a name="l00066"></a>00066 close(this-&gt;fd);
-<a name="l00067"></a>00067 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00072">72</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00073"></a>00073 {
+<a name="l00074"></a>00074 shutdown(this-&gt;fd,2);
+<a name="l00075"></a>00075 close(this-&gt;fd);
+<a name="l00076"></a>00076 }
</pre></div>
<p>
</td>
@@ -504,28 +505,28 @@ Flushes as much of the user's buffer to the file descriptor as possible.
<p>
This function may not always flush the entire buffer, rather instead as much of it as it possibly can. If the send() call fails to send the entire buffer, the buffer position is advanced forwards and the rest of the data sent at the next call to this method.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00266">266</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00199">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00288">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00267"></a>00267 {
-<a name="l00268"></a>00268 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length())
-<a name="l00269"></a>00269 {
-<a name="l00270"></a>00270 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a>.c_str();
-<a name="l00271"></a>00271 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
-<a name="l00272"></a>00272 <span class="keywordflow">if</span> (n_sent == -1)
-<a name="l00273"></a>00273 {
-<a name="l00274"></a>00274 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(strerror(errno));
-<a name="l00275"></a>00275 }
-<a name="l00276"></a>00276 <span class="keywordflow">else</span>
-<a name="l00277"></a>00277 {
-<a name="l00278"></a>00278 <span class="comment">// advance the queue</span>
-<a name="l00279"></a>00279 tb += n_sent;
-<a name="l00280"></a>00280 this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a> = tb;
-<a name="l00281"></a>00281 <span class="comment">// update the user's stats counters</span>
-<a name="l00282"></a>00282 this-&gt;<a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> += n_sent;
-<a name="l00283"></a>00283 this-&gt;<a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a>++;
-<a name="l00284"></a>00284 }
-<a name="l00285"></a>00285 }
-<a name="l00286"></a>00286 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00277">277</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="connection_8h-source.html#l00058">connection::bytes_out</a>, <a class="el" href="connection_8h-source.html#l00066">connection::cmds_out</a>, <a class="el" href="users_8h-source.html#l00202">sendq</a>, and <a class="el" href="users_8cpp-source.html#l00299">SetWriteError()</a>.<div class="fragment"><pre class="fragment"><a name="l00278"></a>00278 {
+<a name="l00279"></a>00279 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length())
+<a name="l00280"></a>00280 {
+<a name="l00281"></a>00281 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a>.c_str();
+<a name="l00282"></a>00282 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
+<a name="l00283"></a>00283 <span class="keywordflow">if</span> (n_sent == -1)
+<a name="l00284"></a>00284 {
+<a name="l00285"></a>00285 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(strerror(errno));
+<a name="l00286"></a>00286 }
+<a name="l00287"></a>00287 <span class="keywordflow">else</span>
+<a name="l00288"></a>00288 {
+<a name="l00289"></a>00289 <span class="comment">// advance the queue</span>
+<a name="l00290"></a>00290 tb += n_sent;
+<a name="l00291"></a>00291 this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a> = tb;
+<a name="l00292"></a>00292 <span class="comment">// update the user's stats counters</span>
+<a name="l00293"></a>00293 this-&gt;<a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> += n_sent;
+<a name="l00294"></a>00294 this-&gt;<a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a>++;
+<a name="l00295"></a>00295 }
+<a name="l00296"></a>00296 }
+<a name="l00297"></a>00297 }
</pre></div>
<p>
</td>
@@ -559,23 +560,23 @@ This method returns the first available string at the tail end of the buffer and
<p>
This means it is a one way operation in a similar way to strtok(), and multiple calls return multiple lines if they are available. The results of this function if there are no lines to be read are unknown, always use <a class="el" href="classuserrec.html#BufferIsReady_28_29">BufferIsReady()</a> to check if it is ok to read the buffer before calling <a class="el" href="classuserrec.html#GetBuffer_28_29">GetBuffer()</a>.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00233">233</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="users_8h-source.html#l00194">recvq</a>.<div class="fragment"><pre class="fragment"><a name="l00234"></a>00234 {
-<a name="l00235"></a>00235 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a> == <span class="stringliteral">""</span>)
-<a name="l00236"></a>00236 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00237"></a>00237 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#recvq">recvq</a>.c_str();
-<a name="l00238"></a>00238 <a class="code" href="namespaceirc.html#string">std::string</a> ret = <span class="stringliteral">""</span>;
-<a name="l00239"></a>00239 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
-<a name="l00240"></a>00240 {
-<a name="l00241"></a>00241 ret = ret + *line;
-<a name="l00242"></a>00242 line++;
-<a name="l00243"></a>00243 }
-<a name="l00244"></a>00244 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
-<a name="l00245"></a>00245 line++;
-<a name="l00246"></a>00246 <a class="code" href="classuserrec.html#recvq">recvq</a> = line;
-<a name="l00247"></a>00247 <span class="keywordflow">return</span> ret;
-<a name="l00248"></a>00248 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00244">244</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="users_8h-source.html#l00197">recvq</a>.<div class="fragment"><pre class="fragment"><a name="l00245"></a>00245 {
+<a name="l00246"></a>00246 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a> == <span class="stringliteral">""</span>)
+<a name="l00247"></a>00247 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l00248"></a>00248 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#recvq">recvq</a>.c_str();
+<a name="l00249"></a>00249 <a class="code" href="namespaceirc.html#string">std::string</a> ret = <span class="stringliteral">""</span>;
+<a name="l00250"></a>00250 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+<a name="l00251"></a>00251 {
+<a name="l00252"></a>00252 ret = ret + *line;
+<a name="l00253"></a>00253 line++;
+<a name="l00254"></a>00254 }
+<a name="l00255"></a>00255 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+<a name="l00256"></a>00256 line++;
+<a name="l00257"></a>00257 <a class="code" href="classuserrec.html#recvq">recvq</a> = line;
+<a name="l00258"></a>00258 <span class="keywordflow">return</span> ret;
+<a name="l00259"></a>00259 }
</pre></div>
<p>
</td>
@@ -609,13 +610,13 @@ 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#l00069">69</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#l00078">78</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00131">dhost</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, and <a class="el" href="users_8h-source.html#l00121">nick</a>.<div class="fragment"><pre class="fragment"><a name="l00070"></a>00070 {
-<a name="l00071"></a>00071 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
-<a name="l00072"></a>00072 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>);
-<a name="l00073"></a>00073 <span class="keywordflow">return</span> result;
-<a name="l00074"></a>00074 }
+References <a class="el" href="users_8h-source.html#l00134">dhost</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, and <a class="el" href="users_8h-source.html#l00124">nick</a>.<div class="fragment"><pre class="fragment"><a name="l00079"></a>00079 {
+<a name="l00080"></a>00080 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
+<a name="l00081"></a>00081 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>);
+<a name="l00082"></a>00082 <span class="keywordflow">return</span> result;
+<a name="l00083"></a>00083 }
</pre></div>
<p>
</td>
@@ -649,13 +650,13 @@ 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#l00087">87</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#l00096">96</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00126">ident</a>, and <a class="el" href="users_8h-source.html#l00121">nick</a>.<div class="fragment"><pre class="fragment"><a name="l00088"></a>00088 {
-<a name="l00089"></a>00089 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
-<a name="l00090"></a>00090 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>);
-<a name="l00091"></a>00091 <span class="keywordflow">return</span> fresult;
-<a name="l00092"></a>00092 }
+References <a class="el" href="connection_8h-source.html#l00046">connection::host</a>, <a class="el" href="users_8h-source.html#l00129">ident</a>, and <a class="el" href="users_8h-source.html#l00124">nick</a>.<div class="fragment"><pre class="fragment"><a name="l00097"></a>00097 {
+<a name="l00098"></a>00098 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
+<a name="l00099"></a>00099 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>);
+<a name="l00100"></a>00100 <span class="keywordflow">return</span> fresult;
+<a name="l00101"></a>00101 }
</pre></div>
<p>
</td>
@@ -689,11 +690,11 @@ Returns the list of channels this user has been invited to but has not yet joine
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00108">108</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="users_8h-source.html#l00114">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00109"></a>00109 {
-<a name="l00110"></a>00110 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#invites">invites</a>;
-<a name="l00111"></a>00111 }
+References <a class="el" href="users_8h-source.html#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00118"></a>00118 {
+<a name="l00119"></a>00119 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#invites">invites</a>;
+<a name="l00120"></a>00120 }
</pre></div>
<p>
</td>
@@ -727,11 +728,11 @@ Returns the write error which last occured on this connection or an empty string
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00296">296</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#l00307">307</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00209">WriteError</a>.<div class="fragment"><pre class="fragment"><a name="l00297"></a>00297 {
-<a name="l00298"></a>00298 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a>;
-<a name="l00299"></a>00299 }
+References <a class="el" href="users_8h-source.html#l00212">WriteError</a>.<div class="fragment"><pre class="fragment"><a name="l00308"></a>00308 {
+<a name="l00309"></a>00309 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a>;
+<a name="l00310"></a>00310 }
</pre></div>
<p>
</td>
@@ -766,57 +767,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#oper_5BNICKMAX_5D">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#l00142">142</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="channels_8cpp.html#config_5Ff">config_f</a>, and <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.<div class="fragment"><pre class="fragment"><a name="l00143"></a>00143 {
-<a name="l00144"></a>00144 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-<a name="l00145"></a>00145 <span class="keywordtype">char</span>* mycmd;
-<a name="l00146"></a>00146 <span class="keywordtype">char</span>* savept;
-<a name="l00147"></a>00147 <span class="keywordtype">char</span>* savept2;
-<a name="l00148"></a>00148
-<a name="l00149"></a>00149 <span class="comment">// are they even an oper at all?</span>
-<a name="l00150"></a>00150 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-<a name="l00151"></a>00151 {
-<a name="l00152"></a>00152 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-<a name="l00153"></a>00153 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
-<a name="l00154"></a>00154 {
-<a name="l00155"></a>00155 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
-<a name="l00156"></a>00156 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-<a name="l00157"></a>00157 {
-<a name="l00158"></a>00158 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-<a name="l00159"></a>00159 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
-<a name="l00160"></a>00160 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-<a name="l00161"></a>00161 <span class="keywordflow">while</span> (myclass)
-<a name="l00162"></a>00162 {
-<a name="l00163"></a>00163 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-<a name="l00164"></a>00164 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
-<a name="l00165"></a>00165 {
-<a name="l00166"></a>00166 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
-<a name="l00167"></a>00167 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-<a name="l00168"></a>00168 {
-<a name="l00169"></a>00169 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
-<a name="l00170"></a>00170 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-<a name="l00171"></a>00171
-<a name="l00172"></a>00172
-<a name="l00173"></a>00173 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-<a name="l00174"></a>00174 <span class="keywordflow">while</span> (mycmd)
-<a name="l00175"></a>00175 {
-<a name="l00176"></a>00176 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-<a name="l00177"></a>00177 {
-<a name="l00178"></a>00178 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-<a name="l00179"></a>00179 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00180"></a>00180 }
-<a name="l00181"></a>00181 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-<a name="l00182"></a>00182 }
-<a name="l00183"></a>00183 }
-<a name="l00184"></a>00184 }
-<a name="l00185"></a>00185 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-<a name="l00186"></a>00186 }
-<a name="l00187"></a>00187 }
-<a name="l00188"></a>00188 }
-<a name="l00189"></a>00189 }
-<a name="l00190"></a>00190 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00191"></a>00191 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00151">151</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+<p>
+References <a class="el" href="channels_8cpp.html#config_5Ff">config_f</a>, and <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline()</a>.<div class="fragment"><pre class="fragment"><a name="l00152"></a>00152 {
+<a name="l00153"></a>00153 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+<a name="l00154"></a>00154 <span class="keywordtype">char</span>* mycmd;
+<a name="l00155"></a>00155 <span class="keywordtype">char</span>* savept;
+<a name="l00156"></a>00156 <span class="keywordtype">char</span>* savept2;
+<a name="l00157"></a>00157
+<a name="l00158"></a>00158 <span class="comment">// users on u-lined servers can completely bypass</span>
+<a name="l00159"></a>00159 <span class="comment">// all permissions based checks.</span>
+<a name="l00160"></a>00160 <span class="comment">//</span>
+<a name="l00161"></a>00161 <span class="comment">// of course, if this is sent to a remote server and this</span>
+<a name="l00162"></a>00162 <span class="comment">// server is not ulined there, then that other server</span>
+<a name="l00163"></a>00163 <span class="comment">// silently drops the command.</span>
+<a name="l00164"></a>00164 <span class="keywordflow">if</span> (<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(this-&gt;server))
+<a name="l00165"></a>00165 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00166"></a>00166
+<a name="l00167"></a>00167 <span class="comment">// are they even an oper at all?</span>
+<a name="l00168"></a>00168 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+<a name="l00169"></a>00169 {
+<a name="l00170"></a>00170 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j =0; j &lt; ConfValueEnum(<span class="stringliteral">"type"</span>,&amp;config_f); j++)
+<a name="l00171"></a>00171 {
+<a name="l00172"></a>00172 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;config_f);
+<a name="l00173"></a>00173 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+<a name="l00174"></a>00174 {
+<a name="l00175"></a>00175 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;config_f);
+<a name="l00176"></a>00176 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+<a name="l00177"></a>00177 <span class="keywordflow">while</span> (myclass)
+<a name="l00178"></a>00178 {
+<a name="l00179"></a>00179 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k =0; k &lt; ConfValueEnum(<span class="stringliteral">"class"</span>,&amp;config_f); k++)
+<a name="l00180"></a>00180 {
+<a name="l00181"></a>00181 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;config_f);
+<a name="l00182"></a>00182 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+<a name="l00183"></a>00183 {
+<a name="l00184"></a>00184 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;config_f);
+<a name="l00185"></a>00185 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+<a name="l00186"></a>00186 <span class="keywordflow">while</span> (mycmd)
+<a name="l00187"></a>00187 {
+<a name="l00188"></a>00188 <span class="keywordflow">if</span> ((!strcasecmp(mycmd,command)) || (*mycmd == <span class="charliteral">'*'</span>))
+<a name="l00189"></a>00189 {
+<a name="l00190"></a>00190 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00191"></a>00191 }
+<a name="l00192"></a>00192 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+<a name="l00193"></a>00193 }
+<a name="l00194"></a>00194 }
+<a name="l00195"></a>00195 }
+<a name="l00196"></a>00196 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+<a name="l00197"></a>00197 }
+<a name="l00198"></a>00198 }
+<a name="l00199"></a>00199 }
+<a name="l00200"></a>00200 }
+<a name="l00201"></a>00201 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00202"></a>00202 }
</pre></div>
<p>
</td>
@@ -851,13 +854,13 @@ 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#l00113">113</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#l00122">122</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00039">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00114"></a>00114 {
-<a name="l00115"></a>00115 <a class="code" href="classInvited.html">Invited</a> i;
-<a name="l00116"></a>00116 strlcpy(i.<a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>,channel,CHANMAX);
-<a name="l00117"></a>00117 <a class="code" href="classuserrec.html#invites">invites</a>.push_back(i);
-<a name="l00118"></a>00118 }
+References <a class="el" href="users_8h-source.html#l00042">Invited::channel</a>, and <a class="el" href="users_8h-source.html#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00123"></a>00123 {
+<a name="l00124"></a>00124 <a class="code" href="classInvited.html">Invited</a> i;
+<a name="l00125"></a>00125 strlcpy(i.<a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>,channel,CHANMAX);
+<a name="l00126"></a>00126 <a class="code" href="classuserrec.html#invites">invites</a>.push_back(i);
+<a name="l00127"></a>00127 }
</pre></div>
<p>
</td>
@@ -892,20 +895,20 @@ Returns true if a user is invited to a channel.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00094">94</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#l00103">103</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="users_8h-source.html#l00114">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00095"></a>00095 {
-<a name="l00096"></a>00096 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
-<a name="l00097"></a>00097 {
-<a name="l00098"></a>00098 <span class="keywordflow">if</span> (i-&gt;channel) {
-<a name="l00099"></a>00099 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-<a name="l00100"></a>00100 {
-<a name="l00101"></a>00101 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00102"></a>00102 }
-<a name="l00103"></a>00103 }
-<a name="l00104"></a>00104 }
-<a name="l00105"></a>00105 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00106"></a>00106 }
+References <a class="el" href="users_8h-source.html#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00104"></a>00104 {
+<a name="l00105"></a>00105 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
+<a name="l00106"></a>00106 {
+<a name="l00107"></a>00107 <span class="keywordflow">if</span> (i-&gt;channel) {
+<a name="l00108"></a>00108 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+<a name="l00109"></a>00109 {
+<a name="l00110"></a>00110 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00111"></a>00111 }
+<a name="l00112"></a>00112 }
+<a name="l00113"></a>00113 }
+<a name="l00114"></a>00114 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00115"></a>00115 }
</pre></div>
<p>
</td>
@@ -949,16 +952,16 @@ Calls read() to read some data for this user using their fd.
<p>
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00076">76</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
+Definition at line <a class="el" href="users_8cpp-source.html#l00085">85</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
<p>
-References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.<div class="fragment"><pre class="fragment"><a name="l00077"></a>00077 {
-<a name="l00078"></a>00078 <span class="keywordflow">if</span> (this-&gt;fd &gt; -1)
-<a name="l00079"></a>00079 {
-<a name="l00080"></a>00080 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"userrec::ReadData on fd %d"</span>,this-&gt;fd);
-<a name="l00081"></a>00081 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
-<a name="l00082"></a>00082 }
-<a name="l00083"></a>00083 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
-<a name="l00084"></a>00084 }
+References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>.<div class="fragment"><pre class="fragment"><a name="l00086"></a>00086 {
+<a name="l00087"></a>00087 <span class="keywordflow">if</span> (this-&gt;fd &gt; -1)
+<a name="l00088"></a>00088 {
+<a name="l00089"></a>00089 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"userrec::ReadData on fd %d"</span>,this-&gt;fd);
+<a name="l00090"></a>00090 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
+<a name="l00091"></a>00091 }
+<a name="l00092"></a>00092 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
+<a name="l00093"></a>00093 }
</pre></div>
<p>
</td>
@@ -993,28 +996,28 @@ 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#l00120">120</a> of file <a class="el" href="users_8cpp-source.html">users.cpp</a>.
-<p>
-References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00114">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00121"></a>00121 {
-<a name="l00122"></a>00122 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
-<a name="l00123"></a>00123 <span class="keywordflow">if</span> (channel)
-<a name="l00124"></a>00124 {
-<a name="l00125"></a>00125 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size())
-<a name="l00126"></a>00126 {
-<a name="l00127"></a>00127 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
-<a name="l00128"></a>00128 {
-<a name="l00129"></a>00129 <span class="keywordflow">if</span> (i-&gt;channel)
-<a name="l00130"></a>00130 {
-<a name="l00131"></a>00131 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-<a name="l00132"></a>00132 {
-<a name="l00133"></a>00133 <a class="code" href="classuserrec.html#invites">invites</a>.erase(i);
-<a name="l00134"></a>00134 <span class="keywordflow">return</span>;
-<a name="l00135"></a>00135 }
-<a name="l00136"></a>00136 }
-<a name="l00137"></a>00137 }
-<a name="l00138"></a>00138 }
-<a name="l00139"></a>00139 }
-<a name="l00140"></a>00140 }
+Definition at line <a class="el" href="users_8cpp-source.html#l00129">129</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#l00117">invites</a>.<div class="fragment"><pre class="fragment"><a name="l00130"></a>00130 {
+<a name="l00131"></a>00131 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
+<a name="l00132"></a>00132 <span class="keywordflow">if</span> (channel)
+<a name="l00133"></a>00133 {
+<a name="l00134"></a>00134 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size())
+<a name="l00135"></a>00135 {
+<a name="l00136"></a>00136 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
+<a name="l00137"></a>00137 {
+<a name="l00138"></a>00138 <span class="keywordflow">if</span> (i-&gt;channel)
+<a name="l00139"></a>00139 {
+<a name="l00140"></a>00140 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+<a name="l00141"></a>00141 {
+<a name="l00142"></a>00142 <a class="code" href="classuserrec.html#invites">invites</a>.erase(i);
+<a name="l00143"></a>00143 <span class="keywordflow">return</span>;
+<a name="l00144"></a>00144 }
+<a name="l00145"></a>00145 }
+<a name="l00146"></a>00146 }
+<a name="l00147"></a>00147 }
+<a name="l00148"></a>00148 }
+<a name="l00149"></a>00149 }
</pre></div>
<p>
</td>
@@ -1049,16 +1052,16 @@ Sets the write error for a connection.
<p>
This is done because the actual disconnect of a client may occur at an inopportune time such as half way through /LIST output. The WriteErrors of clients are checked at a more ideal time (in the mainloop) and errored clients purged.
<p>
-Definition at line <a class="el" href="users_8cpp-source.html#l00288">288</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#l00299">299</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#l00209">WriteError</a>.
+References <a class="el" href="modules_8h-source.html#l00023">DEBUG</a>, and <a class="el" href="users_8h-source.html#l00212">WriteError</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00194">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00250">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00266">FlushWriteBuf()</a>.<div class="fragment"><pre class="fragment"><a name="l00289"></a>00289 {
-<a name="l00290"></a>00290 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
-<a name="l00291"></a>00291 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
-<a name="l00292"></a>00292 <span class="keywordflow">if</span> (this-&gt;WriteError == <span class="stringliteral">""</span>)
-<a name="l00293"></a>00293 this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a> = error;
-<a name="l00294"></a>00294 }
+Referenced by <a class="el" href="users_8cpp-source.html#l00205">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00261">AddWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00277">FlushWriteBuf()</a>.<div class="fragment"><pre class="fragment"><a name="l00300"></a>00300 {
+<a name="l00301"></a>00301 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
+<a name="l00302"></a>00302 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
+<a name="l00303"></a>00303 <span class="keywordflow">if</span> (this-&gt;WriteError == <span class="stringliteral">""</span>)
+<a name="l00304"></a>00304 this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a> = error;
+<a name="l00305"></a>00305 }
</pre></div>
<p>
</td>
@@ -1089,9 +1092,9 @@ The user's away message.
<p>
If this string is empty, the user is not marked as away.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00155">155</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="chans_5BMAXCHANS_5D"></a><!-- doxytag: member="userrec::chans" ref="chans_5BMAXCHANS_5D" args="[MAXCHANS]" --><p>
@@ -1116,9 +1119,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00146">146</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00149">149</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#l00670">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="dhost_5B_31_36_30_5D"></a><!-- doxytag: member="userrec::dhost" ref="dhost_5B_31_36_30_5D" args="[160]" --><p>
@@ -1145,9 +1148,9 @@ The host displayed to non-opers (used for cloaking etc).
<p>
This usually matches the value of <a class="el" href="classconnection.html#host_5B_31_36_30_5D">userrec::host</a>.
<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#l00134">134</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#l00069">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="dns_5Fdone"></a><!-- doxytag: member="userrec::dns_done" ref="dns_5Fdone" args="" --><p>
@@ -1174,9 +1177,9 @@ 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#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#l00181">181</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="flood"></a><!-- doxytag: member="userrec::flood" ref="flood" args="" --><p>
@@ -1203,9 +1206,9 @@ Number of lines the user can place into the buffer (up to the global NetBufferSi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00161">161</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#l00164">164</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="fullname_5BMAXGECOS_2B_31_5D"></a><!-- doxytag: member="userrec::fullname" ref="fullname_5BMAXGECOS_2B_31_5D" args="[MAXGECOS+1]" --><p>
@@ -1232,9 +1235,9 @@ The users full name.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00135">135</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00138">138</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="ident_5BIDENTMAX_2B_32_5D"></a><!-- doxytag: member="userrec::ident" ref="ident_5BIDENTMAX_2B_32_5D" args="[IDENTMAX+2]" --><p>
@@ -1261,9 +1264,9 @@ The users ident reply.
<p>
Two characters are added to the user-defined limit to compensate for the tilde etc.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00126">126</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#l00129">129</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#l00069">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00087">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a class="anchor" name="invites"></a><!-- doxytag: member="userrec::invites" ref="invites" args="" --><p>
@@ -1290,9 +1293,9 @@ A list of channels the user has a pending invite to.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00114">114</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00117">117</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#l00108">GetInviteList()</a>, <a class="el" href="users_8cpp-source.html#l00113">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00094">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00120">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00117">GetInviteList()</a>, <a class="el" href="users_8cpp-source.html#l00122">InviteTo()</a>, <a class="el" href="users_8cpp-source.html#l00103">IsInvited()</a>, <a class="el" href="users_8cpp-source.html#l00129">RemoveInvite()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="lines_5Fin"></a><!-- doxytag: member="userrec::lines_in" ref="lines_5Fin" args="" --><p>
@@ -1319,9 +1322,9 @@ Flood counters.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00203">203</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00206">206</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="modes_5B_35_34_5D"></a><!-- doxytag: member="userrec::modes" ref="modes_5B_35_34_5D" args="[54]" --><p>
@@ -1348,9 +1351,9 @@ 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. it is limited to length 54, as there can only be a maximum of 52 user modes (26 upper, 26 lower case) a null terminating char, and an optional + character.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00144">144</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#l00147">147</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="nick_5BNICKMAX_5D"></a><!-- doxytag: member="userrec::nick" ref="nick_5BNICKMAX_5D" args="[NICKMAX]" --><p>
@@ -1377,9 +1380,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#l00121">121</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="modules_8cpp-source.html#l00894">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00069">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00087">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00670">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00932">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00078">GetFullHost()</a>, <a class="el" href="users_8cpp-source.html#l00096">GetFullRealHost()</a>, <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="oper_5BNICKMAX_5D"></a><!-- doxytag: member="userrec::oper" ref="oper_5BNICKMAX_5D" args="[NICKMAX]" --><p>
@@ -1406,9 +1409,9 @@ 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#l00174">174</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#l00177">177</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="password_5BMAXBUF_5D"></a><!-- doxytag: member="userrec::password" ref="password_5BMAXBUF_5D" args="[MAXBUF]" --><p>
@@ -1435,7 +1438,7 @@ Password specified by the user when they registered.
<p>
This is stored even if the &lt;connect&gt; block doesnt need a password, so that modules may check it.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00188">188</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+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 class="anchor" name="pingmax"></a><!-- doxytag: member="userrec::pingmax" ref="pingmax" args="" --><p>
@@ -1462,7 +1465,7 @@ 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#l00182">182</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#l00185">185</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="recvq"></a><!-- doxytag: member="userrec::recvq" ref="recvq" args="" --><p>
@@ -1489,9 +1492,9 @@ 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#l00194">194</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#l00197">197</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#l00194">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00220">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00228">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00233">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00205">AddBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00231">BufferIsReady()</a>, <a class="el" href="users_8cpp-source.html#l00239">ClearBuffer()</a>, <a class="el" href="users_8cpp-source.html#l00244">GetBuffer()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="recvqmax"></a><!-- doxytag: member="userrec::recvqmax" ref="recvqmax" args="" --><p>
@@ -1518,9 +1521,9 @@ Maximum size this user's recvq can become.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00217">217</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00220">220</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#l00194">AddBuffer()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00205">AddBuffer()</a>. </td>
</tr>
</table>
<a class="anchor" name="reset_5Fdue"></a><!-- doxytag: member="userrec::reset_due" ref="reset_5Fdue" args="" --><p>
@@ -1545,9 +1548,9 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00194">AddBuffer()</a>
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00204">204</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00207">207</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="sendq"></a><!-- doxytag: member="userrec::sendq" ref="sendq" args="" --><p>
@@ -1574,9 +1577,9 @@ User's send queue.
<p>
Lines waiting to be sent are stored here until their buffer is flushed.
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00199">199</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#l00202">202</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#l00250">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00266">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00261">AddWriteBuf()</a>, <a class="el" href="users_8cpp-source.html#l00277">FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="sendqmax"></a><!-- doxytag: member="userrec::sendqmax" ref="sendqmax" args="" --><p>
@@ -1603,9 +1606,9 @@ Maximum size this user's sendq can become.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00213">213</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00216">216</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#l00250">AddWriteBuf()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00261">AddWriteBuf()</a>. </td>
</tr>
</table>
<a class="anchor" name="server"></a><!-- doxytag: member="userrec::server" ref="server" args="" --><p>
@@ -1632,9 +1635,9 @@ The server the user is connected to.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00150">150</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+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>.
<p>
-Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="threshold"></a><!-- doxytag: member="userrec::threshold" ref="threshold" args="" --><p>
@@ -1659,7 +1662,7 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00205">205</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
+Definition at line <a class="el" href="users_8h-source.html#l00208">208</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="timeout"></a><!-- doxytag: member="userrec::timeout" ref="timeout" args="" --><p>
@@ -1686,9 +1689,9 @@ 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#l00167">167</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#l00170">170</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#l00033">userrec()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00038">userrec()</a>. </td>
</tr>
</table>
<a class="anchor" name="WriteError"></a><!-- doxytag: member="userrec::WriteError" ref="WriteError" args="" --><p>
@@ -1713,14 +1716,14 @@ Referenced by <a class="el" href="users_8cpp-source.html#l00033">userrec()</a>.
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00209">209</a> of file <a class="el" href="users_8h-source.html">users.h</a>.
+Definition at line <a class="el" href="users_8h-source.html#l00212">212</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#l00296">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00288">SetWriteError()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00307">GetWriteError()</a>, and <a class="el" href="users_8cpp-source.html#l00299">SetWriteError()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="users_8h-source.html">users.h</a><li><a class="el" href="users_8cpp-source.html">users.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/commands_8h-source.html b/docs/module-doc/commands_8h-source.html
index 3d62e89c4..ca09eb05e 100644
--- a/docs/module-doc/commands_8h-source.html
+++ b/docs/module-doc/commands_8h-source.html
@@ -94,8 +94,10 @@
<a name="l00089"></a>00089
<a name="l00092"></a>00092 <span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str);
<a name="l00093"></a>00093
-<a name="l00094"></a>00094 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">do_whois</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classuserrec.html">userrec</a>* dest,<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> signon, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> idle, <span class="keywordtype">char</span>* nick);
+<a name="l00095"></a>00095
+<a name="l00096"></a>00096 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/commands_8h.html b/docs/module-doc/commands_8h.html
index 191152837..1c25411f7 100644
--- a/docs/module-doc/commands_8h.html
+++ b/docs/module-doc/commands_8h.html
@@ -27,7 +27,8 @@ Include dependency graph for commands.h:<p><center><img src="commands_8h__incl.g
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="commands_8h__dep__incl.gif" border="0" usemap="#commands.hdep_map" alt=""></center>
<map name="commands.hdep_map">
-<area href="modules_8cpp-source.html" shape="rect" coords="154,7,252,33" alt="">
+<area href="modules_8cpp-source.html" shape="rect" coords="154,7,252,34" alt="">
+<area href="users_8cpp-source.html" shape="rect" coords="163,58,243,84" alt="">
</map>
<p>
@@ -143,8 +144,65 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a> (const char *str)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Other useful functions. <a href="#duration_28const_20char_20_2Astr_29"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">do_whois</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classuserrec.html">userrec</a> *dest, unsigned long signon, unsigned long idle, char *nick)</td></tr>
+
</table>
<hr><h2>Function Documentation</h2>
+<a class="anchor" name="do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29"></a><!-- doxytag: member="commands.h::do_whois" ref="do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29" args="(userrec *user, userrec *dest, unsigned long signon, unsigned long idle, char *nick)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void do_whois </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>user</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>dest</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned long&nbsp;</td>
+ <td class="mdname" nowrap> <em>signon</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned long&nbsp;</td>
+ <td class="mdname" nowrap> <em>idle</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>nick</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="duration_28const_20char_20_2Astr_29"></a><!-- doxytag: member="commands.h::duration" ref="duration_28const_20char_20_2Astr_29" args="(const char *str)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -174,7 +232,7 @@ Other useful functions.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00750">Server::CalcDuration()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00788">Server::CalcDuration()</a>. </td>
</tr>
</table>
<a class="anchor" name="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="commands.h::handle_admin" ref="handle_5Fadmin_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p>
@@ -2401,10 +2459,10 @@ Functions for u:lined servers.
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00442">Server::IsUlined()</a>. </td>
+Referenced by <a class="el" href="users_8cpp-source.html#l00151">userrec::HasPermission()</a>, and <a class="el" href="modules_8cpp-source.html#l00475">Server::IsUlined()</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:06 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/commands_8h__dep__incl.gif b/docs/module-doc/commands_8h__dep__incl.gif
index f3081d264..9c1fd4e97 100644
--- a/docs/module-doc/commands_8h__dep__incl.gif
+++ b/docs/module-doc/commands_8h__dep__incl.gif
Binary files differ
diff --git a/docs/module-doc/commands_8h__dep__incl.map b/docs/module-doc/commands_8h__dep__incl.map
index 4ed4b1367..40f4817a8 100644
--- a/docs/module-doc/commands_8h__dep__incl.map
+++ b/docs/module-doc/commands_8h__dep__incl.map
@@ -1,2 +1,3 @@
base referer
-rect $modules_8cpp-source.html 154,7 252,33
+rect $modules_8cpp-source.html 154,7 252,34
+rect $users_8cpp-source.html 163,58 243,84
diff --git a/docs/module-doc/commands_8h__dep__incl.md5 b/docs/module-doc/commands_8h__dep__incl.md5
index f0e06b5f7..f583a9c38 100644
--- a/docs/module-doc/commands_8h__dep__incl.md5
+++ b/docs/module-doc/commands_8h__dep__incl.md5
@@ -1 +1 @@
-cf68098e63b4748ba0865f2bc30af732 \ No newline at end of file
+ccb4ab234f9170cb8c946ac0da24c81d \ No newline at end of file
diff --git a/docs/module-doc/commands_8h__incl.md5 b/docs/module-doc/commands_8h__incl.md5
index 451a89aa0..75966de38 100644
--- a/docs/module-doc/commands_8h__incl.md5
+++ b/docs/module-doc/commands_8h__incl.md5
@@ -1 +1 @@
-c2b443ef5e1ee3a3ee4ac49b793d39a5 \ No newline at end of file
+0ab6434b364171922a16fbd69fe35c2b \ No newline at end of file
diff --git a/docs/module-doc/connection_8h-source.html b/docs/module-doc/connection_8h-source.html
index 8570e44d5..1953b03c1 100644
--- a/docs/module-doc/connection_8h-source.html
+++ b/docs/module-doc/connection_8h-source.html
@@ -82,7 +82,7 @@
<a name="l00107"></a>00107 <span class="preprocessor">#endif</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span>
<a name="l00109"></a>00109
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/connection_8h.html b/docs/module-doc/connection_8h.html
index 302c0902a..2b2d28e2a 100644
--- a/docs/module-doc/connection_8h.html
+++ b/docs/module-doc/connection_8h.html
@@ -31,14 +31,14 @@ Include dependency graph for connection.h:<p><center><img src="connection_8h__in
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="connection_8h__dep__incl.gif" border="0" usemap="#connection.hdep_map" alt=""></center>
<map name="connection.hdep_map">
-<area href="users_8cpp-source.html" shape="rect" coords="278,7,358,33" alt="">
-<area href="users_8h-source.html" shape="rect" coords="155,133,219,160" alt="">
-<area href="channels_8cpp-source.html" shape="rect" coords="416,133,515,160" alt="">
-<area href="modules_8cpp-source.html" shape="rect" coords="416,209,515,236" alt="">
-<area href="commands_8h-source.html" shape="rect" coords="268,311,367,337" alt="">
-<area href="message_8h-source.html" shape="rect" coords="275,108,360,135" alt="">
-<area href="mode_8h-source.html" shape="rect" coords="284,159,351,185" alt="">
-<area href="xline_8h-source.html" shape="rect" coords="287,209,348,236" alt="">
+<area href="users_8cpp-source.html" shape="rect" coords="426,58,506,84" alt="">
+<area href="users_8h-source.html" shape="rect" coords="155,184,219,211" alt="">
+<area href="channels_8cpp-source.html" shape="rect" coords="416,286,515,312" alt="">
+<area href="modules_8cpp-source.html" shape="rect" coords="416,210,515,236" alt="">
+<area href="commands_8h-source.html" shape="rect" coords="268,108,367,135" alt="">
+<area href="message_8h-source.html" shape="rect" coords="275,210,360,236" alt="">
+<area href="mode_8h-source.html" shape="rect" coords="284,260,351,287" alt="">
+<area href="xline_8h-source.html" shape="rect" coords="287,311,348,338" alt="">
</map>
<p>
@@ -49,7 +49,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Please note: classes serverrec and userrec both inherit from class connection. <a href="classconnection.html#_details">More...</a><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/connection_8h__dep__incl.gif b/docs/module-doc/connection_8h__dep__incl.gif
index b424df146..6955c5eeb 100644
--- a/docs/module-doc/connection_8h__dep__incl.gif
+++ b/docs/module-doc/connection_8h__dep__incl.gif
Binary files differ
diff --git a/docs/module-doc/connection_8h__dep__incl.map b/docs/module-doc/connection_8h__dep__incl.map
index 03b0bcf03..e2eda6b4d 100644
--- a/docs/module-doc/connection_8h__dep__incl.map
+++ b/docs/module-doc/connection_8h__dep__incl.map
@@ -1,9 +1,9 @@
base referer
-rect $users_8cpp-source.html 278,7 358,33
-rect $users_8h-source.html 155,133 219,160
-rect $channels_8cpp-source.html 416,133 515,160
-rect $modules_8cpp-source.html 416,209 515,236
-rect $commands_8h-source.html 268,311 367,337
-rect $message_8h-source.html 275,108 360,135
-rect $mode_8h-source.html 284,159 351,185
-rect $xline_8h-source.html 287,209 348,236
+rect $users_8cpp-source.html 426,58 506,84
+rect $users_8h-source.html 155,184 219,211
+rect $channels_8cpp-source.html 416,286 515,312
+rect $modules_8cpp-source.html 416,210 515,236
+rect $commands_8h-source.html 268,108 367,135
+rect $message_8h-source.html 275,210 360,236
+rect $mode_8h-source.html 284,260 351,287
+rect $xline_8h-source.html 287,311 348,338
diff --git a/docs/module-doc/connection_8h__dep__incl.md5 b/docs/module-doc/connection_8h__dep__incl.md5
index c1c7e633a..d38e2fed2 100644
--- a/docs/module-doc/connection_8h__dep__incl.md5
+++ b/docs/module-doc/connection_8h__dep__incl.md5
@@ -1 +1 @@
-c7cecb14291ff4131ebac40acf61d502 \ No newline at end of file
+e7f8b1061bdad90c2835adfcfbc5d84e \ No newline at end of file
diff --git a/docs/module-doc/connection_8h__incl.gif b/docs/module-doc/connection_8h__incl.gif
index 61336dc8b..6ce5349e8 100644
--- a/docs/module-doc/connection_8h__incl.gif
+++ b/docs/module-doc/connection_8h__incl.gif
Binary files differ
diff --git a/docs/module-doc/connection_8h__incl.md5 b/docs/module-doc/connection_8h__incl.md5
index be4f35580..fd8b11637 100644
--- a/docs/module-doc/connection_8h__incl.md5
+++ b/docs/module-doc/connection_8h__incl.md5
@@ -1 +1 @@
-7566ac0f626ba6a537eabdae6c98a2d9 \ No newline at end of file
+58c73d261dc41f418721e3c765d392c8 \ No newline at end of file
diff --git a/docs/module-doc/ctables_8h-source.html b/docs/module-doc/ctables_8h-source.html
index 0241f3c68..7f3a4cfee 100644
--- a/docs/module-doc/ctables_8h-source.html
+++ b/docs/module-doc/ctables_8h-source.html
@@ -44,7 +44,7 @@
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/ctables_8h.html b/docs/module-doc/ctables_8h.html
index 674d3b7f9..b2f9ac1e7 100644
--- a/docs/module-doc/ctables_8h.html
+++ b/docs/module-doc/ctables_8h.html
@@ -33,7 +33,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A structure that defines a command. <a href="classcommand__t.html#_details">More...</a><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/ctables_8h__incl.gif b/docs/module-doc/ctables_8h__incl.gif
index 1d6aea743..4920046dd 100644
--- a/docs/module-doc/ctables_8h__incl.gif
+++ b/docs/module-doc/ctables_8h__incl.gif
Binary files differ
diff --git a/docs/module-doc/ctables_8h__incl.md5 b/docs/module-doc/ctables_8h__incl.md5
index 21bcd8b04..b510b2d77 100644
--- a/docs/module-doc/ctables_8h__incl.md5
+++ b/docs/module-doc/ctables_8h__incl.md5
@@ -1 +1 @@
-ce4287d2f1f82e62ab357a4a90b21185 \ No newline at end of file
+d5431bcb76ccd0bce090bde6c22e93eb \ No newline at end of file
diff --git a/docs/module-doc/dir_000000.html b/docs/module-doc/dir_000000.html
index 433d50e93..03db9192d 100644
--- a/docs/module-doc/dir_000000.html
+++ b/docs/module-doc/dir_000000.html
@@ -20,7 +20,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000001.html">brain</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000001.html b/docs/module-doc/dir_000001.html
index e50eadacb..b1836c3da 100644
--- a/docs/module-doc/dir_000001.html
+++ b/docs/module-doc/dir_000001.html
@@ -21,7 +21,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000002.html">inspircd-cvs</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000002.html b/docs/module-doc/dir_000002.html
index 09debb034..71c2a48c1 100644
--- a/docs/module-doc/dir_000002.html
+++ b/docs/module-doc/dir_000002.html
@@ -21,7 +21,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000003.html">inspircd</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000003.html b/docs/module-doc/dir_000003.html
index caf075056..bf667456c 100644
--- a/docs/module-doc/dir_000003.html
+++ b/docs/module-doc/dir_000003.html
@@ -13,7 +13,7 @@
<map name="dir_000003_dep_map">
<area href="dir_000004.html" shape="rect" coords="39,172,111,220" alt="">
<area href="dir_000005.html" shape="rect" coords="39,76,111,124" alt="">
-<area href="dir_000005_000004.html" shape="rect" coords="75,147,90,160" alt="">
+<area href="dir_000005_000004.html" shape="rect" coords="75,147,91,160" alt="">
<area href="dir_000005_000004.html" shape="rect" coords="71,168,79,176" alt="">
<area href="dir_000003.html" shape="rect" coords="28,55,217,231" alt="">
<area href="dir_000002.html" shape="rect" coords="17,17,228,241" alt="">
@@ -26,7 +26,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000005.html">src</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000003_dep.gif b/docs/module-doc/dir_000003_dep.gif
index 970c00d1e..dae021b5f 100644
--- a/docs/module-doc/dir_000003_dep.gif
+++ b/docs/module-doc/dir_000003_dep.gif
Binary files differ
diff --git a/docs/module-doc/dir_000003_dep.map b/docs/module-doc/dir_000003_dep.map
index da683e754..43e9d1dd9 100644
--- a/docs/module-doc/dir_000003_dep.map
+++ b/docs/module-doc/dir_000003_dep.map
@@ -1,7 +1,7 @@
base referer
rect dir_000004.html 39,172 111,220
rect dir_000005.html 39,76 111,124
-rect dir_000005_000004.html 75,147 90,160
+rect dir_000005_000004.html 75,147 91,160
rect dir_000005_000004.html 71,168 79,176
rect dir_000003.html 28,55 217,231
rect dir_000002.html 17,17 228,241
diff --git a/docs/module-doc/dir_000004.html b/docs/module-doc/dir_000004.html
index 5a3041753..b66c766e7 100644
--- a/docs/module-doc/dir_000004.html
+++ b/docs/module-doc/dir_000004.html
@@ -44,7 +44,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000005.html b/docs/module-doc/dir_000005.html
index 24d94f27e..16c8b902f 100644
--- a/docs/module-doc/dir_000005.html
+++ b/docs/module-doc/dir_000005.html
@@ -13,7 +13,7 @@
<map name="dir_000005_dep_map">
<area href="dir_000005.html" shape="rect" coords="28,55,100,103" alt="">
<area href="dir_000004.html" shape="rect" coords="28,151,100,199" alt="">
-<area href="dir_000005_000004.html" shape="rect" coords="65,125,79,139" alt="">
+<area href="dir_000005_000004.html" shape="rect" coords="64,125,80,139" alt="">
<area href="dir_000005_000004.html" shape="rect" coords="60,147,68,155" alt="">
<area href="dir_000003.html" shape="rect" coords="17,17,111,113" alt="">
</map>
@@ -29,7 +29,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">file &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="users_8cpp.html">users.cpp</a> <a href="users_8cpp-source.html">[code]</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000005_000004.html b/docs/module-doc/dir_000005_000004.html
index 65c355384..f47ca4652 100644
--- a/docs/module-doc/dir_000005_000004.html
+++ b/docs/module-doc/dir_000005_000004.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">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">home</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">brain</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">inspircd-cvs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">inspircd</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000005.html">src</a></div>
-<h3>src &rarr; include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">brain</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">inspircd-cvs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">inspircd</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">brain</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">inspircd-cvs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">inspircd</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<h3>src &rarr; include Relation</h3><table class="dirtab"><tr class="dirtab"><th class="dirtab">File in <a class="el" href="dir_000000.html">home</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">brain</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">inspircd-cvs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">inspircd</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000005.html">src</a></th><th class="dirtab">Includes file in <a class="el" href="dir_000000.html">home</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">brain</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">inspircd-cvs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">inspircd</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000004.html">include</a></th></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="channels_8cpp.html">channels.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="ctables_8h.html">ctables.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="hashcomp_8h.html">hashcomp.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="message_8h.html">message.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="mode_8h.html">mode.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="modules_8h.html">modules.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="modules_8cpp.html">modules.cpp</a></td><td class="dirtab"><a class="el" href="xline_8h.html">xline.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="socket_8cpp.html">socket.cpp</a></td><td class="dirtab"><a class="el" href="socket_8h.html">socket.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="channels_8h.html">channels.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="commands_8h.html">commands.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="connection_8h.html">connection.h</a></td></tr><tr class="dirtab"><td class="dirtab"><a class="el" href="users_8cpp.html">users.cpp</a></td><td class="dirtab"><a class="el" href="users_8h.html">users.h</a></td></tr></table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dir_000005_dep.gif b/docs/module-doc/dir_000005_dep.gif
index 68bfaa13b..48c70077f 100644
--- a/docs/module-doc/dir_000005_dep.gif
+++ b/docs/module-doc/dir_000005_dep.gif
Binary files differ
diff --git a/docs/module-doc/dir_000005_dep.map b/docs/module-doc/dir_000005_dep.map
index 230315694..828963de3 100644
--- a/docs/module-doc/dir_000005_dep.map
+++ b/docs/module-doc/dir_000005_dep.map
@@ -1,6 +1,6 @@
base referer
rect dir_000005.html 28,55 100,103
rect dir_000004.html 28,151 100,199
-rect dir_000005_000004.html 65,125 79,139
+rect dir_000005_000004.html 64,125 80,139
rect dir_000005_000004.html 60,147 68,155
rect dir_000003.html 17,17 111,113
diff --git a/docs/module-doc/dirs.html b/docs/module-doc/dirs.html
index 4a3493811..c70d30179 100644
--- a/docs/module-doc/dirs.html
+++ b/docs/module-doc/dirs.html
@@ -21,7 +21,7 @@
</ul>
</ul>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dns_8h-source.html b/docs/module-doc/dns_8h-source.html
index 6b7deaef2..3592f2d79 100644
--- a/docs/module-doc/dns_8h-source.html
+++ b/docs/module-doc/dns_8h-source.html
@@ -43,36 +43,38 @@
<a name="l00037"></a>00037 <span class="keyword">private</span>:
<a name="l00038"></a><a class="code" href="classDNS.html#binip">00038</a> in_addr *<a class="code" href="classDNS.html#binip">binip</a>;
<a name="l00039"></a><a class="code" href="classDNS.html#result">00039</a> <span class="keywordtype">char</span>* <a class="code" href="classDNS.html#result">result</a>;
-<a name="l00040"></a><a class="code" href="classDNS.html#t">00040</a> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#t">t</a>;
-<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#dns_5Finit_28_29">dns_init</a>();
-<a name="l00042"></a><a class="code" href="classDNS.html#fd">00042</a> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#fd">fd</a>;
-<a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#dns_5Finit_5F_32_28const_20char_20_2Adnsserver_29">dns_init_2</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* dnsserver);
-<a name="l00044"></a>00044 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_28const_20char_20_2Aconst_20ipstring_29">dns_aton4</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring);
-<a name="l00045"></a>00045 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
-<a name="l00046"></a>00046 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetip_34_28const_20char_20_2Aconst_20name_29">dns_getip4</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> name);
-<a name="l00047"></a>00047 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetip_34list_28const_20char_20_2Aconst_20name_29">dns_getip4list</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> name);
-<a name="l00048"></a>00048 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetname_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_getname4</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
-<a name="l00049"></a>00049 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_28const_20int_20fd_29">dns_getresult</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#fd">fd</a>);
-<a name="l00050"></a>00050 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_5Fs_28const_20char_20_2Aconst_20ipstring_2C_20in_5Faddr_20_2Aconst_20ip_29">dns_aton4_s</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring, in_addr * <span class="keyword">const</span> ip);
-<a name="l00051"></a>00051 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">dns_ntoa4_s</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip, <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classDNS.html#result">result</a>);
-<a name="l00052"></a>00052 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_5Fs_28const_20int_20fd_2C_20char_20_2Aconst_20result_29">dns_getresult_s</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#fd">fd</a>, <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classDNS.html#result">result</a>);
-<a name="l00053"></a>00053 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_5Fr_28const_20char_20_2Aconst_20ipstring_29">dns_aton4_r</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring);
-<a name="l00054"></a>00054 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4_r</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
-<a name="l00055"></a>00055 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_5Fr_28const_20int_20fd_29">dns_getresult_r</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#fd">fd</a>);
-<a name="l00056"></a>00056 <span class="keyword">public</span>:
-<a name="l00063"></a>00063 <a class="code" href="classDNS.html#DNS_28_29">DNS</a>();
-<a name="l00067"></a>00067 <a class="code" href="classDNS.html#DNS_28_29">DNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver);
-<a name="l00070"></a>00070 <a class="code" href="classDNS.html#_7EDNS_28_29">~DNS</a>();
-<a name="l00075"></a>00075 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">ReverseLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ip);
-<a name="l00079"></a>00079 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">ForwardLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host);
-<a name="l00083"></a>00083 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#HasResult_28_29">HasResult</a>();
-<a name="l00087"></a>00087 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResult_28_29">GetResult</a>();
-<a name="l00091"></a>00091 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#GetFD_28_29">GetFD</a>();
-<a name="l00092"></a>00092 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">SetNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver);
-<a name="l00093"></a>00093 };
-<a name="l00094"></a>00094
-<a name="l00095"></a>00095 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00040"></a><a class="code" href="classDNS.html#localbuf_5B_31_30_32_34_5D">00040</a> <span class="keywordtype">char</span> <a class="code" href="classDNS.html#localbuf_5B_31_30_32_34_5D">localbuf</a>[1024];
+<a name="l00041"></a><a class="code" href="classDNS.html#t">00041</a> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#t">t</a>;
+<a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#dns_5Finit_28_29">dns_init</a>();
+<a name="l00043"></a><a class="code" href="classDNS.html#myfd">00043</a> <span class="keywordtype">int</span> <a class="code" href="classDNS.html#myfd">myfd</a>;
+<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#dns_5Finit_5F_32_28const_20char_20_2Adnsserver_29">dns_init_2</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* dnsserver);
+<a name="l00045"></a>00045 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_28const_20char_20_2Aconst_20ipstring_29">dns_aton4</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring);
+<a name="l00046"></a>00046 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
+<a name="l00047"></a>00047 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetip_34_28const_20char_20_2Aconst_20name_29">dns_getip4</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> name);
+<a name="l00048"></a>00048 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetip_34list_28const_20char_20_2Aconst_20name_29">dns_getip4list</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> name);
+<a name="l00049"></a>00049 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#dns_5Fgetname_34_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_getname4</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
+<a name="l00050"></a>00050 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_28const_20int_20fd_29">dns_getresult</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> fd);
+<a name="l00051"></a>00051 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_5Fs_28const_20char_20_2Aconst_20ipstring_2C_20in_5Faddr_20_2Aconst_20ip_29">dns_aton4_s</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring, in_addr * <span class="keyword">const</span> ip);
+<a name="l00052"></a>00052 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">dns_ntoa4_s</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip, <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classDNS.html#result">result</a>);
+<a name="l00053"></a>00053 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_5Fs_28const_20int_20fd_2C_20char_20_2Aconst_20result_29">dns_getresult_s</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> fd, <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classDNS.html#result">result</a>);
+<a name="l00054"></a>00054 in_addr *<a class="code" href="classDNS.html#dns_5Faton_34_5Fr_28const_20char_20_2Aconst_20ipstring_29">dns_aton4_r</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> ipstring);
+<a name="l00055"></a>00055 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">dns_ntoa4_r</a>(<span class="keyword">const</span> in_addr * <span class="keyword">const</span> ip);
+<a name="l00056"></a>00056 <span class="keywordtype">char</span> *<a class="code" href="classDNS.html#dns_5Fgetresult_5Fr_28const_20int_20fd_29">dns_getresult_r</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> fd);
+<a name="l00057"></a>00057 <span class="keyword">public</span>:
+<a name="l00064"></a>00064 <a class="code" href="classDNS.html#DNS_28_29">DNS</a>();
+<a name="l00068"></a>00068 <a class="code" href="classDNS.html#DNS_28_29">DNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver);
+<a name="l00071"></a>00071 <a class="code" href="classDNS.html#_7EDNS_28_29">~DNS</a>();
+<a name="l00076"></a>00076 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">ReverseLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ip);
+<a name="l00080"></a>00080 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">ForwardLookup</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host);
+<a name="l00084"></a>00084 <span class="keywordtype">bool</span> <a class="code" href="classDNS.html#HasResult_28_29">HasResult</a>();
+<a name="l00088"></a>00088 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResult_28_29">GetResult</a>();
+<a name="l00089"></a>00089 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classDNS.html#GetResultIP_28_29">GetResultIP</a>();
+<a name="l00093"></a>00093 <span class="keywordtype">int</span> <a class="code" href="classDNS.html#GetFD_28_29">GetFD</a>();
+<a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="classDNS.html#SetNS_28std_3A_3Astring_20dnsserver_29">SetNS</a>(<a class="code" href="namespaceirc.html#string">std::string</a> dnsserver);
+<a name="l00095"></a>00095 };
+<a name="l00096"></a>00096
+<a name="l00097"></a>00097 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/dns_8h.html b/docs/module-doc/dns_8h.html
index 6819e0dd3..78f3494fa 100644
--- a/docs/module-doc/dns_8h.html
+++ b/docs/module-doc/dns_8h.html
@@ -25,7 +25,7 @@ Include dependency graph for dns.h:<p><center><img src="dns_8h__incl.gif" border
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The DNS class allows fast nonblocking resolution of hostnames and ip addresses. <a href="classDNS.html#_details">More...</a><br></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/files.html b/docs/module-doc/files.html
index 09fc04473..48a64d4d7 100644
--- a/docs/module-doc/files.html
+++ b/docs/module-doc/files.html
@@ -24,7 +24,7 @@
<tr><td class="indexkey"><a class="el" href="users_8h.html">users.h</a> <a href="users_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="xline_8h.html">xline.h</a> <a href="xline_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions.html b/docs/module-doc/functions.html
index 1dd122f9d..0df95c18b 100644
--- a/docs/module-doc/functions.html
+++ b/docs/module-doc/functions.html
@@ -30,7 +30,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a><li>age
: <a class="el" href="classclassbase.html#age">classbase</a><li>awaymsg
: <a class="el" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x62.html b/docs/module-doc/functions_0x62.html
index ab2a16dbb..8635fc1e1 100644
--- a/docs/module-doc/functions_0x62.html
+++ b/docs/module-doc/functions_0x62.html
@@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classVersion.html#Build">Version</a><li>bytes_in
: <a class="el" href="classconnection.html#bytes_5Fin">connection</a><li>bytes_out
: <a class="el" href="classconnection.html#bytes_5Fout">connection</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x63.html b/docs/module-doc/functions_0x63.html
index ca7c29e1c..cc252bbdd 100644
--- a/docs/module-doc/functions_0x63.html
+++ b/docs/module-doc/functions_0x63.html
@@ -38,9 +38,9 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classconnection.html#connection_28_29">connection</a><li>CountUsers()
: <a class="el" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server</a><li>created
: <a class="el" href="classchanrec.html#created">chanrec</a><li>CreateModule()
-: <a class="el" href="classModuleFactory.html#CreateModule_28_29_3D_30">ModuleFactory</a><li>custom_modes
+: <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a><li>custom_modes
: <a class="el" href="classchanrec.html#custom_5Fmodes_5BMAXMODES_5D">chanrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x64.html b/docs/module-doc/functions_0x64.html
index 071c3b8bc..76871dddc 100644
--- a/docs/module-doc/functions_0x64.html
+++ b/docs/module-doc/functions_0x64.html
@@ -41,7 +41,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">DNS</a><li>DumpErrors()
: <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a><li>duration
: <a class="el" href="classXLine.html#duration">XLine</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x65.html b/docs/module-doc/functions_0x65.html
index d540c93d3..02b9a2ba2 100644
--- a/docs/module-doc/functions_0x65.html
+++ b/docs/module-doc/functions_0x65.html
@@ -24,7 +24,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>Extension_Items
: <a class="el" href="classExtensible.html#Extension_5FItems">Extensible</a><li>ExtMode()
: <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x66.html b/docs/module-doc/functions_0x66.html
index 0e5eef2ff..97c99e69e 100644
--- a/docs/module-doc/functions_0x66.html
+++ b/docs/module-doc/functions_0x66.html
@@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to:
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>fc
: <a class="el" href="classFileReader.html#fc">FileReader</a><li>fd
-: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classDNS.html#fd">DNS</a>, <a class="el" href="classconnection.html#fd">connection</a><li>FileReader()
+: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>FileReader()
: <a class="el" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">FileReader</a><li>FileSize()
: <a class="el" href="classFileReader.html#FileSize_28_29">FileReader</a><li>find()
: <a class="el" href="structirc_1_1irc__char__traits.html#find_28const_20char_20_2As_31_2C_20int_20n_2C_20char_20c_29">irc::irc_char_traits</a><li>FindChannel()
@@ -28,7 +28,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup()
: <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a><li>fullname
: <a class="el" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x67.html b/docs/module-doc/functions_0x67.html
index 7fd17e32d..3aa990b92 100644
--- a/docs/module-doc/functions_0x67.html
+++ b/docs/module-doc/functions_0x67.html
@@ -20,15 +20,18 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classRequest.html#GetDest_28_29">Request</a><li>GetError()
: <a class="el" href="classConfigReader.html#GetError_28_29">ConfigReader</a><li>GetEventID()
: <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt()
-: <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetFD()
+: <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList()
+: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD()
: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost()
: <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost()
: <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList()
-: <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetLine()
+: <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP()
+: <a class="el" href="classInspSocket.html#GetIP_28_29">InspSocket</a><li>GetLine()
: <a class="el" href="classFileReader.html#GetLine_28int_20x_29">FileReader</a><li>GetModeParameter()
: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetNetworkName()
: <a class="el" href="classServer.html#GetNetworkName_28_29">Server</a><li>GetResult()
-: <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetServerDescription()
+: <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetResultIP()
+: <a class="el" href="classDNS.html#GetResultIP_28_29">DNS</a><li>GetServerDescription()
: <a class="el" href="classServer.html#GetServerDescription_28_29">Server</a><li>GetServerName()
: <a class="el" href="classServer.html#GetServerName_28_29">Server</a><li>GetSource()
: <a class="el" href="classEvent.html#GetSource_28_29">Event</a>, <a class="el" href="classRequest.html#GetSource_28_29">Request</a><li>GetState()
@@ -37,7 +40,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion()
: <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError()
: <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x68.html b/docs/module-doc/functions_0x68.html
index b7afccad2..aa9f5b2a3 100644
--- a/docs/module-doc/functions_0x68.html
+++ b/docs/module-doc/functions_0x68.html
@@ -20,7 +20,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classWhoWasUser.html#host_5B_31_36_30_5D">WhoWasUser</a>, <a class="el" href="classConnectClass.html#host_5BMAXBUF_5D">ConnectClass</a>, <a class="el" href="classInspSocket.html#host">InspSocket</a>, <a class="el" href="classconnection.html#host_5B_31_36_30_5D">connection</a><li>HostItem()
: <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a><li>hostmask
: <a class="el" href="classELine.html#hostmask_5B_32_30_30_5D">ELine</a>, <a class="el" href="classGLine.html#hostmask_5B_32_30_30_5D">GLine</a>, <a class="el" href="classKLine.html#hostmask_5B_32_30_30_5D">KLine</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x69.html b/docs/module-doc/functions_0x69.html
index 0bad44b82..72b2753e6 100644
--- a/docs/module-doc/functions_0x69.html
+++ b/docs/module-doc/functions_0x69.html
@@ -13,7 +13,7 @@ Here is a list of all class members with links to the classes they belong to:
<p>
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
<li>ibuf
-: <a class="el" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">InspSocket</a><li>id
+: <a class="el" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">InspSocket</a><li>id
: <a class="el" href="classEvent.html#id">Event</a><li>ident
: <a class="el" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">userrec</a><li>idle_lastmsg
: <a class="el" href="classconnection.html#idle_5Flastmsg">connection</a><li>InspSocket()
@@ -21,7 +21,8 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classchanrec.html#internal_5Fuserlist">chanrec</a><li>Invert()
: <a class="el" href="classBoolSet.html#Invert_28int_20number_29">BoolSet</a><li>invites
: <a class="el" href="classuserrec.html#invites">userrec</a><li>InviteTo()
-: <a class="el" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">userrec</a><li>ip
+: <a class="el" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">userrec</a><li>IP
+: <a class="el" href="classInspSocket.html#IP">InspSocket</a><li>ip
: <a class="el" href="structdns__ip4list.html#ip">dns_ip4list</a>, <a class="el" href="classconnection.html#ip_5B_31_36_5D">connection</a><li>ipaddr
: <a class="el" href="classZLine.html#ipaddr_5B_34_30_5D">ZLine</a><li>is_global
: <a class="el" href="classQLine.html#is_5Fglobal">QLine</a>, <a class="el" href="classZLine.html#is_5Fglobal">ZLine</a><li>IsCustomModeSet()
@@ -30,8 +31,9 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server</a><li>IsOnChannel()
: <a class="el" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server</a><li>IsUlined()
: <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask()
-: <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+: <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand()
+: <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6a.html b/docs/module-doc/functions_0x6a.html
index 23e73892a..c6a887f10 100644
--- a/docs/module-doc/functions_0x6a.html
+++ b/docs/module-doc/functions_0x6a.html
@@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to:
<h3><a class="anchor" name="index_j">- j -</a></h3><ul>
<li>JoinUserToChannel()
: <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6b.html b/docs/module-doc/functions_0x6b.html
index dbcd49338..4bd07cec1 100644
--- a/docs/module-doc/functions_0x6b.html
+++ b/docs/module-doc/functions_0x6b.html
@@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to:
<h3><a class="anchor" name="index_k">- k -</a></h3><ul>
<li>key
: <a class="el" href="classchanrec.html#key_5B_33_32_5D">chanrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6c.html b/docs/module-doc/functions_0x6c.html
index 580c62484..4b74b1f07 100644
--- a/docs/module-doc/functions_0x6c.html
+++ b/docs/module-doc/functions_0x6c.html
@@ -18,10 +18,11 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classchanrec.html#limit">chanrec</a><li>lines_in
: <a class="el" href="classuserrec.html#lines_5Fin">userrec</a><li>list
: <a class="el" href="classExtMode.html#list">ExtMode</a><li>LoadFile()
-: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>Log()
+: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>localbuf
+: <a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">DNS</a><li>Log()
: <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>lt()
: <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6d.html b/docs/module-doc/functions_0x6d.html
index 552da6fae..36fab4466 100644
--- a/docs/module-doc/functions_0x6d.html
+++ b/docs/module-doc/functions_0x6d.html
@@ -20,9 +20,10 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classModeParameter.html#mode">ModeParameter</a><li>modechar
: <a class="el" href="classExtMode.html#modechar">ExtMode</a><li>modes
: <a class="el" href="classuserrec.html#modes_5B_35_34_5D">userrec</a><li>Module()
-: <a class="el" href="classModule.html#Module_28_29">Module</a><li>ModuleFactory()
-: <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+: <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>ModuleFactory()
+: <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a><li>myfd
+: <a class="el" href="classDNS.html#myfd">DNS</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6e.html b/docs/module-doc/functions_0x6e.html
index 2e6491b87..82ece27a8 100644
--- a/docs/module-doc/functions_0x6e.html
+++ b/docs/module-doc/functions_0x6e.html
@@ -22,7 +22,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classQLine.html#nick_5B_36_34_5D">QLine</a>, <a class="el" href="classWhoWasUser.html#nick_5BNICKMAX_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#nick_5BNICKMAX_5D">userrec</a><li>Nick
: <a class="el" href="classAdmin.html#Nick">Admin</a><li>nping
: <a class="el" href="classconnection.html#nping">connection</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x6f.html b/docs/module-doc/functions_0x6f.html
index 0826fbacf..273043f39 100644
--- a/docs/module-doc/functions_0x6f.html
+++ b/docs/module-doc/functions_0x6f.html
@@ -15,52 +15,74 @@ Here is a list of all class members with links to the classes they belong to:
<li>On005Numeric()
: <a class="el" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module</a><li>OnAccessCheck()
: <a class="el" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">Module</a><li>OnAddBan()
-: <a class="el" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnBackgroundTimer()
-: <a class="el" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module</a><li>OnChangeLocalUserGECOS()
+: <a class="el" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnAddELine()
+: <a class="el" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddGLine()
+: <a class="el" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddKLine()
+: <a class="el" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddQLine()
+: <a class="el" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module</a><li>OnAddZLine()
+: <a class="el" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module</a><li>OnBackgroundTimer()
+: <a class="el" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module</a><li>OnChangeHost()
+: <a class="el" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeLocalUserGECOS()
: <a class="el" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeLocalUserHost()
-: <a class="el" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChannelSync()
-: <a class="el" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">Module</a><li>OnCheckBan()
+: <a class="el" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeName()
+: <a class="el" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module</a><li>OnCheckBan()
: <a class="el" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckInvite()
: <a class="el" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckKey()
: <a class="el" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module</a><li>OnCheckLimit()
: <a class="el" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckReady()
-: <a class="el" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module</a><li>OnClose()
+: <a class="el" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module</a><li>OnCleanup()
+: <a class="el" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module</a><li>OnClose()
: <a class="el" href="classInspSocket.html#OnClose_28_29">InspSocket</a><li>OnConnected()
: <a class="el" href="classInspSocket.html#OnConnected_28_29">InspSocket</a><li>OnDataReady()
-: <a class="el" href="classInspSocket.html#OnDataReady_28_29">InspSocket</a><li>OnDelBan()
-: <a class="el" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnDisconnect()
+: <a class="el" href="classInspSocket.html#OnDataReady_28_29">InspSocket</a><li>OnDecodeMetaData()
+: <a class="el" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>OnDelBan()
+: <a class="el" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnDelELine()
+: <a class="el" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelGLine()
+: <a class="el" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelKLine()
+: <a class="el" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelQLine()
+: <a class="el" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module</a><li>OnDelZLine()
+: <a class="el" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module</a><li>OnDisconnect()
: <a class="el" href="classInspSocket.html#OnDisconnect_28_29">InspSocket</a><li>OnError()
: <a class="el" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket</a><li>OnEvent()
: <a class="el" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module</a><li>OnExtendedMode()
-: <a class="el" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module</a><li>OnGlobalConnect()
+: <a class="el" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module</a><li>OnGetServerDescription()
+: <a class="el" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module</a><li>OnGlobalConnect()
: <a class="el" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module</a><li>OnGlobalOper()
: <a class="el" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module</a><li>OnIncomingConnection()
: <a class="el" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket</a><li>OnInfo()
: <a class="el" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module</a><li>OnKill()
: <a class="el" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnLoadModule()
: <a class="el" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module</a><li>OnLocalTopicChange()
-: <a class="el" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnOper()
-: <a class="el" href="classModule.html#OnOper_28userrec_20_2Auser_29">Module</a><li>OnOperCompare()
-: <a class="el" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module</a><li>OnPacketReceive()
-: <a class="el" href="classModule.html#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module</a><li>OnPacketTransmit()
-: <a class="el" href="classModule.html#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module</a><li>OnPreCommand()
+: <a class="el" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnMode()
+: <a class="el" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnOper()
+: <a class="el" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module</a><li>OnOperCompare()
+: <a class="el" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module</a><li>OnPostLocalTopicChange()
+: <a class="el" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnPreCommand()
: <a class="el" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module</a><li>OnRawMode()
: <a class="el" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">Module</a><li>OnRawSocketAccept()
: <a class="el" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module</a><li>OnRawSocketClose()
: <a class="el" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module</a><li>OnRawSocketRead()
: <a class="el" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">Module</a><li>OnRawSocketWrite()
: <a class="el" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">Module</a><li>OnRehash()
-: <a class="el" href="classModule.html#OnRehash_28_29">Module</a><li>OnRequest()
+: <a class="el" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module</a><li>OnRemoteKill()
+: <a class="el" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnRequest()
: <a class="el" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module</a><li>OnSendList()
: <a class="el" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">Module</a><li>OnServerRaw()
: <a class="el" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module</a><li>OnStats()
-: <a class="el" href="classModule.html#OnStats_28char_20symbol_29">Module</a><li>OnTimeout()
+: <a class="el" href="classModule.html#OnStats_28char_20symbol_29">Module</a><li>OnSyncChannel()
+: <a class="el" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module</a><li>OnSyncChannelMetaData()
+: <a class="el" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module</a><li>OnSyncUser()
+: <a class="el" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module</a><li>OnSyncUserMetaData()
+: <a class="el" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module</a><li>OnTimeout()
: <a class="el" href="classInspSocket.html#OnTimeout_28_29">InspSocket</a><li>OnUnloadModule()
: <a class="el" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module</a><li>OnUserConnect()
: <a class="el" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module</a><li>OnUserDisconnect()
-: <a class="el" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module</a><li>OnUserJoin()
+: <a class="el" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module</a><li>OnUserInvite()
+: <a class="el" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserJoin()
: <a class="el" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserKick()
-: <a class="el" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnUserPart()
+: <a class="el" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnUserMessage()
+: <a class="el" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnUserNotice()
+: <a class="el" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnUserPart()
: <a class="el" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserPostNick()
: <a class="el" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module</a><li>OnUserPreInvite()
: <a class="el" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserPreJoin()
@@ -69,9 +91,9 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module</a><li>OnUserPreNick()
: <a class="el" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module</a><li>OnUserPreNotice()
: <a class="el" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module</a><li>OnUserQuit()
-: <a class="el" href="classModule.html#OnUserQuit_28userrec_20_2Auser_29">Module</a><li>OnUserRegister()
-: <a class="el" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module</a><li>OnUserSync()
-: <a class="el" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">Module</a><li>OnWhois()
+: <a class="el" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module</a><li>OnUserRegister()
+: <a class="el" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module</a><li>OnWallops()
+: <a class="el" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module</a><li>OnWhois()
: <a class="el" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module</a><li>oper
: <a class="el" href="classuserrec.html#oper_5BNICKMAX_5D">userrec</a><li>operator &amp;()
: <a class="el" href="classBoolSet.html#operator_20_26_28BoolSet_20other_29">BoolSet</a><li>operator()()
@@ -79,7 +101,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==()
: <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|()
: <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x70.html b/docs/module-doc/functions_0x70.html
index c3d5b19e8..03c02540b 100644
--- a/docs/module-doc/functions_0x70.html
+++ b/docs/module-doc/functions_0x70.html
@@ -23,9 +23,11 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classConnectClass.html#pingtime">ConnectClass</a><li>Poll()
: <a class="el" href="classInspSocket.html#Poll_28_29">InspSocket</a><li>polls
: <a class="el" href="classInspSocket.html#polls">InspSocket</a><li>port
-: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>PseudoToUser()
+: <a class="el" href="classInspSocket.html#port">InspSocket</a>, <a class="el" href="classconnection.html#port">connection</a><li>ProtoSendMetaData()
+: <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode()
+: <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser()
: <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x71.html b/docs/module-doc/functions_0x71.html
index d5388a7f5..1b21da48c 100644
--- a/docs/module-doc/functions_0x71.html
+++ b/docs/module-doc/functions_0x71.html
@@ -14,7 +14,7 @@ Here is a list of all class members with links to the classes they belong to:
<h3><a class="anchor" name="index_q">- q -</a></h3><ul>
<li>QuitUser()
: <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x72.html b/docs/module-doc/functions_0x72.html
index e8fe68c40..1ba629ddb 100644
--- a/docs/module-doc/functions_0x72.html
+++ b/docs/module-doc/functions_0x72.html
@@ -23,14 +23,15 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classuserrec.html#recvq">userrec</a><li>recvqmax
: <a class="el" href="classuserrec.html#recvqmax">userrec</a>, <a class="el" href="classConnectClass.html#recvqmax">ConnectClass</a><li>registered
: <a class="el" href="classconnection.html#registered">connection</a><li>registration_timeout
-: <a class="el" href="classConnectClass.html#registration_5Ftimeout">ConnectClass</a><li>RemoveInvite()
+: <a class="el" href="classConnectClass.html#registration_5Ftimeout">ConnectClass</a><li>RehashServer()
+: <a class="el" href="classServer.html#RehashServer_28_29">Server</a><li>RemoveInvite()
: <a class="el" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec</a><li>Request()
: <a class="el" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request</a><li>reset_due
: <a class="el" href="classuserrec.html#reset_5Fdue">userrec</a><li>result
: <a class="el" href="classDNS.html#result">DNS</a><li>ReverseLookup()
: <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a><li>Revision
: <a class="el" href="classVersion.html#Revision">Version</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x73.html b/docs/module-doc/functions_0x73.html
index 366b74dcc..670a7add6 100644
--- a/docs/module-doc/functions_0x73.html
+++ b/docs/module-doc/functions_0x73.html
@@ -41,7 +41,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classWhoWasUser.html#signon">WhoWasUser</a>, <a class="el" href="classconnection.html#signon">connection</a><li>source
: <a class="el" href="classXLine.html#source_5B_32_35_36_5D">XLine</a>, <a class="el" href="classEvent.html#source">Event</a>, <a class="el" href="classRequest.html#source">Request</a>, <a class="el" href="classcommand__t.html#source_5BMAXBUF_5D">command_t</a><li>state
: <a class="el" href="classInspSocket.html#state">InspSocket</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x74.html b/docs/module-doc/functions_0x74.html
index 81e4483db..e5b4c63e6 100644
--- a/docs/module-doc/functions_0x74.html
+++ b/docs/module-doc/functions_0x74.html
@@ -21,7 +21,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classchanrec.html#topicset">chanrec</a><li>total_bytes
: <a class="el" href="classcommand__t.html#total_5Fbytes">command_t</a><li>type
: <a class="el" href="classConnectClass.html#type">ConnectClass</a>, <a class="el" href="classExtMode.html#type">ExtMode</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x75.html b/docs/module-doc/functions_0x75.html
index 1d65fb77c..180c2f94a 100644
--- a/docs/module-doc/functions_0x75.html
+++ b/docs/module-doc/functions_0x75.html
@@ -19,7 +19,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classcommand__t.html#use_5Fcount">command_t</a><li>userrec()
: <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo()
: <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x76.html b/docs/module-doc/functions_0x76.html
index 87321f331..dab31d1d2 100644
--- a/docs/module-doc/functions_0x76.html
+++ b/docs/module-doc/functions_0x76.html
@@ -15,7 +15,7 @@ Here is a list of all class members with links to the classes they belong to:
<li>Verify()
: <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version()
: <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x77.html b/docs/module-doc/functions_0x77.html
index 2c7265b11..a941840f5 100644
--- a/docs/module-doc/functions_0x77.html
+++ b/docs/module-doc/functions_0x77.html
@@ -15,7 +15,7 @@ Here is a list of all class members with links to the classes they belong to:
<li>Write()
: <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a><li>WriteError
: <a class="el" href="classuserrec.html#WriteError">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_0x7e.html b/docs/module-doc/functions_0x7e.html
index 26f7b4e9f..9dc3acf39 100644
--- a/docs/module-doc/functions_0x7e.html
+++ b/docs/module-doc/functions_0x7e.html
@@ -26,7 +26,7 @@ Here is a list of all class members with links to the classes they belong to:
: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~ucrec()
: <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func.html b/docs/module-doc/functions_func.html
index 88e17c2e6..b55529db1 100644
--- a/docs/module-doc/functions_func.html
+++ b/docs/module-doc/functions_func.html
@@ -26,7 +26,7 @@
: <a class="el" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">userrec</a><li>AddZLine()
: <a class="el" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server</a><li>Admin()
: <a class="el" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x62.html b/docs/module-doc/functions_func_0x62.html
index 19e45c200..d8fabd11d 100644
--- a/docs/module-doc/functions_func_0x62.html
+++ b/docs/module-doc/functions_func_0x62.html
@@ -15,7 +15,7 @@
<li>BoolSet()
: <a class="el" href="classBoolSet.html#BoolSet_28char_20bitmask_29">BoolSet</a><li>BufferIsReady()
: <a class="el" href="classuserrec.html#BufferIsReady_28_29">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x63.html b/docs/module-doc/functions_func_0x63.html
index d547274d7..dc64e11e8 100644
--- a/docs/module-doc/functions_func_0x63.html
+++ b/docs/module-doc/functions_func_0x63.html
@@ -30,8 +30,8 @@
: <a class="el" href="classConnectClass.html#ConnectClass_28_29">ConnectClass</a><li>connection()
: <a class="el" href="classconnection.html#connection_28_29">connection</a><li>CountUsers()
: <a class="el" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server</a><li>CreateModule()
-: <a class="el" href="classModuleFactory.html#CreateModule_28_29_3D_30">ModuleFactory</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+: <a class="el" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">ModuleFactory</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x64.html b/docs/module-doc/functions_func_0x64.html
index af6d79643..74e2d3955 100644
--- a/docs/module-doc/functions_func_0x64.html
+++ b/docs/module-doc/functions_func_0x64.html
@@ -36,7 +36,7 @@
: <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fr_28const_20in_5Faddr_20_2Aconst_20ip_29">DNS</a><li>dns_ntoa4_s()
: <a class="el" href="classDNS.html#dns_5Fntoa_34_5Fs_28const_20in_5Faddr_20_2Aconst_20ip_2C_20char_20_2Aconst_20result_29">DNS</a><li>DumpErrors()
: <a class="el" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x65.html b/docs/module-doc/functions_func_0x65.html
index 121adfbae..c5ee4b0ec 100644
--- a/docs/module-doc/functions_func_0x65.html
+++ b/docs/module-doc/functions_func_0x65.html
@@ -20,7 +20,7 @@
: <a class="el" href="classFileReader.html#Exists_28_29">FileReader</a><li>Extend()
: <a class="el" href="classExtensible.html#Extend_28std_3A_3Astring_20key_2C_20char_20_2Ap_29">Extensible</a><li>ExtMode()
: <a class="el" href="classExtMode.html#ExtMode_28char_20mc_2C_20int_20ty_2C_20bool_20oper_2C_20int_20p_5Fon_2C_20int_20p_5Foff_29">ExtMode</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x66.html b/docs/module-doc/functions_func_0x66.html
index 36983c5b4..510742533 100644
--- a/docs/module-doc/functions_func_0x66.html
+++ b/docs/module-doc/functions_func_0x66.html
@@ -22,7 +22,7 @@
: <a class="el" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server</a><li>FlushWriteBuf()
: <a class="el" href="classuserrec.html#FlushWriteBuf_28_29">userrec</a><li>ForwardLookup()
: <a class="el" href="classDNS.html#ForwardLookup_28std_3A_3Astring_20host_29">DNS</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x67.html b/docs/module-doc/functions_func_0x67.html
index de898f1e8..5d267f5a7 100644
--- a/docs/module-doc/functions_func_0x67.html
+++ b/docs/module-doc/functions_func_0x67.html
@@ -20,15 +20,18 @@
: <a class="el" href="classRequest.html#GetDest_28_29">Request</a><li>GetError()
: <a class="el" href="classConfigReader.html#GetError_28_29">ConfigReader</a><li>GetEventID()
: <a class="el" href="classEvent.html#GetEventID_28_29">Event</a><li>GetExt()
-: <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetFD()
+: <a class="el" href="classExtensible.html#GetExt_28std_3A_3Astring_20key_29">Extensible</a><li>GetExtList()
+: <a class="el" href="classExtensible.html#GetExtList_28std_3A_3Adeque_3C_20std_3A_3Astring_20_3E_20_26list_29">Extensible</a><li>GetFD()
: <a class="el" href="classDNS.html#GetFD_28_29">DNS</a><li>GetFullHost()
: <a class="el" href="classuserrec.html#GetFullHost_28_29">userrec</a><li>GetFullRealHost()
: <a class="el" href="classuserrec.html#GetFullRealHost_28_29">userrec</a><li>GetInviteList()
-: <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetLine()
+: <a class="el" href="classuserrec.html#GetInviteList_28_29">userrec</a><li>GetIP()
+: <a class="el" href="classInspSocket.html#GetIP_28_29">InspSocket</a><li>GetLine()
: <a class="el" href="classFileReader.html#GetLine_28int_20x_29">FileReader</a><li>GetModeParameter()
: <a class="el" href="classchanrec.html#GetModeParameter_28char_20mode_29">chanrec</a><li>GetNetworkName()
: <a class="el" href="classServer.html#GetNetworkName_28_29">Server</a><li>GetResult()
-: <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetServerDescription()
+: <a class="el" href="classDNS.html#GetResult_28_29">DNS</a><li>GetResultIP()
+: <a class="el" href="classDNS.html#GetResultIP_28_29">DNS</a><li>GetServerDescription()
: <a class="el" href="classServer.html#GetServerDescription_28_29">Server</a><li>GetServerName()
: <a class="el" href="classServer.html#GetServerName_28_29">Server</a><li>GetSource()
: <a class="el" href="classEvent.html#GetSource_28_29">Event</a>, <a class="el" href="classRequest.html#GetSource_28_29">Request</a><li>GetState()
@@ -37,7 +40,7 @@
: <a class="el" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server</a>, <a class="el" href="classchanrec.html#GetUsers_28_29">chanrec</a><li>GetVersion()
: <a class="el" href="classModule.html#GetVersion_28_29">Module</a><li>GetWriteError()
: <a class="el" href="classuserrec.html#GetWriteError_28_29">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x68.html b/docs/module-doc/functions_func_0x68.html
index 3565777cb..e0e409921 100644
--- a/docs/module-doc/functions_func_0x68.html
+++ b/docs/module-doc/functions_func_0x68.html
@@ -16,7 +16,7 @@
: <a class="el" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec</a><li>HasResult()
: <a class="el" href="classDNS.html#HasResult_28_29">DNS</a><li>HostItem()
: <a class="el" href="classHostItem.html#HostItem_28_29">HostItem</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x69.html b/docs/module-doc/functions_func_0x69.html
index 5b8edf709..9e93b7aff 100644
--- a/docs/module-doc/functions_func_0x69.html
+++ b/docs/module-doc/functions_func_0x69.html
@@ -21,8 +21,9 @@
: <a class="el" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server</a><li>IsOnChannel()
: <a class="el" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server</a><li>IsUlined()
: <a class="el" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server</a><li>IsValidMask()
-: <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+: <a class="el" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server</a><li>IsValidModuleCommand()
+: <a class="el" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x6a.html b/docs/module-doc/functions_func_0x6a.html
index c49dde6f6..757b8cb26 100644
--- a/docs/module-doc/functions_func_0x6a.html
+++ b/docs/module-doc/functions_func_0x6a.html
@@ -14,7 +14,7 @@
<h3><a class="anchor" name="index_j">- j -</a></h3><ul>
<li>JoinUserToChannel()
: <a class="el" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x6c.html b/docs/module-doc/functions_func_0x6c.html
index 7ac05c2f0..7e3280d0d 100644
--- a/docs/module-doc/functions_func_0x6c.html
+++ b/docs/module-doc/functions_func_0x6c.html
@@ -16,7 +16,7 @@
: <a class="el" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader</a><li>Log()
: <a class="el" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server</a><li>lt()
: <a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x6d.html b/docs/module-doc/functions_func_0x6d.html
index f40bb565c..0e37cd85f 100644
--- a/docs/module-doc/functions_func_0x6d.html
+++ b/docs/module-doc/functions_func_0x6d.html
@@ -14,9 +14,9 @@
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
<li>MatchText()
: <a class="el" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server</a><li>Module()
-: <a class="el" href="classModule.html#Module_28_29">Module</a><li>ModuleFactory()
+: <a class="el" href="classModule.html#Module_28Server_20_2AMe_29">Module</a><li>ModuleFactory()
: <a class="el" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x6e.html b/docs/module-doc/functions_func_0x6e.html
index 197fe5030..3ed36337b 100644
--- a/docs/module-doc/functions_func_0x6e.html
+++ b/docs/module-doc/functions_func_0x6e.html
@@ -14,7 +14,7 @@
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
<li>ne()
: <a class="el" href="structirc_1_1irc__char__traits.html#ne_28char_20c_31st_2C_20char_20c_32nd_29">irc::irc_char_traits</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x6f.html b/docs/module-doc/functions_func_0x6f.html
index 630c59b4f..e6578ed59 100644
--- a/docs/module-doc/functions_func_0x6f.html
+++ b/docs/module-doc/functions_func_0x6f.html
@@ -15,52 +15,74 @@
<li>On005Numeric()
: <a class="el" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module</a><li>OnAccessCheck()
: <a class="el" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">Module</a><li>OnAddBan()
-: <a class="el" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnBackgroundTimer()
-: <a class="el" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module</a><li>OnChangeLocalUserGECOS()
+: <a class="el" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnAddELine()
+: <a class="el" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddGLine()
+: <a class="el" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddKLine()
+: <a class="el" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnAddQLine()
+: <a class="el" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module</a><li>OnAddZLine()
+: <a class="el" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module</a><li>OnBackgroundTimer()
+: <a class="el" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">Module</a><li>OnChangeHost()
+: <a class="el" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeLocalUserGECOS()
: <a class="el" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeLocalUserHost()
-: <a class="el" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChannelSync()
-: <a class="el" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">Module</a><li>OnCheckBan()
+: <a class="el" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module</a><li>OnChangeName()
+: <a class="el" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module</a><li>OnCheckBan()
: <a class="el" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckInvite()
: <a class="el" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckKey()
: <a class="el" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">Module</a><li>OnCheckLimit()
: <a class="el" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">Module</a><li>OnCheckReady()
-: <a class="el" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module</a><li>OnClose()
+: <a class="el" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">Module</a><li>OnCleanup()
+: <a class="el" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module</a><li>OnClose()
: <a class="el" href="classInspSocket.html#OnClose_28_29">InspSocket</a><li>OnConnected()
: <a class="el" href="classInspSocket.html#OnConnected_28_29">InspSocket</a><li>OnDataReady()
-: <a class="el" href="classInspSocket.html#OnDataReady_28_29">InspSocket</a><li>OnDelBan()
-: <a class="el" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnDisconnect()
+: <a class="el" href="classInspSocket.html#OnDataReady_28_29">InspSocket</a><li>OnDecodeMetaData()
+: <a class="el" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>OnDelBan()
+: <a class="el" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">Module</a><li>OnDelELine()
+: <a class="el" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelGLine()
+: <a class="el" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelKLine()
+: <a class="el" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module</a><li>OnDelQLine()
+: <a class="el" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module</a><li>OnDelZLine()
+: <a class="el" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module</a><li>OnDisconnect()
: <a class="el" href="classInspSocket.html#OnDisconnect_28_29">InspSocket</a><li>OnError()
: <a class="el" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket</a><li>OnEvent()
: <a class="el" href="classModule.html#OnEvent_28Event_20_2Aevent_29">Module</a><li>OnExtendedMode()
-: <a class="el" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module</a><li>OnGlobalConnect()
+: <a class="el" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">Module</a><li>OnGetServerDescription()
+: <a class="el" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module</a><li>OnGlobalConnect()
: <a class="el" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">Module</a><li>OnGlobalOper()
: <a class="el" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">Module</a><li>OnIncomingConnection()
: <a class="el" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket</a><li>OnInfo()
: <a class="el" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module</a><li>OnKill()
: <a class="el" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnLoadModule()
: <a class="el" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module</a><li>OnLocalTopicChange()
-: <a class="el" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnOper()
-: <a class="el" href="classModule.html#OnOper_28userrec_20_2Auser_29">Module</a><li>OnOperCompare()
-: <a class="el" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module</a><li>OnPacketReceive()
-: <a class="el" href="classModule.html#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module</a><li>OnPacketTransmit()
-: <a class="el" href="classModule.html#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module</a><li>OnPreCommand()
+: <a class="el" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnMode()
+: <a class="el" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnOper()
+: <a class="el" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module</a><li>OnOperCompare()
+: <a class="el" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">Module</a><li>OnPostLocalTopicChange()
+: <a class="el" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module</a><li>OnPreCommand()
: <a class="el" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Module</a><li>OnRawMode()
: <a class="el" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">Module</a><li>OnRawSocketAccept()
: <a class="el" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">Module</a><li>OnRawSocketClose()
: <a class="el" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module</a><li>OnRawSocketRead()
: <a class="el" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">Module</a><li>OnRawSocketWrite()
: <a class="el" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">Module</a><li>OnRehash()
-: <a class="el" href="classModule.html#OnRehash_28_29">Module</a><li>OnRequest()
+: <a class="el" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module</a><li>OnRemoteKill()
+: <a class="el" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnRequest()
: <a class="el" href="classModule.html#OnRequest_28Request_20_2Arequest_29">Module</a><li>OnSendList()
: <a class="el" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">Module</a><li>OnServerRaw()
: <a class="el" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module</a><li>OnStats()
-: <a class="el" href="classModule.html#OnStats_28char_20symbol_29">Module</a><li>OnTimeout()
+: <a class="el" href="classModule.html#OnStats_28char_20symbol_29">Module</a><li>OnSyncChannel()
+: <a class="el" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module</a><li>OnSyncChannelMetaData()
+: <a class="el" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module</a><li>OnSyncUser()
+: <a class="el" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module</a><li>OnSyncUserMetaData()
+: <a class="el" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module</a><li>OnTimeout()
: <a class="el" href="classInspSocket.html#OnTimeout_28_29">InspSocket</a><li>OnUnloadModule()
: <a class="el" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module</a><li>OnUserConnect()
: <a class="el" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module</a><li>OnUserDisconnect()
-: <a class="el" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module</a><li>OnUserJoin()
+: <a class="el" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module</a><li>OnUserInvite()
+: <a class="el" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserJoin()
: <a class="el" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserKick()
-: <a class="el" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnUserPart()
+: <a class="el" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">Module</a><li>OnUserMessage()
+: <a class="el" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnUserNotice()
+: <a class="el" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module</a><li>OnUserPart()
: <a class="el" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserPostNick()
: <a class="el" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module</a><li>OnUserPreInvite()
: <a class="el" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module</a><li>OnUserPreJoin()
@@ -69,16 +91,16 @@
: <a class="el" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module</a><li>OnUserPreNick()
: <a class="el" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module</a><li>OnUserPreNotice()
: <a class="el" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">Module</a><li>OnUserQuit()
-: <a class="el" href="classModule.html#OnUserQuit_28userrec_20_2Auser_29">Module</a><li>OnUserRegister()
-: <a class="el" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module</a><li>OnUserSync()
-: <a class="el" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">Module</a><li>OnWhois()
+: <a class="el" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module</a><li>OnUserRegister()
+: <a class="el" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">Module</a><li>OnWallops()
+: <a class="el" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module</a><li>OnWhois()
: <a class="el" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module</a><li>operator &amp;()
: <a class="el" href="classBoolSet.html#operator_20_26_28BoolSet_20other_29">BoolSet</a><li>operator()()
: <a class="el" href="structirc_1_1InAddr__HashComp.html#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20">irc::InAddr_HashComp</a>, <a class="el" href="structirc_1_1StrHashComp.html#operator_28_29_28const_20std_3A_3Astring_20_26s_31_2C_20const_20std_3A_3Astring_20_26s_32_29_20const_20">irc::StrHashComp</a>, <a class="el" href="structnspace_1_1hash_3_01string_01_4.html#operator_28_29_28const_20string_20_26s_29_20const_20">nspace::hash&lt; string &gt;</a>, <a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html#operator_28_29_28const_20struct_20in_5Faddr_20_26a_29_20const_20">nspace::hash&lt; in_addr &gt;</a><li>operator=()
: <a class="el" href="classBoolSet.html#operator_3D_28BoolSet_20other_29">BoolSet</a><li>operator==()
: <a class="el" href="classBoolSet.html#operator_3D_3D_28BoolSet_20other_29">BoolSet</a><li>operator|()
: <a class="el" href="classBoolSet.html#operator_7C_28BoolSet_20other_29">BoolSet</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x70.html b/docs/module-doc/functions_func_0x70.html
index aaaea6e6b..bb1445439 100644
--- a/docs/module-doc/functions_func_0x70.html
+++ b/docs/module-doc/functions_func_0x70.html
@@ -14,9 +14,11 @@
<h3><a class="anchor" name="index_p">- p -</a></h3><ul>
<li>PartUserFromChannel()
: <a class="el" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server</a><li>Poll()
-: <a class="el" href="classInspSocket.html#Poll_28_29">InspSocket</a><li>PseudoToUser()
+: <a class="el" href="classInspSocket.html#Poll_28_29">InspSocket</a><li>ProtoSendMetaData()
+: <a class="el" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module</a><li>ProtoSendMode()
+: <a class="el" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module</a><li>PseudoToUser()
: <a class="el" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x71.html b/docs/module-doc/functions_func_0x71.html
index 474f5cd1b..d56b67c39 100644
--- a/docs/module-doc/functions_func_0x71.html
+++ b/docs/module-doc/functions_func_0x71.html
@@ -14,7 +14,7 @@
<h3><a class="anchor" name="index_q">- q -</a></h3><ul>
<li>QuitUser()
: <a class="el" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x72.html b/docs/module-doc/functions_func_0x72.html
index 2ae4d4f6e..f7aa962f5 100644
--- a/docs/module-doc/functions_func_0x72.html
+++ b/docs/module-doc/functions_func_0x72.html
@@ -17,11 +17,12 @@
: <a class="el" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">userrec</a><li>ReadFlag()
: <a class="el" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader</a><li>ReadInteger()
: <a class="el" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader</a><li>ReadValue()
-: <a class="el" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader</a><li>RemoveInvite()
+: <a class="el" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader</a><li>RehashServer()
+: <a class="el" href="classServer.html#RehashServer_28_29">Server</a><li>RemoveInvite()
: <a class="el" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec</a><li>Request()
: <a class="el" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">Request</a><li>ReverseLookup()
: <a class="el" href="classDNS.html#ReverseLookup_28std_3A_3Astring_20ip_29">DNS</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x73.html b/docs/module-doc/functions_func_0x73.html
index 69f1e7fe9..49bc58b11 100644
--- a/docs/module-doc/functions_func_0x73.html
+++ b/docs/module-doc/functions_func_0x73.html
@@ -32,7 +32,7 @@
: <a class="el" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket</a><li>SetWriteError()
: <a class="el" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec</a><li>Shrink()
: <a class="el" href="classExtensible.html#Shrink_28std_3A_3Astring_20key_29">Extensible</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x75.html b/docs/module-doc/functions_func_0x75.html
index d61b10e31..b1361ba6b 100644
--- a/docs/module-doc/functions_func_0x75.html
+++ b/docs/module-doc/functions_func_0x75.html
@@ -17,7 +17,7 @@
: <a class="el" href="classBoolSet.html#Unset_28int_20number_29">BoolSet</a><li>userrec()
: <a class="el" href="classuserrec.html#userrec_28_29">userrec</a><li>UserToPseudo()
: <a class="el" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x76.html b/docs/module-doc/functions_func_0x76.html
index b427c35b2..aa027ef44 100644
--- a/docs/module-doc/functions_func_0x76.html
+++ b/docs/module-doc/functions_func_0x76.html
@@ -15,7 +15,7 @@
<li>Verify()
: <a class="el" href="classConfigReader.html#Verify_28_29">ConfigReader</a><li>Version()
: <a class="el" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">Version</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x77.html b/docs/module-doc/functions_func_0x77.html
index 56f4c17de..3676cdc03 100644
--- a/docs/module-doc/functions_func_0x77.html
+++ b/docs/module-doc/functions_func_0x77.html
@@ -14,7 +14,7 @@
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
<li>Write()
: <a class="el" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_func_0x7e.html b/docs/module-doc/functions_func_0x7e.html
index 78afe00e9..622a97666 100644
--- a/docs/module-doc/functions_func_0x7e.html
+++ b/docs/module-doc/functions_func_0x7e.html
@@ -26,7 +26,7 @@
: <a class="el" href="classServer.html#_7EServer_28_29">Server</a><li>~ucrec()
: <a class="el" href="classucrec.html#_7Eucrec_28_29">ucrec</a><li>~userrec()
: <a class="el" href="classuserrec.html#_7Euserrec_28_29">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/functions_vars.html b/docs/module-doc/functions_vars.html
index e3cde11f2..b21c7c3fc 100644
--- a/docs/module-doc/functions_vars.html
+++ b/docs/module-doc/functions_vars.html
@@ -53,7 +53,7 @@
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>fc
: <a class="el" href="classFileReader.html#fc">FileReader</a><li>fd
-: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classDNS.html#fd">DNS</a>, <a class="el" href="classconnection.html#fd">connection</a><li>Flags
+: <a class="el" href="classInspSocket.html#fd">InspSocket</a>, <a class="el" href="classconnection.html#fd">connection</a><li>Flags
: <a class="el" href="classVersion.html#Flags">Version</a><li>flags_needed
: <a class="el" href="classcommand__t.html#flags_5Fneeded">command_t</a><li>flood
: <a class="el" href="classuserrec.html#flood">userrec</a>, <a class="el" href="classConnectClass.html#flood">ConnectClass</a><li>fullname
@@ -66,12 +66,13 @@
: <a class="el" href="classELine.html#hostmask_5B_32_30_30_5D">ELine</a>, <a class="el" href="classGLine.html#hostmask_5B_32_30_30_5D">GLine</a>, <a class="el" href="classKLine.html#hostmask_5B_32_30_30_5D">KLine</a></ul>
<h3><a class="anchor" name="index_i">- i -</a></h3><ul>
<li>ibuf
-: <a class="el" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">InspSocket</a><li>id
+: <a class="el" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">InspSocket</a><li>id
: <a class="el" href="classEvent.html#id">Event</a><li>ident
: <a class="el" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">WhoWasUser</a>, <a class="el" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">userrec</a><li>idle_lastmsg
: <a class="el" href="classconnection.html#idle_5Flastmsg">connection</a><li>internal_userlist
: <a class="el" href="classchanrec.html#internal_5Fuserlist">chanrec</a><li>invites
-: <a class="el" href="classuserrec.html#invites">userrec</a><li>ip
+: <a class="el" href="classuserrec.html#invites">userrec</a><li>IP
+: <a class="el" href="classInspSocket.html#IP">InspSocket</a><li>ip
: <a class="el" href="structdns__ip4list.html#ip">dns_ip4list</a>, <a class="el" href="classconnection.html#ip_5B_31_36_5D">connection</a><li>ipaddr
: <a class="el" href="classZLine.html#ipaddr_5B_34_30_5D">ZLine</a><li>is_global
: <a class="el" href="classQLine.html#is_5Fglobal">QLine</a>, <a class="el" href="classZLine.html#is_5Fglobal">ZLine</a></ul>
@@ -84,7 +85,8 @@
: <a class="el" href="classInspSocket.html#length">InspSocket</a><li>limit
: <a class="el" href="classchanrec.html#limit">chanrec</a><li>lines_in
: <a class="el" href="classuserrec.html#lines_5Fin">userrec</a><li>list
-: <a class="el" href="classExtMode.html#list">ExtMode</a></ul>
+: <a class="el" href="classExtMode.html#list">ExtMode</a><li>localbuf
+: <a class="el" href="classDNS.html#localbuf_5B_31_30_32_34_5D">DNS</a></ul>
<h3><a class="anchor" name="index_m">- m -</a></h3><ul>
<li>Major
: <a class="el" href="classVersion.html#Major">Version</a><li>min_params
@@ -92,7 +94,8 @@
: <a class="el" href="classVersion.html#Minor">Version</a><li>mode
: <a class="el" href="classModeParameter.html#mode">ModeParameter</a><li>modechar
: <a class="el" href="classExtMode.html#modechar">ExtMode</a><li>modes
-: <a class="el" href="classuserrec.html#modes_5B_35_34_5D">userrec</a></ul>
+: <a class="el" href="classuserrec.html#modes_5B_35_34_5D">userrec</a><li>myfd
+: <a class="el" href="classDNS.html#myfd">DNS</a></ul>
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
<li>n_matches
: <a class="el" href="classXLine.html#n_5Fmatches">XLine</a><li>name
@@ -156,7 +159,7 @@
<h3><a class="anchor" name="index_w">- w -</a></h3><ul>
<li>WriteError
: <a class="el" href="classuserrec.html#WriteError">userrec</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals.html b/docs/module-doc/globals.html
index 631ba7f5e..63da0dd55 100644
--- a/docs/module-doc/globals.html
+++ b/docs/module-doc/globals.html
@@ -37,7 +37,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#AdminNick_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#AdminNick_5BMAXBUF_5D">channels.cpp</a><li>allowed_umode()
: <a class="el" href="mode_8h.html#allowed_5Fumode_28char_20umode_2C_20char_20_2Asourcemodes_2C_20bool_20adding_29">mode.h</a><li>apply_lines()
: <a class="el" href="xline_8h.html#apply_5Flines_28_29">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x62.html b/docs/module-doc/globals_0x62.html
index c57abb546..a01f0ba9a 100644
--- a/docs/module-doc/globals_0x62.html
+++ b/docs/module-doc/globals_0x62.html
@@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="channels_8h.html#BanList">channels.h</a><li>Blocking()
: <a class="el" href="message_8h.html#Blocking_28int_20s_29">message.h</a><li>boundPortCount
: <a class="el" href="socket_8cpp.html#boundPortCount">socket.cpp</a>, <a class="el" href="modules_8cpp.html#boundPortCount">modules.cpp</a>, <a class="el" href="channels_8cpp.html#boundPortCount">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x63.html b/docs/module-doc/globals_0x63.html
index 33492944f..0f45a335a 100644
--- a/docs/module-doc/globals_0x63.html
+++ b/docs/module-doc/globals_0x63.html
@@ -44,7 +44,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">modules.h</a><li>cstatus()
: <a class="el" href="message_8h.html#cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">message.h</a><li>custom_mode_params
: <a class="el" href="channels_8cpp.html#custom_5Fmode_5Fparams">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x64.html b/docs/module-doc/globals_0x64.html
index a0abb5768..5a7f2ed96 100644
--- a/docs/module-doc/globals_0x64.html
+++ b/docs/module-doc/globals_0x64.html
@@ -23,10 +23,11 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>DieDelay
: <a class="el" href="modules_8cpp.html#DieDelay">modules.cpp</a>, <a class="el" href="channels_8cpp.html#DieDelay">channels.cpp</a><li>diepass
: <a class="el" href="modules_8cpp.html#diepass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#diepass_5BMAXBUF_5D">channels.cpp</a><li>DieValue
-: <a class="el" href="modules_8cpp.html#DieValue_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#DieValue_5BMAXBUF_5D">channels.cpp</a><li>DoAddExtendedMode()
+: <a class="el" href="modules_8cpp.html#DieValue_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#DieValue_5BMAXBUF_5D">channels.cpp</a><li>do_whois()
+: <a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">commands.h</a><li>DoAddExtendedMode()
: <a class="el" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">modules.cpp</a><li>duration()
: <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">commands.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x65.html b/docs/module-doc/globals_0x65.html
index 40bb97edf..2f995ffa1 100644
--- a/docs/module-doc/globals_0x65.html
+++ b/docs/module-doc/globals_0x65.html
@@ -12,13 +12,14 @@
Here is a list of all file members with links to the files they belong to:
<p>
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
-<li>EMode
+<li>eline_set_creation_time()
+: <a class="el" href="xline_8h.html#eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a><li>EMode
: <a class="el" href="modules_8cpp.html#EMode">modules.cpp</a><li>ExemptList
: <a class="el" href="channels_8h.html#ExemptList">channels.h</a><li>expire_lines()
: <a class="el" href="xline_8h.html#expire_5Flines_28_29">xline.h</a><li>ExtModeList
: <a class="el" href="modules_8cpp.html#ExtModeList">modules.cpp</a><li>ExtModeListIter
: <a class="el" href="modules_8cpp.html#ExtModeListIter">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x66.html b/docs/module-doc/globals_0x66.html
index a1dfbb62f..eac6148da 100644
--- a/docs/module-doc/globals_0x66.html
+++ b/docs/module-doc/globals_0x66.html
@@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8h.html#file_5Fcache">modules.h</a><li>FOREACH_MOD
: <a class="el" href="modules_8h.html#FOREACH_5FMOD">modules.h</a><li>FOREACH_RESULT
: <a class="el" href="modules_8h.html#FOREACH_5FRESULT_28x_29">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x67.html b/docs/module-doc/globals_0x67.html
index 4a00d5018..aa017cc5b 100644
--- a/docs/module-doc/globals_0x67.html
+++ b/docs/module-doc/globals_0x67.html
@@ -17,7 +17,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="mode_8h.html#give_5Fops_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>give_voice()
: <a class="el" href="mode_8h.html#give_5Fvoice_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29">mode.h</a><li>gline_set_creation_time()
: <a class="el" href="xline_8h.html#gline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x68.html b/docs/module-doc/globals_0x68.html
index ccd41a737..0e6638fcf 100644
--- a/docs/module-doc/globals_0x68.html
+++ b/docs/module-doc/globals_0x68.html
@@ -67,7 +67,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="commands_8h.html#handle_5Fzline_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">commands.h</a><li>has_channel()
: <a class="el" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">message.h</a><li>hasumode()
: <a class="el" href="message_8h.html#hasumode_28userrec_20_2Auser_2C_20char_20mode_29">message.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x69.html b/docs/module-doc/globals_0x69.html
index 37b3d6b09..213276dfc 100644
--- a/docs/module-doc/globals_0x69.html
+++ b/docs/module-doc/globals_0x69.html
@@ -32,7 +32,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">commands.h</a><li>isident()
: <a class="el" href="message_8h.html#isident_28const_20char_20_2An_29">message.h</a><li>isnick()
: <a class="el" href="message_8h.html#isnick_28const_20char_20_2An_29">message.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x6c.html b/docs/module-doc/globals_0x6c.html
index 858c1e9cc..a259a082d 100644
--- a/docs/module-doc/globals_0x6c.html
+++ b/docs/module-doc/globals_0x6c.html
@@ -16,7 +16,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#list_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#list_5BMAXBUF_5D">channels.cpp</a><li>log_file
: <a class="el" href="socket_8cpp.html#log_5Ffile">socket.cpp</a>, <a class="el" href="modules_8cpp.html#log_5Ffile">modules.cpp</a>, <a class="el" href="channels_8cpp.html#log_5Ffile">channels.cpp</a><li>LogLevel
: <a class="el" href="modules_8cpp.html#LogLevel">modules.cpp</a>, <a class="el" href="channels_8cpp.html#LogLevel">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x6d.html b/docs/module-doc/globals_0x6d.html
index 9434213aa..60f02466a 100644
--- a/docs/module-doc/globals_0x6d.html
+++ b/docs/module-doc/globals_0x6d.html
@@ -31,13 +31,13 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">modules.cpp</a><li>module_names
: <a class="el" href="modules_8cpp.html#module_5Fnames">modules.cpp</a>, <a class="el" href="channels_8cpp.html#module_5Fnames">channels.cpp</a><li>module_sockets
: <a class="el" href="modules_8cpp.html#module_5Fsockets">modules.cpp</a><li>modules
-: <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a><li>motd
-: <a class="el" href="modules_8cpp.html#motd_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#motd_5BMAXBUF_5D">channels.cpp</a><li>MOTD
-: <a class="el" href="modules_8cpp.html#MOTD">modules.cpp</a><li>MT_CHANNEL
+: <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a><li>MOTD
+: <a class="el" href="modules_8cpp.html#MOTD">modules.cpp</a><li>motd
+: <a class="el" href="modules_8cpp.html#motd_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#motd_5BMAXBUF_5D">channels.cpp</a><li>MT_CHANNEL
: <a class="el" href="modules_8h.html#MT_5FCHANNEL">modules.h</a><li>MT_CLIENT
: <a class="el" href="modules_8h.html#MT_5FCLIENT">modules.h</a><li>MT_SERVER
: <a class="el" href="modules_8h.html#MT_5FSERVER">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x6e.html b/docs/module-doc/globals_0x6e.html
index aa4f67ff8..094bf1732 100644
--- a/docs/module-doc/globals_0x6e.html
+++ b/docs/module-doc/globals_0x6e.html
@@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="message_8h.html#NonBlocking_28int_20s_29">message.h</a><li>NONE
: <a class="el" href="modules_8h.html#NONE">modules.h</a><li>nspace
: <a class="el" href="hashcomp_8h.html#nspace">hashcomp.h</a>, <a class="el" href="channels_8cpp.html#nspace">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x6f.html b/docs/module-doc/globals_0x6f.html
index d450c3ce9..8ba3b7b56 100644
--- a/docs/module-doc/globals_0x6f.html
+++ b/docs/module-doc/globals_0x6f.html
@@ -14,7 +14,7 @@ Here is a list of all file members with links to the files they belong to:
<h3><a class="anchor" name="index_o">- o -</a></h3><ul>
<li>openSockfd
: <a class="el" href="socket_8cpp.html#openSockfd_5BMAXSOCKS_5D">socket.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x70.html b/docs/module-doc/globals_0x70.html
index 2f656d73e..9e3cf8967 100644
--- a/docs/module-doc/globals_0x70.html
+++ b/docs/module-doc/globals_0x70.html
@@ -18,7 +18,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#PrefixQuit_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#PrefixQuit_5BMAXBUF_5D">channels.cpp</a><li>process_modes()
: <a class="el" href="mode_8h.html#process_5Fmodes_28char_20_2A_2Aparameters_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20int_20status_2C_20int_20pcnt_2C_20bool_20servermode_2C_20bool_20silent_2C_20bool_20local_29">mode.h</a><li>process_module_umode()
: <a class="el" href="mode_8h.html#process_5Fmodule_5Fumode_28char_20umode_2C_20userrec_20_2Asource_2C_20void_20_2Adest_2C_20bool_20adding_29">mode.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x71.html b/docs/module-doc/globals_0x71.html
index fc28db687..cda2f0a00 100644
--- a/docs/module-doc/globals_0x71.html
+++ b/docs/module-doc/globals_0x71.html
@@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to:
<li>qline_make_global()
: <a class="el" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">xline.h</a><li>qline_set_creation_time()
: <a class="el" href="xline_8h.html#qline_5Fset_5Fcreation_5Ftime_28char_20_2Anick_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x72.html b/docs/module-doc/globals_0x72.html
index 84db1d420..196ecf33e 100644
--- a/docs/module-doc/globals_0x72.html
+++ b/docs/module-doc/globals_0x72.html
@@ -17,7 +17,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#restartpass_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#restartpass_5BMAXBUF_5D">channels.cpp</a><li>rules
: <a class="el" href="modules_8cpp.html#rules_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#rules_5BMAXBUF_5D">channels.cpp</a><li>RULES
: <a class="el" href="modules_8cpp.html#RULES">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x73.html b/docs/module-doc/globals_0x73.html
index 2617e4d18..c43408e02 100644
--- a/docs/module-doc/globals_0x73.html
+++ b/docs/module-doc/globals_0x73.html
@@ -30,7 +30,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="users_8h.html#STATUS_5FVOICE">users.h</a><li>string
: <a class="el" href="namespaceirc.html#string">hashcomp.h</a><li>string_list
: <a class="el" href="modules_8h.html#string_5Flist">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x74.html b/docs/module-doc/globals_0x74.html
index 000121a3d..dddfb058a 100644
--- a/docs/module-doc/globals_0x74.html
+++ b/docs/module-doc/globals_0x74.html
@@ -20,7 +20,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="message_8h.html#TidyBan_28char_20_2Aban_29">message.h</a><li>tidystring()
: <a class="el" href="message_8h.html#tidystring_28char_20_2Astr_29">message.h</a><li>TIME
: <a class="el" href="users_8cpp.html#TIME">users.cpp</a>, <a class="el" href="socket_8cpp.html#TIME">socket.cpp</a>, <a class="el" href="modules_8cpp.html#TIME">modules.cpp</a>, <a class="el" href="channels_8cpp.html#TIME">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x75.html b/docs/module-doc/globals_0x75.html
index 2aabe539a..b2f9bfae4 100644
--- a/docs/module-doc/globals_0x75.html
+++ b/docs/module-doc/globals_0x75.html
@@ -20,7 +20,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="channels_8h.html#UCMODE_5FVOICE">channels.h</a><li>unlimitcore
: <a class="el" href="socket_8cpp.html#unlimitcore">socket.cpp</a><li>user_hash
: <a class="el" href="modules_8cpp.html#user_5Fhash">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x76.html b/docs/module-doc/globals_0x76.html
index f4a101507..580b1ef40 100644
--- a/docs/module-doc/globals_0x76.html
+++ b/docs/module-doc/globals_0x76.html
@@ -19,7 +19,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR
: <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a><li>VoidPointer
: <a class="el" href="base_8h.html#VoidPointer">base.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x77.html b/docs/module-doc/globals_0x77.html
index fbb81cb57..f15932bee 100644
--- a/docs/module-doc/globals_0x77.html
+++ b/docs/module-doc/globals_0x77.html
@@ -17,7 +17,7 @@ Here is a list of all file members with links to the files they belong to:
: <a class="el" href="modules_8cpp.html#whowas_5Fhash">modules.cpp</a><li>WHOWAS_MAX
: <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE
: <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_0x7a.html b/docs/module-doc/globals_0x7a.html
index 8876f165f..d3327bae9 100644
--- a/docs/module-doc/globals_0x7a.html
+++ b/docs/module-doc/globals_0x7a.html
@@ -15,7 +15,7 @@ Here is a list of all file members with links to the files they belong to:
<li>zline_make_global()
: <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_defs.html b/docs/module-doc/globals_defs.html
index b155d0221..1cbfd8d96 100644
--- a/docs/module-doc/globals_defs.html
+++ b/docs/module-doc/globals_defs.html
@@ -78,7 +78,7 @@
: <a class="el" href="modules_8h.html#VF_5FSERVICEPROVIDER">modules.h</a><li>VF_STATIC
: <a class="el" href="modules_8h.html#VF_5FSTATIC">modules.h</a><li>VF_VENDOR
: <a class="el" href="modules_8h.html#VF_5FVENDOR">modules.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_enum.html b/docs/module-doc/globals_enum.html
index da898985a..ca4f96501 100644
--- a/docs/module-doc/globals_enum.html
+++ b/docs/module-doc/globals_enum.html
@@ -12,7 +12,7 @@
<li>InspSocketError
: <a class="el" href="socket_8h.html#InspSocketError">socket.h</a><li>InspSocketState
: <a class="el" href="socket_8h.html#InspSocketState">socket.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_eval.html b/docs/module-doc/globals_eval.html
index e8080ff9f..e5d0fd9fc 100644
--- a/docs/module-doc/globals_eval.html
+++ b/docs/module-doc/globals_eval.html
@@ -19,7 +19,7 @@
: <a class="el" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">socket.h</a><li>I_ERROR
: <a class="el" href="socket_8h.html#InspSocketStateI_5FERROR">socket.h</a><li>I_LISTENING
: <a class="el" href="socket_8h.html#InspSocketStateI_5FLISTENING">socket.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_func.html b/docs/module-doc/globals_func.html
index df42b69fa..f34aad449 100644
--- a/docs/module-doc/globals_func.html
+++ b/docs/module-doc/globals_func.html
@@ -42,11 +42,13 @@
: <a class="el" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_kline()
: <a class="el" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">xline.h</a><li>del_qline()
: <a class="el" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">xline.h</a><li>del_zline()
-: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>DoAddExtendedMode()
+: <a class="el" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">xline.h</a><li>do_whois()
+: <a class="el" href="commands_8h.html#do_5Fwhois_28userrec_20_2Auser_2C_20userrec_20_2Adest_2C_20unsigned_20long_20signon_2C_20unsigned_20long_20idle_2C_20char_20_2Anick_29">commands.h</a><li>DoAddExtendedMode()
: <a class="el" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">modules.cpp</a><li>duration()
: <a class="el" href="commands_8h.html#duration_28const_20char_20_2Astr_29">commands.h</a></ul>
<h3><a class="anchor" name="index_e">- e -</a></h3><ul>
-<li>expire_lines()
+<li>eline_set_creation_time()
+: <a class="el" href="xline_8h.html#eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">xline.h</a><li>expire_lines()
: <a class="el" href="xline_8h.html#expire_5Flines_28_29">xline.h</a></ul>
<h3><a class="anchor" name="index_f">- f -</a></h3><ul>
<li>factory()
@@ -169,7 +171,7 @@
<li>zline_make_global()
: <a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">xline.h</a><li>zline_set_creation_time()
: <a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">xline.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_type.html b/docs/module-doc/globals_type.html
index f1f712149..fd641a338 100644
--- a/docs/module-doc/globals_type.html
+++ b/docs/module-doc/globals_type.html
@@ -28,7 +28,7 @@
: <a class="el" href="modules_8cpp.html#user_5Fhash">modules.cpp</a><li>VoidPointer
: <a class="el" href="base_8h.html#VoidPointer">base.h</a><li>whowas_hash
: <a class="el" href="modules_8cpp.html#whowas_5Fhash">modules.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/globals_vars.html b/docs/module-doc/globals_vars.html
index 6bf40a4ac..c77031009 100644
--- a/docs/module-doc/globals_vars.html
+++ b/docs/module-doc/globals_vars.html
@@ -55,9 +55,9 @@
: <a class="el" href="modules_8cpp.html#MODCOUNT">modules.cpp</a>, <a class="el" href="channels_8cpp.html#MODCOUNT">channels.cpp</a><li>module_names
: <a class="el" href="modules_8cpp.html#module_5Fnames">modules.cpp</a>, <a class="el" href="channels_8cpp.html#module_5Fnames">channels.cpp</a><li>module_sockets
: <a class="el" href="modules_8cpp.html#module_5Fsockets">modules.cpp</a><li>modules
-: <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a><li>motd
-: <a class="el" href="modules_8cpp.html#motd_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#motd_5BMAXBUF_5D">channels.cpp</a><li>MOTD
-: <a class="el" href="modules_8cpp.html#MOTD">modules.cpp</a></ul>
+: <a class="el" href="modules_8cpp.html#modules_28_32_35_35_29">modules.cpp</a>, <a class="el" href="channels_8cpp.html#modules">channels.cpp</a><li>MOTD
+: <a class="el" href="modules_8cpp.html#MOTD">modules.cpp</a><li>motd
+: <a class="el" href="modules_8cpp.html#motd_5BMAXBUF_5D">modules.cpp</a>, <a class="el" href="channels_8cpp.html#motd_5BMAXBUF_5D">channels.cpp</a></ul>
<h3><a class="anchor" name="index_n">- n -</a></h3><ul>
<li>nb_start
: <a class="el" href="modules_8cpp.html#nb_5Fstart">modules.cpp</a>, <a class="el" href="channels_8cpp.html#nb_5Fstart">channels.cpp</a><li>NetBufferSize
@@ -92,7 +92,7 @@
: <a class="el" href="modules_8cpp.html#whowas">modules.cpp</a><li>WHOWAS_MAX
: <a class="el" href="modules_8cpp.html#WHOWAS_5FMAX">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FMAX">channels.cpp</a><li>WHOWAS_STALE
: <a class="el" href="modules_8cpp.html#WHOWAS_5FSTALE">modules.cpp</a>, <a class="el" href="channels_8cpp.html#WHOWAS_5FSTALE">channels.cpp</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/graph_legend.html b/docs/module-doc/graph_legend.html
index 90c2454ce..36e33a761 100644
--- a/docs/module-doc/graph_legend.html
+++ b/docs/module-doc/graph_legend.html
@@ -67,7 +67,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
<li>
A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/hashcomp_8h-source.html b/docs/module-doc/hashcomp_8h-source.html
index d93e2359d..100557245 100644
--- a/docs/module-doc/hashcomp_8h-source.html
+++ b/docs/module-doc/hashcomp_8h-source.html
@@ -109,7 +109,7 @@
<a name="l00130"></a>00130 }
<a name="l00131"></a>00131
<a name="l00132"></a>00132 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/hashcomp_8h.html b/docs/module-doc/hashcomp_8h.html
index 094ec14a6..b082ee153 100644
--- a/docs/module-doc/hashcomp_8h.html
+++ b/docs/module-doc/hashcomp_8h.html
@@ -77,7 +77,7 @@ This graph shows which files directly or indirectly include this file:<p><center
Definition at line <a class="el" href="hashcomp_8h-source.html#l00044">44</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/hierarchy.html b/docs/module-doc/hierarchy.html
index 6b1822b2c..23791af5a 100644
--- a/docs/module-doc/hierarchy.html
+++ b/docs/module-doc/hierarchy.html
@@ -65,7 +65,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<li><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>
<li><a class="el" href="classWhoWasUser.html">WhoWasUser</a>
</ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/inherits.html b/docs/module-doc/inherits.html
index 67a43a23d..9105b0e91 100644
--- a/docs/module-doc/inherits.html
+++ b/docs/module-doc/inherits.html
@@ -84,7 +84,7 @@
<area href="classWhoWasUser.html" shape="rect" coords="8,7,112,33" alt="">
</map></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/main.html b/docs/module-doc/main.html
index fd5a79646..8d70ff3d3 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">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>InspIRCd Documentation</h1>
<p>
-<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<h3 align="center">1.0Betareleases </h3><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/message_8h-source.html b/docs/module-doc/message_8h-source.html
index 7d56671ff..6b3c2388a 100644
--- a/docs/module-doc/message_8h-source.html
+++ b/docs/module-doc/message_8h-source.html
@@ -57,7 +57,7 @@
<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="message_8h.html#send_5Fnetwork_5Fquit_28const_20char_20_2Anick_2C_20const_20char_20_2Areason_29">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);
<a name="l00049"></a>00049
<a name="l00050"></a>00050 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/message_8h.html b/docs/module-doc/message_8h.html
index baa3188b9..35a98df68 100644
--- a/docs/module-doc/message_8h.html
+++ b/docs/module-doc/message_8h.html
@@ -165,7 +165,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00535">Server::ChangeHost()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00573">Server::ChangeHost()</a>. </td>
</tr>
</table>
<a class="anchor" name="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29"></a><!-- doxytag: member="message.h::ChangeName" ref="ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29" args="(userrec *user, const char *gecos)" --><p>
@@ -204,7 +204,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00535">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00540">Server::ChangeGECOS()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00578">Server::ChangeGECOS()</a>. </td>
</tr>
</table>
<a class="anchor" name="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29"></a><!-- doxytag: member="message.h::chlist" ref="chlist_28userrec_20_2Auser_2C_20userrec_20_2Asource_29" args="(userrec *user, userrec *source)" --><p>
@@ -345,7 +345,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00540">Server::Chang
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::ChanMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00603">Server::ChanMode()</a>. </td>
</tr>
</table>
<a class="anchor" name="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29"></a><!-- doxytag: member="message.h::common_channels" ref="common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29" args="(userrec *u, userrec *u2)" --><p>
@@ -384,7 +384,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00565">Server::ChanM
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00513">Server::CommonChannels()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00551">Server::CommonChannels()</a>. </td>
</tr>
</table>
<a class="anchor" name="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29"></a><!-- doxytag: member="message.h::cstatus" ref="cstatus_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29" args="(userrec *user, chanrec *chan)" --><p>
@@ -460,7 +460,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00513">Server::Commo
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00570">Server::IsOnChannel()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00608">Server::IsOnChannel()</a>. </td>
</tr>
</table>
<a class="anchor" name="hasumode_28userrec_20_2Auser_2C_20char_20mode_29"></a><!-- doxytag: member="message.h::hasumode" ref="hasumode_28userrec_20_2Auser_2C_20char_20mode_29" args="(userrec *user, char mode)" --><p>
@@ -555,7 +555,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00570">Server::IsOnC
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::IsNick()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00583">Server::IsNick()</a>. </td>
</tr>
</table>
<a class="anchor" name="NonBlocking_28int_20s_29"></a><!-- doxytag: member="message.h::NonBlocking" ref="NonBlocking_28int_20s_29" args="(int s)" --><p>
@@ -679,7 +679,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00545">Server::IsNic
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:07 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/message_8h__incl.md5 b/docs/module-doc/message_8h__incl.md5
index 2224be875..724dbb712 100644
--- a/docs/module-doc/message_8h__incl.md5
+++ b/docs/module-doc/message_8h__incl.md5
@@ -1 +1 @@
-7aeb3a1884c55b8e203a25501370a382 \ No newline at end of file
+3a2c4208881b372cdcae2d492b4dfb49 \ No newline at end of file
diff --git a/docs/module-doc/mode_8h-source.html b/docs/module-doc/mode_8h-source.html
index 2d980d16b..85a8d6468 100644
--- a/docs/module-doc/mode_8h-source.html
+++ b/docs/module-doc/mode_8h-source.html
@@ -55,7 +55,7 @@
<a name="l00046"></a>00046
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/mode_8h.html b/docs/module-doc/mode_8h.html
index 5d453ab00..26c2b6592 100644
--- a/docs/module-doc/mode_8h.html
+++ b/docs/module-doc/mode_8h.html
@@ -593,7 +593,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00462">Server::SendMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00500">Server::SendMode()</a>. </td>
</tr>
</table>
<a class="anchor" name="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29"></a><!-- doxytag: member="mode.h::take_ban" ref="take_5Fban_28userrec_20_2Auser_2C_20char_20_2Adest_2C_20chanrec_20_2Achan_2C_20int_20status_29" args="(userrec *user, char *dest, chanrec *chan, int status)" --><p>
@@ -792,7 +792,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00462">Server::SendM
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:08 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/mode_8h__incl.md5 b/docs/module-doc/mode_8h__incl.md5
index a5d5a9523..6d7d31d18 100644
--- a/docs/module-doc/mode_8h__incl.md5
+++ b/docs/module-doc/mode_8h__incl.md5
@@ -1 +1 @@
-e60a56359f355b23ad1b5e5f66fd3fe7 \ No newline at end of file
+3d060c191165c8107d912ed1383b6923 \ No newline at end of file
diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html
index bfedc2754..9298996f8 100644
--- a/docs/module-doc/modules_8cpp-source.html
+++ b/docs/module-doc/modules_8cpp-source.html
@@ -117,7 +117,7 @@
<a name="l00108"></a>00108
<a name="l00109"></a>00109 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#ports_5BMAXSOCKS_5D">ports</a>[MAXSOCKS];
<a name="l00110"></a>00110
-<a name="l00111"></a>00111
+<a name="l00111"></a>00111 <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>;
<a name="l00112"></a>00112
<a name="l00113"></a>00113 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>;
<a name="l00114"></a>00114
@@ -312,31 +312,31 @@
<a name="l00303"></a>00303
<a name="l00304"></a>00304
<a name="l00305"></a>00305 <span class="comment">// These declarations define the behavours of the base class Module (which does nothing at all)</span>
-<a name="l00306"></a><a class="code" href="classModule.html#Module_28_29">00306</a> <a class="code" href="classModule.html#Module_28_29">Module::Module</a>() { }
-<a name="l00307"></a><a class="code" href="classModule.html#_7EModule_28_29">00307</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { }
-<a name="l00308"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00308</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00309"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_29">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00310"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00311"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
-<a name="l00312"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
-<a name="l00313"></a><a class="code" href="classModule.html#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module::OnPacketTransmit</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { }
-<a name="l00314"></a><a class="code" href="classModule.html#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">00314</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">Module::OnPacketReceive</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { }
-<a name="l00315"></a><a class="code" href="classModule.html#OnRehash_28_29">00315</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28_29">Module::OnRehash</a>() { }
-<a name="l00316"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00316</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { }
-<a name="l00317"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00317</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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="l00318"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00318</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &amp;params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
-<a name="l00319"></a><a class="code" href="classModule.html#GetVersion_28_29">00319</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">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#VF_5FVENDOR">VF_VENDOR</a>); }
-<a name="l00320"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_29">00320</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00321"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00321</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
-<a name="l00322"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00322</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { };
-<a name="l00323"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00323</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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="l00324"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00324</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text) { <span class="keywordflow">return</span> 0; };
-<a name="l00325"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text) { <span class="keywordflow">return</span> 0; };
-<a name="l00326"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00326</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; };
-<a name="l00327"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00327</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { };
-<a name="l00328"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00328</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; };
-<a name="l00329"></a><a class="code" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">00329</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a> <a class="code" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">Module::OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { <a class="code" href="modules_8h.html#string_5Flist">string_list</a> empty; <span class="keywordflow">return</span> empty; }
-<a name="l00330"></a><a class="code" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">00330</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a> <a class="code" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">Module::OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan) { <a class="code" href="modules_8h.html#string_5Flist">string_list</a> empty; <span class="keywordflow">return</span> empty; }
+<a name="l00306"></a>00306
+<a name="l00307"></a><a class="code" href="classModule.html#Module_28Server_20_2AMe_29">00307</a> <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module::Module</a>(<a class="code" href="classServer.html">Server</a>* Me) { }
+<a name="l00308"></a><a class="code" href="classModule.html#_7EModule_28_29">00308</a> <a class="code" href="classModule.html#_7EModule_28_29">Module::~Module</a>() { }
+<a name="l00309"></a><a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">00309</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">Module::OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00310"></a><a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00310</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Module::OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message) { }
+<a name="l00311"></a><a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">00311</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">Module::OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00312"></a><a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00312</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
+<a name="l00313"></a><a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">00313</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">Module::OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel) { }
+<a name="l00314"></a>00314 <span class="keywordtype">void</span> Module::OnPacketTransmit(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { }
+<a name="l00315"></a>00315 <span class="keywordtype">void</span> Module::OnPacketReceive(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv) { }
+<a name="l00316"></a><a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">00316</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">Module::OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter) { }
+<a name="l00317"></a><a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">00317</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">Module::OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user) { }
+<a name="l00318"></a><a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">00318</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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="l00319"></a><a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">00319</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &amp;params) { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
+<a name="l00320"></a><a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00320</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { };
+<a name="l00321"></a><a class="code" href="classModule.html#GetVersion_28_29">00321</a> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">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#VF_5FVENDOR">VF_VENDOR</a>); }
+<a name="l00322"></a><a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">00322</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">Module::OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype) { };
+<a name="l00323"></a><a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">00323</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">Module::OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user) { };
+<a name="l00324"></a><a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">00324</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">Module::OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest) { };
+<a name="l00325"></a><a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00325</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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="l00326"></a><a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00326</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text) { <span class="keywordflow">return</span> 0; };
+<a name="l00327"></a><a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">00327</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text) { <span class="keywordflow">return</span> 0; };
+<a name="l00328"></a><a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">00328</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">Module::OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick) { <span class="keywordflow">return</span> 0; };
+<a name="l00329"></a><a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">00329</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">Module::OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick) { };
+<a name="l00330"></a><a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">00330</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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#ACR_5FDEFAULT">ACR_DEFAULT</a>; };
<a name="l00331"></a><a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">00331</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">Module::On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;output) { };
<a name="l00332"></a><a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00332</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { <span class="keywordflow">return</span> 0; };
<a name="l00333"></a><a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">00333</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">Module::OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name) { };
@@ -368,642 +368,680 @@
<a name="l00359"></a><a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">00359</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">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="l00360"></a><a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">00360</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">Module::OnRawSocketClose</a>(<span class="keywordtype">int</span> fd) { };
<a name="l00361"></a><a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">00361</a> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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; };
-<a name="l00362"></a>00362
-<a name="l00363"></a>00363 <span class="comment">// server is a wrapper class that provides methods to all of the C-style</span>
-<a name="l00364"></a>00364 <span class="comment">// exports in the core</span>
-<a name="l00365"></a>00365 <span class="comment">//</span>
-<a name="l00366"></a>00366
-<a name="l00367"></a><a class="code" href="classServer.html#Server_28_29">00367</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>()
-<a name="l00368"></a>00368 {
-<a name="l00369"></a>00369 }
-<a name="l00370"></a>00370
-<a name="l00371"></a><a class="code" href="classServer.html#_7EServer_28_29">00371</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>()
-<a name="l00372"></a>00372 {
-<a name="l00373"></a>00373 }
-<a name="l00374"></a>00374
-<a name="l00375"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00375</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock)
-<a name="l00376"></a>00376 {
-<a name="l00377"></a>00377 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock);
-<a name="l00378"></a>00378 }
-<a name="l00379"></a>00379
-<a name="l00380"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00380</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock)
-<a name="l00381"></a>00381 {
-<a name="l00382"></a>00382 <span class="keywordflow">for</span> (std::vector&lt;InspSocket*&gt;::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a &lt; <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++)
-<a name="l00383"></a>00383 {
-<a name="l00384"></a>00384 <span class="keywordflow">if</span> (*a == sock)
-<a name="l00385"></a>00385 {
-<a name="l00386"></a>00386 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a);
-<a name="l00387"></a>00387 <span class="keywordflow">return</span>;
-<a name="l00388"></a>00388 }
-<a name="l00389"></a>00389 }
-<a name="l00390"></a>00390 }
-<a name="l00391"></a>00391
-<a name="l00392"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00392</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00393"></a>00393 {
-<a name="l00394"></a>00394 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00395"></a>00395 }
-<a name="l00396"></a>00396
-<a name="l00397"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00397</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern)
-<a name="l00398"></a>00398 {
-<a name="l00399"></a>00399 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
-<a name="l00400"></a>00400 strlcpy(literal,sliteral.c_str(),MAXBUF);
-<a name="l00401"></a>00401 strlcpy(pattern,spattern.c_str(),MAXBUF);
-<a name="l00402"></a>00402 <span class="keywordflow">return</span> match(literal,pattern);
-<a name="l00403"></a>00403 }
-<a name="l00404"></a>00404
-<a name="l00405"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00405</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text)
-<a name="l00406"></a>00406 {
-<a name="l00407"></a>00407 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00408"></a>00408 }
-<a name="l00409"></a>00409
-<a name="l00410"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00410</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key)
-<a name="l00411"></a>00411 {
-<a name="l00412"></a>00412 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
-<a name="l00413"></a>00413 }
-<a name="l00414"></a>00414
-<a name="l00415"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00415</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason)
-<a name="l00416"></a>00416 {
-<a name="l00417"></a>00417 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
-<a name="l00418"></a>00418 }
-<a name="l00419"></a>00419
-<a name="l00420"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00420</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
-<a name="l00421"></a>00421 {
-<a name="l00422"></a>00422 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl;
-<a name="l00423"></a>00423 userl.clear();
-<a name="l00424"></a>00424 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-&gt;<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>();
-<a name="l00425"></a>00425 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = list-&gt;begin(); i != list-&gt;end(); i++)
-<a name="l00426"></a>00426 {
-<a name="l00427"></a>00427 <span class="keywordtype">char</span>* o = *i;
-<a name="l00428"></a>00428 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
-<a name="l00429"></a>00429 }
-<a name="l00430"></a>00430 <span class="keywordflow">return</span> userl;
-<a name="l00431"></a>00431 }
-<a name="l00432"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00432</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname)
-<a name="l00433"></a>00433 {
-<a name="l00434"></a>00434 force_nickchange(user,nickname.c_str());
-<a name="l00435"></a>00435 }
-<a name="l00436"></a>00436
-<a name="l00437"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00437</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason)
-<a name="l00438"></a>00438 {
-<a name="l00439"></a>00439 kill_link(user,reason.c_str());
-<a name="l00440"></a>00440 }
-<a name="l00441"></a>00441
-<a name="l00442"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00442</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server)
-<a name="l00443"></a>00443 {
-<a name="l00444"></a>00444 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str());
-<a name="l00445"></a>00445 }
-<a name="l00446"></a>00446
-<a name="l00447"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00447</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user)
-<a name="l00448"></a>00448 {
-<a name="l00449"></a>00449 call_handler(commandname.c_str(),parameters,pcnt,user);
-<a name="l00450"></a>00450 }
-<a name="l00451"></a>00451
-<a name="l00452"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00452</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00453"></a>00453 {
-<a name="l00454"></a>00454 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00455"></a>00455 }
-<a name="l00456"></a>00456
-<a name="l00457"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00457</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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)
-<a name="l00458"></a>00458 {
-<a name="l00459"></a>00459 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source);
-<a name="l00460"></a>00460 }
-<a name="l00461"></a>00461
-<a name="l00462"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00462</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
-<a name="l00463"></a>00463 {
-<a name="l00464"></a>00464 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user);
-<a name="l00465"></a>00465 }
-<a name="l00466"></a>00466
-<a name="l00467"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00467</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00468"></a>00468 {
-<a name="l00469"></a>00469 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00470"></a>00470 }
-<a name="l00471"></a>00471
-<a name="l00472"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00472</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00473"></a>00473 {
-<a name="l00474"></a>00474 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00475"></a>00475 }
-<a name="l00476"></a>00476
-<a name="l00477"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00477</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00478"></a>00478 {
-<a name="l00479"></a>00479 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00480"></a>00480 }
-<a name="l00481"></a>00481
-<a name="l00482"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00482</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s)
-<a name="l00483"></a>00483 {
-<a name="l00484"></a>00484 <span class="keywordflow">if</span> (!Source)
-<a name="l00485"></a>00485 {
-<a name="l00486"></a>00486 <span class="comment">// if source is NULL, then the message originates from the local server</span>
-<a name="l00487"></a>00487 Write(Dest-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
-<a name="l00488"></a>00488 }
-<a name="l00489"></a>00489 <span class="keywordflow">else</span>
-<a name="l00490"></a>00490 {
-<a name="l00491"></a>00491 <span class="comment">// otherwise it comes from the user specified</span>
-<a name="l00492"></a>00492 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00493"></a>00493 }
-<a name="l00494"></a>00494 }
-<a name="l00495"></a>00495
-<a name="l00496"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00496</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text)
-<a name="l00497"></a>00497 {
-<a name="l00498"></a>00498 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
-<a name="l00499"></a>00499 }
-<a name="l00500"></a>00500
-<a name="l00501"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00501</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender)
-<a name="l00502"></a>00502 {
-<a name="l00503"></a>00503 <span class="keywordflow">if</span> (IncludeSender)
-<a name="l00504"></a>00504 {
-<a name="l00505"></a>00505 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00506"></a>00506 }
-<a name="l00507"></a>00507 <span class="keywordflow">else</span>
-<a name="l00508"></a>00508 {
-<a name="l00509"></a>00509 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
-<a name="l00510"></a>00510 }
-<a name="l00511"></a>00511 }
-<a name="l00512"></a>00512
-<a name="l00513"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00513</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2)
-<a name="l00514"></a>00514 {
-<a name="l00515"></a>00515 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0);
-<a name="l00516"></a>00516 }
-<a name="l00517"></a>00517
-<a name="l00518"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00518</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender)
-<a name="l00519"></a>00519 {
-<a name="l00520"></a>00520 <span class="keywordflow">if</span> (IncludeSender)
-<a name="l00521"></a>00521 {
-<a name="l00522"></a>00522 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00523"></a>00523 }
-<a name="l00524"></a>00524 <span class="keywordflow">else</span>
-<a name="l00525"></a>00525 {
-<a name="l00526"></a>00526 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00527"></a>00527 }
-<a name="l00528"></a>00528 }
-<a name="l00529"></a>00529
-<a name="l00530"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00530</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text)
-<a name="l00531"></a>00531 {
-<a name="l00532"></a>00532 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
-<a name="l00533"></a>00533 }
-<a name="l00534"></a>00534
-<a name="l00535"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00535</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host)
-<a name="l00536"></a>00536 {
-<a name="l00537"></a>00537 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str());
-<a name="l00538"></a>00538 }
-<a name="l00539"></a>00539
-<a name="l00540"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00540</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos)
-<a name="l00541"></a>00541 {
-<a name="l00542"></a>00542 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str());
-<a name="l00543"></a>00543 }
-<a name="l00544"></a>00544
-<a name="l00545"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00545</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick)
-<a name="l00546"></a>00546 {
-<a name="l00547"></a>00547 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0);
-<a name="l00548"></a>00548 }
-<a name="l00549"></a>00549
-<a name="l00550"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00550</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick)
-<a name="l00551"></a>00551 {
-<a name="l00552"></a>00552 <span class="keywordflow">return</span> Find(nick);
-<a name="l00553"></a>00553 }
-<a name="l00554"></a>00554
-<a name="l00555"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00555</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket)
-<a name="l00556"></a>00556 {
-<a name="l00557"></a>00557 <span class="keywordflow">return</span> (socket &lt; 65536 ? fd_ref_table[socket] : NULL);
-<a name="l00558"></a>00558 }
-<a name="l00559"></a>00559
-<a name="l00560"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00560</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel)
-<a name="l00561"></a>00561 {
-<a name="l00562"></a>00562 <span class="keywordflow">return</span> FindChan(channel.c_str());
-<a name="l00563"></a>00563 }
-<a name="l00564"></a>00564
-<a name="l00565"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00565</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-<a name="l00566"></a>00566 {
-<a name="l00567"></a>00567 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan);
-<a name="l00568"></a>00568 }
-<a name="l00569"></a>00569
-<a name="l00570"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00570</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
-<a name="l00571"></a>00571 {
-<a name="l00572"></a>00572 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan);
-<a name="l00573"></a>00573 }
-<a name="l00574"></a>00574
-<a name="l00575"></a><a class="code" href="classServer.html#GetServerName_28_29">00575</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>()
-<a name="l00576"></a>00576 {
-<a name="l00577"></a>00577 <span class="keywordflow">return</span> getservername();
-<a name="l00578"></a>00578 }
-<a name="l00579"></a>00579
-<a name="l00580"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00580</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>()
-<a name="l00581"></a>00581 {
-<a name="l00582"></a>00582 <span class="keywordflow">return</span> getnetworkname();
-<a name="l00583"></a>00583 }
-<a name="l00584"></a>00584
-<a name="l00585"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00585</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>()
-<a name="l00586"></a>00586 {
-<a name="l00587"></a>00587 <span class="keywordflow">return</span> getserverdesc();
-<a name="l00588"></a>00588 }
-<a name="l00589"></a>00589
-<a name="l00590"></a><a class="code" href="classServer.html#GetAdmin_28_29">00590</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>()
-<a name="l00591"></a>00591 {
-<a name="l00592"></a>00592 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
-<a name="l00593"></a>00593 }
-<a name="l00594"></a>00594
-<a name="l00595"></a>00595
-<a name="l00596"></a>00596
-<a name="l00597"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00597</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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="l00598"></a>00598 {
-<a name="l00599"></a>00599 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'Z'</span>)) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
-<a name="l00600"></a>00600 {
-<a name="l00601"></a>00601 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>)
-<a name="l00602"></a>00602 {
-<a name="l00603"></a>00603 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
-<a name="l00604"></a>00604 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00605"></a>00605 }
-<a name="l00606"></a>00606 <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#MT_5FCLIENT">MT_CLIENT</a>))
-<a name="l00607"></a>00607 {
-<a name="l00608"></a>00608 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
-<a name="l00609"></a>00609 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00610"></a>00610 }
-<a name="l00611"></a>00611 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
-<a name="l00612"></a>00612 {
-<a name="l00613"></a>00613 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
-<a name="l00614"></a>00614 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00615"></a>00615 }
-<a name="l00616"></a>00616 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
-<a name="l00617"></a>00617 }
-<a name="l00618"></a>00618 <span class="keywordflow">else</span>
-<a name="l00619"></a>00619 {
-<a name="l00620"></a>00620 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
-<a name="l00621"></a>00621 }
-<a name="l00622"></a>00622 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00623"></a>00623 }
-<a name="l00624"></a>00624
-<a name="l00625"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00625</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
-<a name="l00626"></a>00626 {
-<a name="l00627"></a>00627 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
-<a name="l00628"></a>00628 <span class="keywordflow">if</span> (res)
-<a name="l00629"></a>00629 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar);
-<a name="l00630"></a>00630 <span class="keywordflow">return</span> res;
+<a name="l00362"></a><a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00362</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { };
+<a name="l00363"></a><a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">00363</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">Module::OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text) { };
+<a name="l00364"></a><a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">00364</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">Module::OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason) { };
+<a name="l00365"></a><a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">00365</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">Module::OnUserInvite</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) { };
+<a name="l00366"></a><a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">00366</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">Module::OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic) { };
+<a name="l00367"></a><a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">00367</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">Module::OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &amp;description) { };
+<a name="l00368"></a><a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00368</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { };
+<a name="l00369"></a><a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">00369</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">Module::OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque) { };
+<a name="l00370"></a><a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">00370</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">Module::ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline) { };
+<a name="l00371"></a><a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00371</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { };
+<a name="l00372"></a><a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">00372</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">Module::OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname) { };
+<a name="l00373"></a><a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00373</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { };
+<a name="l00374"></a><a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">00374</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">Module::ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata) { };
+<a name="l00375"></a><a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">00375</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">Module::OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text) { };
+<a name="l00376"></a><a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">00376</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">Module::OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost) { };
+<a name="l00377"></a><a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00377</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Module::OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos) { };
+<a name="l00378"></a><a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00378</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00379"></a><a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">00379</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">Module::OnAddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { };
+<a name="l00380"></a><a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00380</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00381"></a><a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">00381</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">Module::OnAddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { };
+<a name="l00382"></a><a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00382</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Module::OnAddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00383"></a><a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00383</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00384"></a><a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">00384</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">Module::OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask) { };
+<a name="l00385"></a><a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00385</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00386"></a><a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">00386</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">Module::OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask) { };
+<a name="l00387"></a><a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">00387</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">Module::OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask) { };
+<a name="l00388"></a><a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">00388</a> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">Module::OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item) { };
+<a name="l00389"></a>00389
+<a name="l00390"></a>00390 <span class="comment">/* server is a wrapper class that provides methods to all of the C-style</span>
+<a name="l00391"></a>00391 <span class="comment"> * exports in the core</span>
+<a name="l00392"></a>00392 <span class="comment"> */</span>
+<a name="l00393"></a>00393
+<a name="l00394"></a><a class="code" href="classServer.html#Server_28_29">00394</a> <a class="code" href="classServer.html#Server_28_29">Server::Server</a>()
+<a name="l00395"></a>00395 {
+<a name="l00396"></a>00396 }
+<a name="l00397"></a>00397
+<a name="l00398"></a><a class="code" href="classServer.html#_7EServer_28_29">00398</a> <a class="code" href="classServer.html#_7EServer_28_29">Server::~Server</a>()
+<a name="l00399"></a>00399 {
+<a name="l00400"></a>00400 }
+<a name="l00401"></a>00401
+<a name="l00402"></a><a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">00402</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">Server::AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock)
+<a name="l00403"></a>00403 {
+<a name="l00404"></a>00404 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.push_back(sock);
+<a name="l00405"></a>00405 }
+<a name="l00406"></a>00406
+<a name="l00407"></a><a class="code" href="classServer.html#RehashServer_28_29">00407</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">Server::RehashServer</a>()
+<a name="l00408"></a>00408 {
+<a name="l00409"></a>00409 WriteOpers(<span class="stringliteral">"*** Rehashing config file"</span>);
+<a name="l00410"></a>00410 ReadConfig(<span class="keyword">false</span>,NULL);
+<a name="l00411"></a>00411 }
+<a name="l00412"></a>00412
+<a name="l00413"></a><a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">00413</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">Server::DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock)
+<a name="l00414"></a>00414 {
+<a name="l00415"></a>00415 <span class="keywordflow">for</span> (std::vector&lt;InspSocket*&gt;::iterator a = <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.begin(); a &lt; <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.end(); a++)
+<a name="l00416"></a>00416 {
+<a name="l00417"></a>00417 <span class="keywordflow">if</span> (*a == sock)
+<a name="l00418"></a>00418 {
+<a name="l00419"></a>00419 <a class="code" href="modules_8cpp.html#module_5Fsockets">module_sockets</a>.erase(a);
+<a name="l00420"></a>00420 <span class="keywordflow">return</span>;
+<a name="l00421"></a>00421 }
+<a name="l00422"></a>00422 }
+<a name="l00423"></a>00423 }
+<a name="l00424"></a>00424
+<a name="l00425"></a><a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">00425</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">Server::SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00426"></a>00426 {
+<a name="l00427"></a>00427 WriteOpers(<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00428"></a>00428 }
+<a name="l00429"></a>00429
+<a name="l00430"></a><a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">00430</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">Server::MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern)
+<a name="l00431"></a>00431 {
+<a name="l00432"></a>00432 <span class="keywordtype">char</span> literal[MAXBUF],pattern[MAXBUF];
+<a name="l00433"></a>00433 strlcpy(literal,sliteral.c_str(),MAXBUF);
+<a name="l00434"></a>00434 strlcpy(pattern,spattern.c_str(),MAXBUF);
+<a name="l00435"></a>00435 <span class="keywordflow">return</span> match(literal,pattern);
+<a name="l00436"></a>00436 }
+<a name="l00437"></a>00437
+<a name="l00438"></a><a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">00438</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">Server::SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text)
+<a name="l00439"></a>00439 {
+<a name="l00440"></a>00440 WriteMode(modes.c_str(),flags,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00441"></a>00441 }
+<a name="l00442"></a>00442
+<a name="l00443"></a><a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">00443</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">Server::JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key)
+<a name="l00444"></a>00444 {
+<a name="l00445"></a>00445 <span class="keywordflow">return</span> add_channel(user,cname.c_str(),key.c_str(),<span class="keyword">false</span>);
+<a name="l00446"></a>00446 }
+<a name="l00447"></a>00447
+<a name="l00448"></a><a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">00448</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">Server::PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason)
+<a name="l00449"></a>00449 {
+<a name="l00450"></a>00450 <span class="keywordflow">return</span> del_channel(user,cname.c_str(),reason.c_str(),<span class="keyword">false</span>);
+<a name="l00451"></a>00451 }
+<a name="l00452"></a>00452
+<a name="l00453"></a><a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">00453</a> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">Server::GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan)
+<a name="l00454"></a>00454 {
+<a name="l00455"></a>00455 <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> userl;
+<a name="l00456"></a>00456 userl.clear();
+<a name="l00457"></a>00457 std::vector&lt;char*&gt; *<a class="code" href="channels_8cpp.html#list_5BMAXBUF_5D">list</a> = chan-&gt;<a class="code" href="classchanrec.html#GetUsers_28_29">GetUsers</a>();
+<a name="l00458"></a>00458 <span class="keywordflow">for</span> (std::vector&lt;char*&gt;::iterator i = list-&gt;begin(); i != list-&gt;end(); i++)
+<a name="l00459"></a>00459 {
+<a name="l00460"></a>00460 <span class="keywordtype">char</span>* o = *i;
+<a name="l00461"></a>00461 userl.push_back((<a class="code" href="classuserrec.html">userrec</a>*)o);
+<a name="l00462"></a>00462 }
+<a name="l00463"></a>00463 <span class="keywordflow">return</span> userl;
+<a name="l00464"></a>00464 }
+<a name="l00465"></a><a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">00465</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">Server::ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname)
+<a name="l00466"></a>00466 {
+<a name="l00467"></a>00467 force_nickchange(user,nickname.c_str());
+<a name="l00468"></a>00468 }
+<a name="l00469"></a>00469
+<a name="l00470"></a><a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">00470</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">Server::QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason)
+<a name="l00471"></a>00471 {
+<a name="l00472"></a>00472 kill_link(user,reason.c_str());
+<a name="l00473"></a>00473 }
+<a name="l00474"></a>00474
+<a name="l00475"></a><a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">00475</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">Server::IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server)
+<a name="l00476"></a>00476 {
+<a name="l00477"></a>00477 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(server.c_str());
+<a name="l00478"></a>00478 }
+<a name="l00479"></a>00479
+<a name="l00480"></a><a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00480</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user)
+<a name="l00481"></a>00481 {
+<a name="l00482"></a>00482 call_handler(commandname.c_str(),parameters,pcnt,user);
+<a name="l00483"></a>00483 }
+<a name="l00484"></a>00484
+<a name="l00485"></a><a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00485</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user)
+<a name="l00486"></a>00486 {
+<a name="l00487"></a>00487 <span class="keywordflow">return</span> is_valid_cmd(commandname.c_str(), pcnt, user);
+<a name="l00488"></a>00488 }
+<a name="l00489"></a>00489
+<a name="l00490"></a><a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">00490</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Server::Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00491"></a>00491 {
+<a name="l00492"></a>00492 log(level,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00493"></a>00493 }
+<a name="l00494"></a>00494
+<a name="l00495"></a><a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">00495</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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)
+<a name="l00496"></a>00496 {
+<a name="l00497"></a>00497 <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</a>(cmd,f,flags,minparams,source);
+<a name="l00498"></a>00498 }
+<a name="l00499"></a>00499
+<a name="l00500"></a><a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">00500</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">Server::SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user)
+<a name="l00501"></a>00501 {
+<a name="l00502"></a>00502 <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(parameters,pcnt,user);
+<a name="l00503"></a>00503 }
+<a name="l00504"></a>00504
+<a name="l00505"></a><a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">00505</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00506"></a>00506 {
+<a name="l00507"></a>00507 Write(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00508"></a>00508 }
+<a name="l00509"></a>00509
+<a name="l00510"></a><a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">00510</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">Server::SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00511"></a>00511 {
+<a name="l00512"></a>00512 WriteServ(Socket,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00513"></a>00513 }
+<a name="l00514"></a>00514
+<a name="l00515"></a><a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">00515</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">Server::SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00516"></a>00516 {
+<a name="l00517"></a>00517 WriteFrom(Socket,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00518"></a>00518 }
+<a name="l00519"></a>00519
+<a name="l00520"></a><a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">00520</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">Server::SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s)
+<a name="l00521"></a>00521 {
+<a name="l00522"></a>00522 <span class="keywordflow">if</span> (!Source)
+<a name="l00523"></a>00523 {
+<a name="l00524"></a>00524 <span class="comment">// if source is NULL, then the message originates from the local server</span>
+<a name="l00525"></a>00525 Write(Dest-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s %s"</span>,this-&gt;GetServerName().c_str(),s.c_str());
+<a name="l00526"></a>00526 }
+<a name="l00527"></a>00527 <span class="keywordflow">else</span>
+<a name="l00528"></a>00528 {
+<a name="l00529"></a>00529 <span class="comment">// otherwise it comes from the user specified</span>
+<a name="l00530"></a>00530 WriteTo(Source,Dest,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00531"></a>00531 }
+<a name="l00532"></a>00532 }
+<a name="l00533"></a>00533
+<a name="l00534"></a><a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">00534</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">Server::SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text)
+<a name="l00535"></a>00535 {
+<a name="l00536"></a>00536 WriteChannelWithServ((<span class="keywordtype">char</span>*)ServName.c_str(), Channel, <span class="stringliteral">"%s"</span>, text.c_str());
+<a name="l00537"></a>00537 }
+<a name="l00538"></a>00538
+<a name="l00539"></a><a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">00539</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">Server::SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender)
+<a name="l00540"></a>00540 {
+<a name="l00541"></a>00541 <span class="keywordflow">if</span> (IncludeSender)
+<a name="l00542"></a>00542 {
+<a name="l00543"></a>00543 WriteChannel(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00544"></a>00544 }
+<a name="l00545"></a>00545 <span class="keywordflow">else</span>
+<a name="l00546"></a>00546 {
+<a name="l00547"></a>00547 ChanExceptSender(Channel,User,<span class="stringliteral">"%s"</span>,s.c_str());
+<a name="l00548"></a>00548 }
+<a name="l00549"></a>00549 }
+<a name="l00550"></a>00550
+<a name="l00551"></a><a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">00551</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">Server::CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2)
+<a name="l00552"></a>00552 {
+<a name="l00553"></a>00553 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#common_5Fchannels_28userrec_20_2Au_2C_20userrec_20_2Au_32_29">common_channels</a>(u1,u2) != 0);
+<a name="l00554"></a>00554 }
+<a name="l00555"></a>00555
+<a name="l00556"></a><a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">00556</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">Server::SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender)
+<a name="l00557"></a>00557 {
+<a name="l00558"></a>00558 <span class="keywordflow">if</span> (IncludeSender)
+<a name="l00559"></a>00559 {
+<a name="l00560"></a>00560 WriteCommon(User,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00561"></a>00561 }
+<a name="l00562"></a>00562 <span class="keywordflow">else</span>
+<a name="l00563"></a>00563 {
+<a name="l00564"></a>00564 WriteCommonExcept(User,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00565"></a>00565 }
+<a name="l00566"></a>00566 }
+<a name="l00567"></a>00567
+<a name="l00568"></a><a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">00568</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">Server::SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text)
+<a name="l00569"></a>00569 {
+<a name="l00570"></a>00570 WriteWallOps(User,<span class="keyword">false</span>,<span class="stringliteral">"%s"</span>,text.c_str());
+<a name="l00571"></a>00571 }
+<a name="l00572"></a>00572
+<a name="l00573"></a><a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">00573</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">Server::ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host)
+<a name="l00574"></a>00574 {
+<a name="l00575"></a>00575 <a class="code" href="message_8h.html#ChangeDisplayedHost_28userrec_20_2Auser_2C_20const_20char_20_2Ahost_29">ChangeDisplayedHost</a>(user,host.c_str());
+<a name="l00576"></a>00576 }
+<a name="l00577"></a>00577
+<a name="l00578"></a><a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">00578</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">Server::ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos)
+<a name="l00579"></a>00579 {
+<a name="l00580"></a>00580 <a class="code" href="message_8h.html#ChangeName_28userrec_20_2Auser_2C_20const_20char_20_2Agecos_29">ChangeName</a>(user,gecos.c_str());
+<a name="l00581"></a>00581 }
+<a name="l00582"></a>00582
+<a name="l00583"></a><a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">00583</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">Server::IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick)
+<a name="l00584"></a>00584 {
+<a name="l00585"></a>00585 <span class="keywordflow">return</span> (<a class="code" href="message_8h.html#isnick_28const_20char_20_2An_29">isnick</a>(nick.c_str()) != 0);
+<a name="l00586"></a>00586 }
+<a name="l00587"></a>00587
+<a name="l00588"></a><a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">00588</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">Server::FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick)
+<a name="l00589"></a>00589 {
+<a name="l00590"></a>00590 <span class="keywordflow">return</span> Find(nick);
+<a name="l00591"></a>00591 }
+<a name="l00592"></a>00592
+<a name="l00593"></a><a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">00593</a> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">Server::FindDescriptor</a>(<span class="keywordtype">int</span> socket)
+<a name="l00594"></a>00594 {
+<a name="l00595"></a>00595 <span class="keywordflow">return</span> (socket &lt; 65536 ? fd_ref_table[socket] : NULL);
+<a name="l00596"></a>00596 }
+<a name="l00597"></a>00597
+<a name="l00598"></a><a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">00598</a> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">Server::FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel)
+<a name="l00599"></a>00599 {
+<a name="l00600"></a>00600 <span class="keywordflow">return</span> FindChan(channel.c_str());
+<a name="l00601"></a>00601 }
+<a name="l00602"></a>00602
+<a name="l00603"></a><a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00603</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
+<a name="l00604"></a>00604 {
+<a name="l00605"></a>00605 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#cmode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">cmode</a>(User,Chan);
+<a name="l00606"></a>00606 }
+<a name="l00607"></a>00607
+<a name="l00608"></a><a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">00608</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">Server::IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan)
+<a name="l00609"></a>00609 {
+<a name="l00610"></a>00610 <span class="keywordflow">return</span> <a class="code" href="message_8h.html#has_5Fchannel_28userrec_20_2Au_2C_20chanrec_20_2Ac_29">has_channel</a>(User,Chan);
+<a name="l00611"></a>00611 }
+<a name="l00612"></a>00612
+<a name="l00613"></a><a class="code" href="classServer.html#GetServerName_28_29">00613</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">Server::GetServerName</a>()
+<a name="l00614"></a>00614 {
+<a name="l00615"></a>00615 <span class="keywordflow">return</span> getservername();
+<a name="l00616"></a>00616 }
+<a name="l00617"></a>00617
+<a name="l00618"></a><a class="code" href="classServer.html#GetNetworkName_28_29">00618</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">Server::GetNetworkName</a>()
+<a name="l00619"></a>00619 {
+<a name="l00620"></a>00620 <span class="keywordflow">return</span> getnetworkname();
+<a name="l00621"></a>00621 }
+<a name="l00622"></a>00622
+<a name="l00623"></a><a class="code" href="classServer.html#GetServerDescription_28_29">00623</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">Server::GetServerDescription</a>()
+<a name="l00624"></a>00624 {
+<a name="l00625"></a>00625 <span class="keywordflow">return</span> getserverdesc();
+<a name="l00626"></a>00626 }
+<a name="l00627"></a>00627
+<a name="l00628"></a><a class="code" href="classServer.html#GetAdmin_28_29">00628</a> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">Server::GetAdmin</a>()
+<a name="l00629"></a>00629 {
+<a name="l00630"></a>00630 <span class="keywordflow">return</span> <a class="code" href="classAdmin.html">Admin</a>(getadminname(),getadminemail(),getadminnick());
<a name="l00631"></a>00631 }
<a name="l00632"></a>00632
-<a name="l00633"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00633</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c)
-<a name="l00634"></a>00634 {
-<a name="l00635"></a>00635 <span class="keywordflow">return</span> usercount(c);
-<a name="l00636"></a>00636 }
-<a name="l00637"></a>00637
-<a name="l00638"></a>00638
-<a name="l00639"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00639</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message)
-<a name="l00640"></a>00640 {
-<a name="l00641"></a>00641 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
-<a name="l00642"></a>00642 user-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
-<a name="l00643"></a>00643 user-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
-<a name="l00644"></a>00644 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str());
-<a name="l00645"></a>00645 <span class="preprocessor">#ifdef USE_KQUEUE</span>
-<a name="l00646"></a>00646 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
-<a name="l00647"></a>00647 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
-<a name="l00648"></a>00648 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
-<a name="l00649"></a>00649 <span class="keywordflow">if</span> (i == -1)
-<a name="l00650"></a>00650 {
-<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
-<a name="l00652"></a>00652 }
-<a name="l00653"></a>00653 <span class="preprocessor">#endif</span>
-<a name="l00654"></a>00654 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
-<a name="l00655"></a>00655 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
-<a name="l00656"></a>00656 ev.events = EPOLLIN | EPOLLET;
-<a name="l00657"></a>00657 ev.data.fd = old_fd;
-<a name="l00658"></a>00658 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
-<a name="l00659"></a>00659 <span class="keywordflow">if</span> (i &lt; 0)
-<a name="l00660"></a>00660 {
-<a name="l00661"></a>00661 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
-<a name="l00662"></a>00662 }
-<a name="l00663"></a>00663 <span class="preprocessor">#endif</span>
-<a name="l00664"></a>00664 <span class="preprocessor"></span>
-<a name="l00665"></a>00665 shutdown(old_fd,2);
-<a name="l00666"></a>00666 close(old_fd);
-<a name="l00667"></a>00667 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00668"></a>00668 }
-<a name="l00669"></a>00669
-<a name="l00670"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00670</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message)
-<a name="l00671"></a>00671 {
-<a name="l00672"></a>00672 zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a> = alive-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
-<a name="l00673"></a>00673 alive-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
-<a name="l00674"></a>00674 alive-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
-<a name="l00675"></a>00675 Write(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00676"></a>00676 kill_link(alive,message.c_str());
-<a name="l00677"></a>00677 fd_ref_table[zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>] = zombie;
-<a name="l00678"></a>00678 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
-<a name="l00679"></a>00679 {
-<a name="l00680"></a>00680 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL)
-<a name="l00681"></a>00681 {
-<a name="l00682"></a>00682 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)
-<a name="l00683"></a>00683 {
-<a name="l00684"></a>00684 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>;
-<a name="l00685"></a>00685 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
-<a name="l00686"></a>00686 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>)
-<a name="l00687"></a>00687 {
-<a name="l00688"></a>00688 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>);
-<a name="l00689"></a>00689 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>);
-<a name="l00690"></a>00690 }
-<a name="l00691"></a>00691 userlist(zombie,Ptr);
-<a name="l00692"></a>00692 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
-<a name="l00693"></a>00693
-<a name="l00694"></a>00694 }
-<a name="l00695"></a>00695 }
-<a name="l00696"></a>00696 }
-<a name="l00697"></a>00697 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00698"></a>00698 }
-<a name="l00699"></a>00699
-<a name="l00700"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00700</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00701"></a>00701 {
-<a name="l00702"></a>00702 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00703"></a>00703 }
-<a name="l00704"></a>00704
-<a name="l00705"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00705</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname)
-<a name="l00706"></a>00706 {
-<a name="l00707"></a>00707 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
-<a name="l00708"></a>00708 }
-<a name="l00709"></a>00709
-<a name="l00710"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00710</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr)
-<a name="l00711"></a>00711 {
-<a name="l00712"></a>00712 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
-<a name="l00713"></a>00713 }
-<a name="l00714"></a>00714
-<a name="l00715"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00715</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00716"></a>00716 {
-<a name="l00717"></a>00717 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00718"></a>00718 }
-<a name="l00719"></a>00719
-<a name="l00720"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00720</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00721"></a>00721 {
-<a name="l00722"></a>00722 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
-<a name="l00723"></a>00723 }
-<a name="l00724"></a>00724
-<a name="l00725"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00725</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00726"></a>00726 {
-<a name="l00727"></a>00727 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str());
-<a name="l00728"></a>00728 }
-<a name="l00729"></a>00729
-<a name="l00730"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00730</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname)
-<a name="l00731"></a>00731 {
-<a name="l00732"></a>00732 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str());
-<a name="l00733"></a>00733 }
-<a name="l00734"></a>00734
-<a name="l00735"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00735</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr)
-<a name="l00736"></a>00736 {
-<a name="l00737"></a>00737 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str());
-<a name="l00738"></a>00738 }
-<a name="l00739"></a>00739
-<a name="l00740"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00740</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00741"></a>00741 {
-<a name="l00742"></a>00742 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str());
-<a name="l00743"></a>00743 }
-<a name="l00744"></a>00744
-<a name="l00745"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00745</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
-<a name="l00746"></a>00746 {
-<a name="l00747"></a>00747 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str());
-<a name="l00748"></a>00748 }
-<a name="l00749"></a>00749
-<a name="l00750"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00750</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta)
-<a name="l00751"></a>00751 {
-<a name="l00752"></a>00752 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str());
-<a name="l00753"></a>00753 }
-<a name="l00754"></a>00754
-<a name="l00755"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00755</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask)
-<a name="l00756"></a>00756 {
-<a name="l00757"></a>00757 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
-<a name="l00758"></a>00758 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
-<a name="l00759"></a>00759 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00760"></a>00760 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
-<a name="l00761"></a>00761 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00762"></a>00762 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00763"></a>00763 <span class="keywordflow">if</span> (dest[i] &lt; 32)
-<a name="l00764"></a>00764 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00765"></a>00765 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00766"></a>00766 <span class="keywordflow">if</span> (dest[i] &gt; 126)
-<a name="l00767"></a>00767 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00768"></a>00768 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0;
-<a name="l00769"></a>00769 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00770"></a>00770 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
-<a name="l00771"></a>00771 c++;
-<a name="l00772"></a>00772 <span class="keywordflow">if</span> (c&gt;1)
-<a name="l00773"></a>00773 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00774"></a>00774 c = 0;
-<a name="l00775"></a>00775 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
-<a name="l00776"></a>00776 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
-<a name="l00777"></a>00777 c++;
-<a name="l00778"></a>00778 <span class="keywordflow">if</span> (c&gt;1)
-<a name="l00779"></a>00779 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00780"></a>00780
-<a name="l00781"></a>00781 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00782"></a>00782 }
-<a name="l00783"></a>00783
-<a name="l00784"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00784</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name)
-<a name="l00785"></a>00785 {
-<a name="l00786"></a>00786 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++)
-<a name="l00787"></a>00787 {
-<a name="l00788"></a>00788 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>[i] == name)
-<a name="l00789"></a>00789 {
-<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i];
-<a name="l00791"></a>00791 }
-<a name="l00792"></a>00792 }
-<a name="l00793"></a>00793 <span class="keywordflow">return</span> NULL;
-<a name="l00794"></a>00794 }
-<a name="l00795"></a>00795
-<a name="l00796"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00796</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>()
-<a name="l00797"></a>00797 {
-<a name="l00798"></a>00798 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear();
-<a name="l00799"></a>00799 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00800"></a>00800 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00801"></a>00801 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
-<a name="l00802"></a>00802 <span class="keywordflow">if</span> (!this-&gt;readerror)
-<a name="l00803"></a>00803 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
-<a name="l00804"></a>00804 }
-<a name="l00805"></a>00805
-<a name="l00806"></a>00806
-<a name="l00807"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00807</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>()
-<a name="l00808"></a>00808 {
-<a name="l00809"></a>00809 <span class="keywordflow">if</span> (this-&gt;cache)
-<a name="l00810"></a>00810 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>;
-<a name="l00811"></a>00811 <span class="keywordflow">if</span> (this-&gt;errorlog)
-<a name="l00812"></a>00812 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
-<a name="l00813"></a>00813 }
-<a name="l00814"></a>00814
-<a name="l00815"></a>00815
-<a name="l00816"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00816</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
-<a name="l00817"></a>00817 {
-<a name="l00818"></a>00818 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00819"></a>00819 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
-<a name="l00820"></a>00820 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>);
-<a name="l00821"></a>00821 <span class="keywordflow">if</span> (!this-&gt;readerror)
-<a name="l00822"></a>00822 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
-<a name="l00823"></a>00823 };
-<a name="l00824"></a>00824
-<a name="l00825"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00825</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index)
-<a name="l00826"></a>00826 {
-<a name="l00827"></a>00827 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00828"></a>00828 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00829"></a>00829 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00830"></a>00830 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00831"></a>00831 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00832"></a>00832 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00833"></a>00833 <span class="keywordflow">if</span> (!res)
-<a name="l00834"></a>00834 {
-<a name="l00835"></a>00835 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00836"></a>00836 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00837"></a>00837 }
-<a name="l00838"></a>00838 <span class="keywordflow">return</span> val;
-<a name="l00839"></a>00839 }
-<a name="l00840"></a>00840
-<a name="l00841"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00841</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index)
-<a name="l00842"></a>00842 {
-<a name="l00843"></a>00843 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00844"></a>00844 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00845"></a>00845 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00846"></a>00846 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00847"></a>00847 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00848"></a>00848 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00849"></a>00849 <span class="keywordflow">if</span> (!res)
-<a name="l00850"></a>00850 {
-<a name="l00851"></a>00851 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00852"></a>00852 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00853"></a>00853 }
-<a name="l00854"></a>00854 <a class="code" href="namespaceirc.html#string">std::string</a> s = val;
-<a name="l00855"></a>00855 <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>));
-<a name="l00856"></a>00856 }
-<a name="l00857"></a>00857
-<a name="l00858"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00858</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned)
-<a name="l00859"></a>00859 {
-<a name="l00860"></a>00860 <span class="keywordtype">char</span> val[MAXBUF];
-<a name="l00861"></a>00861 <span class="keywordtype">char</span> t[MAXBUF];
-<a name="l00862"></a>00862 <span class="keywordtype">char</span> n[MAXBUF];
-<a name="l00863"></a>00863 strlcpy(t,tag.c_str(),MAXBUF);
-<a name="l00864"></a>00864 strlcpy(n,name.c_str(),MAXBUF);
-<a name="l00865"></a>00865 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
-<a name="l00866"></a>00866 <span class="keywordflow">if</span> (!res)
-<a name="l00867"></a>00867 {
-<a name="l00868"></a>00868 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
-<a name="l00869"></a>00869 <span class="keywordflow">return</span> 0;
-<a name="l00870"></a>00870 }
-<a name="l00871"></a>00871 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+<a name="l00633"></a>00633
+<a name="l00634"></a>00634
+<a name="l00635"></a><a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">00635</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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="l00636"></a>00636 {
+<a name="l00637"></a>00637 <span class="keywordflow">if</span> (((modechar &gt;= <span class="charliteral">'A'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'Z'</span>)) || ((modechar &gt;= <span class="charliteral">'a'</span>) &amp;&amp; (modechar &lt;= <span class="charliteral">'z'</span>)))
+<a name="l00638"></a>00638 {
+<a name="l00639"></a>00639 <span class="keywordflow">if</span> (type == <a class="code" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>)
+<a name="l00640"></a>00640 {
+<a name="l00641"></a>00641 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Modes of type MT_SERVER are reserved for future expansion"</span>);
+<a name="l00642"></a>00642 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00643"></a>00643 }
+<a name="l00644"></a>00644 <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#MT_5FCLIENT">MT_CLIENT</a>))
+<a name="l00645"></a>00645 {
+<a name="l00646"></a>00646 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Parameters on MT_CLIENT modes are not supported"</span>);
+<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00648"></a>00648 }
+<a name="l00649"></a>00649 <span class="keywordflow">if</span> ((params_when_on&gt;1) || (params_when_off&gt;1))
+<a name="l00650"></a>00650 {
+<a name="l00651"></a>00651 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** More than one parameter for an MT_CHANNEL mode is not yet supported"</span>);
+<a name="l00652"></a>00652 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00653"></a>00653 }
+<a name="l00654"></a>00654 <span class="keywordflow">return</span> <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,type,requires_oper,params_when_on,params_when_off);
+<a name="l00655"></a>00655 }
+<a name="l00656"></a>00656 <span class="keywordflow">else</span>
+<a name="l00657"></a>00657 {
+<a name="l00658"></a>00658 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** API ERROR *** Muppet modechar detected."</span>);
+<a name="l00659"></a>00659 }
+<a name="l00660"></a>00660 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00661"></a>00661 }
+<a name="l00662"></a>00662
+<a name="l00663"></a><a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">00663</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">Server::AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar)
+<a name="l00664"></a>00664 {
+<a name="l00665"></a>00665 <span class="keywordtype">bool</span> res = <a class="code" href="modules_8cpp.html#DoAddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fon_2C_20int_20params_5Foff_29">DoAddExtendedMode</a>(modechar,<a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>,<span class="keyword">false</span>,1,1);
+<a name="l00666"></a>00666 <span class="keywordflow">if</span> (res)
+<a name="l00667"></a>00667 <a class="code" href="modules_8cpp.html#ModeMakeList_28char_20modechar_29">ModeMakeList</a>(modechar);
+<a name="l00668"></a>00668 <span class="keywordflow">return</span> res;
+<a name="l00669"></a>00669 }
+<a name="l00670"></a>00670
+<a name="l00671"></a><a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">00671</a> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">Server::CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c)
+<a name="l00672"></a>00672 {
+<a name="l00673"></a>00673 <span class="keywordflow">return</span> usercount(c);
+<a name="l00674"></a>00674 }
+<a name="l00675"></a>00675
+<a name="l00676"></a>00676
+<a name="l00677"></a><a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">00677</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">Server::UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message)
+<a name="l00678"></a>00678 {
+<a name="l00679"></a>00679 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> old_fd = user-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
+<a name="l00680"></a>00680 user-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
+<a name="l00681"></a>00681 user-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
+<a name="l00682"></a>00682 Write(old_fd,<span class="stringliteral">"ERROR :Closing link (%s@%s) [%s]"</span>,user-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,user-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,message.c_str());
+<a name="l00683"></a>00683 <span class="preprocessor">#ifdef USE_KQUEUE</span>
+<a name="l00684"></a>00684 <span class="preprocessor"></span> <span class="keyword">struct </span>kevent ke;
+<a name="l00685"></a>00685 EV_SET(&amp;ke, old_fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);
+<a name="l00686"></a>00686 <span class="keywordtype">int</span> i = kevent(kq, &amp;ke, 1, 0, 0, NULL);
+<a name="l00687"></a>00687 <span class="keywordflow">if</span> (i == -1)
+<a name="l00688"></a>00688 {
+<a name="l00689"></a>00689 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"kqueue: Failed to remove user from queue!"</span>);
+<a name="l00690"></a>00690 }
+<a name="l00691"></a>00691 <span class="preprocessor">#endif</span>
+<a name="l00692"></a>00692 <span class="preprocessor"></span><span class="preprocessor">#ifdef USE_EPOLL</span>
+<a name="l00693"></a>00693 <span class="preprocessor"></span> <span class="keyword">struct </span>epoll_event ev;
+<a name="l00694"></a>00694 ev.events = EPOLLIN | EPOLLET;
+<a name="l00695"></a>00695 ev.data.fd = old_fd;
+<a name="l00696"></a>00696 <span class="keywordtype">int</span> i = epoll_ctl(ep, EPOLL_CTL_DEL, old_fd, &amp;ev);
+<a name="l00697"></a>00697 <span class="keywordflow">if</span> (i &lt; 0)
+<a name="l00698"></a>00698 {
+<a name="l00699"></a>00699 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"epoll: List deletion failure!"</span>);
+<a name="l00700"></a>00700 }
+<a name="l00701"></a>00701 <span class="preprocessor">#endif</span>
+<a name="l00702"></a>00702 <span class="preprocessor"></span>
+<a name="l00703"></a>00703 shutdown(old_fd,2);
+<a name="l00704"></a>00704 close(old_fd);
+<a name="l00705"></a>00705 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00706"></a>00706 }
+<a name="l00707"></a>00707
+<a name="l00708"></a><a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">00708</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">Server::PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message)
+<a name="l00709"></a>00709 {
+<a name="l00710"></a>00710 zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a> = alive-&gt;<a class="code" href="classconnection.html#fd">fd</a>;
+<a name="l00711"></a>00711 alive-&gt;<a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">FD_MAGIC_NUMBER</a>;
+<a name="l00712"></a>00712 alive-&gt;<a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
+<a name="l00713"></a>00713 Write(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">":%s!%s@%s NICK %s"</span>,alive-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,alive-&gt;<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,alive-&gt;<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00714"></a>00714 kill_link(alive,message.c_str());
+<a name="l00715"></a>00715 fd_ref_table[zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>] = zombie;
+<a name="l00716"></a>00716 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i != MAXCHANS; i++)
+<a name="l00717"></a>00717 {
+<a name="l00718"></a>00718 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> != NULL)
+<a name="l00719"></a>00719 {
+<a name="l00720"></a>00720 <span class="keywordflow">if</span> (zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>)
+<a name="l00721"></a>00721 {
+<a name="l00722"></a>00722 <a class="code" href="classchanrec.html">chanrec</a>* Ptr = zombie-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a>;
+<a name="l00723"></a>00723 WriteFrom(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,zombie,<span class="stringliteral">"JOIN %s"</span>,Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
+<a name="l00724"></a>00724 <span class="keywordflow">if</span> (Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>)
+<a name="l00725"></a>00725 {
+<a name="l00726"></a>00726 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"332 %s %s :%s"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topic_5BMAXBUF_5D">topic</a>);
+<a name="l00727"></a>00727 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"333 %s %s %s %d"</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>, Ptr-&gt;<a class="code" href="classchanrec.html#setby_5BNICKMAX_5D">setby</a>, Ptr-&gt;<a class="code" href="classchanrec.html#topicset">topicset</a>);
+<a name="l00728"></a>00728 }
+<a name="l00729"></a>00729 userlist(zombie,Ptr);
+<a name="l00730"></a>00730 WriteServ(zombie-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"366 %s %s :End of /NAMES list."</span>, zombie-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>, Ptr-&gt;<a class="code" href="classchanrec.html#name_5BCHANMAX_5D">name</a>);
+<a name="l00731"></a>00731
+<a name="l00732"></a>00732 }
+<a name="l00733"></a>00733 }
+<a name="l00734"></a>00734 }
+<a name="l00735"></a>00735 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00736"></a>00736 }
+<a name="l00737"></a>00737
+<a name="l00738"></a><a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00738</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00739"></a>00739 {
+<a name="l00740"></a>00740 <a class="code" href="xline_8h.html#add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_gline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00741"></a>00741 }
+<a name="l00742"></a>00742
+<a name="l00743"></a><a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">00743</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">Server::AddQLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname)
+<a name="l00744"></a>00744 {
+<a name="l00745"></a>00745 <a class="code" href="xline_8h.html#add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29">add_qline</a>(duration, source.c_str(), reason.c_str(), nickname.c_str());
+<a name="l00746"></a>00746 }
+<a name="l00747"></a>00747
+<a name="l00748"></a><a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">00748</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">Server::AddZLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr)
+<a name="l00749"></a>00749 {
+<a name="l00750"></a>00750 <a class="code" href="xline_8h.html#add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29">add_zline</a>(duration, source.c_str(), reason.c_str(), ipaddr.c_str());
+<a name="l00751"></a>00751 }
+<a name="l00752"></a>00752
+<a name="l00753"></a><a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00753</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddKLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00754"></a>00754 {
+<a name="l00755"></a>00755 <a class="code" href="xline_8h.html#add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_kline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00756"></a>00756 }
+<a name="l00757"></a>00757
+<a name="l00758"></a><a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">00758</a> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">Server::AddELine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00759"></a>00759 {
+<a name="l00760"></a>00760 <a class="code" href="xline_8h.html#add_5Feline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29">add_eline</a>(duration, source.c_str(), reason.c_str(), hostmask.c_str());
+<a name="l00761"></a>00761 }
+<a name="l00762"></a>00762
+<a name="l00763"></a><a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">00763</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">Server::DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00764"></a>00764 {
+<a name="l00765"></a>00765 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fgline_28const_20char_20_2Ahostmask_29">del_gline</a>(hostmask.c_str());
+<a name="l00766"></a>00766 }
+<a name="l00767"></a>00767
+<a name="l00768"></a><a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">00768</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">Server::DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname)
+<a name="l00769"></a>00769 {
+<a name="l00770"></a>00770 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fqline_28const_20char_20_2Anickname_29">del_qline</a>(nickname.c_str());
+<a name="l00771"></a>00771 }
+<a name="l00772"></a>00772
+<a name="l00773"></a><a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">00773</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">Server::DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr)
+<a name="l00774"></a>00774 {
+<a name="l00775"></a>00775 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fzline_28const_20char_20_2Aipaddr_29">del_zline</a>(ipaddr.c_str());
+<a name="l00776"></a>00776 }
+<a name="l00777"></a>00777
+<a name="l00778"></a><a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">00778</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">Server::DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00779"></a>00779 {
+<a name="l00780"></a>00780 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Fkline_28const_20char_20_2Ahostmask_29">del_kline</a>(hostmask.c_str());
+<a name="l00781"></a>00781 }
+<a name="l00782"></a>00782
+<a name="l00783"></a><a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">00783</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">Server::DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask)
+<a name="l00784"></a>00784 {
+<a name="l00785"></a>00785 <span class="keywordflow">return</span> <a class="code" href="xline_8h.html#del_5Feline_28const_20char_20_2Ahostmask_29">del_eline</a>(hostmask.c_str());
+<a name="l00786"></a>00786 }
+<a name="l00787"></a>00787
+<a name="l00788"></a><a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">00788</a> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">Server::CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> delta)
+<a name="l00789"></a>00789 {
+<a name="l00790"></a>00790 <span class="keywordflow">return</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>(delta.c_str());
+<a name="l00791"></a>00791 }
+<a name="l00792"></a>00792
+<a name="l00793"></a><a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">00793</a> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">Server::IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask)
+<a name="l00794"></a>00794 {
+<a name="l00795"></a>00795 <span class="keyword">const</span> <span class="keywordtype">char</span>* dest = mask.c_str();
+<a name="l00796"></a>00796 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'!'</span>)==0)
+<a name="l00797"></a>00797 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00798"></a>00798 <span class="keywordflow">if</span> (strchr(dest,<span class="charliteral">'@'</span>)==0)
+<a name="l00799"></a>00799 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00800"></a>00800 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00801"></a>00801 <span class="keywordflow">if</span> (dest[i] &lt; 32)
+<a name="l00802"></a>00802 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00803"></a>00803 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00804"></a>00804 <span class="keywordflow">if</span> (dest[i] &gt; 126)
+<a name="l00805"></a>00805 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00806"></a>00806 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0;
+<a name="l00807"></a>00807 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00808"></a>00808 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'!'</span>)
+<a name="l00809"></a>00809 c++;
+<a name="l00810"></a>00810 <span class="keywordflow">if</span> (c&gt;1)
+<a name="l00811"></a>00811 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00812"></a>00812 c = 0;
+<a name="l00813"></a>00813 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(dest); i++)
+<a name="l00814"></a>00814 <span class="keywordflow">if</span> (dest[i] == <span class="charliteral">'@'</span>)
+<a name="l00815"></a>00815 c++;
+<a name="l00816"></a>00816 <span class="keywordflow">if</span> (c&gt;1)
+<a name="l00817"></a>00817 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00818"></a>00818
+<a name="l00819"></a>00819 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00820"></a>00820 }
+<a name="l00821"></a>00821
+<a name="l00822"></a><a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">00822</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">Server::FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name)
+<a name="l00823"></a>00823 {
+<a name="l00824"></a>00824 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a>; i++)
+<a name="l00825"></a>00825 {
+<a name="l00826"></a>00826 <span class="keywordflow">if</span> (<a class="code" href="channels_8cpp.html#module_5Fnames">module_names</a>[i] == name)
+<a name="l00827"></a>00827 {
+<a name="l00828"></a>00828 <span class="keywordflow">return</span> <a class="code" href="channels_8cpp.html#modules">modules</a>[i];
+<a name="l00829"></a>00829 }
+<a name="l00830"></a>00830 }
+<a name="l00831"></a>00831 <span class="keywordflow">return</span> NULL;
+<a name="l00832"></a>00832 }
+<a name="l00833"></a>00833
+<a name="l00834"></a><a class="code" href="classConfigReader.html#ConfigReader_28_29">00834</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>()
+<a name="l00835"></a>00835 {
+<a name="l00836"></a>00836 <a class="code" href="modules_8cpp.html#include_5Fstack">include_stack</a>.clear();
+<a name="l00837"></a>00837 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00838"></a>00838 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00839"></a>00839 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(CONFIG_FILE,this-&gt;cache,this-&gt;errorlog);
+<a name="l00840"></a>00840 <span class="keywordflow">if</span> (!this-&gt;readerror)
+<a name="l00841"></a>00841 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
+<a name="l00842"></a>00842 }
+<a name="l00843"></a>00843
+<a name="l00844"></a>00844
+<a name="l00845"></a><a class="code" href="classConfigReader.html#_7EConfigReader_28_29">00845</a> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">ConfigReader::~ConfigReader</a>()
+<a name="l00846"></a>00846 {
+<a name="l00847"></a>00847 <span class="keywordflow">if</span> (this-&gt;cache)
+<a name="l00848"></a>00848 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>;
+<a name="l00849"></a>00849 <span class="keywordflow">if</span> (this-&gt;errorlog)
+<a name="l00850"></a>00850 <span class="keyword">delete</span> this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
+<a name="l00851"></a>00851 }
+<a name="l00852"></a>00852
+<a name="l00853"></a>00853
+<a name="l00854"></a><a class="code" href="classConfigReader.html#ConfigReader_28std_3A_3Astring_20filename_29">00854</a> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader::ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
+<a name="l00855"></a>00855 {
+<a name="l00856"></a>00856 this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00857"></a>00857 this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a> = <span class="keyword">new</span> std::stringstream(std::stringstream::in | std::stringstream::out);
+<a name="l00858"></a>00858 this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a> = LoadConf(filename.c_str(),this-&gt;<a class="code" href="classConfigReader.html#cache">cache</a>,this-&gt;<a class="code" href="classConfigReader.html#errorlog">errorlog</a>);
+<a name="l00859"></a>00859 <span class="keywordflow">if</span> (!this-&gt;readerror)
+<a name="l00860"></a>00860 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">CONF_FILE_NOT_FOUND</a>;
+<a name="l00861"></a>00861 };
+<a name="l00862"></a>00862
+<a name="l00863"></a><a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00863</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index)
+<a name="l00864"></a>00864 {
+<a name="l00865"></a>00865 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00866"></a>00866 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00867"></a>00867 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00868"></a>00868 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00869"></a>00869 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00870"></a>00870 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00871"></a>00871 <span class="keywordflow">if</span> (!res)
<a name="l00872"></a>00872 {
-<a name="l00873"></a>00873 <span class="keywordflow">if</span> (!isdigit(val[i]))
-<a name="l00874"></a>00874 {
-<a name="l00875"></a>00875 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>;
-<a name="l00876"></a>00876 <span class="keywordflow">return</span> 0;
-<a name="l00877"></a>00877 }
-<a name="l00878"></a>00878 }
-<a name="l00879"></a>00879 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
-<a name="l00880"></a>00880 {
-<a name="l00881"></a>00881 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>;
-<a name="l00882"></a>00882 <span class="keywordflow">return</span> 0;
-<a name="l00883"></a>00883 }
-<a name="l00884"></a>00884 <span class="keywordflow">return</span> atoi(val);
-<a name="l00885"></a>00885 }
-<a name="l00886"></a>00886
-<a name="l00887"></a><a class="code" href="classConfigReader.html#GetError_28_29">00887</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>()
-<a name="l00888"></a>00888 {
-<a name="l00889"></a>00889 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#error">error</a>;
-<a name="l00890"></a>00890 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = 0;
-<a name="l00891"></a>00891 <span class="keywordflow">return</span> olderr;
-<a name="l00892"></a>00892 }
-<a name="l00893"></a>00893
-<a name="l00894"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00894</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user)
-<a name="l00895"></a>00895 {
-<a name="l00896"></a>00896 <span class="keywordflow">if</span> (bail)
-<a name="l00897"></a>00897 {
-<a name="l00898"></a>00898 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;str().c_str());
-<a name="l00899"></a>00899 exit(0);
-<a name="l00900"></a>00900 }
-<a name="l00901"></a>00901 <span class="keywordflow">else</span>
-<a name="l00902"></a>00902 {
-<a name="l00903"></a>00903 <span class="keywordtype">char</span> dataline[1024];
-<a name="l00904"></a>00904 <span class="keywordflow">if</span> (user)
-<a name="l00905"></a>00905 {
-<a name="l00906"></a>00906 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00907"></a>00907 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
-<a name="l00908"></a>00908 {
-<a name="l00909"></a>00909 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
-<a name="l00910"></a>00910 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline);
-<a name="l00911"></a>00911 }
-<a name="l00912"></a>00912 }
-<a name="l00913"></a>00913 <span class="keywordflow">else</span>
-<a name="l00914"></a>00914 {
-<a name="l00915"></a>00915 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
-<a name="l00916"></a>00916 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
-<a name="l00917"></a>00917 {
-<a name="l00918"></a>00918 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
-<a name="l00919"></a>00919 WriteOpers(dataline);
-<a name="l00920"></a>00920 }
-<a name="l00921"></a>00921 }
-<a name="l00922"></a>00922 <span class="keywordflow">return</span>;
-<a name="l00923"></a>00923 }
-<a name="l00924"></a>00924 }
-<a name="l00925"></a>00925
-<a name="l00926"></a>00926
-<a name="l00927"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00927</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag)
-<a name="l00928"></a>00928 {
-<a name="l00929"></a>00929 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str());
+<a name="l00873"></a>00873 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00874"></a>00874 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l00875"></a>00875 }
+<a name="l00876"></a>00876 <span class="keywordflow">return</span> val;
+<a name="l00877"></a>00877 }
+<a name="l00878"></a>00878
+<a name="l00879"></a><a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">00879</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ConfigReader::ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index)
+<a name="l00880"></a>00880 {
+<a name="l00881"></a>00881 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00882"></a>00882 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00883"></a>00883 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00884"></a>00884 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00885"></a>00885 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00886"></a>00886 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00887"></a>00887 <span class="keywordflow">if</span> (!res)
+<a name="l00888"></a>00888 {
+<a name="l00889"></a>00889 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00890"></a>00890 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00891"></a>00891 }
+<a name="l00892"></a>00892 <a class="code" href="namespaceirc.html#string">std::string</a> s = val;
+<a name="l00893"></a>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>));
+<a name="l00894"></a>00894 }
+<a name="l00895"></a>00895
+<a name="l00896"></a><a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">00896</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ConfigReader::ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned)
+<a name="l00897"></a>00897 {
+<a name="l00898"></a>00898 <span class="keywordtype">char</span> val[MAXBUF];
+<a name="l00899"></a>00899 <span class="keywordtype">char</span> t[MAXBUF];
+<a name="l00900"></a>00900 <span class="keywordtype">char</span> n[MAXBUF];
+<a name="l00901"></a>00901 strlcpy(t,tag.c_str(),MAXBUF);
+<a name="l00902"></a>00902 strlcpy(n,name.c_str(),MAXBUF);
+<a name="l00903"></a>00903 <span class="keywordtype">int</span> res = ReadConf(<a class="code" href="classConfigReader.html#cache">cache</a>,t,n,index,val);
+<a name="l00904"></a>00904 <span class="keywordflow">if</span> (!res)
+<a name="l00905"></a>00905 {
+<a name="l00906"></a>00906 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">CONF_VALUE_NOT_FOUND</a>;
+<a name="l00907"></a>00907 <span class="keywordflow">return</span> 0;
+<a name="l00908"></a>00908 }
+<a name="l00909"></a>00909 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; strlen(val); i++)
+<a name="l00910"></a>00910 {
+<a name="l00911"></a>00911 <span class="keywordflow">if</span> (!isdigit(val[i]))
+<a name="l00912"></a>00912 {
+<a name="l00913"></a>00913 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">CONF_NOT_A_NUMBER</a>;
+<a name="l00914"></a>00914 <span class="keywordflow">return</span> 0;
+<a name="l00915"></a>00915 }
+<a name="l00916"></a>00916 }
+<a name="l00917"></a>00917 <span class="keywordflow">if</span> ((needs_unsigned) &amp;&amp; (atoi(val)&lt;0))
+<a name="l00918"></a>00918 {
+<a name="l00919"></a>00919 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = <a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">CONF_NOT_UNSIGNED</a>;
+<a name="l00920"></a>00920 <span class="keywordflow">return</span> 0;
+<a name="l00921"></a>00921 }
+<a name="l00922"></a>00922 <span class="keywordflow">return</span> atoi(val);
+<a name="l00923"></a>00923 }
+<a name="l00924"></a>00924
+<a name="l00925"></a><a class="code" href="classConfigReader.html#GetError_28_29">00925</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">ConfigReader::GetError</a>()
+<a name="l00926"></a>00926 {
+<a name="l00927"></a>00927 <span class="keywordtype">long</span> olderr = this-&gt;<a class="code" href="classConfigReader.html#error">error</a>;
+<a name="l00928"></a>00928 this-&gt;<a class="code" href="classConfigReader.html#error">error</a> = 0;
+<a name="l00929"></a>00929 <span class="keywordflow">return</span> olderr;
<a name="l00930"></a>00930 }
<a name="l00931"></a>00931
-<a name="l00932"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00932</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index)
+<a name="l00932"></a><a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">00932</a> <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">ConfigReader::DumpErrors</a>(<span class="keywordtype">bool</span> bail, <a class="code" href="classuserrec.html">userrec</a>* user)
<a name="l00933"></a>00933 {
-<a name="l00934"></a>00934 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index);
-<a name="l00935"></a>00935 }
-<a name="l00936"></a>00936
-<a name="l00937"></a><a class="code" href="classConfigReader.html#Verify_28_29">00937</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>()
-<a name="l00938"></a>00938 {
-<a name="l00939"></a>00939 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a>;
-<a name="l00940"></a>00940 }
-<a name="l00941"></a>00941
-<a name="l00942"></a>00942
-<a name="l00943"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00943</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
-<a name="l00944"></a>00944 {
-<a name="l00945"></a>00945 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
-<a name="l00946"></a>00946 readfile(c,filename.c_str());
-<a name="l00947"></a>00947 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
-<a name="l00948"></a>00948 }
-<a name="l00949"></a>00949
-<a name="l00950"></a><a class="code" href="classFileReader.html#FileReader_28_29">00950</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>()
-<a name="l00951"></a>00951 {
-<a name="l00952"></a>00952 }
-<a name="l00953"></a>00953
-<a name="l00954"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00954</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
-<a name="l00955"></a>00955 {
-<a name="l00956"></a>00956 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
-<a name="l00957"></a>00957 readfile(c,filename.c_str());
-<a name="l00958"></a>00958 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
-<a name="l00959"></a>00959 }
-<a name="l00960"></a>00960
-<a name="l00961"></a>00961
-<a name="l00962"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">00962</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>()
-<a name="l00963"></a>00963 {
-<a name="l00964"></a>00964 }
-<a name="l00965"></a>00965
-<a name="l00966"></a><a class="code" href="classFileReader.html#Exists_28_29">00966</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>()
-<a name="l00967"></a>00967 {
-<a name="l00968"></a>00968 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0)
-<a name="l00969"></a>00969 {
-<a name="l00970"></a>00970 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
-<a name="l00971"></a>00971 }
-<a name="l00972"></a>00972 <span class="keywordflow">else</span>
-<a name="l00973"></a>00973 {
-<a name="l00974"></a>00974 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
-<a name="l00975"></a>00975 }
-<a name="l00976"></a>00976 }
-<a name="l00977"></a>00977
-<a name="l00978"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">00978</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
-<a name="l00979"></a>00979 {
-<a name="l00980"></a>00980 <span class="keywordflow">if</span> ((x&lt;0) || ((<span class="keywordtype">unsigned</span>)x&gt;<a class="code" href="classFileReader.html#fc">fc</a>.size()))
-<a name="l00981"></a>00981 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00982"></a>00982 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x];
-<a name="l00983"></a>00983 }
-<a name="l00984"></a>00984
-<a name="l00985"></a><a class="code" href="classFileReader.html#FileSize_28_29">00985</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>()
-<a name="l00986"></a>00986 {
-<a name="l00987"></a>00987 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size();
-<a name="l00988"></a>00988 }
-<a name="l00989"></a>00989
-<a name="l00990"></a>00990
-<a name="l00991"></a>00991 std::vector&lt;Module*&gt; <a class="code" href="channels_8cpp.html#modules">modules</a>(255);
-<a name="l00992"></a>00992 std::vector&lt;ircd_module*&gt; <a class="code" href="channels_8cpp.html#factory">factory</a>(255);
-<a name="l00993"></a>00993
-<a name="l00994"></a><a class="code" href="modules_8cpp.html#MODCOUNT">00994</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1;
-<a name="l00995"></a>00995
-<a name="l00996"></a>00996
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00934"></a>00934 <span class="keywordflow">if</span> (bail)
+<a name="l00935"></a>00935 {
+<a name="l00936"></a>00936 printf(<span class="stringliteral">"There were errors in your configuration:\n%s"</span>,<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;str().c_str());
+<a name="l00937"></a>00937 exit(0);
+<a name="l00938"></a>00938 }
+<a name="l00939"></a>00939 <span class="keywordflow">else</span>
+<a name="l00940"></a>00940 {
+<a name="l00941"></a>00941 <span class="keywordtype">char</span> dataline[1024];
+<a name="l00942"></a>00942 <span class="keywordflow">if</span> (user)
+<a name="l00943"></a>00943 {
+<a name="l00944"></a>00944 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00945"></a>00945 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
+<a name="l00946"></a>00946 {
+<a name="l00947"></a>00947 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
+<a name="l00948"></a>00948 WriteServ(user-&gt;<a class="code" href="classconnection.html#fd">fd</a>,<span class="stringliteral">"NOTICE %s :%s"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,dataline);
+<a name="l00949"></a>00949 }
+<a name="l00950"></a>00950 }
+<a name="l00951"></a>00951 <span class="keywordflow">else</span>
+<a name="l00952"></a>00952 {
+<a name="l00953"></a>00953 WriteOpers(<span class="stringliteral">"There were errors in the configuration file:"</span>,user-&gt;<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>);
+<a name="l00954"></a>00954 <span class="keywordflow">while</span> (!<a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;eof())
+<a name="l00955"></a>00955 {
+<a name="l00956"></a>00956 <a class="code" href="classConfigReader.html#errorlog">errorlog</a>-&gt;getline(dataline,1024);
+<a name="l00957"></a>00957 WriteOpers(dataline);
+<a name="l00958"></a>00958 }
+<a name="l00959"></a>00959 }
+<a name="l00960"></a>00960 <span class="keywordflow">return</span>;
+<a name="l00961"></a>00961 }
+<a name="l00962"></a>00962 }
+<a name="l00963"></a>00963
+<a name="l00964"></a>00964
+<a name="l00965"></a><a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">00965</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">ConfigReader::Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag)
+<a name="l00966"></a>00966 {
+<a name="l00967"></a>00967 <span class="keywordflow">return</span> EnumConf(<a class="code" href="classConfigReader.html#cache">cache</a>,tag.c_str());
+<a name="l00968"></a>00968 }
+<a name="l00969"></a>00969
+<a name="l00970"></a><a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">00970</a> <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">ConfigReader::EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index)
+<a name="l00971"></a>00971 {
+<a name="l00972"></a>00972 <span class="keywordflow">return</span> EnumValues(<a class="code" href="classConfigReader.html#cache">cache</a>, tag.c_str(), index);
+<a name="l00973"></a>00973 }
+<a name="l00974"></a>00974
+<a name="l00975"></a><a class="code" href="classConfigReader.html#Verify_28_29">00975</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">ConfigReader::Verify</a>()
+<a name="l00976"></a>00976 {
+<a name="l00977"></a>00977 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classConfigReader.html#readerror">readerror</a>;
+<a name="l00978"></a>00978 }
+<a name="l00979"></a>00979
+<a name="l00980"></a>00980
+<a name="l00981"></a><a class="code" href="classFileReader.html#FileReader_28std_3A_3Astring_20filename_29">00981</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
+<a name="l00982"></a>00982 {
+<a name="l00983"></a>00983 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
+<a name="l00984"></a>00984 readfile(c,filename.c_str());
+<a name="l00985"></a>00985 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
+<a name="l00986"></a>00986 }
+<a name="l00987"></a>00987
+<a name="l00988"></a><a class="code" href="classFileReader.html#FileReader_28_29">00988</a> <a class="code" href="classFileReader.html#FileReader_28_29">FileReader::FileReader</a>()
+<a name="l00989"></a>00989 {
+<a name="l00990"></a>00990 }
+<a name="l00991"></a>00991
+<a name="l00992"></a><a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">00992</a> <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">FileReader::LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename)
+<a name="l00993"></a>00993 {
+<a name="l00994"></a>00994 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c;
+<a name="l00995"></a>00995 readfile(c,filename.c_str());
+<a name="l00996"></a>00996 this-&gt;<a class="code" href="classFileReader.html#fc">fc</a> = c;
+<a name="l00997"></a>00997 }
+<a name="l00998"></a>00998
+<a name="l00999"></a>00999
+<a name="l01000"></a><a class="code" href="classFileReader.html#_7EFileReader_28_29">01000</a> <a class="code" href="classFileReader.html#_7EFileReader_28_29">FileReader::~FileReader</a>()
+<a name="l01001"></a>01001 {
+<a name="l01002"></a>01002 }
+<a name="l01003"></a>01003
+<a name="l01004"></a><a class="code" href="classFileReader.html#Exists_28_29">01004</a> <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">FileReader::Exists</a>()
+<a name="l01005"></a>01005 {
+<a name="l01006"></a>01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0)
+<a name="l01007"></a>01007 {
+<a name="l01008"></a>01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>);
+<a name="l01009"></a>01009 }
+<a name="l01010"></a>01010 <span class="keywordflow">else</span>
+<a name="l01011"></a>01011 {
+<a name="l01012"></a>01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>);
+<a name="l01013"></a>01013 }
+<a name="l01014"></a>01014 }
+<a name="l01015"></a>01015
+<a name="l01016"></a><a class="code" href="classFileReader.html#GetLine_28int_20x_29">01016</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">FileReader::GetLine</a>(<span class="keywordtype">int</span> x)
+<a name="l01017"></a>01017 {
+<a name="l01018"></a>01018 <span class="keywordflow">if</span> ((x&lt;0) || ((<span class="keywordtype">unsigned</span>)x&gt;<a class="code" href="classFileReader.html#fc">fc</a>.size()))
+<a name="l01019"></a>01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l01020"></a>01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x];
+<a name="l01021"></a>01021 }
+<a name="l01022"></a>01022
+<a name="l01023"></a><a class="code" href="classFileReader.html#FileSize_28_29">01023</a> <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a>()
+<a name="l01024"></a>01024 {
+<a name="l01025"></a>01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size();
+<a name="l01026"></a>01026 }
+<a name="l01027"></a>01027
+<a name="l01028"></a>01028
+<a name="l01029"></a>01029 std::vector&lt;Module*&gt; <a class="code" href="channels_8cpp.html#modules">modules</a>(255);
+<a name="l01030"></a>01030 std::vector&lt;ircd_module*&gt; <a class="code" href="channels_8cpp.html#factory">factory</a>(255);
+<a name="l01031"></a>01031
+<a name="l01032"></a><a class="code" href="modules_8cpp.html#MODCOUNT">01032</a> <span class="keywordtype">int</span> <a class="code" href="channels_8cpp.html#MODCOUNT">MODCOUNT</a> = -1;
+<a name="l01033"></a>01033
+<a name="l01034"></a>01034
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/modules_8cpp.html b/docs/module-doc/modules_8cpp.html
index a7853803c..3b456b97d 100644
--- a/docs/module-doc/modules_8cpp.html
+++ b/docs/module-doc/modules_8cpp.html
@@ -420,7 +420,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00221">221</a>
<p>
References <a class="el" href="modules_8cpp-source.html#l00155">EMode</a>, and <a class="el" href="modules_8cpp-source.html#l00158">ModeDefined()</a>.
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00625">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00597">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00222"></a>00222 {
+Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00635">Server::AddExtendedMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00222"></a>00222 {
<a name="l00223"></a>00223 <span class="keywordflow">if</span> (<a class="code" href="modules_8cpp.html#ModeDefined_28char_20modechar_2C_20int_20type_29">ModeDefined</a>(modechar,type)) {
<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00225"></a>00225 }
@@ -758,7 +758,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00231">231</a>
<p>
References <a class="el" href="modules_8cpp-source.html#l00155">EMode</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#l00625">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 {
+Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddExtendedListMode()</a>.<div class="fragment"><pre class="fragment"><a name="l00232"></a>00232 {
<a name="l00233"></a>00233 <span class="keywordflow">for</span> (<a class="code" href="modules_8cpp.html#ExtModeListIter">ExtModeListIter</a> i = <a class="code" href="modules_8cpp.html#EMode">EMode</a>.begin(); i &lt; <a class="code" href="modules_8cpp.html#EMode">EMode</a>.end(); i++)
<a name="l00234"></a>00234 {
<a name="l00235"></a>00235 <span class="keywordflow">if</span> ((i-&gt;modechar == modechar) &amp;&amp; (i-&gt;type == <a class="code" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>))
@@ -1174,7 +1174,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00221">DoAddExtended
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00796">ConfigReader::ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader::ConfigReader()</a>. </td>
</tr>
</table>
<a class="anchor" name="IP"></a><!-- doxytag: member="modules.cpp::IP" ref="IP" args="" --><p>
@@ -1316,7 +1316,7 @@ Definition at line <a class="el" href="channels_8cpp-source.html#l00081">81</a>
<p>
<p>
-Definition at line <a class="el" href="modules_8cpp-source.html#l00994">994</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#l01032">1032</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="module_5Fnames"></a><!-- doxytag: member="modules.cpp::module_names" ref="module_5Fnames" args="" --><p>
@@ -1364,7 +1364,7 @@ Definition at line <a class="el" href="modules_8cpp-source.html#l00994">994</a>
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00380">Server::DelSocket()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00402">Server::AddSocket()</a>, and <a class="el" href="modules_8cpp-source.html#l00413">Server::DelSocket()</a>. </td>
</tr>
</table>
<a class="anchor" name="modules"></a><!-- doxytag: member="modules.cpp::modules" ref="modules" args="" --><p>
@@ -1804,7 +1804,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00375">Server::AddSo
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/modules_8cpp__incl.md5 b/docs/module-doc/modules_8cpp__incl.md5
index 075b4d32d..40a066bd0 100644
--- a/docs/module-doc/modules_8cpp__incl.md5
+++ b/docs/module-doc/modules_8cpp__incl.md5
@@ -1 +1 @@
-ef223cbef13898617d55573e4017c641 \ No newline at end of file
+1b005f3bb4371af3d7b1f0bde019cdee \ No newline at end of file
diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html
index a66aa14b1..5fc39102d 100644
--- a/docs/module-doc/modules_8h-source.html
+++ b/docs/module-doc/modules_8h-source.html
@@ -27,424 +27,491 @@
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef __PLUGIN_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define __PLUGIN_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
-<a name="l00021"></a>00021 <span class="comment">// log levels</span>
-<a name="l00022"></a>00022
<a name="l00023"></a><a class="code" href="modules_8h.html#DEBUG">00023</a> <span class="preprocessor">#define DEBUG 10</span>
<a name="l00024"></a><a class="code" href="modules_8h.html#VERBOSE">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define VERBOSE 20</span>
<a name="l00025"></a><a class="code" href="modules_8h.html#DEFAULT">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define DEFAULT 30</span>
<a name="l00026"></a><a class="code" href="modules_8h.html#SPARSE">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define SPARSE 40</span>
<a name="l00027"></a><a class="code" href="modules_8h.html#NONE">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define NONE 50</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
-<a name="l00029"></a>00029 <span class="comment">// used with OnExtendedMode() method of modules</span>
-<a name="l00030"></a>00030
<a name="l00031"></a><a class="code" href="modules_8h.html#MT_5FCHANNEL">00031</a> <span class="preprocessor">#define MT_CHANNEL 1</span>
<a name="l00032"></a><a class="code" href="modules_8h.html#MT_5FCLIENT">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define MT_CLIENT 2</span>
<a name="l00033"></a><a class="code" href="modules_8h.html#MT_5FSERVER">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define MT_SERVER 3</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
-<a name="l00035"></a>00035 <span class="comment">// used with OnAccessCheck() method of modules</span>
-<a name="l00036"></a>00036
<a name="l00037"></a><a class="code" href="modules_8h.html#ACR_5FDEFAULT">00037</a> <span class="preprocessor">#define ACR_DEFAULT 0 // Do default action (act as if the module isnt even loaded)</span>
<a name="l00038"></a><a class="code" href="modules_8h.html#ACR_5FDENY">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define ACR_DENY 1 // deny the action</span>
<a name="l00039"></a><a class="code" href="modules_8h.html#ACR_5FALLOW">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define ACR_ALLOW 2 // allow the action</span>
-<a name="l00040"></a>00040 <span class="preprocessor"></span>
-<a name="l00041"></a><a class="code" href="modules_8h.html#AC_5FKICK">00041</a> <span class="preprocessor">#define AC_KICK 0 // a user is being kicked</span>
-<a name="l00042"></a><a class="code" href="modules_8h.html#AC_5FDEOP">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEOP 1 // a user is being deopped</span>
-<a name="l00043"></a><a class="code" href="modules_8h.html#AC_5FOP">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_OP 2 // a user is being opped</span>
-<a name="l00044"></a><a class="code" href="modules_8h.html#AC_5FVOICE">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_VOICE 3 // a user is being voiced</span>
-<a name="l00045"></a><a class="code" href="modules_8h.html#AC_5FDEVOICE">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEVOICE 4 // a user is being devoiced</span>
-<a name="l00046"></a><a class="code" href="modules_8h.html#AC_5FHALFOP">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_HALFOP 5 // a user is being halfopped</span>
-<a name="l00047"></a><a class="code" href="modules_8h.html#AC_5FDEHALFOP">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEHALFOP 6 // a user is being dehalfopped</span>
-<a name="l00048"></a><a class="code" href="modules_8h.html#AC_5FINVITE">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_INVITE 7 // a user is being invited</span>
-<a name="l00049"></a><a class="code" href="modules_8h.html#AC_5FGENERAL_5FMODE">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_GENERAL_MODE 8 // a user channel mode is being changed</span>
-<a name="l00050"></a>00050 <span class="preprocessor"></span>
-<a name="l00051"></a>00051 <span class="comment">// used to define a set of behavior bits for a module</span>
-<a name="l00052"></a>00052
-<a name="l00053"></a><a class="code" href="modules_8h.html#VF_5FSTATIC">00053</a> <span class="preprocessor">#define VF_STATIC 1 // module is static, cannot be /unloadmodule'd</span>
-<a name="l00054"></a><a class="code" href="modules_8h.html#VF_5FVENDOR">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_VENDOR 2 // module is a vendor module (came in the original tarball, not 3rd party)</span>
-<a name="l00055"></a><a class="code" href="modules_8h.html#VF_5FSERVICEPROVIDER">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_SERVICEPROVIDER 4 // module provides a service to other modules (can be a dependency)</span>
-<a name="l00056"></a><a class="code" href="modules_8h.html#VF_5FCOMMON">00056</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_COMMON 8 // module needs to be common on all servers in a mesh to link</span>
-<a name="l00057"></a>00057 <span class="preprocessor"></span>
-<a name="l00058"></a>00058 <span class="preprocessor">#include "dynamic.h"</span>
-<a name="l00059"></a>00059 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
-<a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span>
-<a name="l00061"></a>00061 <span class="preprocessor">#include "<a class="code" href="socket_8h.html">socket.h</a>"</span>
-<a name="l00062"></a>00062 <span class="preprocessor">#include &lt;string&gt;</span>
-<a name="l00063"></a>00063 <span class="preprocessor">#include &lt;deque&gt;</span>
-<a name="l00064"></a>00064 <span class="preprocessor">#include &lt;sstream&gt;</span>
-<a name="l00065"></a>00065
-<a name="l00068"></a><a class="code" href="modules_8h.html#file_5Fcache">00068</a> <span class="keyword">typedef</span> std::deque&lt;std::string&gt; <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a>;
-<a name="l00069"></a><a class="code" href="modules_8h.html#string_5Flist">00069</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a>;
-<a name="l00070"></a>00070
-<a name="l00073"></a><a class="code" href="modules_8h.html#chanuserlist">00073</a> <span class="keyword">typedef</span> std::deque&lt;userrec*&gt; <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a>;
-<a name="l00074"></a>00074
+<a name="l00040"></a><a class="code" href="modules_8h.html#AC_5FKICK">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_KICK 0 // a user is being kicked</span>
+<a name="l00041"></a><a class="code" href="modules_8h.html#AC_5FDEOP">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEOP 1 // a user is being deopped</span>
+<a name="l00042"></a><a class="code" href="modules_8h.html#AC_5FOP">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_OP 2 // a user is being opped</span>
+<a name="l00043"></a><a class="code" href="modules_8h.html#AC_5FVOICE">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_VOICE 3 // a user is being voiced</span>
+<a name="l00044"></a><a class="code" href="modules_8h.html#AC_5FDEVOICE">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEVOICE 4 // a user is being devoiced</span>
+<a name="l00045"></a><a class="code" href="modules_8h.html#AC_5FHALFOP">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_HALFOP 5 // a user is being halfopped</span>
+<a name="l00046"></a><a class="code" href="modules_8h.html#AC_5FDEHALFOP">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_DEHALFOP 6 // a user is being dehalfopped</span>
+<a name="l00047"></a><a class="code" href="modules_8h.html#AC_5FINVITE">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_INVITE 7 // a user is being invited</span>
+<a name="l00048"></a><a class="code" href="modules_8h.html#AC_5FGENERAL_5FMODE">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define AC_GENERAL_MODE 8 // a user channel mode is being changed</span>
+<a name="l00049"></a>00049 <span class="preprocessor"></span>
+<a name="l00052"></a><a class="code" href="modules_8h.html#VF_5FSTATIC">00052</a> <span class="preprocessor">#define VF_STATIC 1 // module is static, cannot be /unloadmodule'd</span>
+<a name="l00053"></a><a class="code" href="modules_8h.html#VF_5FVENDOR">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_VENDOR 2 // module is a vendor module (came in the original tarball, not 3rd party)</span>
+<a name="l00054"></a><a class="code" href="modules_8h.html#VF_5FSERVICEPROVIDER">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_SERVICEPROVIDER 4 // module provides a service to other modules (can be a dependency)</span>
+<a name="l00055"></a><a class="code" href="modules_8h.html#VF_5FCOMMON">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define VF_COMMON 8 // module needs to be common on all servers in a mesh to link</span>
+<a name="l00056"></a>00056 <span class="preprocessor"></span>
+<a name="l00057"></a>00057 <span class="preprocessor">#include "dynamic.h"</span>
+<a name="l00058"></a>00058 <span class="preprocessor">#include "<a class="code" href="base_8h.html">base.h</a>"</span>
+<a name="l00059"></a>00059 <span class="preprocessor">#include "<a class="code" href="ctables_8h.html">ctables.h</a>"</span>
+<a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="socket_8h.html">socket.h</a>"</span>
+<a name="l00061"></a>00061 <span class="preprocessor">#include &lt;string&gt;</span>
+<a name="l00062"></a>00062 <span class="preprocessor">#include &lt;deque&gt;</span>
+<a name="l00063"></a>00063 <span class="preprocessor">#include &lt;sstream&gt;</span>
+<a name="l00064"></a>00064
+<a name="l00065"></a><a class="code" href="modules_8h.html#file_5Fcache">00065</a> <span class="keyword">class </span><a class="code" href="classServer.html">Server</a>;
+<a name="l00066"></a>00066
+<a name="l00069"></a>00069 <span class="keyword">typedef</span> std::deque&lt;std::string&gt; <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a>;
+<a name="l00070"></a><a class="code" href="modules_8h.html#string_5Flist">00070</a> <span class="keyword">typedef</span> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="modules_8h.html#string_5Flist">string_list</a>;
+<a name="l00071"></a>00071
+<a name="l00074"></a><a class="code" href="modules_8h.html#chanuserlist">00074</a> <span class="keyword">typedef</span> std::deque&lt;userrec*&gt; <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a>;
<a name="l00075"></a>00075
-<a name="l00076"></a>00076 <span class="comment">// This #define allows us to call a method in all</span>
-<a name="l00077"></a>00077 <span class="comment">// loaded modules in a readable simple way, e.g.:</span>
-<a name="l00078"></a>00078 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span>
-<a name="l00079"></a>00079
-<a name="l00080"></a><a class="code" href="modules_8h.html#FOREACH_5FMOD">00080</a> <span class="preprocessor">#define FOREACH_MOD for (int _i = 0; _i &lt;= MODCOUNT; _i++) modules[_i]-&gt;</span>
-<a name="l00081"></a>00081 <span class="preprocessor"></span>
-<a name="l00082"></a>00082 <span class="comment">// This define is similar to the one above but returns a result in MOD_RESULT.</span>
-<a name="l00083"></a>00083 <span class="comment">// The first module to return a nonzero result is the value to be accepted,</span>
-<a name="l00084"></a>00084 <span class="comment">// and any modules after are ignored.</span>
-<a name="l00085"></a>00085
-<a name="l00086"></a>00086 <span class="comment">// *********************************************************************************************</span>
-<a name="l00087"></a>00087
-<a name="l00088"></a><a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">00088</a> <span class="preprocessor">#define FOREACH_RESULT(x) { MOD_RESULT = 0; \</span>
-<a name="l00089"></a>00089 <span class="preprocessor"> for (int _i = 0; _i &lt;= MODCOUNT; _i++) { \</span>
-<a name="l00090"></a>00090 <span class="preprocessor"> int res = modules[_i]-&gt;x ; \</span>
-<a name="l00091"></a>00091 <span class="preprocessor"> if (res != 0) { \</span>
-<a name="l00092"></a>00092 <span class="preprocessor"> MOD_RESULT = res; \</span>
-<a name="l00093"></a>00093 <span class="preprocessor"> break; \</span>
-<a name="l00094"></a>00094 <span class="preprocessor"> } \</span>
-<a name="l00095"></a>00095 <span class="preprocessor"> } \</span>
-<a name="l00096"></a>00096 <span class="preprocessor"> } </span>
-<a name="l00097"></a>00097 <span class="preprocessor"></span>
-<a name="l00098"></a>00098 <span class="comment">// *********************************************************************************************</span>
-<a name="l00099"></a>00099
-<a name="l00100"></a><a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">00100</a> <span class="preprocessor">#define FD_MAGIC_NUMBER -42</span>
-<a name="l00101"></a>00101 <span class="preprocessor"></span>
-<a name="l00102"></a>00102 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</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);
-<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
-<a name="l00104"></a>00104
-<a name="l00105"></a>00105 <span class="comment">// class Version holds the version information of a Module, returned</span>
-<a name="l00106"></a>00106 <span class="comment">// by Module::GetVersion (thanks RD)</span>
-<a name="l00107"></a>00107
-<a name="l00112"></a><a class="code" href="classVersion.html">00112</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00113"></a>00113 {
-<a name="l00114"></a>00114 <span class="keyword">public</span>:
-<a name="l00115"></a><a class="code" href="classVersion.html#Revision">00115</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#Major">Major</a>, <a class="code" href="classVersion.html#Minor">Minor</a>, <a class="code" href="classVersion.html#Revision">Revision</a>, <a class="code" href="classVersion.html#Build">Build</a>, <a class="code" href="classVersion.html#Flags">Flags</a>;
-<a name="l00116"></a>00116 <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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);
-<a name="l00117"></a>00117 };
-<a name="l00118"></a>00118
-<a name="l00124"></a><a class="code" href="classAdmin.html">00124</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00125"></a>00125 {
-<a name="l00126"></a>00126 <span class="keyword">public</span>:
-<a name="l00127"></a><a class="code" href="classAdmin.html#Nick">00127</a> <span class="keyword">const</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classAdmin.html#Name">Name</a>, <a class="code" href="classAdmin.html#Email">Email</a>, <a class="code" href="classAdmin.html#Nick">Nick</a>;
-<a name="l00128"></a>00128 <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick);
-<a name="l00129"></a>00129 };
-<a name="l00130"></a>00130
+<a name="l00076"></a>00076
+<a name="l00077"></a>00077 <span class="comment">// This #define allows us to call a method in all</span>
+<a name="l00078"></a>00078 <span class="comment">// loaded modules in a readable simple way, e.g.:</span>
+<a name="l00079"></a>00079 <span class="comment">// 'FOREACH_MOD OnConnect(user);'</span>
+<a name="l00080"></a>00080
+<a name="l00081"></a><a class="code" href="modules_8h.html#FOREACH_5FMOD">00081</a> <span class="preprocessor">#define FOREACH_MOD for (int _i = 0; _i &lt;= MODCOUNT; _i++) modules[_i]-&gt;</span>
+<a name="l00082"></a>00082 <span class="preprocessor"></span>
+<a name="l00083"></a>00083 <span class="comment">// This define is similar to the one above but returns a result in MOD_RESULT.</span>
+<a name="l00084"></a>00084 <span class="comment">// The first module to return a nonzero result is the value to be accepted,</span>
+<a name="l00085"></a>00085 <span class="comment">// and any modules after are ignored.</span>
+<a name="l00086"></a>00086
+<a name="l00087"></a>00087 <span class="comment">// *********************************************************************************************</span>
+<a name="l00088"></a>00088
+<a name="l00089"></a><a class="code" href="modules_8h.html#FOREACH_5FRESULT_28x_29">00089</a> <span class="preprocessor">#define FOREACH_RESULT(x) { MOD_RESULT = 0; \</span>
+<a name="l00090"></a>00090 <span class="preprocessor"> for (int _i = 0; _i &lt;= MODCOUNT; _i++) { \</span>
+<a name="l00091"></a>00091 <span class="preprocessor"> int res = modules[_i]-&gt;x ; \</span>
+<a name="l00092"></a>00092 <span class="preprocessor"> if (res != 0) { \</span>
+<a name="l00093"></a>00093 <span class="preprocessor"> MOD_RESULT = res; \</span>
+<a name="l00094"></a>00094 <span class="preprocessor"> break; \</span>
+<a name="l00095"></a>00095 <span class="preprocessor"> } \</span>
+<a name="l00096"></a>00096 <span class="preprocessor"> } \</span>
+<a name="l00097"></a>00097 <span class="preprocessor"> } </span>
+<a name="l00098"></a>00098 <span class="preprocessor"></span>
+<a name="l00099"></a>00099 <span class="comment">// *********************************************************************************************</span>
+<a name="l00100"></a>00100
+<a name="l00101"></a><a class="code" href="modules_8h.html#FD_5FMAGIC_5FNUMBER">00101</a> <span class="preprocessor">#define FD_MAGIC_NUMBER -42</span>
+<a name="l00102"></a>00102 <span class="preprocessor"></span>
+<a name="l00103"></a>00103 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="modules_8h.html#createcommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">createcommand</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);
+<a name="l00104"></a>00104 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="mode_8h.html#server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">server_mode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
+<a name="l00105"></a>00105
+<a name="l00106"></a>00106 <span class="comment">// class Version holds the version information of a Module, returned</span>
+<a name="l00107"></a>00107 <span class="comment">// by Module::GetVersion (thanks RD)</span>
+<a name="l00108"></a>00108
+<a name="l00113"></a><a class="code" href="classVersion.html">00113</a> <span class="keyword">class </span><a class="code" href="classVersion.html">Version</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00114"></a>00114 {
+<a name="l00115"></a>00115 <span class="keyword">public</span>:
+<a name="l00116"></a><a class="code" href="classVersion.html#Revision">00116</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classVersion.html#Major">Major</a>, <a class="code" href="classVersion.html#Minor">Minor</a>, <a class="code" href="classVersion.html#Revision">Revision</a>, <a class="code" href="classVersion.html#Build">Build</a>, <a class="code" href="classVersion.html#Flags">Flags</a>;
+<a name="l00117"></a>00117 <a class="code" href="classVersion.html#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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);
+<a name="l00118"></a>00118 };
+<a name="l00119"></a>00119
+<a name="l00125"></a><a class="code" href="classAdmin.html">00125</a> <span class="keyword">class </span><a class="code" href="classAdmin.html">Admin</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00126"></a>00126 {
+<a name="l00127"></a>00127 <span class="keyword">public</span>:
+<a name="l00128"></a><a class="code" href="classAdmin.html#Nick">00128</a> <span class="keyword">const</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classAdmin.html#Name">Name</a>, <a class="code" href="classAdmin.html#Email">Email</a>, <a class="code" href="classAdmin.html#Nick">Nick</a>;
+<a name="l00129"></a>00129 <a class="code" href="classAdmin.html#Admin_28std_3A_3Astring_20name_2C_20std_3A_3Astring_20email_2C_20std_3A_3Astring_20nick_29">Admin</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name, <a class="code" href="namespaceirc.html#string">std::string</a> email, <a class="code" href="namespaceirc.html#string">std::string</a> nick);
+<a name="l00130"></a>00130 };
<a name="l00131"></a>00131
-<a name="l00132"></a>00132 <span class="comment">// Forward-delacare module for ModuleMessage etc</span>
-<a name="l00133"></a>00133 <span class="keyword">class </span><a class="code" href="classModule.html">Module</a>;
-<a name="l00134"></a>00134
-<a name="l00135"></a>00135 <span class="comment">// Thanks to Rob (from anope) for the idea of this message passing API</span>
-<a name="l00136"></a>00136 <span class="comment">// (its been done before, but this seemed a very neat and tidy way...</span>
-<a name="l00137"></a>00137
-<a name="l00142"></a><a class="code" href="classModuleMessage.html">00142</a> <span class="keyword">class </span><a class="code" href="classModuleMessage.html">ModuleMessage</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00143"></a>00143 {
-<a name="l00144"></a>00144 <span class="keyword">public</span>:
-<a name="l00147"></a>00147 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classModuleMessage.html#Send_28_29_3D_30">Send</a>() = 0;
-<a name="l00148"></a><a class="code" href="classModuleMessage.html#_7EModuleMessage_28_29">00148</a> <span class="keyword">virtual</span> <a class="code" href="classModuleMessage.html#_7EModuleMessage_28_29">~ModuleMessage</a>() {};
-<a name="l00149"></a>00149 };
-<a name="l00150"></a>00150
-<a name="l00156"></a><a class="code" href="classRequest.html">00156</a> <span class="keyword">class </span><a class="code" href="classRequest.html">Request</a> : <span class="keyword">public</span> <a class="code" href="classModuleMessage.html">ModuleMessage</a>
-<a name="l00157"></a>00157 {
-<a name="l00158"></a>00158 <span class="keyword">protected</span>:
-<a name="l00161"></a><a class="code" href="classRequest.html#data">00161</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#data">data</a>;
-<a name="l00165"></a><a class="code" href="classRequest.html#source">00165</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#source">source</a>;
-<a name="l00168"></a><a class="code" href="classRequest.html#dest">00168</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#dest">dest</a>;
-<a name="l00169"></a>00169 <span class="keyword">public</span>:
-<a name="l00172"></a>00172 <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">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);
-<a name="l00175"></a>00175 <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">GetData</a>();
-<a name="l00178"></a>00178 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">GetSource</a>();
-<a name="l00181"></a>00181 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">GetDest</a>();
-<a name="l00187"></a>00187 <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Send</a>();
-<a name="l00188"></a>00188 };
-<a name="l00189"></a>00189
+<a name="l00132"></a>00132
+<a name="l00133"></a>00133 <span class="comment">// Forward-delacare module for ModuleMessage etc</span>
+<a name="l00134"></a>00134 <span class="keyword">class </span><a class="code" href="classModule.html">Module</a>;
+<a name="l00135"></a>00135
+<a name="l00136"></a>00136 <span class="comment">// Thanks to Rob (from anope) for the idea of this message passing API</span>
+<a name="l00137"></a>00137 <span class="comment">// (its been done before, but this seemed a very neat and tidy way...</span>
+<a name="l00138"></a>00138
+<a name="l00143"></a><a class="code" href="classModuleMessage.html">00143</a> <span class="keyword">class </span><a class="code" href="classModuleMessage.html">ModuleMessage</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00144"></a>00144 {
+<a name="l00145"></a>00145 <span class="keyword">public</span>:
+<a name="l00148"></a>00148 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classModuleMessage.html#Send_28_29_3D_30">Send</a>() = 0;
+<a name="l00149"></a><a class="code" href="classModuleMessage.html#_7EModuleMessage_28_29">00149</a> <span class="keyword">virtual</span> <a class="code" href="classModuleMessage.html#_7EModuleMessage_28_29">~ModuleMessage</a>() {};
+<a name="l00150"></a>00150 };
+<a name="l00151"></a>00151
+<a name="l00157"></a><a class="code" href="classRequest.html">00157</a> <span class="keyword">class </span><a class="code" href="classRequest.html">Request</a> : <span class="keyword">public</span> <a class="code" href="classModuleMessage.html">ModuleMessage</a>
+<a name="l00158"></a>00158 {
+<a name="l00159"></a>00159 <span class="keyword">protected</span>:
+<a name="l00162"></a><a class="code" href="classRequest.html#data">00162</a> <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#data">data</a>;
+<a name="l00166"></a><a class="code" href="classRequest.html#source">00166</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#source">source</a>;
+<a name="l00169"></a><a class="code" href="classRequest.html#dest">00169</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#dest">dest</a>;
+<a name="l00170"></a>00170 <span class="keyword">public</span>:
+<a name="l00173"></a>00173 <a class="code" href="classRequest.html#Request_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20Module_20_2Adst_29">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);
+<a name="l00176"></a>00176 <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#GetData_28_29">GetData</a>();
+<a name="l00179"></a>00179 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetSource_28_29">GetSource</a>();
+<a name="l00182"></a>00182 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classRequest.html#GetDest_28_29">GetDest</a>();
+<a name="l00188"></a>00188 <span class="keywordtype">char</span>* <a class="code" href="classRequest.html#Send_28_29">Send</a>();
+<a name="l00189"></a>00189 };
<a name="l00190"></a>00190
-<a name="l00196"></a><a class="code" href="classEvent.html">00196</a> <span class="keyword">class </span><a class="code" href="classEvent.html">Event</a> : <span class="keyword">public</span> <a class="code" href="classModuleMessage.html">ModuleMessage</a>
-<a name="l00197"></a>00197 {
-<a name="l00198"></a>00198 <span class="keyword">protected</span>:
-<a name="l00201"></a><a class="code" href="classEvent.html#data">00201</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#data">data</a>;
-<a name="l00205"></a><a class="code" href="classEvent.html#source">00205</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#source">source</a>;
-<a name="l00210"></a><a class="code" href="classEvent.html#id">00210</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#id">id</a>;
-<a name="l00211"></a>00211 <span class="keyword">public</span>:
-<a name="l00214"></a>00214 <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid);
-<a name="l00217"></a>00217 <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">GetData</a>();
-<a name="l00220"></a>00220 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">GetSource</a>();
-<a name="l00224"></a>00224 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">GetEventID</a>();
-<a name="l00229"></a>00229 <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Send</a>();
-<a name="l00230"></a>00230 };
-<a name="l00231"></a>00231
+<a name="l00191"></a>00191
+<a name="l00197"></a><a class="code" href="classEvent.html">00197</a> <span class="keyword">class </span><a class="code" href="classEvent.html">Event</a> : <span class="keyword">public</span> <a class="code" href="classModuleMessage.html">ModuleMessage</a>
+<a name="l00198"></a>00198 {
+<a name="l00199"></a>00199 <span class="keyword">protected</span>:
+<a name="l00202"></a><a class="code" href="classEvent.html#data">00202</a> <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#data">data</a>;
+<a name="l00206"></a><a class="code" href="classEvent.html#source">00206</a> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#source">source</a>;
+<a name="l00211"></a><a class="code" href="classEvent.html#id">00211</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#id">id</a>;
+<a name="l00212"></a>00212 <span class="keyword">public</span>:
+<a name="l00215"></a>00215 <a class="code" href="classEvent.html#Event_28char_20_2Aanydata_2C_20Module_20_2Asrc_2C_20std_3A_3Astring_20eventid_29">Event</a>(<span class="keywordtype">char</span>* anydata, <a class="code" href="classModule.html">Module</a>* src, <a class="code" href="namespaceirc.html#string">std::string</a> eventid);
+<a name="l00218"></a>00218 <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#GetData_28_29">GetData</a>();
+<a name="l00221"></a>00221 <a class="code" href="classModule.html">Module</a>* <a class="code" href="classEvent.html#GetSource_28_29">GetSource</a>();
+<a name="l00225"></a>00225 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classEvent.html#GetEventID_28_29">GetEventID</a>();
+<a name="l00230"></a>00230 <span class="keywordtype">char</span>* <a class="code" href="classEvent.html#Send_28_29">Send</a>();
+<a name="l00231"></a>00231 };
<a name="l00232"></a>00232
-<a name="l00238"></a><a class="code" href="classModule.html">00238</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00239"></a>00239 {
-<a name="l00240"></a>00240 <span class="keyword">public</span>:
-<a name="l00241"></a>00241
-<a name="l00245"></a>00245 <a class="code" href="classModule.html#Module_28_29">Module</a>();
-<a name="l00246"></a>00246
-<a name="l00250"></a>00250 <span class="keyword">virtual</span> <a class="code" href="classModule.html#_7EModule_28_29">~Module</a>();
-<a name="l00251"></a>00251
-<a name="l00256"></a>00256 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">GetVersion</a>();
-<a name="l00257"></a>00257
-<a name="l00261"></a>00261 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00262"></a>00262
-<a name="l00268"></a>00268 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_29">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00269"></a>00269
-<a name="l00275"></a>00275 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00276"></a>00276
-<a name="l00281"></a>00281 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel);
+<a name="l00233"></a>00233
+<a name="l00239"></a><a class="code" href="classModule.html">00239</a> <span class="keyword">class </span><a class="code" href="classModule.html">Module</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00240"></a>00240 {
+<a name="l00241"></a>00241 <span class="keyword">public</span>:
+<a name="l00242"></a>00242
+<a name="l00247"></a>00247 <a class="code" href="classModule.html#Module_28Server_20_2AMe_29">Module</a>(<a class="code" href="classServer.html">Server</a>* Me);
+<a name="l00248"></a>00248
+<a name="l00252"></a>00252 <span class="keyword">virtual</span> <a class="code" href="classModule.html#_7EModule_28_29">~Module</a>();
+<a name="l00253"></a>00253
+<a name="l00258"></a>00258 <span class="keyword">virtual</span> <a class="code" href="classVersion.html">Version</a> <a class="code" href="classModule.html#GetVersion_28_29">GetVersion</a>();
+<a name="l00259"></a>00259
+<a name="l00264"></a>00264 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserConnect_28userrec_20_2Auser_29">OnUserConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l00265"></a>00265
+<a name="l00273"></a>00273 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserQuit_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">OnUserQuit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> message);
+<a name="l00274"></a>00274
+<a name="l00281"></a>00281 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserDisconnect_28userrec_20_2Auser_29">OnUserDisconnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
<a name="l00282"></a>00282
-<a name="l00287"></a>00287 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel);
-<a name="l00288"></a>00288
-<a name="l00294"></a>00294 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPacketTransmit_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">OnPacketTransmit</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv);
-<a name="l00295"></a>00295
-<a name="l00302"></a>00302 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPacketReceive_28std_3A_3Astring_20_26data_2C_20std_3A_3Astring_20serv_29">OnPacketReceive</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;data, <a class="code" href="namespaceirc.html#string">std::string</a> serv);
-<a name="l00303"></a>00303
-<a name="l00309"></a>00309 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28_29">OnRehash</a>();
-<a name="l00310"></a>00310
+<a name="l00289"></a>00289 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserJoin</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel);
+<a name="l00290"></a>00290
+<a name="l00297"></a>00297 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPart_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_29">OnUserPart</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* channel);
+<a name="l00298"></a>00298
+<a name="l00306"></a>00306 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRehash_28std_3A_3Astring_20parameter_29">OnRehash</a>(<a class="code" href="namespaceirc.html#string">std::string</a> parameter);
+<a name="l00307"></a>00307
<a name="l00319"></a>00319 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnServerRaw_28std_3A_3Astring_20_26raw_2C_20bool_20inbound_2C_20userrec_20_2Auser_29">OnServerRaw</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;raw, <span class="keywordtype">bool</span> inbound, <a class="code" href="classuserrec.html">userrec</a>* user);
<a name="l00320"></a>00320
-<a name="l00330"></a>00330 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &amp;params);
-<a name="l00331"></a>00331
-<a name="l00345"></a>00345 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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);
-<a name="l00346"></a>00346
-<a name="l00352"></a>00352 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
-<a name="l00353"></a>00353
-<a name="l00358"></a>00358 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
-<a name="l00359"></a>00359
-<a name="l00364"></a>00364 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_29">OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00365"></a>00365
-<a name="l00374"></a>00374 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00375"></a>00375
-<a name="l00380"></a>00380 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest);
-<a name="l00381"></a>00381
-<a name="l00387"></a>00387 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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);
-<a name="l00388"></a>00388
-<a name="l00397"></a>00397 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text);
-<a name="l00398"></a>00398
-<a name="l00410"></a>00410 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text);
-<a name="l00411"></a>00411
-<a name="l00419"></a>00419 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick);
-<a name="l00420"></a>00420
-<a name="l00428"></a>00428 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick);
-<a name="l00429"></a>00429
-<a name="l00451"></a>00451 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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);
-<a name="l00452"></a>00452
-<a name="l00458"></a>00458 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#string_5Flist">string_list</a> <a class="code" href="classModule.html#OnUserSync_28userrec_20_2Auser_29">OnUserSync</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00459"></a>00459
-<a name="l00465"></a>00465 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#string_5Flist">string_list</a> <a class="code" href="classModule.html#OnChannelSync_28chanrec_20_2Achan_29">OnChannelSync</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan);
-<a name="l00466"></a>00466
-<a name="l00470"></a>00470 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;output);
-<a name="l00471"></a>00471
-<a name="l00481"></a>00481 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
-<a name="l00482"></a>00482
-<a name="l00493"></a>00493 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name);
-<a name="l00494"></a>00494
-<a name="l00505"></a>00505 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name);
-<a name="l00506"></a>00506
-<a name="l00512"></a>00512 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">OnBackgroundTimer</a>(time_t curtime);
-<a name="l00513"></a>00513
-<a name="l00521"></a>00521 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">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="l00522"></a>00522
-<a name="l00533"></a>00533 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
-<a name="l00534"></a>00534
-<a name="l00543"></a>00543 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00544"></a>00544
-<a name="l00552"></a>00552 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00553"></a>00553
-<a name="l00559"></a>00559 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt);
-<a name="l00560"></a>00560
-<a name="l00566"></a>00566 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
-<a name="l00567"></a>00567
-<a name="l00574"></a>00574 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven);
-<a name="l00575"></a>00575
-<a name="l00581"></a>00581 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
-<a name="l00582"></a>00582
-<a name="l00588"></a>00588 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
-<a name="l00589"></a>00589
-<a name="l00593"></a>00593 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">OnStats</a>(<span class="keywordtype">char</span> symbol);
-<a name="l00594"></a>00594
-<a name="l00598"></a>00598 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost);
-<a name="l00599"></a>00599
-<a name="l00603"></a>00603 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost);
-<a name="l00604"></a>00604
-<a name="l00608"></a>00608 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic);
-<a name="l00609"></a>00609
-<a name="l00615"></a>00615 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event);
-<a name="l00616"></a>00616
-<a name="l00623"></a>00623 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request);
-<a name="l00624"></a>00624
-<a name="l00631"></a>00631 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input);
-<a name="l00632"></a>00632
-<a name="l00638"></a>00638 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00639"></a>00639
-<a name="l00644"></a>00644 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00645"></a>00645
-<a name="l00649"></a>00649 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask);
-<a name="l00650"></a>00650
-<a name="l00654"></a>00654 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask);
+<a name="l00336"></a>00336 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnExtendedMode_28userrec_20_2Auser_2C_20void_20_2Atarget_2C_20char_20modechar_2C_20int_20type_2C_20bool_20mode_5Fon_2C_20string_5Flist_20_26params_29">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, <a class="code" href="modules_8h.html#string_5Flist">string_list</a> &amp;params);
+<a name="l00337"></a>00337
+<a name="l00354"></a>00354 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreJoin_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20const_20char_20_2Acname_29">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);
+<a name="l00355"></a>00355
+<a name="l00366"></a>00366 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l00367"></a>00367
+<a name="l00376"></a>00376 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserKick_28userrec_20_2Asource_2C_20userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20reason_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l00377"></a>00377
+<a name="l00384"></a>00384 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnOper_28userrec_20_2Auser_2C_20std_3A_3Astring_20opertype_29">OnOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> opertype);
+<a name="l00385"></a>00385
+<a name="l00396"></a>00396 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnInfo_28userrec_20_2Auser_29">OnInfo</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l00397"></a>00397
+<a name="l00404"></a>00404 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWhois_28userrec_20_2Asource_2C_20userrec_20_2Adest_29">OnWhois</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest);
+<a name="l00405"></a>00405
+<a name="l00415"></a>00415 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">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);
+<a name="l00416"></a>00416
+<a name="l00424"></a>00424 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserInvite_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_29">OnUserInvite</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);
+<a name="l00425"></a>00425
+<a name="l00439"></a>00439 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text);
+<a name="l00440"></a>00440
+<a name="l00457"></a>00457 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20_26text_29">OnUserPreNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<span class="keywordtype">void</span>* dest,<span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> &amp;text);
+<a name="l00458"></a>00458
+<a name="l00469"></a>00469 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnUserPreNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20newnick_29">OnUserPreNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newnick);
+<a name="l00470"></a>00470
+<a name="l00479"></a>00479 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserMessage_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserMessage</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l00480"></a>00480
+<a name="l00489"></a>00489 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserNotice_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnUserNotice</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l00490"></a>00490
+<a name="l00500"></a>00500 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnMode_28userrec_20_2Auser_2C_20void_20_2Adest_2C_20int_20target_5Ftype_2C_20std_3A_3Astring_20text_29">OnMode</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <span class="keywordtype">void</span>* dest, <span class="keywordtype">int</span> target_type, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l00501"></a>00501
+<a name="l00510"></a>00510 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGetServerDescription_28std_3A_3Astring_20servername_2C_20std_3A_3Astring_20_26description_29">OnGetServerDescription</a>(<a class="code" href="namespaceirc.html#string">std::string</a> servername,<a class="code" href="namespaceirc.html#string">std::string</a> &amp;description);
+<a name="l00511"></a>00511
+<a name="l00524"></a>00524 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUser_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque);
+<a name="l00525"></a>00525
+<a name="l00541"></a>00541 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannel_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_29">OnSyncChannel</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto, <span class="keywordtype">void</span>* opaque);
+<a name="l00542"></a>00542
+<a name="l00543"></a>00543 <span class="comment">/* Allows modules to syncronize metadata related to channels over the network during a netburst.</span>
+<a name="l00544"></a>00544 <span class="comment"> * Whenever the linking module wants to send out data, but doesnt know what the data</span>
+<a name="l00545"></a>00545 <span class="comment"> * represents (e.g. it is Extensible metadata, added to a userrec or chanrec by a module) then</span>
+<a name="l00546"></a>00546 <span class="comment"> * this method is called.You should use the ProtoSendMetaData function after you've</span>
+<a name="l00547"></a>00547 <span class="comment"> * correctly decided how the data should be represented, to send the metadata on its way if it belongs</span>
+<a name="l00548"></a>00548 <span class="comment"> * to your module. For a good example of how to use this method, see src/modules/m_swhois.cpp.</span>
+<a name="l00549"></a>00549 <span class="comment"> * @param chan The channel whos metadata is being syncronized</span>
+<a name="l00550"></a>00550 <span class="comment"> * @param proto A pointer to the module handling network protocol</span>
+<a name="l00551"></a>00551 <span class="comment"> * @param opaque An opaque pointer set by the protocol module, should not be modified!</span>
+<a name="l00552"></a>00552 <span class="comment"> * @param extname The extensions name which is being searched for</span>
+<a name="l00553"></a>00553 <span class="comment"> */</span>
+<a name="l00554"></a>00554 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncChannelMetaData_28chanrec_20_2Achan_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncChannelMetaData</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname);
+<a name="l00555"></a>00555
+<a name="l00556"></a>00556 <span class="comment">/* Allows modules to syncronize metadata related to users over the network during a netburst.</span>
+<a name="l00557"></a>00557 <span class="comment"> * Whenever the linking module wants to send out data, but doesnt know what the data</span>
+<a name="l00558"></a>00558 <span class="comment"> * represents (e.g. it is Extensible metadata, added to a userrec or chanrec by a module) then</span>
+<a name="l00559"></a>00559 <span class="comment"> * this method is called. You should use the ProtoSendMetaData function after you've</span>
+<a name="l00560"></a>00560 <span class="comment"> * correctly decided how the data should be represented, to send the metadata on its way if</span>
+<a name="l00561"></a>00561 <span class="comment"> * if it belongs to your module.</span>
+<a name="l00562"></a>00562 <span class="comment"> * @param user The user whos metadata is being syncronized</span>
+<a name="l00563"></a>00563 <span class="comment"> * @param proto A pointer to the module handling network protocol</span>
+<a name="l00564"></a>00564 <span class="comment"> * @param opaque An opaque pointer set by the protocol module, should not be modified!</span>
+<a name="l00565"></a>00565 <span class="comment"> * @param extname The extensions name which is being searched for</span>
+<a name="l00566"></a>00566 <span class="comment"> */</span>
+<a name="l00567"></a>00567 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSyncUserMetaData_28userrec_20_2Auser_2C_20Module_20_2Aproto_2C_20void_20_2Aopaque_2C_20std_3A_3Astring_20extname_29">OnSyncUserMetaData</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classModule.html">Module</a>* proto,<span class="keywordtype">void</span>* opaque, <a class="code" href="namespaceirc.html#string">std::string</a> extname);
+<a name="l00568"></a>00568
+<a name="l00576"></a>00576 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDecodeMetaData_28int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">OnDecodeMetaData</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata);
+<a name="l00577"></a>00577
+<a name="l00591"></a>00591 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMode_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20modeline_29">ProtoSendMode</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> modeline);
+<a name="l00592"></a>00592
+<a name="l00607"></a>00607 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#ProtoSendMetaData_28void_20_2Aopaque_2C_20int_20target_5Ftype_2C_20void_20_2Atarget_2C_20std_3A_3Astring_20extname_2C_20std_3A_3Astring_20extdata_29">ProtoSendMetaData</a>(<span class="keywordtype">void</span>* opaque, <span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* target, <a class="code" href="namespaceirc.html#string">std::string</a> extname, <a class="code" href="namespaceirc.html#string">std::string</a> extdata);
+<a name="l00608"></a>00608
+<a name="l00613"></a>00613 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnWallops_28userrec_20_2Auser_2C_20std_3A_3Astring_20text_29">OnWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l00614"></a>00614
+<a name="l00620"></a>00620 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost);
+<a name="l00621"></a>00621
+<a name="l00627"></a>00627 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnChangeName_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">OnChangeName</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos);
+<a name="l00628"></a>00628
+<a name="l00636"></a>00636 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddGLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l00637"></a>00637
+<a name="l00645"></a>00645 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddZLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipmask_29">OnAddZLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask);
+<a name="l00646"></a>00646
+<a name="l00654"></a>00654 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddKLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddKLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
<a name="l00655"></a>00655
-<a name="l00662"></a>00662 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport);
-<a name="l00663"></a>00663
-<a name="l00670"></a>00670 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count);
-<a name="l00671"></a>00671
-<a name="l00675"></a>00675 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">OnRawSocketClose</a>(<span class="keywordtype">int</span> fd);
-<a name="l00676"></a>00676
-<a name="l00687"></a>00687 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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);
-<a name="l00688"></a>00688 };
-<a name="l00689"></a>00689
-<a name="l00690"></a>00690
-<a name="l00696"></a><a class="code" href="classServer.html">00696</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>
-<a name="l00697"></a>00697 {
-<a name="l00698"></a>00698 <span class="keyword">public</span>:
-<a name="l00702"></a>00702 <a class="code" href="classServer.html#Server_28_29">Server</a>();
-<a name="l00706"></a>00706 <span class="keyword">virtual</span> <a class="code" href="classServer.html#_7EServer_28_29">~Server</a>();
-<a name="l00707"></a>00707
-<a name="l00711"></a>00711 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00716"></a>00716 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00721"></a>00721 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00726"></a>00726 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00730"></a>00730 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text);
-<a name="l00735"></a>00735 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00750"></a>00750 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s);
-<a name="l00757"></a>00757 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender);
-<a name="l00762"></a>00762 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2);
-<a name="l00770"></a>00770 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender);
-<a name="l00775"></a>00775 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text);
-<a name="l00776"></a>00776
-<a name="l00780"></a>00780 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick);
-<a name="l00784"></a>00784 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c);
-<a name="l00788"></a>00788 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick);
-<a name="l00792"></a>00792 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">FindDescriptor</a>(<span class="keywordtype">int</span> socket);
-<a name="l00796"></a>00796 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel);
-<a name="l00801"></a>00801 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
-<a name="l00805"></a>00805 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
-<a name="l00808"></a>00808 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">GetServerName</a>();
-<a name="l00811"></a>00811 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">GetNetworkName</a>();
-<a name="l00814"></a>00814 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">GetServerDescription</a>();
-<a name="l00820"></a>00820 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">GetAdmin</a>();
-<a name="l00839"></a>00839 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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="l00840"></a>00840
-<a name="l00862"></a>00862 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar);
-<a name="l00863"></a>00863
-<a name="l00881"></a>00881 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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);
-<a name="l00882"></a>00882
-<a name="l00904"></a>00904 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
-<a name="l00905"></a>00905
-<a name="l00918"></a>00918 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text);
-<a name="l00919"></a>00919
-<a name="l00925"></a>00925 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key);
-<a name="l00926"></a>00926
-<a name="l00932"></a>00932 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
-<a name="l00933"></a>00933
-<a name="l00939"></a>00939 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname);
-<a name="l00940"></a>00940
-<a name="l00951"></a>00951 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
-<a name="l00952"></a>00952
-<a name="l00957"></a>00957 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern);
-<a name="l00958"></a>00958
-<a name="l00970"></a>00970 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l00971"></a>00971
-<a name="l00977"></a>00977 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host);
-<a name="l00978"></a>00978
-<a name="l00984"></a>00984 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos);
-<a name="l00985"></a>00985
-<a name="l00994"></a>00994 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server);
-<a name="l00995"></a>00995
-<a name="l00999"></a>00999 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan);
-<a name="l01000"></a>01000
-<a name="l01007"></a>01007 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message);
-<a name="l01008"></a>01008
-<a name="l01015"></a>01015 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message);
-<a name="l01016"></a>01016
-<a name="l01024"></a>01024 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01025"></a>01025
-<a name="l01033"></a>01033 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">AddQLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname);
-<a name="l01034"></a>01034
-<a name="l01042"></a>01042 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">AddZLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr);
-<a name="l01043"></a>01043
-<a name="l01051"></a>01051 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddKLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01052"></a>01052
-<a name="l01060"></a>01060 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddELine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01061"></a>01061
-<a name="l01064"></a>01064 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01065"></a>01065
-<a name="l01068"></a>01068 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname);
-<a name="l01069"></a>01069
-<a name="l01072"></a>01072 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr);
-<a name="l01073"></a>01073
-<a name="l01076"></a>01076 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01077"></a>01077
-<a name="l01080"></a>01080 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
-<a name="l01081"></a>01081
-<a name="l01087"></a>01087 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> duration);
-<a name="l01088"></a>01088
-<a name="l01091"></a>01091 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask);
+<a name="l00663"></a>00663 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddQLine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickmask_29">OnAddQLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask);
+<a name="l00664"></a>00664
+<a name="l00672"></a>00672 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnAddELine_28long_20duration_2C_20userrec_20_2Asource_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">OnAddELine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l00673"></a>00673
+<a name="l00679"></a>00679 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelGLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelGLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l00680"></a>00680
+<a name="l00686"></a>00686 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelZLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20ipmask_29">OnDelZLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> ipmask);
+<a name="l00687"></a>00687
+<a name="l00693"></a>00693 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelKLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelKLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l00694"></a>00694
+<a name="l00700"></a>00700 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelQLine_28userrec_20_2Asource_2C_20std_3A_3Astring_20nickmask_29">OnDelQLine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> nickmask);
+<a name="l00701"></a>00701
+<a name="l00707"></a>00707 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnDelELine_28userrec_20_2Asource_2C_20std_3A_3Astring_20hostmask_29">OnDelELine</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l00708"></a>00708
+<a name="l00718"></a>00718 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnCleanup_28int_20target_5Ftype_2C_20void_20_2Aitem_29">OnCleanup</a>(<span class="keywordtype">int</span> target_type, <span class="keywordtype">void</span>* item);
+<a name="l00719"></a>00719
+<a name="l00729"></a>00729 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserPostNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20oldnick_29">OnUserPostNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> oldnick);
+<a name="l00730"></a>00730
+<a name="l00756"></a>00756 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAccessCheck_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20chanrec_20_2Achannel_2C_20int_20access_5Ftype_29">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);
+<a name="l00757"></a>00757
+<a name="l00762"></a>00762 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#On_30_30_35Numeric_28std_3A_3Astring_20_26output_29">On005Numeric</a>(<a class="code" href="namespaceirc.html#string">std::string</a> &amp;output);
+<a name="l00763"></a>00763
+<a name="l00777"></a>00777 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l00778"></a>00778
+<a name="l00784"></a>00784 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRemoteKill_28userrec_20_2Asource_2C_20userrec_20_2Adest_2C_20std_3A_3Astring_20reason_29">OnRemoteKill</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classuserrec.html">userrec</a>* dest, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l00785"></a>00785
+<a name="l00798"></a>00798 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnLoadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnLoadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name);
+<a name="l00799"></a>00799
+<a name="l00812"></a>00812 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUnloadModule_28Module_20_2Amod_2C_20std_3A_3Astring_20name_29">OnUnloadModule</a>(<a class="code" href="classModule.html">Module</a>* mod,<a class="code" href="namespaceirc.html#string">std::string</a> name);
+<a name="l00813"></a>00813
+<a name="l00820"></a>00820 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnBackgroundTimer_28time_5Ft_20curtime_29">OnBackgroundTimer</a>(time_t curtime);
+<a name="l00821"></a>00821
+<a name="l00832"></a>00832 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnSendList_28userrec_20_2Auser_2C_20chanrec_20_2Achannel_2C_20char_20mode_29">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="l00833"></a>00833
+<a name="l00849"></a>00849 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnPreCommand_28std_3A_3Astring_20command_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">OnPreCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> command, <span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
+<a name="l00850"></a>00850
+<a name="l00861"></a>00861 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classModule.html#OnCheckReady_28userrec_20_2Auser_29">OnCheckReady</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l00862"></a>00862
+<a name="l00871"></a>00871 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnUserRegister_28userrec_20_2Auser_29">OnUserRegister</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l00872"></a>00872
+<a name="l00885"></a>00885 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawMode_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20char_20mode_2C_20std_3A_3Astring_20param_2C_20bool_20adding_2C_20int_20pcnt_29">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, <a class="code" href="namespaceirc.html#string">std::string</a> param, <span class="keywordtype">bool</span> adding, <span class="keywordtype">int</span> pcnt);
+<a name="l00886"></a>00886
+<a name="l00895"></a>00895 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckInvite_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckInvite</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
+<a name="l00896"></a>00896
+<a name="l00906"></a>00906 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckKey_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20keygiven_29">OnCheckKey</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> keygiven);
+<a name="l00907"></a>00907
+<a name="l00916"></a>00916 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckLimit_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckLimit</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
+<a name="l00917"></a>00917
+<a name="l00926"></a>00926 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnCheckBan_28userrec_20_2Auser_2C_20chanrec_20_2Achan_29">OnCheckBan</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan);
+<a name="l00927"></a>00927
+<a name="l00932"></a>00932 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnStats_28char_20symbol_29">OnStats</a>(<span class="keywordtype">char</span> symbol);
+<a name="l00933"></a>00933
+<a name="l00940"></a>00940 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeLocalUserHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost);
+<a name="l00941"></a>00941
+<a name="l00948"></a>00948 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnChangeLocalUserGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20newhost_29">OnChangeLocalUserGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> newhost);
+<a name="l00949"></a>00949
+<a name="l00957"></a>00957 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic);
+<a name="l00958"></a>00958
+<a name="l00965"></a>00965 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnPostLocalTopicChange_28userrec_20_2Auser_2C_20chanrec_20_2Achan_2C_20std_3A_3Astring_20topic_29">OnPostLocalTopicChange</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="classchanrec.html">chanrec</a>* chan, <a class="code" href="namespaceirc.html#string">std::string</a> topic);
+<a name="l00966"></a>00966
+<a name="l00973"></a>00973 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnEvent_28Event_20_2Aevent_29">OnEvent</a>(<a class="code" href="classEvent.html">Event</a>* event);
+<a name="l00974"></a>00974
+<a name="l00982"></a>00982 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classModule.html#OnRequest_28Request_20_2Arequest_29">OnRequest</a>(<a class="code" href="classRequest.html">Request</a>* request);
+<a name="l00983"></a>00983
+<a name="l00993"></a>00993 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnOperCompare_28std_3A_3Astring_20password_2C_20std_3A_3Astring_20input_29">OnOperCompare</a>(<a class="code" href="namespaceirc.html#string">std::string</a> password, <a class="code" href="namespaceirc.html#string">std::string</a> input);
+<a name="l00994"></a>00994
+<a name="l01001"></a>01001 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalOper_28userrec_20_2Auser_29">OnGlobalOper</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l01002"></a>01002
+<a name="l01008"></a>01008 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnGlobalConnect_28userrec_20_2Auser_29">OnGlobalConnect</a>(<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l01009"></a>01009
+<a name="l01017"></a>01017 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnAddBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">OnAddBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask);
+<a name="l01018"></a>01018
+<a name="l01026"></a>01026 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnDelBan_28userrec_20_2Asource_2C_20chanrec_20_2Achannel_2C_20std_3A_3Astring_20banmask_29">OnDelBan</a>(<a class="code" href="classuserrec.html">userrec</a>* source, <a class="code" href="classchanrec.html">chanrec</a>* channel,<a class="code" href="namespaceirc.html#string">std::string</a> banmask);
+<a name="l01027"></a>01027
+<a name="l01037"></a>01037 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketAccept_28int_20fd_2C_20std_3A_3Astring_20ip_2C_20int_20localport_29">OnRawSocketAccept</a>(<span class="keywordtype">int</span> fd, <a class="code" href="namespaceirc.html#string">std::string</a> ip, <span class="keywordtype">int</span> localport);
+<a name="l01038"></a>01038
+<a name="l01049"></a>01049 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketWrite_28int_20fd_2C_20char_20_2Abuffer_2C_20int_20count_29">OnRawSocketWrite</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">char</span>* buffer, <span class="keywordtype">int</span> count);
+<a name="l01050"></a>01050
+<a name="l01055"></a>01055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classModule.html#OnRawSocketClose_28int_20fd_29">OnRawSocketClose</a>(<span class="keywordtype">int</span> fd);
+<a name="l01056"></a>01056
+<a name="l01072"></a>01072 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classModule.html#OnRawSocketRead_28int_20fd_2C_20char_20_2Abuffer_2C_20unsigned_20int_20count_2C_20int_20_26readresult_29">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);
+<a name="l01073"></a>01073 };
+<a name="l01074"></a>01074
+<a name="l01075"></a>01075
+<a name="l01081"></a><a class="code" href="classServer.html">01081</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>
+<a name="l01082"></a>01082 {
+<a name="l01083"></a>01083 <span class="keyword">public</span>:
+<a name="l01087"></a>01087 <a class="code" href="classServer.html#Server_28_29">Server</a>();
+<a name="l01091"></a>01091 <span class="keyword">virtual</span> <a class="code" href="classServer.html#_7EServer_28_29">~Server</a>();
<a name="l01092"></a>01092
-<a name="l01097"></a>01097 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name);
-<a name="l01098"></a>01098
-<a name="l01101"></a>01101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock);
-<a name="l01102"></a>01102
-<a name="l01105"></a>01105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock);
-<a name="l01106"></a>01106 };
-<a name="l01107"></a>01107
-<a name="l01108"></a>01108
-<a name="l01109"></a><a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">01109</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span>
-<a name="l01110"></a><a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">01110</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span>
-<a name="l01111"></a><a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">01111</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span>
-<a name="l01112"></a><a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">01112</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span>
-<a name="l01113"></a>01113 <span class="preprocessor"></span>
-<a name="l01114"></a>01114
-<a name="l01121"></a><a class="code" href="classConfigReader.html">01121</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>
-<a name="l01122"></a>01122 {
-<a name="l01123"></a>01123 <span class="keyword">protected</span>:
-<a name="l01129"></a><a class="code" href="classConfigReader.html#cache">01129</a> std::stringstream *<a class="code" href="classConfigReader.html#cache">cache</a>;
-<a name="l01130"></a><a class="code" href="classConfigReader.html#errorlog">01130</a> std::stringstream *<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
-<a name="l01133"></a><a class="code" href="classConfigReader.html#readerror">01133</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#readerror">readerror</a>;
-<a name="l01134"></a><a class="code" href="classConfigReader.html#error">01134</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#error">error</a>;
-<a name="l01135"></a>01135
-<a name="l01136"></a>01136 <span class="keyword">public</span>:
-<a name="l01141"></a>01141 <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
-<a name="l01145"></a>01145 <span class="comment"></span> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename); <span class="comment">// read a module-specific config</span>
-<a name="l01149"></a>01149 <span class="comment"></span> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">~ConfigReader</a>();
-<a name="l01154"></a>01154 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index);
-<a name="l01160"></a>01160 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index);
-<a name="l01169"></a>01169 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned);
-<a name="l01174"></a>01174 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">GetError</a>();
-<a name="l01181"></a>01181 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag);
-<a name="l01186"></a>01186 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">Verify</a>();
-<a name="l01193"></a>01193 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user);
-<a name="l01194"></a>01194
-<a name="l01200"></a>01200 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index);
-<a name="l01201"></a>01201 };
-<a name="l01202"></a>01202
-<a name="l01203"></a>01203
-<a name="l01204"></a>01204
-<a name="l01210"></a><a class="code" href="classFileReader.html">01210</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>
-<a name="l01211"></a>01211 {
-<a name="l01212"></a><a class="code" href="classFileReader.html#fc">01212</a> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classFileReader.html#fc">fc</a>;
-<a name="l01213"></a>01213 <span class="keyword">public</span>:
-<a name="l01218"></a>01218 <a class="code" href="classFileReader.html#FileReader_28_29">FileReader</a>();
-<a name="l01219"></a>01219
-<a name="l01225"></a>01225 <a class="code" href="classFileReader.html#FileReader_28_29">FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename);
-<a name="l01226"></a>01226
-<a name="l01230"></a>01230 <a class="code" href="classFileReader.html#_7EFileReader_28_29">~FileReader</a>();
-<a name="l01231"></a>01231
-<a name="l01237"></a>01237 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename);
-<a name="l01238"></a>01238
-<a name="l01242"></a>01242 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">Exists</a>();
-<a name="l01243"></a>01243
-<a name="l01248"></a>01248 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">GetLine</a>(<span class="keywordtype">int</span> x);
-<a name="l01249"></a>01249
-<a name="l01255"></a>01255 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileSize</a>();
-<a name="l01256"></a>01256 };
-<a name="l01257"></a>01257
-<a name="l01258"></a>01258
-<a name="l01265"></a><a class="code" href="classModuleFactory.html">01265</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>
-<a name="l01266"></a>01266 {
-<a name="l01267"></a>01267 <span class="keyword">public</span>:
-<a name="l01268"></a><a class="code" href="classModuleFactory.html#ModuleFactory_28_29">01268</a> <a class="code" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a>() { }
-<a name="l01269"></a><a class="code" href="classModuleFactory.html#_7EModuleFactory_28_29">01269</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#_7EModuleFactory_28_29">~ModuleFactory</a>() { }
-<a name="l01274"></a>01274 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#CreateModule_28_29_3D_30">CreateModule</a>() = 0;
-<a name="l01275"></a>01275 };
-<a name="l01276"></a>01276
-<a name="l01277"></a>01277
-<a name="l01278"></a><a class="code" href="modules_8h.html#ircd_5Fmodule">01278</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>;
-<a name="l01279"></a>01279
-<a name="l01280"></a>01280 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l01096"></a>01096 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendOpers_28std_3A_3Astring_20s_29">SendOpers</a>(<a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01101"></a>01101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Log_28int_20level_2C_20std_3A_3Astring_20s_29">Log</a>(<span class="keywordtype">int</span> level, <a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01106"></a>01106 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#Send_28int_20Socket_2C_20std_3A_3Astring_20s_29">Send</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01111"></a>01111 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendServ_28int_20Socket_2C_20std_3A_3Astring_20s_29">SendServ</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01115"></a>01115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannelServerNotice_28std_3A_3Astring_20ServName_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20text_29">SendChannelServerNotice</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ServName, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l01120"></a>01120 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendFrom_28int_20Socket_2C_20userrec_20_2AUser_2C_20std_3A_3Astring_20s_29">SendFrom</a>(<span class="keywordtype">int</span> Socket, <a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01135"></a>01135 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendTo_28userrec_20_2ASource_2C_20userrec_20_2ADest_2C_20std_3A_3Astring_20s_29">SendTo</a>(<a class="code" href="classuserrec.html">userrec</a>* Source, <a class="code" href="classuserrec.html">userrec</a>* Dest, <a class="code" href="namespaceirc.html#string">std::string</a> s);
+<a name="l01142"></a>01142 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChannel_2C_20std_3A_3Astring_20s_2C_20bool_20IncludeSender_29">SendChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Channel, <a class="code" href="namespaceirc.html#string">std::string</a> s,<span class="keywordtype">bool</span> IncludeSender);
+<a name="l01147"></a>01147 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#CommonChannels_28userrec_20_2Au_31_2C_20userrec_20_2Au_32_29">CommonChannels</a>(<a class="code" href="classuserrec.html">userrec</a>* u1, <a class="code" href="classuserrec.html">userrec</a>* u2);
+<a name="l01155"></a>01155 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendCommon_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_2C_20bool_20IncludeSender_29">SendCommon</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text,<span class="keywordtype">bool</span> IncludeSender);
+<a name="l01160"></a>01160 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendWallops_28userrec_20_2AUser_2C_20std_3A_3Astring_20text_29">SendWallops</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l01161"></a>01161
+<a name="l01165"></a>01165 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsNick_28std_3A_3Astring_20nick_29">IsNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick);
+<a name="l01169"></a>01169 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classServer.html#CountUsers_28chanrec_20_2Ac_29">CountUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* c);
+<a name="l01173"></a>01173 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindNick_28std_3A_3Astring_20nick_29">FindNick</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nick);
+<a name="l01177"></a>01177 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html">userrec</a>* <a class="code" href="classServer.html#FindDescriptor_28int_20socket_29">FindDescriptor</a>(<span class="keywordtype">int</span> socket);
+<a name="l01181"></a>01181 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#FindChannel_28std_3A_3Astring_20channel_29">FindChannel</a>(<a class="code" href="namespaceirc.html#string">std::string</a> channel);
+<a name="l01186"></a>01186 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#ChanMode_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">ChanMode</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
+<a name="l01190"></a>01190 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsOnChannel_28userrec_20_2AUser_2C_20chanrec_20_2AChan_29">IsOnChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* User, <a class="code" href="classchanrec.html">chanrec</a>* Chan);
+<a name="l01193"></a>01193 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerName_28_29">GetServerName</a>();
+<a name="l01196"></a>01196 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetNetworkName_28_29">GetNetworkName</a>();
+<a name="l01199"></a>01199 <span class="keyword">virtual</span> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classServer.html#GetServerDescription_28_29">GetServerDescription</a>();
+<a name="l01205"></a>01205 <span class="keyword">virtual</span> <a class="code" href="classAdmin.html">Admin</a> <a class="code" href="classServer.html#GetAdmin_28_29">GetAdmin</a>();
+<a name="l01224"></a>01224 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedMode_28char_20modechar_2C_20int_20type_2C_20bool_20requires_5Foper_2C_20int_20params_5Fwhen_5Fon_2C_20int_20params_5Fwhen_5Foff_29">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="l01225"></a>01225
+<a name="l01247"></a>01247 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#AddExtendedListMode_28char_20modechar_29">AddExtendedListMode</a>(<span class="keywordtype">char</span> modechar);
+<a name="l01248"></a>01248
+<a name="l01266"></a>01266 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddCommand_28char_20_2Acmd_2C_20handlerfunc_20f_2C_20char_20flags_2C_20int_20minparams_2C_20char_20_2Asource_29">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);
+<a name="l01267"></a>01267
+<a name="l01289"></a>01289 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendMode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">SendMode</a>(<span class="keywordtype">char</span> **parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a> *user);
+<a name="l01290"></a>01290
+<a name="l01303"></a>01303 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#SendToModeMask_28std_3A_3Astring_20modes_2C_20int_20flags_2C_20std_3A_3Astring_20text_29">SendToModeMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> modes, <span class="keywordtype">int</span> flags, <a class="code" href="namespaceirc.html#string">std::string</a> text);
+<a name="l01304"></a>01304
+<a name="l01310"></a>01310 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#JoinUserToChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20key_29">JoinUserToChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> key);
+<a name="l01311"></a>01311
+<a name="l01317"></a>01317 <span class="keyword">virtual</span> <a class="code" href="classchanrec.html">chanrec</a>* <a class="code" href="classServer.html#PartUserFromChannel_28userrec_20_2Auser_2C_20std_3A_3Astring_20cname_2C_20std_3A_3Astring_20reason_29">PartUserFromChannel</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> cname, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l01318"></a>01318
+<a name="l01324"></a>01324 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeUserNick_28userrec_20_2Auser_2C_20std_3A_3Astring_20nickname_29">ChangeUserNick</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> nickname);
+<a name="l01325"></a>01325
+<a name="l01336"></a>01336 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#QuitUser_28userrec_20_2Auser_2C_20std_3A_3Astring_20reason_29">QuitUser</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> reason);
+<a name="l01337"></a>01337
+<a name="l01342"></a>01342 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#MatchText_28std_3A_3Astring_20sliteral_2C_20std_3A_3Astring_20spattern_29">MatchText</a>(<a class="code" href="namespaceirc.html#string">std::string</a> sliteral, <a class="code" href="namespaceirc.html#string">std::string</a> spattern);
+<a name="l01343"></a>01343
+<a name="l01355"></a>01355 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#CallCommandHandler_28std_3A_3Astring_20commandname_2C_20char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">CallCommandHandler</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">char</span>** parameters, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l01356"></a>01356
+<a name="l01357"></a>01357 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidModuleCommand_28std_3A_3Astring_20commandname_2C_20int_20pcnt_2C_20userrec_20_2Auser_29">IsValidModuleCommand</a>(<a class="code" href="namespaceirc.html#string">std::string</a> commandname, <span class="keywordtype">int</span> pcnt, <a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l01358"></a>01358
+<a name="l01364"></a>01364 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeHost_28userrec_20_2Auser_2C_20std_3A_3Astring_20host_29">ChangeHost</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> host);
+<a name="l01365"></a>01365
+<a name="l01371"></a>01371 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#ChangeGECOS_28userrec_20_2Auser_2C_20std_3A_3Astring_20gecos_29">ChangeGECOS</a>(<a class="code" href="classuserrec.html">userrec</a>* user, <a class="code" href="namespaceirc.html#string">std::string</a> gecos);
+<a name="l01372"></a>01372
+<a name="l01381"></a>01381 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsUlined_28std_3A_3Astring_20server_29">IsUlined</a>(<a class="code" href="namespaceirc.html#string">std::string</a> server);
+<a name="l01382"></a>01382
+<a name="l01386"></a>01386 <span class="keyword">virtual</span> <a class="code" href="modules_8h.html#chanuserlist">chanuserlist</a> <a class="code" href="classServer.html#GetUsers_28chanrec_20_2Achan_29">GetUsers</a>(<a class="code" href="classchanrec.html">chanrec</a>* chan);
+<a name="l01387"></a>01387
+<a name="l01394"></a>01394 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#UserToPseudo_28userrec_20_2Auser_2C_20std_3A_3Astring_20message_29">UserToPseudo</a>(<a class="code" href="classuserrec.html">userrec</a>* user,<a class="code" href="namespaceirc.html#string">std::string</a> message);
+<a name="l01395"></a>01395
+<a name="l01402"></a>01402 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#PseudoToUser_28userrec_20_2Aalive_2C_20userrec_20_2Azombie_2C_20std_3A_3Astring_20message_29">PseudoToUser</a>(<a class="code" href="classuserrec.html">userrec</a>* alive,<a class="code" href="classuserrec.html">userrec</a>* zombie,<a class="code" href="namespaceirc.html#string">std::string</a> message);
+<a name="l01403"></a>01403
+<a name="l01411"></a>01411 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddGLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddGLine</a>(<span class="keywordtype">long</span> <a class="code" href="commands_8h.html#duration_28const_20char_20_2Astr_29">duration</a>, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01412"></a>01412
+<a name="l01420"></a>01420 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddQLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20nickname_29">AddQLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> nickname);
+<a name="l01421"></a>01421
+<a name="l01429"></a>01429 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddZLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20ipaddr_29">AddZLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> ipaddr);
+<a name="l01430"></a>01430
+<a name="l01438"></a>01438 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddKLine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddKLine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01439"></a>01439
+<a name="l01447"></a>01447 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddELine_28long_20duration_2C_20std_3A_3Astring_20source_2C_20std_3A_3Astring_20reason_2C_20std_3A_3Astring_20hostmask_29">AddELine</a>(<span class="keywordtype">long</span> duration, <a class="code" href="namespaceirc.html#string">std::string</a> source, <a class="code" href="namespaceirc.html#string">std::string</a> reason, <a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01448"></a>01448
+<a name="l01451"></a>01451 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelGLine_28std_3A_3Astring_20hostmask_29">DelGLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01452"></a>01452
+<a name="l01455"></a>01455 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelQLine_28std_3A_3Astring_20nickname_29">DelQLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> nickname);
+<a name="l01456"></a>01456
+<a name="l01459"></a>01459 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelZLine_28std_3A_3Astring_20ipaddr_29">DelZLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> ipaddr);
+<a name="l01460"></a>01460
+<a name="l01463"></a>01463 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelKLine_28std_3A_3Astring_20hostmask_29">DelKLine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01464"></a>01464
+<a name="l01467"></a>01467 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#DelELine_28std_3A_3Astring_20hostmask_29">DelELine</a>(<a class="code" href="namespaceirc.html#string">std::string</a> hostmask);
+<a name="l01468"></a>01468
+<a name="l01474"></a>01474 <span class="keyword">virtual</span> <span class="keywordtype">long</span> <a class="code" href="classServer.html#CalcDuration_28std_3A_3Astring_20duration_29">CalcDuration</a>(<a class="code" href="namespaceirc.html#string">std::string</a> duration);
+<a name="l01475"></a>01475
+<a name="l01478"></a>01478 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classServer.html#IsValidMask_28std_3A_3Astring_20mask_29">IsValidMask</a>(<a class="code" href="namespaceirc.html#string">std::string</a> mask);
+<a name="l01479"></a>01479
+<a name="l01484"></a>01484 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a>* <a class="code" href="classServer.html#FindModule_28std_3A_3Astring_20name_29">FindModule</a>(<a class="code" href="namespaceirc.html#string">std::string</a> name);
+<a name="l01485"></a>01485
+<a name="l01488"></a>01488 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#AddSocket_28InspSocket_20_2Asock_29">AddSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock);
+<a name="l01489"></a>01489
+<a name="l01492"></a>01492 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#DelSocket_28InspSocket_20_2Asock_29">DelSocket</a>(<a class="code" href="classInspSocket.html">InspSocket</a>* sock);
+<a name="l01493"></a>01493
+<a name="l01494"></a>01494 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classServer.html#RehashServer_28_29">RehashServer</a>();
+<a name="l01495"></a>01495 };
+<a name="l01496"></a>01496
+<a name="l01497"></a>01497
+<a name="l01498"></a><a class="code" href="modules_8h.html#CONF_5FNOT_5FA_5FNUMBER">01498</a> <span class="preprocessor">#define CONF_NOT_A_NUMBER 0x000010</span>
+<a name="l01499"></a><a class="code" href="modules_8h.html#CONF_5FNOT_5FUNSIGNED">01499</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_NOT_UNSIGNED 0x000080</span>
+<a name="l01500"></a><a class="code" href="modules_8h.html#CONF_5FVALUE_5FNOT_5FFOUND">01500</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_VALUE_NOT_FOUND 0x000100</span>
+<a name="l01501"></a><a class="code" href="modules_8h.html#CONF_5FFILE_5FNOT_5FFOUND">01501</a> <span class="preprocessor"></span><span class="preprocessor">#define CONF_FILE_NOT_FOUND 0x000200</span>
+<a name="l01502"></a>01502 <span class="preprocessor"></span>
+<a name="l01503"></a>01503
+<a name="l01510"></a><a class="code" href="classConfigReader.html">01510</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>
+<a name="l01511"></a>01511 {
+<a name="l01512"></a>01512 <span class="keyword">protected</span>:
+<a name="l01518"></a><a class="code" href="classConfigReader.html#cache">01518</a> std::stringstream *<a class="code" href="classConfigReader.html#cache">cache</a>;
+<a name="l01519"></a><a class="code" href="classConfigReader.html#errorlog">01519</a> std::stringstream *<a class="code" href="classConfigReader.html#errorlog">errorlog</a>;
+<a name="l01522"></a><a class="code" href="classConfigReader.html#readerror">01522</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#readerror">readerror</a>;
+<a name="l01523"></a><a class="code" href="classConfigReader.html#error">01523</a> <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#error">error</a>;
+<a name="l01524"></a>01524
+<a name="l01525"></a>01525 <span class="keyword">public</span>:
+<a name="l01530"></a>01530 <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader</a>(); <span class="comment">// default constructor reads ircd.conf</span>
+<a name="l01534"></a>01534 <span class="comment"></span> <a class="code" href="classConfigReader.html#ConfigReader_28_29">ConfigReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename); <span class="comment">// read a module-specific config</span>
+<a name="l01538"></a>01538 <span class="comment"></span> <a class="code" href="classConfigReader.html#_7EConfigReader_28_29">~ConfigReader</a>();
+<a name="l01543"></a>01543 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classConfigReader.html#ReadValue_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ReadValue</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index);
+<a name="l01549"></a>01549 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#ReadFlag_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_29">ReadFlag</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index);
+<a name="l01558"></a>01558 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#ReadInteger_28std_3A_3Astring_20tag_2C_20std_3A_3Astring_20name_2C_20int_20index_2C_20bool_20needs_5Funsigned_29">ReadInteger</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <a class="code" href="namespaceirc.html#string">std::string</a> name, <span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> needs_unsigned);
+<a name="l01563"></a>01563 <span class="keywordtype">long</span> <a class="code" href="classConfigReader.html#GetError_28_29">GetError</a>();
+<a name="l01570"></a>01570 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#Enumerate_28std_3A_3Astring_20tag_29">Enumerate</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag);
+<a name="l01575"></a>01575 <span class="keywordtype">bool</span> <a class="code" href="classConfigReader.html#Verify_28_29">Verify</a>();
+<a name="l01582"></a>01582 <span class="keywordtype">void</span> <a class="code" href="classConfigReader.html#DumpErrors_28bool_20bail_2C_20userrec_20_2Auser_29">DumpErrors</a>(<span class="keywordtype">bool</span> bail,<a class="code" href="classuserrec.html">userrec</a>* user);
+<a name="l01583"></a>01583
+<a name="l01589"></a>01589 <span class="keywordtype">int</span> <a class="code" href="classConfigReader.html#EnumerateValues_28std_3A_3Astring_20tag_2C_20int_20index_29">EnumerateValues</a>(<a class="code" href="namespaceirc.html#string">std::string</a> tag, <span class="keywordtype">int</span> index);
+<a name="l01590"></a>01590 };
+<a name="l01591"></a>01591
+<a name="l01592"></a>01592
+<a name="l01593"></a>01593
+<a name="l01599"></a><a class="code" href="classFileReader.html">01599</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>
+<a name="l01600"></a>01600 {
+<a name="l01601"></a><a class="code" href="classFileReader.html#fc">01601</a> <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> <a class="code" href="classFileReader.html#fc">fc</a>;
+<a name="l01602"></a>01602 <span class="keyword">public</span>:
+<a name="l01607"></a>01607 <a class="code" href="classFileReader.html#FileReader_28_29">FileReader</a>();
+<a name="l01608"></a>01608
+<a name="l01614"></a>01614 <a class="code" href="classFileReader.html#FileReader_28_29">FileReader</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename);
+<a name="l01615"></a>01615
+<a name="l01619"></a>01619 <a class="code" href="classFileReader.html#_7EFileReader_28_29">~FileReader</a>();
+<a name="l01620"></a>01620
+<a name="l01626"></a>01626 <span class="keywordtype">void</span> <a class="code" href="classFileReader.html#LoadFile_28std_3A_3Astring_20filename_29">LoadFile</a>(<a class="code" href="namespaceirc.html#string">std::string</a> filename);
+<a name="l01627"></a>01627
+<a name="l01631"></a>01631 <span class="keywordtype">bool</span> <a class="code" href="classFileReader.html#Exists_28_29">Exists</a>();
+<a name="l01632"></a>01632
+<a name="l01637"></a>01637 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classFileReader.html#GetLine_28int_20x_29">GetLine</a>(<span class="keywordtype">int</span> x);
+<a name="l01638"></a>01638
+<a name="l01644"></a>01644 <span class="keywordtype">int</span> <a class="code" href="classFileReader.html#FileSize_28_29">FileSize</a>();
+<a name="l01645"></a>01645 };
+<a name="l01646"></a>01646
+<a name="l01647"></a>01647
+<a name="l01654"></a><a class="code" href="classModuleFactory.html">01654</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>
+<a name="l01655"></a>01655 {
+<a name="l01656"></a>01656 <span class="keyword">public</span>:
+<a name="l01657"></a><a class="code" href="classModuleFactory.html#ModuleFactory_28_29">01657</a> <a class="code" href="classModuleFactory.html#ModuleFactory_28_29">ModuleFactory</a>() { }
+<a name="l01658"></a><a class="code" href="classModuleFactory.html#_7EModuleFactory_28_29">01658</a> <span class="keyword">virtual</span> <a class="code" href="classModuleFactory.html#_7EModuleFactory_28_29">~ModuleFactory</a>() { }
+<a name="l01663"></a>01663 <span class="keyword">virtual</span> <a class="code" href="classModule.html">Module</a> * <a class="code" href="classModuleFactory.html#CreateModule_28Server_20_2AMe_29_3D_30">CreateModule</a>(<a class="code" href="classServer.html">Server</a>* Me) = 0;
+<a name="l01664"></a>01664 };
+<a name="l01665"></a>01665
+<a name="l01666"></a>01666
+<a name="l01667"></a><a class="code" href="modules_8h.html#ircd_5Fmodule">01667</a> <span class="keyword">typedef</span> DLLFactory&lt;ModuleFactory&gt; <a class="code" href="modules_8h.html#ircd_5Fmodule">ircd_module</a>;
+<a name="l01668"></a>01668
+<a name="l01669"></a>01669 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/modules_8h.html b/docs/module-doc/modules_8h.html
index d6c773aec..e10dfd7ea 100644
--- a/docs/module-doc/modules_8h.html
+++ b/docs/module-doc/modules_8h.html
@@ -18,9 +18,9 @@
<p>
Include dependency graph for modules.h:<p><center><img src="modules_8h__incl.gif" border="0" usemap="#modules.h_map" alt=""></center>
<map name="modules.h_map">
-<area href="base_8h-source.html" shape="rect" coords="291,44,352,71" alt="">
-<area href="ctables_8h-source.html" shape="rect" coords="146,145,220,172" alt="">
-<area href="socket_8h-source.html" shape="rect" coords="147,323,219,349" alt="">
+<area href="base_8h-source.html" shape="rect" coords="291,108,352,135" alt="">
+<area href="ctables_8h-source.html" shape="rect" coords="146,58,220,84" alt="">
+<area href="socket_8h-source.html" shape="rect" coords="147,362,219,388" alt="">
</map>
<p>
@@ -67,6 +67,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#DEBUG">DEBUG</a>&nbsp;&nbsp;&nbsp;10</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">log levels <a href="#DEBUG"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VERBOSE">VERBOSE</a>&nbsp;&nbsp;&nbsp;20</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#DEFAULT">DEFAULT</a>&nbsp;&nbsp;&nbsp;30</td></tr>
@@ -77,12 +78,14 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FCHANNEL">MT_CHANNEL</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used with OnExtendedMode() method of modules. <a href="#MT_5FCHANNEL"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FCLIENT">MT_CLIENT</a>&nbsp;&nbsp;&nbsp;2</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#MT_5FSERVER">MT_SERVER</a>&nbsp;&nbsp;&nbsp;3</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FDEFAULT">ACR_DEFAULT</a>&nbsp;&nbsp;&nbsp;0</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used with OnAccessCheck() method of modules. <a href="#ACR_5FDEFAULT"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FDENY">ACR_DENY</a>&nbsp;&nbsp;&nbsp;1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#ACR_5FALLOW">ACR_ALLOW</a>&nbsp;&nbsp;&nbsp;2</td></tr>
@@ -107,6 +110,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FSTATIC">VF_STATIC</a>&nbsp;&nbsp;&nbsp;1</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used to define a set of behavior bits for a module. <a href="#VF_5FSTATIC"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FVENDOR">VF_VENDOR</a>&nbsp;&nbsp;&nbsp;2</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="modules_8h.html#VF_5FSERVICEPROVIDER">VF_SERVICEPROVIDER</a>&nbsp;&nbsp;&nbsp;4</td></tr>
@@ -167,7 +171,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00047">47</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#l00046">46</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FDEOP"></a><!-- doxytag: member="modules.h::AC_DEOP" ref="AC_5FDEOP" args="" --><p>
@@ -192,7 +196,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00047">47</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00042">42</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#l00041">41</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FDEVOICE"></a><!-- doxytag: member="modules.h::AC_DEVOICE" ref="AC_5FDEVOICE" args="" --><p>
@@ -217,7 +221,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00042">42</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00045">45</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#l00044">44</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FGENERAL_5FMODE"></a><!-- doxytag: member="modules.h::AC_GENERAL_MODE" ref="AC_5FGENERAL_5FMODE" args="" --><p>
@@ -242,7 +246,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00045">45</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00049">49</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#l00048">48</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FHALFOP"></a><!-- doxytag: member="modules.h::AC_HALFOP" ref="AC_5FHALFOP" args="" --><p>
@@ -267,7 +271,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00049">49</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00046">46</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#l00045">45</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FINVITE"></a><!-- doxytag: member="modules.h::AC_INVITE" ref="AC_5FINVITE" args="" --><p>
@@ -292,7 +296,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00046">46</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00048">48</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#l00047">47</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FKICK"></a><!-- doxytag: member="modules.h::AC_KICK" ref="AC_5FKICK" args="" --><p>
@@ -317,7 +321,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00048">48</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00041">41</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#l00040">40</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FOP"></a><!-- doxytag: member="modules.h::AC_OP" ref="AC_5FOP" args="" --><p>
@@ -342,7 +346,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00041">41</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00043">43</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#l00042">42</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="AC_5FVOICE"></a><!-- doxytag: member="modules.h::AC_VOICE" ref="AC_5FVOICE" args="" --><p>
@@ -367,7 +371,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00043">43</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00044">44</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#l00043">43</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="ACR_5FALLOW"></a><!-- doxytag: member="modules.h::ACR_ALLOW" ref="ACR_5FALLOW" args="" --><p>
@@ -415,11 +419,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00039">39</a> of
<td>
<p>
+Used with OnAccessCheck() method of modules.
+<p>
<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#l00328">Module::OnAccessCheck()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00330">Module::OnAccessCheck()</a>. </td>
</tr>
</table>
<a class="anchor" name="ACR_5FDENY"></a><!-- doxytag: member="modules.h::ACR_DENY" ref="ACR_5FDENY" args="" --><p>
@@ -469,9 +475,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#l01112">1112</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#l01501">1501</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#l00796">ConfigReader::ConfigReader()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader::ConfigReader()</a>. </td>
</tr>
</table>
<a class="anchor" name="CONF_5FNOT_5FA_5FNUMBER"></a><!-- doxytag: member="modules.h::CONF_NOT_A_NUMBER" ref="CONF_5FNOT_5FA_5FNUMBER" args="" --><p>
@@ -496,9 +502,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00796">ConfigReader:
<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#l01498">1498</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#l00858">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a class="anchor" name="CONF_5FNOT_5FUNSIGNED"></a><!-- doxytag: member="modules.h::CONF_NOT_UNSIGNED" ref="CONF_5FNOT_5FUNSIGNED" args="" --><p>
@@ -523,9 +529,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">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#l01499">1499</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#l00858">ConfigReader::ReadInteger()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00896">ConfigReader::ReadInteger()</a>. </td>
</tr>
</table>
<a class="anchor" name="CONF_5FVALUE_5FNOT_5FFOUND"></a><!-- doxytag: member="modules.h::CONF_VALUE_NOT_FOUND" ref="CONF_5FVALUE_5FNOT_5FFOUND" args="" --><p>
@@ -550,9 +556,9 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00858">ConfigReader:
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01111">1111</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#l01500">1500</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#l00841">ConfigReader::ReadFlag()</a>, <a class="el" href="modules_8cpp-source.html#l00858">ConfigReader::ReadInteger()</a>, and <a class="el" href="modules_8cpp-source.html#l00825">ConfigReader::ReadValue()</a>. </td>
+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>
</tr>
</table>
<a class="anchor" name="DEBUG"></a><!-- doxytag: member="modules.h::DEBUG" ref="DEBUG" args="" --><p>
@@ -575,11 +581,13 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00841">ConfigReader:
<td>
<p>
+log levels
+<p>
<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#l00597">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00195">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::DelUser()</a>, <a class="el" href="users_8cpp-source.html#l00142">userrec::HasPermission()</a>, <a class="el" href="socket_8cpp-source.html#l00057">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00169">chanrec::IsCustomModeSet()</a>, <a class="el" href="socket_8cpp-source.html#l00141">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00076">userrec::ReadData()</a>, <a class="el" href="users_8cpp-source.html#l00120">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00138">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00227">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00288">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00635">Server::AddExtendedMode()</a>, <a class="el" href="channels_8cpp-source.html#l00195">chanrec::AddUser()</a>, <a class="el" href="channels_8cpp-source.html#l00201">chanrec::DelUser()</a>, <a class="el" href="socket_8cpp-source.html#l00058">InspSocket::InspSocket()</a>, <a class="el" href="channels_8cpp-source.html#l00169">chanrec::IsCustomModeSet()</a>, <a class="el" href="socket_8cpp-source.html#l00149">InspSocket::Read()</a>, <a class="el" href="users_8cpp-source.html#l00085">userrec::ReadData()</a>, <a class="el" href="users_8cpp-source.html#l00129">userrec::RemoveInvite()</a>, <a class="el" href="channels_8cpp-source.html#l00113">chanrec::SetCustomMode()</a>, <a class="el" href="channels_8cpp-source.html#l00138">chanrec::SetCustomModeParam()</a>, <a class="el" href="socket_8cpp-source.html#l00235">InspSocket::SetState()</a>, <a class="el" href="users_8cpp-source.html#l00299">userrec::SetWriteError()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a class="anchor" name="DEFAULT"></a><!-- doxytag: member="modules.h::DEFAULT" ref="DEFAULT" args="" --><p>
@@ -629,9 +637,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00025">25</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00100">100</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#l00101">101</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#l00670">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00639">Server::UserToPseudo()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00708">Server::PseudoToUser()</a>, and <a class="el" href="modules_8cpp-source.html#l00677">Server::UserToPseudo()</a>. </td>
</tr>
</table>
<a class="anchor" name="FOREACH_5FMOD"></a><!-- doxytag: member="modules.h::FOREACH_MOD" ref="FOREACH_5FMOD" args="" --><p>
@@ -656,7 +664,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00670">Server::Pseud
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00080">80</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#l00081">81</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#l00293">Event::Send()</a>. </td>
</tr>
@@ -697,7 +705,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00293">Event::Send()
}
</pre></div>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00088">88</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#l00089">89</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="MT_5FCHANNEL"></a><!-- doxytag: member="modules.h::MT_CHANNEL" ref="MT_5FCHANNEL" args="" --><p>
@@ -720,11 +728,13 @@ Definition at line <a class="el" href="modules_8h-source.html#l00088">88</a> of
<td>
<p>
+Used with OnExtendedMode() method of modules.
+<p>
<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#l00625">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00663">Server::AddExtendedListMode()</a>, and <a class="el" href="modules_8cpp-source.html#l00231">ModeMakeList()</a>. </td>
</tr>
</table>
<a class="anchor" name="MT_5FCLIENT"></a><!-- doxytag: member="modules.h::MT_CLIENT" ref="MT_5FCLIENT" args="" --><p>
@@ -751,7 +761,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00625">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#l00597">Server::AddExtendedMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00635">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a class="anchor" name="MT_5FSERVER"></a><!-- doxytag: member="modules.h::MT_SERVER" ref="MT_5FSERVER" args="" --><p>
@@ -778,7 +788,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00597">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#l00597">Server::AddExtendedMode()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00635">Server::AddExtendedMode()</a>. </td>
</tr>
</table>
<a class="anchor" name="NONE"></a><!-- doxytag: member="modules.h::NONE" ref="NONE" args="" --><p>
@@ -878,7 +888,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00024">24</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00056">56</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#l00055">55</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="VF_5FSERVICEPROVIDER"></a><!-- doxytag: member="modules.h::VF_SERVICEPROVIDER" ref="VF_5FSERVICEPROVIDER" args="" --><p>
@@ -903,7 +913,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00056">56</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00055">55</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#l00054">54</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="VF_5FSTATIC"></a><!-- doxytag: member="modules.h::VF_STATIC" ref="VF_5FSTATIC" args="" --><p>
@@ -926,9 +936,11 @@ Definition at line <a class="el" href="modules_8h-source.html#l00055">55</a> of
<td>
<p>
+Used to define a set of behavior bits for a module.
+<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00053">53</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#l00052">52</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="VF_5FVENDOR"></a><!-- doxytag: member="modules.h::VF_VENDOR" ref="VF_5FVENDOR" args="" --><p>
@@ -953,9 +965,9 @@ Definition at line <a class="el" href="modules_8h-source.html#l00053">53</a> of
<p>
<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>.
+Definition at line <a class="el" href="modules_8h-source.html#l00053">53</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#l00319">Module::GetVersion()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00321">Module::GetVersion()</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@@ -983,7 +995,7 @@ Holds a list of users in a channel.
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00073">73</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#l00074">74</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="file_5Fcache"></a><!-- doxytag: member="modules.h::file_cache" ref="file_5Fcache" args="" --><p>
@@ -1010,7 +1022,7 @@ Low level definition of a <a class="el" href="classFileReader.html">FileReader</
<p>
<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>. </td>
+Definition at line <a class="el" href="modules_8h-source.html#l00065">65</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="ircd_5Fmodule"></a><!-- doxytag: member="modules.h::ircd_module" ref="ircd_5Fmodule" args="" --><p>
@@ -1035,7 +1047,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00068">68</a> of
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l01278">1278</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#l01667">1667</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<a class="anchor" name="string_5Flist"></a><!-- doxytag: member="modules.h::string_list" ref="string_5Flist" args="" --><p>
@@ -1060,7 +1072,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l01278">1278</a> o
<p>
<p>
-Definition at line <a class="el" href="modules_8h-source.html#l00069">69</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#l00070">70</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
</tr>
</table>
<hr><h2>Function Documentation</h2>
@@ -1118,7 +1130,7 @@ Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::AddCommand()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00495">Server::AddCommand()</a>. </td>
</tr>
</table>
<a class="anchor" name="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29"></a><!-- doxytag: member="modules.h::server_mode" ref="server_5Fmode_28char_20_2A_2Aparameters_2C_20int_20pcnt_2C_20userrec_20_2Auser_29" args="(char **parameters, int pcnt, userrec *user)" --><p>
@@ -1164,7 +1176,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00457">Server::AddCo
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/modules_8h__incl.gif b/docs/module-doc/modules_8h__incl.gif
index 90c81185e..03bf0ebbd 100644
--- a/docs/module-doc/modules_8h__incl.gif
+++ b/docs/module-doc/modules_8h__incl.gif
Binary files differ
diff --git a/docs/module-doc/modules_8h__incl.map b/docs/module-doc/modules_8h__incl.map
index 2214f2413..370fb51f0 100644
--- a/docs/module-doc/modules_8h__incl.map
+++ b/docs/module-doc/modules_8h__incl.map
@@ -1,4 +1,4 @@
base referer
-rect $base_8h-source.html 291,44 352,71
-rect $ctables_8h-source.html 146,145 220,172
-rect $socket_8h-source.html 147,323 219,349
+rect $base_8h-source.html 291,108 352,135
+rect $ctables_8h-source.html 146,58 220,84
+rect $socket_8h-source.html 147,362 219,388
diff --git a/docs/module-doc/modules_8h__incl.md5 b/docs/module-doc/modules_8h__incl.md5
index cf971d90c..ea64f75bc 100644
--- a/docs/module-doc/modules_8h__incl.md5
+++ b/docs/module-doc/modules_8h__incl.md5
@@ -1 +1 @@
-5b86268e2f91690fd1ce3d798c0f701b \ No newline at end of file
+11f79d4fade25dd250e5607e0123fc19 \ No newline at end of file
diff --git a/docs/module-doc/namespaceirc.html b/docs/module-doc/namespaceirc.html
index cbdb82a4b..1d19f74f2 100644
--- a/docs/module-doc/namespaceirc.html
+++ b/docs/module-doc/namespaceirc.html
@@ -56,7 +56,7 @@ This typedef declares <a class="el" href="namespaceirc.html#string">irc::string<
Definition at line <a class="el" href="hashcomp_8h-source.html#l00129">129</a> of file <a class="el" href="hashcomp_8h-source.html">hashcomp.h</a>. </td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/namespacemembers.html b/docs/module-doc/namespacemembers.html
index e7d8b4e31..e5032f8de 100644
--- a/docs/module-doc/namespacemembers.html
+++ b/docs/module-doc/namespacemembers.html
@@ -11,7 +11,7 @@ Here is a list of all namespace members with links to the namespace documentatio
<ul>
<li>string
: <a class="el" href="namespaceirc.html#string">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/namespacemembers_type.html b/docs/module-doc/namespacemembers_type.html
index ec8cc3b9c..c3edcd117 100644
--- a/docs/module-doc/namespacemembers_type.html
+++ b/docs/module-doc/namespacemembers_type.html
@@ -11,7 +11,7 @@
<ul>
<li>string
: <a class="el" href="namespaceirc.html#string">irc</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:14 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/namespacenspace.html b/docs/module-doc/namespacenspace.html
index 96ae0a3b0..d22c8eef6 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_1hash_3_01string_01_4.html">hash&lt; string &gt;</a></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/namespaces.html b/docs/module-doc/namespaces.html
index 650759e44..5d3391290 100644
--- a/docs/module-doc/namespaces.html
+++ b/docs/module-doc/namespaces.html
@@ -10,7 +10,7 @@
<tr><td class="indexkey"><a class="el" href="namespacenspace.html">nspace</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="namespacestd.html">std</a></td><td class="indexvalue"></td></tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/namespacestd.html b/docs/module-doc/namespacestd.html
index 458862b34..cf71bb1fe 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 Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/socket_8cpp-source.html b/docs/module-doc/socket_8cpp-source.html
index b11873f4e..bdd849a0d 100644
--- a/docs/module-doc/socket_8cpp-source.html
+++ b/docs/module-doc/socket_8cpp-source.html
@@ -57,211 +57,219 @@
<a name="l00048"></a>00048 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FDISCONNECTED">I_DISCONNECTED</a>;
<a name="l00049"></a>00049 }
<a name="l00050"></a>00050
-<a name="l00051"></a><a class="code" href="classInspSocket.html#InspSocket_28int_20newfd_29">00051</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<span class="keywordtype">int</span> newfd)
+<a name="l00051"></a><a class="code" href="classInspSocket.html#InspSocket_28int_20newfd_2C_20char_20_2Aip_29">00051</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip)
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = newfd;
<a name="l00054"></a>00054 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>;
-<a name="l00055"></a>00055 }
-<a name="l00056"></a>00056
-<a name="l00057"></a><a class="code" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">00057</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host, <span class="keywordtype">int</span> port, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime)
-<a name="l00058"></a>00058 {
-<a name="l00059"></a>00059 <span class="keywordflow">if</span> (listening) {
-<a name="l00060"></a>00060 <span class="keywordflow">if</span> ((this-&gt;fd = OpenTCPSocket()) == ERROR)
-<a name="l00061"></a>00061 {
-<a name="l00062"></a>00062 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00063"></a>00063 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00064"></a>00064 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
-<a name="l00065"></a>00065 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>);
-<a name="l00066"></a>00066 <span class="keywordflow">return</span>;
-<a name="l00067"></a>00067 }
-<a name="l00068"></a>00068 <span class="keywordflow">else</span>
-<a name="l00069"></a>00069 {
-<a name="l00070"></a>00070 <span class="keywordflow">if</span> (BindSocket(this-&gt;fd,this-&gt;client,this-&gt;server,port,(<span class="keywordtype">char</span>*)host.c_str()) == ERROR)
-<a name="l00071"></a>00071 {
-<a name="l00072"></a>00072 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00073"></a>00073 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00074"></a>00074 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00075"></a>00075 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>);
-<a name="l00076"></a>00076 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno));
-<a name="l00077"></a>00077 <span class="keywordflow">return</span>;
-<a name="l00078"></a>00078 }
-<a name="l00079"></a>00079 <span class="keywordflow">else</span>
-<a name="l00080"></a>00080 {
-<a name="l00081"></a>00081 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>;
-<a name="l00082"></a>00082 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>);
-<a name="l00083"></a>00083 <span class="keywordflow">return</span>;
-<a name="l00084"></a>00084 }
-<a name="l00085"></a>00085 }
-<a name="l00086"></a>00086 } <span class="keywordflow">else</span> {
-<a name="l00087"></a>00087 <span class="keywordtype">char</span>* ip;
-<a name="l00088"></a>00088 this-&gt;host = host;
-<a name="l00089"></a>00089 hostent* hoste = gethostbyname(host.c_str());
-<a name="l00090"></a>00090 <span class="keywordflow">if</span> (!hoste) {
-<a name="l00091"></a>00091 ip = (<span class="keywordtype">char</span>*)host.c_str();
-<a name="l00092"></a>00092 } <span class="keywordflow">else</span> {
-<a name="l00093"></a>00093 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste-&gt;h_addr;
-<a name="l00094"></a>00094 ip = inet_ntoa(*ia);
-<a name="l00095"></a>00095 }
-<a name="l00096"></a>00096
-<a name="l00097"></a>00097 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime;
-<a name="l00098"></a>00098 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>;
-<a name="l00099"></a>00099 <span class="keywordflow">if</span> ((this-&gt;fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
-<a name="l00100"></a>00100 {
-<a name="l00101"></a>00101 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00102"></a>00102 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
-<a name="l00103"></a>00103 <span class="keywordflow">return</span>;
-<a name="l00104"></a>00104 }
-<a name="l00105"></a>00105 this-&gt;port = port;
-<a name="l00106"></a>00106 inet_aton(ip,&amp;<a class="code" href="classInspSocket.html#addy">addy</a>);
-<a name="l00107"></a>00107 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET;
-<a name="l00108"></a>00108 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>;
-<a name="l00109"></a>00109 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this-&gt;port);
-<a name="l00110"></a>00110
-<a name="l00111"></a>00111 <span class="keywordtype">int</span> flags;
-<a name="l00112"></a>00112 flags = fcntl(this-&gt;fd, F_GETFL, 0);
-<a name="l00113"></a>00113 fcntl(this-&gt;fd, F_SETFL, flags | O_NONBLOCK);
-<a name="l00114"></a>00114
-<a name="l00115"></a>00115 <span class="keywordflow">if</span>(connect(this-&gt;fd, (sockaddr*)&amp;this-&gt;addr,<span class="keyword">sizeof</span>(this-&gt;addr)) == -1)
-<a name="l00116"></a>00116 {
-<a name="l00117"></a>00117 <span class="keywordflow">if</span> (errno != EINPROGRESS)
-<a name="l00118"></a>00118 {
-<a name="l00119"></a>00119 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00120"></a>00120 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>);
-<a name="l00121"></a>00121 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00122"></a>00122 <span class="keywordflow">return</span>;
-<a name="l00123"></a>00123 }
-<a name="l00124"></a>00124 }
-<a name="l00125"></a>00125 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>;
-<a name="l00126"></a>00126 <span class="keywordflow">return</span>;
-<a name="l00127"></a>00127 }
-<a name="l00128"></a>00128 }
-<a name="l00129"></a>00129
-<a name="l00130"></a><a class="code" href="classInspSocket.html#Close_28_29">00130</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">InspSocket::Close</a>()
-<a name="l00131"></a>00131 {
-<a name="l00132"></a>00132 <span class="keywordflow">if</span> (this-&gt;fd != -1)
-<a name="l00133"></a>00133 {
-<a name="l00134"></a>00134 this-&gt;<a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
-<a name="l00135"></a>00135 shutdown(this-&gt;fd,2);
-<a name="l00136"></a>00136 close(this-&gt;fd);
-<a name="l00137"></a>00137 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
-<a name="l00138"></a>00138 }
-<a name="l00139"></a>00139 }
-<a name="l00140"></a>00140
-<a name="l00141"></a><a class="code" href="classInspSocket.html#Read_28_29">00141</a> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">InspSocket::Read</a>()
-<a name="l00142"></a>00142 {
-<a name="l00143"></a>00143 <span class="keywordtype">int</span> n = recv(this-&gt;fd,this-&gt;ibuf,<span class="keyword">sizeof</span>(this-&gt;ibuf),0);
-<a name="l00144"></a>00144 <span class="keywordflow">if</span> (n &gt; 0)
-<a name="l00145"></a>00145 {
-<a name="l00146"></a>00146 <a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a>[n] = 0;
-<a name="l00147"></a>00147 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a>;
-<a name="l00148"></a>00148 }
-<a name="l00149"></a>00149 <span class="keywordflow">else</span>
-<a name="l00150"></a>00150 {
-<a name="l00151"></a>00151 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>);
-<a name="l00152"></a>00152 <span class="keywordflow">return</span> NULL;
-<a name="l00153"></a>00153 }
-<a name="l00154"></a>00154 }
-<a name="l00155"></a>00155
-<a name="l00156"></a>00156 <span class="comment">// There are two possible outcomes to this function.</span>
-<a name="l00157"></a>00157 <span class="comment">// It will either write all of the data, or an undefined amount.</span>
-<a name="l00158"></a>00158 <span class="comment">// If an undefined amount is written the connection has failed</span>
-<a name="l00159"></a>00159 <span class="comment">// and should be aborted.</span>
-<a name="l00160"></a><a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">00160</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket::Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data)
-<a name="l00161"></a>00161 {
-<a name="l00162"></a>00162 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str();
-<a name="l00163"></a>00163 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0;
-<a name="l00164"></a>00164 <span class="keywordtype">int</span> n = 0;
-<a name="l00165"></a>00165 <span class="keywordtype">int</span> s = data.length();
-<a name="l00166"></a>00166 <span class="keywordflow">while</span> ((written &lt; data.length()) &amp;&amp; (n &gt;= 0))
-<a name="l00167"></a>00167 {
-<a name="l00168"></a>00168 n = send(this-&gt;fd,d,s,0);
-<a name="l00169"></a>00169 <span class="keywordflow">if</span> (n &gt; 0)
-<a name="l00170"></a>00170 {
-<a name="l00171"></a>00171 <span class="comment">// If we didnt write everything, advance</span>
-<a name="l00172"></a>00172 <span class="comment">// the pointers so that when we retry</span>
-<a name="l00173"></a>00173 <span class="comment">// the next time around the loop, we try</span>
-<a name="l00174"></a>00174 <span class="comment">// to write what we failed to write before.</span>
-<a name="l00175"></a>00175 written += n;
-<a name="l00176"></a>00176 s -= n;
-<a name="l00177"></a>00177 d += n;
-<a name="l00178"></a>00178 }
-<a name="l00179"></a>00179 }
-<a name="l00180"></a>00180 <span class="keywordflow">return</span> written;
-<a name="l00181"></a>00181 }
-<a name="l00182"></a>00182
-<a name="l00183"></a><a class="code" href="classInspSocket.html#Poll_28_29">00183</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">InspSocket::Poll</a>()
-<a name="l00184"></a>00184 {
-<a name="l00185"></a>00185 <span class="keywordflow">if</span> ((time(NULL) &gt; <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) &amp;&amp; (this-&gt;state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>))
-<a name="l00186"></a>00186 {
-<a name="l00187"></a>00187 <span class="comment">// for non-listening sockets, the timeout can occur</span>
-<a name="l00188"></a>00188 <span class="comment">// which causes termination of the connection after</span>
-<a name="l00189"></a>00189 <span class="comment">// the given number of seconds without a successful</span>
-<a name="l00190"></a>00190 <span class="comment">// connection.</span>
-<a name="l00191"></a>00191 this-&gt;<a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
-<a name="l00192"></a>00192 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>);
-<a name="l00193"></a>00193 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>;
-<a name="l00194"></a>00194 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
-<a name="l00195"></a>00195 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00196"></a>00196 }
-<a name="l00197"></a>00197 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a>;
-<a name="l00198"></a>00198 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN;
-<a name="l00199"></a>00199 <span class="keywordtype">int</span> ret = poll(&amp;<a class="code" href="classInspSocket.html#polls">polls</a>,1,1);
-<a name="l00200"></a>00200
-<a name="l00201"></a>00201 <span class="keywordflow">if</span> (ret &gt; 0)
-<a name="l00202"></a>00202 {
-<a name="l00203"></a>00203 <span class="keywordtype">int</span> incoming = -1;
-<a name="l00204"></a>00204
-<a name="l00205"></a>00205 <span class="keywordflow">switch</span> (this-&gt;state)
-<a name="l00206"></a>00206 {
-<a name="l00207"></a>00207 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>:
-<a name="l00208"></a>00208 this-&gt;<a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>);
-<a name="l00209"></a>00209 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
-<a name="l00210"></a>00210 <span class="keywordflow">break</span>;
-<a name="l00211"></a>00211 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>:
-<a name="l00212"></a>00212 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>);
-<a name="l00213"></a>00213 incoming = accept (this-&gt;fd, (sockaddr*)&amp;<a class="code" href="classInspSocket.html#client">client</a>,&amp;<a class="code" href="classInspSocket.html#length">length</a>);
-<a name="l00214"></a>00214 this-&gt;<a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(client.sin_addr));
-<a name="l00215"></a>00215 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00216"></a>00216 <span class="keywordflow">break</span>;
-<a name="l00217"></a>00217 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>:
-<a name="l00218"></a>00218 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
-<a name="l00219"></a>00219 <span class="keywordflow">break</span>;
-<a name="l00220"></a>00220 <span class="keywordflow">default</span>:
-<a name="l00221"></a>00221 <span class="keywordflow">break</span>;
-<a name="l00222"></a>00222 }
-<a name="l00223"></a>00223 }
-<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00225"></a>00225 }
-<a name="l00226"></a>00226
-<a name="l00227"></a><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">00227</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket::SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s)
-<a name="l00228"></a>00228 {
-<a name="l00229"></a>00229 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>);
-<a name="l00230"></a>00230 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = s;
-<a name="l00231"></a>00231 }
-<a name="l00232"></a>00232
-<a name="l00233"></a><a class="code" href="classInspSocket.html#GetState_28_29">00233</a> <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">InspSocket::GetState</a>()
-<a name="l00234"></a>00234 {
-<a name="l00235"></a>00235 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#state">state</a>;
-<a name="l00236"></a>00236 }
-<a name="l00237"></a>00237
-<a name="l00238"></a><a class="code" href="classInspSocket.html#OnConnected_28_29">00238</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">InspSocket::OnConnected</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
-<a name="l00239"></a><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">00239</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket::OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e) { <span class="keywordflow">return</span>; }
-<a name="l00240"></a><a class="code" href="classInspSocket.html#OnDisconnect_28_29">00240</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">InspSocket::OnDisconnect</a>() { <span class="keywordflow">return</span> 0; }
-<a name="l00241"></a><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">00241</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket::OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) { <span class="keywordflow">return</span> 0; }
-<a name="l00242"></a><a class="code" href="classInspSocket.html#OnDataReady_28_29">00242</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">InspSocket::OnDataReady</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
-<a name="l00243"></a><a class="code" href="classInspSocket.html#OnTimeout_28_29">00243</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">InspSocket::OnTimeout</a>() { <span class="keywordflow">return</span>; }
-<a name="l00244"></a><a class="code" href="classInspSocket.html#OnClose_28_29">00244</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">InspSocket::OnClose</a>() { <span class="keywordflow">return</span>; }
+<a name="l00055"></a>00055 this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a> = ip;
+<a name="l00056"></a>00056 }
+<a name="l00057"></a>00057
+<a name="l00058"></a><a class="code" href="classInspSocket.html#InspSocket_28std_3A_3Astring_20host_2C_20int_20port_2C_20bool_20listening_2C_20unsigned_20long_20maxtime_29">00058</a> <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket::InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> host, <span class="keywordtype">int</span> port, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime)
+<a name="l00059"></a>00059 {
+<a name="l00060"></a>00060 <span class="keywordflow">if</span> (listening) {
+<a name="l00061"></a>00061 <span class="keywordflow">if</span> ((this-&gt;fd = OpenTCPSocket()) == ERROR)
+<a name="l00062"></a>00062 {
+<a name="l00063"></a>00063 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00064"></a>00064 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00065"></a>00065 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
+<a name="l00066"></a>00066 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"OpenTCPSocket() error"</span>);
+<a name="l00067"></a>00067 <span class="keywordflow">return</span>;
+<a name="l00068"></a>00068 }
+<a name="l00069"></a>00069 <span class="keywordflow">else</span>
+<a name="l00070"></a>00070 {
+<a name="l00071"></a>00071 <span class="keywordflow">if</span> (BindSocket(this-&gt;fd,this-&gt;client,this-&gt;server,port,(<span class="keywordtype">char</span>*)host.c_str()) == ERROR)
+<a name="l00072"></a>00072 {
+<a name="l00073"></a>00073 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00074"></a>00074 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00075"></a>00075 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00076"></a>00076 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FBIND">I_ERR_BIND</a>);
+<a name="l00077"></a>00077 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"BindSocket() error %s"</span>,strerror(errno));
+<a name="l00078"></a>00078 <span class="keywordflow">return</span>;
+<a name="l00079"></a>00079 }
+<a name="l00080"></a>00080 <span class="keywordflow">else</span>
+<a name="l00081"></a>00081 {
+<a name="l00082"></a>00082 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>;
+<a name="l00083"></a>00083 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"New socket now in I_LISTENING state"</span>);
+<a name="l00084"></a>00084 <span class="keywordflow">return</span>;
+<a name="l00085"></a>00085 }
+<a name="l00086"></a>00086 }
+<a name="l00087"></a>00087 } <span class="keywordflow">else</span> {
+<a name="l00088"></a>00088 <span class="keywordtype">char</span>* ip;
+<a name="l00089"></a>00089 this-&gt;host = host;
+<a name="l00090"></a>00090 hostent* hoste = gethostbyname(host.c_str());
+<a name="l00091"></a>00091 <span class="keywordflow">if</span> (!hoste) {
+<a name="l00092"></a>00092 ip = (<span class="keywordtype">char</span>*)host.c_str();
+<a name="l00093"></a>00093 } <span class="keywordflow">else</span> {
+<a name="l00094"></a>00094 <span class="keyword">struct </span>in_addr* ia = (in_addr*)hoste-&gt;h_addr;
+<a name="l00095"></a>00095 ip = inet_ntoa(*ia);
+<a name="l00096"></a>00096 }
+<a name="l00097"></a>00097
+<a name="l00098"></a>00098 this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a> = ip;
+<a name="l00099"></a>00099
+<a name="l00100"></a>00100 <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a> = time(NULL)+maxtime;
+<a name="l00101"></a>00101 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">false</span>;
+<a name="l00102"></a>00102 <span class="keywordflow">if</span> ((this-&gt;fd = socket(AF_INET, SOCK_STREAM, 0)) == -1)
+<a name="l00103"></a>00103 {
+<a name="l00104"></a>00104 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00105"></a>00105 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FSOCKET">I_ERR_SOCKET</a>);
+<a name="l00106"></a>00106 <span class="keywordflow">return</span>;
+<a name="l00107"></a>00107 }
+<a name="l00108"></a>00108 this-&gt;port = port;
+<a name="l00109"></a>00109 inet_aton(ip,&amp;<a class="code" href="classInspSocket.html#addy">addy</a>);
+<a name="l00110"></a>00110 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_family = AF_INET;
+<a name="l00111"></a>00111 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_addr = <a class="code" href="classInspSocket.html#addy">addy</a>;
+<a name="l00112"></a>00112 <a class="code" href="classInspSocket.html#addr">addr</a>.sin_port = htons(this-&gt;port);
+<a name="l00113"></a>00113
+<a name="l00114"></a>00114 <span class="keywordtype">int</span> flags;
+<a name="l00115"></a>00115 flags = fcntl(this-&gt;fd, F_GETFL, 0);
+<a name="l00116"></a>00116 fcntl(this-&gt;fd, F_SETFL, flags | O_NONBLOCK);
+<a name="l00117"></a>00117
+<a name="l00118"></a>00118 <span class="keywordflow">if</span>(connect(this-&gt;fd, (sockaddr*)&amp;this-&gt;addr,<span class="keyword">sizeof</span>(this-&gt;addr)) == -1)
+<a name="l00119"></a>00119 {
+<a name="l00120"></a>00120 <span class="keywordflow">if</span> (errno != EINPROGRESS)
+<a name="l00121"></a>00121 {
+<a name="l00122"></a>00122 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00123"></a>00123 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FCONNECT">I_ERR_CONNECT</a>);
+<a name="l00124"></a>00124 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00125"></a>00125 <span class="keywordflow">return</span>;
+<a name="l00126"></a>00126 }
+<a name="l00127"></a>00127 }
+<a name="l00128"></a>00128 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>;
+<a name="l00129"></a>00129 <span class="keywordflow">return</span>;
+<a name="l00130"></a>00130 }
+<a name="l00131"></a>00131 }
+<a name="l00132"></a>00132
+<a name="l00133"></a><a class="code" href="classInspSocket.html#Close_28_29">00133</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">InspSocket::Close</a>()
+<a name="l00134"></a>00134 {
+<a name="l00135"></a>00135 <span class="keywordflow">if</span> (this-&gt;fd != -1)
+<a name="l00136"></a>00136 {
+<a name="l00137"></a>00137 this-&gt;<a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
+<a name="l00138"></a>00138 shutdown(this-&gt;fd,2);
+<a name="l00139"></a>00139 close(this-&gt;fd);
+<a name="l00140"></a>00140 this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a> = -1;
+<a name="l00141"></a>00141 }
+<a name="l00142"></a>00142 }
+<a name="l00143"></a>00143
+<a name="l00144"></a><a class="code" href="classInspSocket.html#GetIP_28_29">00144</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#GetIP_28_29">InspSocket::GetIP</a>()
+<a name="l00145"></a>00145 {
+<a name="l00146"></a>00146 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#IP">IP</a>;
+<a name="l00147"></a>00147 }
+<a name="l00148"></a>00148
+<a name="l00149"></a><a class="code" href="classInspSocket.html#Read_28_29">00149</a> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">InspSocket::Read</a>()
+<a name="l00150"></a>00150 {
+<a name="l00151"></a>00151 <span class="keywordtype">int</span> n = recv(this-&gt;fd,this-&gt;ibuf,<span class="keyword">sizeof</span>(this-&gt;ibuf),0);
+<a name="l00152"></a>00152 <span class="keywordflow">if</span> (n &gt; 0)
+<a name="l00153"></a>00153 {
+<a name="l00154"></a>00154 <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[n] = 0;
+<a name="l00155"></a>00155 <span class="keywordflow">return</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>;
+<a name="l00156"></a>00156 }
+<a name="l00157"></a>00157 <span class="keywordflow">else</span>
+<a name="l00158"></a>00158 {
+<a name="l00159"></a>00159 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"EOF or error on socket"</span>);
+<a name="l00160"></a>00160 <span class="keywordflow">return</span> NULL;
+<a name="l00161"></a>00161 }
+<a name="l00162"></a>00162 }
+<a name="l00163"></a>00163
+<a name="l00164"></a>00164 <span class="comment">// There are two possible outcomes to this function.</span>
+<a name="l00165"></a>00165 <span class="comment">// It will either write all of the data, or an undefined amount.</span>
+<a name="l00166"></a>00166 <span class="comment">// If an undefined amount is written the connection has failed</span>
+<a name="l00167"></a>00167 <span class="comment">// and should be aborted.</span>
+<a name="l00168"></a><a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">00168</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">InspSocket::Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data)
+<a name="l00169"></a>00169 {
+<a name="l00170"></a>00170 <span class="keywordtype">char</span>* d = (<span class="keywordtype">char</span>*)data.c_str();
+<a name="l00171"></a>00171 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> written = 0;
+<a name="l00172"></a>00172 <span class="keywordtype">int</span> n = 0;
+<a name="l00173"></a>00173 <span class="keywordtype">int</span> s = data.length();
+<a name="l00174"></a>00174 <span class="keywordflow">while</span> ((written &lt; data.length()) &amp;&amp; (n &gt;= 0))
+<a name="l00175"></a>00175 {
+<a name="l00176"></a>00176 n = send(this-&gt;fd,d,s,0);
+<a name="l00177"></a>00177 <span class="keywordflow">if</span> (n &gt; 0)
+<a name="l00178"></a>00178 {
+<a name="l00179"></a>00179 <span class="comment">// If we didnt write everything, advance</span>
+<a name="l00180"></a>00180 <span class="comment">// the pointers so that when we retry</span>
+<a name="l00181"></a>00181 <span class="comment">// the next time around the loop, we try</span>
+<a name="l00182"></a>00182 <span class="comment">// to write what we failed to write before.</span>
+<a name="l00183"></a>00183 written += n;
+<a name="l00184"></a>00184 s -= n;
+<a name="l00185"></a>00185 d += n;
+<a name="l00186"></a>00186 }
+<a name="l00187"></a>00187 }
+<a name="l00188"></a>00188 <span class="keywordflow">return</span> written;
+<a name="l00189"></a>00189 }
+<a name="l00190"></a>00190
+<a name="l00191"></a><a class="code" href="classInspSocket.html#Poll_28_29">00191</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">InspSocket::Poll</a>()
+<a name="l00192"></a>00192 {
+<a name="l00193"></a>00193 <span class="keywordflow">if</span> ((time(NULL) &gt; <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>) &amp;&amp; (this-&gt;state == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>))
+<a name="l00194"></a>00194 {
+<a name="l00195"></a>00195 <span class="comment">// for non-listening sockets, the timeout can occur</span>
+<a name="l00196"></a>00196 <span class="comment">// which causes termination of the connection after</span>
+<a name="l00197"></a>00197 <span class="comment">// the given number of seconds without a successful</span>
+<a name="l00198"></a>00198 <span class="comment">// connection.</span>
+<a name="l00199"></a>00199 this-&gt;<a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
+<a name="l00200"></a>00200 this-&gt;<a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketErrorI_5FERR_5FTIMEOUT">I_ERR_TIMEOUT</a>);
+<a name="l00201"></a>00201 <a class="code" href="classInspSocket.html#timeout">timeout</a> = <span class="keyword">true</span>;
+<a name="l00202"></a>00202 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = <a class="code" href="socket_8h.html#InspSocketStateI_5FERROR">I_ERROR</a>;
+<a name="l00203"></a>00203 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00204"></a>00204 }
+<a name="l00205"></a>00205 <a class="code" href="classInspSocket.html#polls">polls</a>.fd = this-&gt;<a class="code" href="classInspSocket.html#fd">fd</a>;
+<a name="l00206"></a>00206 <a class="code" href="classInspSocket.html#state">state</a> == <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a> ? <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLOUT : <a class="code" href="classInspSocket.html#polls">polls</a>.events = POLLIN;
+<a name="l00207"></a>00207 <span class="keywordtype">int</span> ret = poll(&amp;<a class="code" href="classInspSocket.html#polls">polls</a>,1,1);
+<a name="l00208"></a>00208
+<a name="l00209"></a>00209 <span class="keywordflow">if</span> (ret &gt; 0)
+<a name="l00210"></a>00210 {
+<a name="l00211"></a>00211 <span class="keywordtype">int</span> incoming = -1;
+<a name="l00212"></a>00212
+<a name="l00213"></a>00213 <span class="keywordflow">switch</span> (this-&gt;state)
+<a name="l00214"></a>00214 {
+<a name="l00215"></a>00215 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTING">I_CONNECTING</a>:
+<a name="l00216"></a>00216 this-&gt;<a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>);
+<a name="l00217"></a>00217 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
+<a name="l00218"></a>00218 <span class="keywordflow">break</span>;
+<a name="l00219"></a>00219 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FLISTENING">I_LISTENING</a>:
+<a name="l00220"></a>00220 <a class="code" href="classInspSocket.html#length">length</a> = <span class="keyword">sizeof</span> (<a class="code" href="classInspSocket.html#client">client</a>);
+<a name="l00221"></a>00221 incoming = accept (this-&gt;fd, (sockaddr*)&amp;<a class="code" href="classInspSocket.html#client">client</a>,&amp;<a class="code" href="classInspSocket.html#length">length</a>);
+<a name="l00222"></a>00222 this-&gt;<a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(incoming,inet_ntoa(client.sin_addr));
+<a name="l00223"></a>00223 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00224"></a>00224 <span class="keywordflow">break</span>;
+<a name="l00225"></a>00225 <span class="keywordflow">case</span> <a class="code" href="socket_8h.html#InspSocketStateI_5FCONNECTED">I_CONNECTED</a>:
+<a name="l00226"></a>00226 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
+<a name="l00227"></a>00227 <span class="keywordflow">break</span>;
+<a name="l00228"></a>00228 <span class="keywordflow">default</span>:
+<a name="l00229"></a>00229 <span class="keywordflow">break</span>;
+<a name="l00230"></a>00230 }
+<a name="l00231"></a>00231 }
+<a name="l00232"></a>00232 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00233"></a>00233 }
+<a name="l00234"></a>00234
+<a name="l00235"></a><a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">00235</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">InspSocket::SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s)
+<a name="l00236"></a>00236 {
+<a name="l00237"></a>00237 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Socket state change"</span>);
+<a name="l00238"></a>00238 this-&gt;<a class="code" href="classInspSocket.html#state">state</a> = s;
+<a name="l00239"></a>00239 }
+<a name="l00240"></a>00240
+<a name="l00241"></a><a class="code" href="classInspSocket.html#GetState_28_29">00241</a> <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">InspSocket::GetState</a>()
+<a name="l00242"></a>00242 {
+<a name="l00243"></a>00243 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classInspSocket.html#state">state</a>;
+<a name="l00244"></a>00244 }
<a name="l00245"></a>00245
-<a name="l00246"></a><a class="code" href="classInspSocket.html#_7EInspSocket_28_29">00246</a> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">InspSocket::~InspSocket</a>()
-<a name="l00247"></a>00247 {
-<a name="l00248"></a>00248 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00249"></a>00249 }
-<a name="l00250"></a>00250
-<a name="l00251"></a>00251 <span class="comment">/*</span>
-<a name="l00252"></a>00252 <span class="comment">int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr)</span>
-<a name="l00253"></a>00253 <span class="comment">int OpenTCPSocket (void)</span>
-<a name="l00254"></a>00254 <span class="comment">*/</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00246"></a><a class="code" href="classInspSocket.html#OnConnected_28_29">00246</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">InspSocket::OnConnected</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
+<a name="l00247"></a><a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">00247</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">InspSocket::OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e) { <span class="keywordflow">return</span>; }
+<a name="l00248"></a><a class="code" href="classInspSocket.html#OnDisconnect_28_29">00248</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">InspSocket::OnDisconnect</a>() { <span class="keywordflow">return</span> 0; }
+<a name="l00249"></a><a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">00249</a> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">InspSocket::OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip) { <span class="keywordflow">return</span> 0; }
+<a name="l00250"></a><a class="code" href="classInspSocket.html#OnDataReady_28_29">00250</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">InspSocket::OnDataReady</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }
+<a name="l00251"></a><a class="code" href="classInspSocket.html#OnTimeout_28_29">00251</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">InspSocket::OnTimeout</a>() { <span class="keywordflow">return</span>; }
+<a name="l00252"></a><a class="code" href="classInspSocket.html#OnClose_28_29">00252</a> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">InspSocket::OnClose</a>() { <span class="keywordflow">return</span>; }
+<a name="l00253"></a>00253
+<a name="l00254"></a><a class="code" href="classInspSocket.html#_7EInspSocket_28_29">00254</a> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">InspSocket::~InspSocket</a>()
+<a name="l00255"></a>00255 {
+<a name="l00256"></a>00256 this-&gt;<a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00257"></a>00257 }
+<a name="l00258"></a>00258
+<a name="l00259"></a>00259 <span class="comment">/*</span>
+<a name="l00260"></a>00260 <span class="comment">int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr)</span>
+<a name="l00261"></a>00261 <span class="comment">int OpenTCPSocket (void)</span>
+<a name="l00262"></a>00262 <span class="comment">*/</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/socket_8cpp.html b/docs/module-doc/socket_8cpp.html
index 1c55c0030..a600dc335 100644
--- a/docs/module-doc/socket_8cpp.html
+++ b/docs/module-doc/socket_8cpp.html
@@ -189,7 +189,7 @@ Include dependency graph for socket.cpp:<p><center><img src="socket_8cpp__incl.g
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/socket_8h-source.html b/docs/module-doc/socket_8h-source.html
index 402dc31cf..cd591d23e 100644
--- a/docs/module-doc/socket_8h-source.html
+++ b/docs/module-doc/socket_8h-source.html
@@ -48,32 +48,34 @@
<a name="l00039"></a><a class="code" href="classInspSocket.html#timeout_5Fend">00039</a> time_t <a class="code" href="classInspSocket.html#timeout_5Fend">timeout_end</a>;
<a name="l00040"></a><a class="code" href="classInspSocket.html#timeout">00040</a> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#timeout">timeout</a>;
<a name="l00041"></a><a class="code" href="classInspSocket.html#polls">00041</a> pollfd <a class="code" href="classInspSocket.html#polls">polls</a>;
-<a name="l00042"></a><a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">00042</a> <span class="keywordtype">char</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_30_32_34_5D">ibuf</a>[1024];
-<a name="l00043"></a><a class="code" href="classInspSocket.html#client">00043</a> sockaddr_in <a class="code" href="classInspSocket.html#client">client</a>;
-<a name="l00044"></a><a class="code" href="classInspSocket.html#server">00044</a> sockaddr_in <a class="code" href="classInspSocket.html#server">server</a>;
-<a name="l00045"></a><a class="code" href="classInspSocket.html#length">00045</a> socklen_t <a class="code" href="classInspSocket.html#length">length</a>;
-<a name="l00046"></a>00046 <span class="keyword">public</span>:
-<a name="l00047"></a>00047 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>();
-<a name="l00048"></a>00048 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>(<span class="keywordtype">int</span> newfd);
-<a name="l00049"></a>00049 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#host">host</a>, <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#port">port</a>, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime);
-<a name="l00050"></a>00050 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
-<a name="l00051"></a>00051 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e);
-<a name="l00052"></a>00052 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">OnDisconnect</a>();
-<a name="l00053"></a>00053 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
-<a name="l00054"></a>00054 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
-<a name="l00055"></a>00055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
-<a name="l00056"></a>00056 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">Read</a>();
-<a name="l00057"></a>00057 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data);
-<a name="l00058"></a>00058 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip);
-<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s);
-<a name="l00060"></a>00060 <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">GetState</a>();
-<a name="l00061"></a>00061 <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">Poll</a>();
-<a name="l00062"></a>00062 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
-<a name="l00063"></a>00063 <span class="keyword">virtual</span> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>();
-<a name="l00064"></a>00064 };
-<a name="l00065"></a>00065
-<a name="l00066"></a>00066 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00042"></a><a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">00042</a> <span class="keywordtype">char</span> <a class="code" href="classInspSocket.html#ibuf_5B_31_36_33_38_34_5D">ibuf</a>[16384];
+<a name="l00043"></a><a class="code" href="classInspSocket.html#IP">00043</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#IP">IP</a>;
+<a name="l00044"></a><a class="code" href="classInspSocket.html#client">00044</a> sockaddr_in <a class="code" href="classInspSocket.html#client">client</a>;
+<a name="l00045"></a><a class="code" href="classInspSocket.html#server">00045</a> sockaddr_in <a class="code" href="classInspSocket.html#server">server</a>;
+<a name="l00046"></a><a class="code" href="classInspSocket.html#length">00046</a> socklen_t <a class="code" href="classInspSocket.html#length">length</a>;
+<a name="l00047"></a>00047 <span class="keyword">public</span>:
+<a name="l00048"></a>00048 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>();
+<a name="l00049"></a>00049 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip);
+<a name="l00050"></a>00050 <a class="code" href="classInspSocket.html#InspSocket_28_29">InspSocket</a>(<a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#host">host</a>, <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#port">port</a>, <span class="keywordtype">bool</span> listening, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> maxtime);
+<a name="l00051"></a>00051 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnConnected_28_29">OnConnected</a>();
+<a name="l00052"></a>00052 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnError_28InspSocketError_20e_29">OnError</a>(<a class="code" href="socket_8h.html#InspSocketError">InspSocketError</a> e);
+<a name="l00053"></a>00053 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnDisconnect_28_29">OnDisconnect</a>();
+<a name="l00054"></a>00054 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#OnDataReady_28_29">OnDataReady</a>();
+<a name="l00055"></a>00055 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnTimeout_28_29">OnTimeout</a>();
+<a name="l00056"></a>00056 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#OnClose_28_29">OnClose</a>();
+<a name="l00057"></a>00057 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classInspSocket.html#Read_28_29">Read</a>();
+<a name="l00058"></a>00058 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classInspSocket.html#GetIP_28_29">GetIP</a>();
+<a name="l00059"></a>00059 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#Write_28std_3A_3Astring_20data_29">Write</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data);
+<a name="l00060"></a>00060 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classInspSocket.html#OnIncomingConnection_28int_20newfd_2C_20char_20_2Aip_29">OnIncomingConnection</a>(<span class="keywordtype">int</span> newfd, <span class="keywordtype">char</span>* ip);
+<a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#SetState_28InspSocketState_20s_29">SetState</a>(<a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> s);
+<a name="l00062"></a>00062 <a class="code" href="socket_8h.html#InspSocketState">InspSocketState</a> <a class="code" href="classInspSocket.html#GetState_28_29">GetState</a>();
+<a name="l00063"></a>00063 <span class="keywordtype">bool</span> <a class="code" href="classInspSocket.html#Poll_28_29">Poll</a>();
+<a name="l00064"></a>00064 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classInspSocket.html#Close_28_29">Close</a>();
+<a name="l00065"></a>00065 <span class="keyword">virtual</span> <a class="code" href="classInspSocket.html#_7EInspSocket_28_29">~InspSocket</a>();
+<a name="l00066"></a>00066 };
+<a name="l00067"></a>00067
+<a name="l00068"></a>00068 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/socket_8h.html b/docs/module-doc/socket_8h.html
index b26832053..09b395e38 100644
--- a/docs/module-doc/socket_8h.html
+++ b/docs/module-doc/socket_8h.html
@@ -133,7 +133,7 @@ Definition at line <a class="el" href="socket_8h-source.html#l00027">27</a> of f
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structdns__ip4list-members.html b/docs/module-doc/structdns__ip4list-members.html
index 4b2855396..40ab17ab3 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.<p><table>
<tr class="memlist"><td><a class="el" href="structdns__ip4list.html#ip">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#next">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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structdns__ip4list.html b/docs/module-doc/structdns__ip4list.html
index 4a6a3e921..5e9a9e17c 100644
--- a/docs/module-doc/structdns__ip4list.html
+++ b/docs/module-doc/structdns__ip4list.html
@@ -74,7 +74,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 Sun Nov 27 01:43:25 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
index 0198d581e..f5693f7f1 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::InAddr_HashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="structirc_1_1InAddr__HashComp.html#operator_28_29_28const_20in_5Faddr_20_26s_31_2C_20const_20in_5Faddr_20_26s_32_29_20const_20">operator()</a>(const in_addr &amp;s1, const in_addr &amp;s2) const </td><td><a class="el" href="structirc_1_1InAddr__HashComp.html">irc::InAddr_HashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1InAddr__HashComp.html b/docs/module-doc/structirc_1_1InAddr__HashComp.html
index a93b6035c..83e07d260 100644
--- a/docs/module-doc/structirc_1_1InAddr__HashComp.html
+++ b/docs/module-doc/structirc_1_1InAddr__HashComp.html
@@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1StrHashComp-members.html b/docs/module-doc/structirc_1_1StrHashComp-members.html
index 6bc0b384a..9bf858e6c 100644
--- a/docs/module-doc/structirc_1_1StrHashComp-members.html
+++ b/docs/module-doc/structirc_1_1StrHashComp-members.html
@@ -7,7 +7,7 @@
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>irc::StrHashComp Member List</h1>This is the complete list of members for <a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="structirc_1_1StrHashComp.html#operator_28_29_28const_20std_3A_3Astring_20_26s_31_2C_20const_20std_3A_3Astring_20_26s_32_29_20const_20">operator()</a>(const std::string &amp;s1, const std::string &amp;s2) const </td><td><a class="el" href="structirc_1_1StrHashComp.html">irc::StrHashComp</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1StrHashComp.html b/docs/module-doc/structirc_1_1StrHashComp.html
index 569019152..5c6c1c97d 100644
--- a/docs/module-doc/structirc_1_1StrHashComp.html
+++ b/docs/module-doc/structirc_1_1StrHashComp.html
@@ -68,7 +68,7 @@ The operator () does the actual comparison in hash_map.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits-members.html b/docs/module-doc/structirc_1_1irc__char__traits-members.html
index ac56cb2de..f40a3458d 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits-members.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits-members.html
@@ -11,7 +11,7 @@
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#find_28const_20char_20_2As_31_2C_20int_20n_2C_20char_20c_29">find</a>(const char *s1, int n, char c)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#lt_28char_20c_31st_2C_20char_20c_32nd_29">lt</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
<tr class="memlist"><td><a class="el" href="structirc_1_1irc__char__traits.html#ne_28char_20c_31st_2C_20char_20c_32nd_29">ne</a>(char c1st, char c2nd)</td><td><a class="el" href="structirc_1_1irc__char__traits.html">irc::irc_char_traits</a></td><td><code> [static]</code></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structirc_1_1irc__char__traits.html b/docs/module-doc/structirc_1_1irc__char__traits.html
index dc297bac9..60ad0d63e 100644
--- a/docs/module-doc/structirc_1_1irc__char__traits.html
+++ b/docs/module-doc/structirc_1_1irc__char__traits.html
@@ -256,7 +256,7 @@ Check if two chars do NOT match.
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html
index 0401fd8c5..00a4cfb59 100644
--- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4-members.html
+++ b/docs/module-doc/structnspace_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">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&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_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html#operator_28_29_28const_20struct_20in_5Faddr_20_26a_29_20const_20">operator()</a>(const struct in_addr &amp;a) const </td><td><a class="el" href="structnspace_1_1hash_3_01in__addr_01_4.html">nspace::hash&lt; in_addr &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html
index 1556a6eaa..439e9c023 100644
--- a/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html
+++ b/docs/module-doc/structnspace_1_1hash_3_01in__addr_01_4.html
@@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00054">54</a> of
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html
index 55cf95fd1..94058dcac 100644
--- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4-members.html
+++ b/docs/module-doc/structnspace_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">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&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_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html#operator_28_29_28const_20string_20_26s_29_20const_20">operator()</a>(const string &amp;s) const </td><td><a class="el" href="structnspace_1_1hash_3_01string_01_4.html">nspace::hash&lt; string &gt;</a></td><td></td></tr>
-</table><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+</table><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html
index 9b48cfc45..a963e1d80 100644
--- a/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html
+++ b/docs/module-doc/structnspace_1_1hash_3_01string_01_4.html
@@ -54,7 +54,7 @@ Definition at line <a class="el" href="hashcomp_8h-source.html#l00062">62</a> of
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="hashcomp_8h-source.html">hashcomp.h</a></ul>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:27 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:13 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html
index 78de98822..4254d8509 100644
--- a/docs/module-doc/users_8cpp-source.html
+++ b/docs/module-doc/users_8cpp-source.html
@@ -31,282 +31,293 @@
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="users_8h.html">users.h</a>"</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include "inspircd.h"</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
-<a name="l00025"></a>00025 <span class="preprocessor">#include "inspstring.h"</span>
-<a name="l00026"></a>00026 <span class="preprocessor">#include "helperfuncs.h"</span>
-<a name="l00027"></a>00027
-<a name="l00028"></a>00028 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>;
-<a name="l00029"></a>00029 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>[MAXBUF];
-<a name="l00030"></a>00030
-<a name="l00031"></a>00031 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
+<a name="l00025"></a>00025 <span class="preprocessor">#ifdef THREADED_DNS</span>
+<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#include &lt;pthread.h&gt;</span>
+<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;signal.h&gt;</span>
+<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
+<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#include "inspstring.h"</span>
+<a name="l00030"></a>00030 <span class="preprocessor">#include "<a class="code" href="commands_8h.html">commands.h</a>"</span>
+<a name="l00031"></a>00031 <span class="preprocessor">#include "helperfuncs.h"</span>
<a name="l00032"></a>00032
-<a name="l00033"></a><a class="code" href="classuserrec.html#userrec_28_29">00033</a> <a class="code" href="classuserrec.html#userrec_28_29">userrec::userrec</a>()
-<a name="l00034"></a>00034 {
-<a name="l00035"></a>00035 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
-<a name="l00036"></a>00036 strcpy(<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<span class="stringliteral">""</span>);
-<a name="l00037"></a>00037 strcpy(<a class="code" href="classconnection.html#ip_5B_31_36_5D">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
-<a name="l00038"></a>00038 <a class="code" href="classuserrec.html#timeout">timeout</a> = 0;
-<a name="l00039"></a>00039 strcpy(<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<span class="stringliteral">""</span>);
-<a name="l00040"></a>00040 strcpy(<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,<span class="stringliteral">""</span>);
-<a name="l00041"></a>00041 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>);
-<a name="l00042"></a>00042 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>);
-<a name="l00043"></a>00043 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>);
-<a name="l00044"></a>00044 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(<a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>);
-<a name="l00045"></a>00045 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>);
-<a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>);
-<a name="l00047"></a>00047 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
-<a name="l00048"></a>00048 <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a> = 0;
-<a name="l00049"></a>00049 <a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="classconnection.html#lastping">lastping</a> = <a class="code" href="classconnection.html#signon">signon</a> = <a class="code" href="classconnection.html#idle_5Flastmsg">idle_lastmsg</a> = <a class="code" href="classconnection.html#nping">nping</a> = <a class="code" href="classconnection.html#registered">registered</a> = 0;
-<a name="l00050"></a>00050 <a class="code" href="classuserrec.html#flood">flood</a> = <a class="code" href="classconnection.html#port">port</a> = <a class="code" href="classconnection.html#bytes_5Fin">bytes_in</a> = <a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> = <a class="code" href="classconnection.html#cmds_5Fin">cmds_in</a> = <a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a> = 0;
-<a name="l00051"></a>00051 <a class="code" href="classconnection.html#haspassed">haspassed</a> = <span class="keyword">false</span>;
-<a name="l00052"></a>00052 <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a> = <span class="keyword">false</span>;
-<a name="l00053"></a>00053 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
-<a name="l00054"></a>00054 <a class="code" href="classuserrec.html#sendq">sendq</a> = <span class="stringliteral">""</span>;
-<a name="l00055"></a>00055 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
-<a name="l00056"></a>00056 {
-<a name="l00057"></a>00057 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> = NULL;
-<a name="l00058"></a>00058 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0;
-<a name="l00059"></a>00059 }
-<a name="l00060"></a>00060 <a class="code" href="classuserrec.html#invites">invites</a>.clear();
-<a name="l00061"></a>00061 }
-<a name="l00062"></a>00062
-<a name="l00063"></a><a class="code" href="classuserrec.html#CloseSocket_28_29">00063</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#CloseSocket_28_29">userrec::CloseSocket</a>()
-<a name="l00064"></a>00064 {
-<a name="l00065"></a>00065 shutdown(this-&gt;fd,2);
-<a name="l00066"></a>00066 close(this-&gt;fd);
-<a name="l00067"></a>00067 }
-<a name="l00068"></a>00068
-<a name="l00069"></a><a class="code" href="classuserrec.html#GetFullHost_28_29">00069</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullHost_28_29">userrec::GetFullHost</a>()
-<a name="l00070"></a>00070 {
-<a name="l00071"></a>00071 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
-<a name="l00072"></a>00072 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>);
-<a name="l00073"></a>00073 <span class="keywordflow">return</span> result;
-<a name="l00074"></a>00074 }
-<a name="l00075"></a>00075
-<a name="l00076"></a><a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">00076</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">userrec::ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size)
-<a name="l00077"></a>00077 {
-<a name="l00078"></a>00078 <span class="keywordflow">if</span> (this-&gt;fd &gt; -1)
-<a name="l00079"></a>00079 {
-<a name="l00080"></a>00080 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"userrec::ReadData on fd %d"</span>,this-&gt;fd);
-<a name="l00081"></a>00081 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
-<a name="l00082"></a>00082 }
-<a name="l00083"></a>00083 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
-<a name="l00084"></a>00084 }
-<a name="l00085"></a>00085
-<a name="l00086"></a>00086
-<a name="l00087"></a><a class="code" href="classuserrec.html#GetFullRealHost_28_29">00087</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullRealHost_28_29">userrec::GetFullRealHost</a>()
-<a name="l00088"></a>00088 {
-<a name="l00089"></a>00089 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
-<a name="l00090"></a>00090 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>);
-<a name="l00091"></a>00091 <span class="keywordflow">return</span> fresult;
-<a name="l00092"></a>00092 }
-<a name="l00093"></a>00093
-<a name="l00094"></a><a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">00094</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
-<a name="l00095"></a>00095 {
-<a name="l00096"></a>00096 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
-<a name="l00097"></a>00097 {
-<a name="l00098"></a>00098 <span class="keywordflow">if</span> (i-&gt;channel) {
-<a name="l00099"></a>00099 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-<a name="l00100"></a>00100 {
-<a name="l00101"></a>00101 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00102"></a>00102 }
-<a name="l00103"></a>00103 }
-<a name="l00104"></a>00104 }
-<a name="l00105"></a>00105 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00106"></a>00106 }
-<a name="l00107"></a>00107
-<a name="l00108"></a><a class="code" href="classuserrec.html#GetInviteList_28_29">00108</a> <a class="code" href="users_8h.html#InvitedList">InvitedList</a>* <a class="code" href="classuserrec.html#GetInviteList_28_29">userrec::GetInviteList</a>()
-<a name="l00109"></a>00109 {
-<a name="l00110"></a>00110 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#invites">invites</a>;
-<a name="l00111"></a>00111 }
-<a name="l00112"></a>00112
-<a name="l00113"></a><a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">00113</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
-<a name="l00114"></a>00114 {
-<a name="l00115"></a>00115 <a class="code" href="classInvited.html">Invited</a> i;
-<a name="l00116"></a>00116 strlcpy(i.<a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>,channel,CHANMAX);
-<a name="l00117"></a>00117 <a class="code" href="classuserrec.html#invites">invites</a>.push_back(i);
-<a name="l00118"></a>00118 }
-<a name="l00119"></a>00119
-<a name="l00120"></a><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">00120</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
-<a name="l00121"></a>00121 {
-<a name="l00122"></a>00122 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
-<a name="l00123"></a>00123 <span class="keywordflow">if</span> (channel)
-<a name="l00124"></a>00124 {
-<a name="l00125"></a>00125 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size())
-<a name="l00126"></a>00126 {
-<a name="l00127"></a>00127 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
-<a name="l00128"></a>00128 {
-<a name="l00129"></a>00129 <span class="keywordflow">if</span> (i-&gt;channel)
-<a name="l00130"></a>00130 {
-<a name="l00131"></a>00131 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
-<a name="l00132"></a>00132 {
-<a name="l00133"></a>00133 <a class="code" href="classuserrec.html#invites">invites</a>.erase(i);
-<a name="l00134"></a>00134 <span class="keywordflow">return</span>;
-<a name="l00135"></a>00135 }
-<a name="l00136"></a>00136 }
-<a name="l00137"></a>00137 }
-<a name="l00138"></a>00138 }
-<a name="l00139"></a>00139 }
-<a name="l00140"></a>00140 }
-<a name="l00141"></a>00141
-<a name="l00142"></a><a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">00142</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
-<a name="l00143"></a>00143 {
-<a name="l00144"></a>00144 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
-<a name="l00145"></a>00145 <span class="keywordtype">char</span>* mycmd;
-<a name="l00146"></a>00146 <span class="keywordtype">char</span>* savept;
-<a name="l00147"></a>00147 <span class="keywordtype">char</span>* savept2;
-<a name="l00148"></a>00148
-<a name="l00149"></a>00149 <span class="comment">// are they even an oper at all?</span>
-<a name="l00150"></a>00150 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
-<a name="l00151"></a>00151 {
-<a name="l00152"></a>00152 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper"</span>,this-&gt;nick);
-<a name="l00153"></a>00153 <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#config_5Ff">config_f</a>); j++)
-<a name="l00154"></a>00154 {
-<a name="l00155"></a>00155 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
-<a name="l00156"></a>00156 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
-<a name="l00157"></a>00157 {
-<a name="l00158"></a>00158 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: %s is an oper of type '%s'"</span>,this-&gt;nick,this-&gt;oper);
-<a name="l00159"></a>00159 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
-<a name="l00160"></a>00160 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
-<a name="l00161"></a>00161 <span class="keywordflow">while</span> (myclass)
-<a name="l00162"></a>00162 {
-<a name="l00163"></a>00163 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"*** HasPermission: checking classtype '%s'"</span>,myclass);
-<a name="l00164"></a>00164 <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#config_5Ff">config_f</a>); k++)
-<a name="l00165"></a>00165 {
-<a name="l00166"></a>00166 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
-<a name="l00167"></a>00167 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
-<a name="l00168"></a>00168 {
-<a name="l00169"></a>00169 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
-<a name="l00170"></a>00170 log(DEBUG,<span class="stringliteral">"*** HasPermission: found class named %s with commands: '%s'"</span>,ClassName,CommandList);
-<a name="l00171"></a>00171
-<a name="l00172"></a>00172
-<a name="l00173"></a>00173 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
-<a name="l00174"></a>00174 <span class="keywordflow">while</span> (mycmd)
-<a name="l00175"></a>00175 {
-<a name="l00176"></a>00176 <span class="keywordflow">if</span> (!strcasecmp(mycmd,command))
-<a name="l00177"></a>00177 {
-<a name="l00178"></a>00178 log(DEBUG,<span class="stringliteral">"*** Command %s found, returning true"</span>,command);
-<a name="l00179"></a>00179 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00180"></a>00180 }
-<a name="l00181"></a>00181 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
-<a name="l00182"></a>00182 }
-<a name="l00183"></a>00183 }
-<a name="l00184"></a>00184 }
-<a name="l00185"></a>00185 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
-<a name="l00186"></a>00186 }
-<a name="l00187"></a>00187 }
-<a name="l00188"></a>00188 }
-<a name="l00189"></a>00189 }
-<a name="l00190"></a>00190 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00191"></a>00191 }
-<a name="l00192"></a>00192
-<a name="l00193"></a>00193
-<a name="l00194"></a><a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">00194</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">userrec::AddBuffer</a>(<a class="code" href="namespaceirc.html#string">std::string</a> a)
-<a name="l00195"></a>00195 {
-<a name="l00196"></a>00196 <a class="code" href="namespaceirc.html#string">std::string</a> b = <span class="stringliteral">""</span>;
-<a name="l00197"></a>00197 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
-<a name="l00198"></a>00198 <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))
-<a name="l00199"></a>00199 b = b + a[i];
-<a name="l00200"></a>00200 std::stringstream stream(<a class="code" href="classuserrec.html#recvq">recvq</a>);
-<a name="l00201"></a>00201 stream &lt;&lt; b;
-<a name="l00202"></a>00202 <a class="code" href="classuserrec.html#recvq">recvq</a> = stream.str();
-<a name="l00203"></a>00203 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0;
-<a name="l00204"></a>00204 <span class="comment">// count the size of the first line in the buffer.</span>
-<a name="l00205"></a>00205 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length())
-<a name="l00206"></a>00206 {
-<a name="l00207"></a>00207 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
-<a name="l00208"></a>00208 <span class="keywordflow">break</span>;
-<a name="l00209"></a>00209 }
-<a name="l00210"></a>00210 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>)
-<a name="l00211"></a>00211 {
-<a name="l00212"></a>00212 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
-<a name="l00213"></a>00213 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>);
-<a name="l00214"></a>00214 }
-<a name="l00215"></a>00215 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
-<a name="l00216"></a>00216 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
-<a name="l00217"></a>00217 <span class="keywordflow">return</span> (i &lt; 600);
-<a name="l00218"></a>00218 }
-<a name="l00219"></a>00219
-<a name="l00220"></a><a class="code" href="classuserrec.html#BufferIsReady_28_29">00220</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#BufferIsReady_28_29">userrec::BufferIsReady</a>()
-<a name="l00221"></a>00221 {
-<a name="l00222"></a>00222 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length(); i++)
-<a name="l00223"></a>00223 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i] == <span class="charliteral">'\n'</span>)
-<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00225"></a>00225 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00226"></a>00226 }
-<a name="l00227"></a>00227
-<a name="l00228"></a><a class="code" href="classuserrec.html#ClearBuffer_28_29">00228</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#ClearBuffer_28_29">userrec::ClearBuffer</a>()
-<a name="l00229"></a>00229 {
-<a name="l00230"></a>00230 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
-<a name="l00231"></a>00231 }
-<a name="l00232"></a>00232
-<a name="l00233"></a><a class="code" href="classuserrec.html#GetBuffer_28_29">00233</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetBuffer_28_29">userrec::GetBuffer</a>()
-<a name="l00234"></a>00234 {
-<a name="l00235"></a>00235 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a> == <span class="stringliteral">""</span>)
-<a name="l00236"></a>00236 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
-<a name="l00237"></a>00237 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#recvq">recvq</a>.c_str();
-<a name="l00238"></a>00238 <a class="code" href="namespaceirc.html#string">std::string</a> ret = <span class="stringliteral">""</span>;
-<a name="l00239"></a>00239 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
-<a name="l00240"></a>00240 {
-<a name="l00241"></a>00241 ret = ret + *line;
-<a name="l00242"></a>00242 line++;
-<a name="l00243"></a>00243 }
-<a name="l00244"></a>00244 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
-<a name="l00245"></a>00245 line++;
-<a name="l00246"></a>00246 <a class="code" href="classuserrec.html#recvq">recvq</a> = line;
-<a name="l00247"></a>00247 <span class="keywordflow">return</span> ret;
-<a name="l00248"></a>00248 }
-<a name="l00249"></a>00249
-<a name="l00250"></a><a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">00250</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">userrec::AddWriteBuf</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data)
-<a name="l00251"></a>00251 {
-<a name="l00252"></a>00252 <span class="keywordflow">if</span> (this-&gt;GetWriteError() != <span class="stringliteral">""</span>)
-<a name="l00253"></a>00253 <span class="keywordflow">return</span>;
-<a name="l00254"></a>00254 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>)
-<a name="l00255"></a>00255 {
-<a name="l00256"></a>00256 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>);
-<a name="l00257"></a>00257 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
-<a name="l00258"></a>00258 <span class="keywordflow">return</span>;
-<a name="l00259"></a>00259 }
-<a name="l00260"></a>00260 std::stringstream stream;
-<a name="l00261"></a>00261 stream &lt;&lt; <a class="code" href="classuserrec.html#sendq">sendq</a> &lt;&lt; data;
-<a name="l00262"></a>00262 <a class="code" href="classuserrec.html#sendq">sendq</a> = stream.str();
-<a name="l00263"></a>00263 }
-<a name="l00264"></a>00264
-<a name="l00265"></a>00265 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span>
-<a name="l00266"></a><a class="code" href="classuserrec.html#FlushWriteBuf_28_29">00266</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#FlushWriteBuf_28_29">userrec::FlushWriteBuf</a>()
-<a name="l00267"></a>00267 {
-<a name="l00268"></a>00268 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length())
-<a name="l00269"></a>00269 {
-<a name="l00270"></a>00270 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a>.c_str();
-<a name="l00271"></a>00271 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
-<a name="l00272"></a>00272 <span class="keywordflow">if</span> (n_sent == -1)
-<a name="l00273"></a>00273 {
-<a name="l00274"></a>00274 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(strerror(errno));
-<a name="l00275"></a>00275 }
-<a name="l00276"></a>00276 <span class="keywordflow">else</span>
-<a name="l00277"></a>00277 {
-<a name="l00278"></a>00278 <span class="comment">// advance the queue</span>
-<a name="l00279"></a>00279 tb += n_sent;
-<a name="l00280"></a>00280 this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a> = tb;
-<a name="l00281"></a>00281 <span class="comment">// update the user's stats counters</span>
-<a name="l00282"></a>00282 this-&gt;<a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> += n_sent;
-<a name="l00283"></a>00283 this-&gt;<a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a>++;
-<a name="l00284"></a>00284 }
-<a name="l00285"></a>00285 }
-<a name="l00286"></a>00286 }
-<a name="l00287"></a>00287
-<a name="l00288"></a><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">00288</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec::SetWriteError</a>(<a class="code" href="namespaceirc.html#string">std::string</a> error)
-<a name="l00289"></a>00289 {
-<a name="l00290"></a>00290 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
-<a name="l00291"></a>00291 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
-<a name="l00292"></a>00292 <span class="keywordflow">if</span> (this-&gt;WriteError == <span class="stringliteral">""</span>)
-<a name="l00293"></a>00293 this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a> = error;
-<a name="l00294"></a>00294 }
-<a name="l00295"></a>00295
-<a name="l00296"></a><a class="code" href="classuserrec.html#GetWriteError_28_29">00296</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetWriteError_28_29">userrec::GetWriteError</a>()
-<a name="l00297"></a>00297 {
-<a name="l00298"></a>00298 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a>;
-<a name="l00299"></a>00299 }
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00033"></a>00033 <span class="keyword">extern</span> std::stringstream <a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>;
+<a name="l00034"></a>00034 <span class="keyword">extern</span> <span class="keywordtype">char</span> <a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>[MAXBUF];
+<a name="l00035"></a>00035
+<a name="l00036"></a>00036 <span class="keyword">extern</span> time_t <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
+<a name="l00037"></a>00037
+<a name="l00038"></a><a class="code" href="classuserrec.html#userrec_28_29">00038</a> <a class="code" href="classuserrec.html#userrec_28_29">userrec::userrec</a>()
+<a name="l00039"></a>00039 {
+<a name="l00040"></a>00040 <span class="comment">// the PROPER way to do it, AVOID bzero at *ALL* costs</span>
+<a name="l00041"></a>00041 strcpy(<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<span class="stringliteral">""</span>);
+<a name="l00042"></a>00042 strcpy(<a class="code" href="classconnection.html#ip_5B_31_36_5D">ip</a>,<span class="stringliteral">"127.0.0.1"</span>);
+<a name="l00043"></a>00043 <a class="code" href="classuserrec.html#timeout">timeout</a> = 0;
+<a name="l00044"></a>00044 strcpy(<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<span class="stringliteral">""</span>);
+<a name="l00045"></a>00045 strcpy(<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>,<span class="stringliteral">""</span>);
+<a name="l00046"></a>00046 strcpy(<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>,<span class="stringliteral">""</span>);
+<a name="l00047"></a>00047 strcpy(<a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>,<span class="stringliteral">""</span>);
+<a name="l00048"></a>00048 strcpy(<a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>,<span class="stringliteral">""</span>);
+<a name="l00049"></a>00049 <a class="code" href="classuserrec.html#server">server</a> = (<span class="keywordtype">char</span>*)FindServerNamePtr(<a class="code" href="channels_8cpp.html#ServerName_5BMAXBUF_5D">ServerName</a>);
+<a name="l00050"></a>00050 strcpy(<a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>,<span class="stringliteral">""</span>);
+<a name="l00051"></a>00051 strcpy(<a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>,<span class="stringliteral">""</span>);
+<a name="l00052"></a>00052 <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a> = <a class="code" href="channels_8cpp.html#TIME">TIME</a>;
+<a name="l00053"></a>00053 <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a> = 0;
+<a name="l00054"></a>00054 <a class="code" href="classconnection.html#fd">fd</a> = <a class="code" href="classconnection.html#lastping">lastping</a> = <a class="code" href="classconnection.html#signon">signon</a> = <a class="code" href="classconnection.html#idle_5Flastmsg">idle_lastmsg</a> = <a class="code" href="classconnection.html#nping">nping</a> = <a class="code" href="classconnection.html#registered">registered</a> = 0;
+<a name="l00055"></a>00055 <a class="code" href="classuserrec.html#flood">flood</a> = <a class="code" href="classconnection.html#port">port</a> = <a class="code" href="classconnection.html#bytes_5Fin">bytes_in</a> = <a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> = <a class="code" href="classconnection.html#cmds_5Fin">cmds_in</a> = <a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a> = 0;
+<a name="l00056"></a>00056 <a class="code" href="classconnection.html#haspassed">haspassed</a> = <span class="keyword">false</span>;
+<a name="l00057"></a>00057 <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a> = <span class="keyword">false</span>;
+<a name="l00058"></a>00058 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
+<a name="l00059"></a>00059 <a class="code" href="classuserrec.html#sendq">sendq</a> = <span class="stringliteral">""</span>;
+<a name="l00060"></a>00060 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; MAXCHANS; i++)
+<a name="l00061"></a>00061 {
+<a name="l00062"></a>00062 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#channel">channel</a> = NULL;
+<a name="l00063"></a>00063 this-&gt;<a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[i].<a class="code" href="classucrec.html#uc_5Fmodes">uc_modes</a> = 0;
+<a name="l00064"></a>00064 }
+<a name="l00065"></a>00065 <a class="code" href="classuserrec.html#invites">invites</a>.clear();
+<a name="l00066"></a>00066 }
+<a name="l00067"></a>00067
+<a name="l00068"></a><a class="code" href="classuserrec.html#_7Euserrec_28_29">00068</a> <a class="code" href="classuserrec.html#_7Euserrec_28_29">userrec::~userrec</a>()
+<a name="l00069"></a>00069 {
+<a name="l00070"></a>00070 }
+<a name="l00071"></a>00071
+<a name="l00072"></a><a class="code" href="classuserrec.html#CloseSocket_28_29">00072</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#CloseSocket_28_29">userrec::CloseSocket</a>()
+<a name="l00073"></a>00073 {
+<a name="l00074"></a>00074 shutdown(this-&gt;fd,2);
+<a name="l00075"></a>00075 close(this-&gt;fd);
+<a name="l00076"></a>00076 }
+<a name="l00077"></a>00077
+<a name="l00078"></a><a class="code" href="classuserrec.html#GetFullHost_28_29">00078</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullHost_28_29">userrec::GetFullHost</a>()
+<a name="l00079"></a>00079 {
+<a name="l00080"></a>00080 <span class="keyword">static</span> <span class="keywordtype">char</span> result[MAXBUF];
+<a name="l00081"></a>00081 snprintf(result,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>);
+<a name="l00082"></a>00082 <span class="keywordflow">return</span> result;
+<a name="l00083"></a>00083 }
+<a name="l00084"></a>00084
+<a name="l00085"></a><a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">00085</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">userrec::ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size)
+<a name="l00086"></a>00086 {
+<a name="l00087"></a>00087 <span class="keywordflow">if</span> (this-&gt;fd &gt; -1)
+<a name="l00088"></a>00088 {
+<a name="l00089"></a>00089 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"userrec::ReadData on fd %d"</span>,this-&gt;fd);
+<a name="l00090"></a>00090 <span class="keywordflow">return</span> read(this-&gt;fd, buffer, size);
+<a name="l00091"></a>00091 }
+<a name="l00092"></a>00092 <span class="keywordflow">else</span> <span class="keywordflow">return</span> 0;
+<a name="l00093"></a>00093 }
+<a name="l00094"></a>00094
+<a name="l00095"></a>00095
+<a name="l00096"></a><a class="code" href="classuserrec.html#GetFullRealHost_28_29">00096</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullRealHost_28_29">userrec::GetFullRealHost</a>()
+<a name="l00097"></a>00097 {
+<a name="l00098"></a>00098 <span class="keyword">static</span> <span class="keywordtype">char</span> fresult[MAXBUF];
+<a name="l00099"></a>00099 snprintf(fresult,MAXBUF,<span class="stringliteral">"%s!%s@%s"</span>,<a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>,<a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>,<a class="code" href="classconnection.html#host_5B_31_36_30_5D">host</a>);
+<a name="l00100"></a>00100 <span class="keywordflow">return</span> fresult;
+<a name="l00101"></a>00101 }
+<a name="l00102"></a>00102
+<a name="l00103"></a><a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">00103</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">userrec::IsInvited</a>(<span class="keywordtype">char</span>* channel)
+<a name="l00104"></a>00104 {
+<a name="l00105"></a>00105 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
+<a name="l00106"></a>00106 {
+<a name="l00107"></a>00107 <span class="keywordflow">if</span> (i-&gt;channel) {
+<a name="l00108"></a>00108 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+<a name="l00109"></a>00109 {
+<a name="l00110"></a>00110 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00111"></a>00111 }
+<a name="l00112"></a>00112 }
+<a name="l00113"></a>00113 }
+<a name="l00114"></a>00114 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00115"></a>00115 }
+<a name="l00116"></a>00116
+<a name="l00117"></a><a class="code" href="classuserrec.html#GetInviteList_28_29">00117</a> <a class="code" href="users_8h.html#InvitedList">InvitedList</a>* <a class="code" href="classuserrec.html#GetInviteList_28_29">userrec::GetInviteList</a>()
+<a name="l00118"></a>00118 {
+<a name="l00119"></a>00119 <span class="keywordflow">return</span> &amp;<a class="code" href="classuserrec.html#invites">invites</a>;
+<a name="l00120"></a>00120 }
+<a name="l00121"></a>00121
+<a name="l00122"></a><a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">00122</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">userrec::InviteTo</a>(<span class="keywordtype">char</span>* channel)
+<a name="l00123"></a>00123 {
+<a name="l00124"></a>00124 <a class="code" href="classInvited.html">Invited</a> i;
+<a name="l00125"></a>00125 strlcpy(i.<a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>,channel,CHANMAX);
+<a name="l00126"></a>00126 <a class="code" href="classuserrec.html#invites">invites</a>.push_back(i);
+<a name="l00127"></a>00127 }
+<a name="l00128"></a>00128
+<a name="l00129"></a><a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">00129</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">userrec::RemoveInvite</a>(<span class="keywordtype">char</span>* channel)
+<a name="l00130"></a>00130 {
+<a name="l00131"></a>00131 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Removing invites"</span>);
+<a name="l00132"></a>00132 <span class="keywordflow">if</span> (channel)
+<a name="l00133"></a>00133 {
+<a name="l00134"></a>00134 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#invites">invites</a>.size())
+<a name="l00135"></a>00135 {
+<a name="l00136"></a>00136 <span class="keywordflow">for</span> (InvitedList::iterator i = <a class="code" href="classuserrec.html#invites">invites</a>.begin(); i != <a class="code" href="classuserrec.html#invites">invites</a>.end(); i++)
+<a name="l00137"></a>00137 {
+<a name="l00138"></a>00138 <span class="keywordflow">if</span> (i-&gt;channel)
+<a name="l00139"></a>00139 {
+<a name="l00140"></a>00140 <span class="keywordflow">if</span> (!strcasecmp(i-&gt;channel,channel))
+<a name="l00141"></a>00141 {
+<a name="l00142"></a>00142 <a class="code" href="classuserrec.html#invites">invites</a>.erase(i);
+<a name="l00143"></a>00143 <span class="keywordflow">return</span>;
+<a name="l00144"></a>00144 }
+<a name="l00145"></a>00145 }
+<a name="l00146"></a>00146 }
+<a name="l00147"></a>00147 }
+<a name="l00148"></a>00148 }
+<a name="l00149"></a>00149 }
+<a name="l00150"></a>00150
+<a name="l00151"></a><a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">00151</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">userrec::HasPermission</a>(<span class="keywordtype">char</span>* command)
+<a name="l00152"></a>00152 {
+<a name="l00153"></a>00153 <span class="keywordtype">char</span> TypeName[MAXBUF],Classes[MAXBUF],ClassName[MAXBUF],CommandList[MAXBUF];
+<a name="l00154"></a>00154 <span class="keywordtype">char</span>* mycmd;
+<a name="l00155"></a>00155 <span class="keywordtype">char</span>* savept;
+<a name="l00156"></a>00156 <span class="keywordtype">char</span>* savept2;
+<a name="l00157"></a>00157
+<a name="l00158"></a>00158 <span class="comment">// users on u-lined servers can completely bypass</span>
+<a name="l00159"></a>00159 <span class="comment">// all permissions based checks.</span>
+<a name="l00160"></a>00160 <span class="comment">//</span>
+<a name="l00161"></a>00161 <span class="comment">// of course, if this is sent to a remote server and this</span>
+<a name="l00162"></a>00162 <span class="comment">// server is not ulined there, then that other server</span>
+<a name="l00163"></a>00163 <span class="comment">// silently drops the command.</span>
+<a name="l00164"></a>00164 <span class="keywordflow">if</span> (<a class="code" href="commands_8h.html#is_5Fuline_28const_20char_20_2Aserver_29">is_uline</a>(this-&gt;server))
+<a name="l00165"></a>00165 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00166"></a>00166
+<a name="l00167"></a>00167 <span class="comment">// are they even an oper at all?</span>
+<a name="l00168"></a>00168 <span class="keywordflow">if</span> (strchr(this-&gt;modes,<span class="charliteral">'o'</span>))
+<a name="l00169"></a>00169 {
+<a name="l00170"></a>00170 <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#config_5Ff">config_f</a>); j++)
+<a name="l00171"></a>00171 {
+<a name="l00172"></a>00172 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"name"</span>,j,TypeName,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
+<a name="l00173"></a>00173 <span class="keywordflow">if</span> (!strcmp(TypeName,this-&gt;oper))
+<a name="l00174"></a>00174 {
+<a name="l00175"></a>00175 ConfValue(<span class="stringliteral">"type"</span>,<span class="stringliteral">"classes"</span>,j,Classes,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
+<a name="l00176"></a>00176 <span class="keywordtype">char</span>* myclass = strtok_r(Classes,<span class="stringliteral">" "</span>,&amp;savept);
+<a name="l00177"></a>00177 <span class="keywordflow">while</span> (myclass)
+<a name="l00178"></a>00178 {
+<a name="l00179"></a>00179 <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#config_5Ff">config_f</a>); k++)
+<a name="l00180"></a>00180 {
+<a name="l00181"></a>00181 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"name"</span>,k,ClassName,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
+<a name="l00182"></a>00182 <span class="keywordflow">if</span> (!strcmp(ClassName,myclass))
+<a name="l00183"></a>00183 {
+<a name="l00184"></a>00184 ConfValue(<span class="stringliteral">"class"</span>,<span class="stringliteral">"commands"</span>,k,CommandList,&amp;<a class="code" href="channels_8cpp.html#config_5Ff">config_f</a>);
+<a name="l00185"></a>00185 mycmd = strtok_r(CommandList,<span class="stringliteral">" "</span>,&amp;savept2);
+<a name="l00186"></a>00186 <span class="keywordflow">while</span> (mycmd)
+<a name="l00187"></a>00187 {
+<a name="l00188"></a>00188 <span class="keywordflow">if</span> ((!strcasecmp(mycmd,command)) || (*mycmd == <span class="charliteral">'*'</span>))
+<a name="l00189"></a>00189 {
+<a name="l00190"></a>00190 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00191"></a>00191 }
+<a name="l00192"></a>00192 mycmd = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept2);
+<a name="l00193"></a>00193 }
+<a name="l00194"></a>00194 }
+<a name="l00195"></a>00195 }
+<a name="l00196"></a>00196 myclass = strtok_r(NULL,<span class="stringliteral">" "</span>,&amp;savept);
+<a name="l00197"></a>00197 }
+<a name="l00198"></a>00198 }
+<a name="l00199"></a>00199 }
+<a name="l00200"></a>00200 }
+<a name="l00201"></a>00201 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00202"></a>00202 }
+<a name="l00203"></a>00203
+<a name="l00204"></a>00204
+<a name="l00205"></a><a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">00205</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">userrec::AddBuffer</a>(<a class="code" href="namespaceirc.html#string">std::string</a> a)
+<a name="l00206"></a>00206 {
+<a name="l00207"></a>00207 <a class="code" href="namespaceirc.html#string">std::string</a> b = <span class="stringliteral">""</span>;
+<a name="l00208"></a>00208 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; a.length(); i++)
+<a name="l00209"></a>00209 <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))
+<a name="l00210"></a>00210 b = b + a[i];
+<a name="l00211"></a>00211 std::stringstream stream(<a class="code" href="classuserrec.html#recvq">recvq</a>);
+<a name="l00212"></a>00212 stream &lt;&lt; b;
+<a name="l00213"></a>00213 <a class="code" href="classuserrec.html#recvq">recvq</a> = stream.str();
+<a name="l00214"></a>00214 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0;
+<a name="l00215"></a>00215 <span class="comment">// count the size of the first line in the buffer.</span>
+<a name="l00216"></a>00216 <span class="keywordflow">while</span> (i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length())
+<a name="l00217"></a>00217 {
+<a name="l00218"></a>00218 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i++] == <span class="charliteral">'\n'</span>)
+<a name="l00219"></a>00219 <span class="keywordflow">break</span>;
+<a name="l00220"></a>00220 }
+<a name="l00221"></a>00221 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>)
+<a name="l00222"></a>00222 {
+<a name="l00223"></a>00223 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"RecvQ exceeded"</span>);
+<a name="l00224"></a>00224 WriteOpers(<span class="stringliteral">"*** User %s RecvQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#recvq">recvq</a>.length(),this-&gt;<a class="code" href="classuserrec.html#recvqmax">recvqmax</a>);
+<a name="l00225"></a>00225 }
+<a name="l00226"></a>00226 <span class="comment">// return false if we've had more than 600 characters WITHOUT</span>
+<a name="l00227"></a>00227 <span class="comment">// a carriage return (this is BAD, drop the socket)</span>
+<a name="l00228"></a>00228 <span class="keywordflow">return</span> (i &lt; 600);
+<a name="l00229"></a>00229 }
+<a name="l00230"></a>00230
+<a name="l00231"></a><a class="code" href="classuserrec.html#BufferIsReady_28_29">00231</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#BufferIsReady_28_29">userrec::BufferIsReady</a>()
+<a name="l00232"></a>00232 {
+<a name="l00233"></a>00233 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="classuserrec.html#recvq">recvq</a>.length(); i++)
+<a name="l00234"></a>00234 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a>[i] == <span class="charliteral">'\n'</span>)
+<a name="l00235"></a>00235 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00236"></a>00236 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00237"></a>00237 }
+<a name="l00238"></a>00238
+<a name="l00239"></a><a class="code" href="classuserrec.html#ClearBuffer_28_29">00239</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#ClearBuffer_28_29">userrec::ClearBuffer</a>()
+<a name="l00240"></a>00240 {
+<a name="l00241"></a>00241 <a class="code" href="classuserrec.html#recvq">recvq</a> = <span class="stringliteral">""</span>;
+<a name="l00242"></a>00242 }
+<a name="l00243"></a>00243
+<a name="l00244"></a><a class="code" href="classuserrec.html#GetBuffer_28_29">00244</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetBuffer_28_29">userrec::GetBuffer</a>()
+<a name="l00245"></a>00245 {
+<a name="l00246"></a>00246 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#recvq">recvq</a> == <span class="stringliteral">""</span>)
+<a name="l00247"></a>00247 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+<a name="l00248"></a>00248 <span class="keywordtype">char</span>* line = (<span class="keywordtype">char</span>*)<a class="code" href="classuserrec.html#recvq">recvq</a>.c_str();
+<a name="l00249"></a>00249 <a class="code" href="namespaceirc.html#string">std::string</a> ret = <span class="stringliteral">""</span>;
+<a name="l00250"></a>00250 <span class="keywordflow">while</span> ((*line != <span class="charliteral">'\n'</span>) &amp;&amp; (strlen(line)))
+<a name="l00251"></a>00251 {
+<a name="l00252"></a>00252 ret = ret + *line;
+<a name="l00253"></a>00253 line++;
+<a name="l00254"></a>00254 }
+<a name="l00255"></a>00255 <span class="keywordflow">if</span> ((*line == <span class="charliteral">'\n'</span>) || (*line == <span class="charliteral">'\r'</span>))
+<a name="l00256"></a>00256 line++;
+<a name="l00257"></a>00257 <a class="code" href="classuserrec.html#recvq">recvq</a> = line;
+<a name="l00258"></a>00258 <span class="keywordflow">return</span> ret;
+<a name="l00259"></a>00259 }
+<a name="l00260"></a>00260
+<a name="l00261"></a><a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">00261</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">userrec::AddWriteBuf</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data)
+<a name="l00262"></a>00262 {
+<a name="l00263"></a>00263 <span class="keywordflow">if</span> (this-&gt;GetWriteError() != <span class="stringliteral">""</span>)
+<a name="l00264"></a>00264 <span class="keywordflow">return</span>;
+<a name="l00265"></a>00265 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length() &gt; (unsigned)this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>)
+<a name="l00266"></a>00266 {
+<a name="l00267"></a>00267 WriteOpers(<span class="stringliteral">"*** User %s SendQ of %d exceeds connect class maximum of %d"</span>,this-&gt;nick,<a class="code" href="classuserrec.html#sendq">sendq</a>.length() + data.length(),this-&gt;<a class="code" href="classuserrec.html#sendqmax">sendqmax</a>);
+<a name="l00268"></a>00268 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<span class="stringliteral">"SendQ exceeded"</span>);
+<a name="l00269"></a>00269 <span class="keywordflow">return</span>;
+<a name="l00270"></a>00270 }
+<a name="l00271"></a>00271 std::stringstream stream;
+<a name="l00272"></a>00272 stream &lt;&lt; <a class="code" href="classuserrec.html#sendq">sendq</a> &lt;&lt; data;
+<a name="l00273"></a>00273 <a class="code" href="classuserrec.html#sendq">sendq</a> = stream.str();
+<a name="l00274"></a>00274 }
+<a name="l00275"></a>00275
+<a name="l00276"></a>00276 <span class="comment">// send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)</span>
+<a name="l00277"></a><a class="code" href="classuserrec.html#FlushWriteBuf_28_29">00277</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#FlushWriteBuf_28_29">userrec::FlushWriteBuf</a>()
+<a name="l00278"></a>00278 {
+<a name="l00279"></a>00279 <span class="keywordflow">if</span> (<a class="code" href="classuserrec.html#sendq">sendq</a>.length())
+<a name="l00280"></a>00280 {
+<a name="l00281"></a>00281 <span class="keywordtype">char</span>* tb = (<span class="keywordtype">char</span>*)this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a>.c_str();
+<a name="l00282"></a>00282 <span class="keywordtype">int</span> n_sent = write(this-&gt;fd,tb,this-&gt;sendq.length());
+<a name="l00283"></a>00283 <span class="keywordflow">if</span> (n_sent == -1)
+<a name="l00284"></a>00284 {
+<a name="l00285"></a>00285 this-&gt;<a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(strerror(errno));
+<a name="l00286"></a>00286 }
+<a name="l00287"></a>00287 <span class="keywordflow">else</span>
+<a name="l00288"></a>00288 {
+<a name="l00289"></a>00289 <span class="comment">// advance the queue</span>
+<a name="l00290"></a>00290 tb += n_sent;
+<a name="l00291"></a>00291 this-&gt;<a class="code" href="classuserrec.html#sendq">sendq</a> = tb;
+<a name="l00292"></a>00292 <span class="comment">// update the user's stats counters</span>
+<a name="l00293"></a>00293 this-&gt;<a class="code" href="classconnection.html#bytes_5Fout">bytes_out</a> += n_sent;
+<a name="l00294"></a>00294 this-&gt;<a class="code" href="classconnection.html#cmds_5Fout">cmds_out</a>++;
+<a name="l00295"></a>00295 }
+<a name="l00296"></a>00296 }
+<a name="l00297"></a>00297 }
+<a name="l00298"></a>00298
+<a name="l00299"></a><a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">00299</a> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">userrec::SetWriteError</a>(<a class="code" href="namespaceirc.html#string">std::string</a> error)
+<a name="l00300"></a>00300 {
+<a name="l00301"></a>00301 log(<a class="code" href="modules_8h.html#DEBUG">DEBUG</a>,<span class="stringliteral">"Setting error string for %s to '%s'"</span>,this-&gt;nick,error.c_str());
+<a name="l00302"></a>00302 <span class="comment">// don't try to set the error twice, its already set take the first string.</span>
+<a name="l00303"></a>00303 <span class="keywordflow">if</span> (this-&gt;WriteError == <span class="stringliteral">""</span>)
+<a name="l00304"></a>00304 this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a> = error;
+<a name="l00305"></a>00305 }
+<a name="l00306"></a>00306
+<a name="l00307"></a><a class="code" href="classuserrec.html#GetWriteError_28_29">00307</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetWriteError_28_29">userrec::GetWriteError</a>()
+<a name="l00308"></a>00308 {
+<a name="l00309"></a>00309 <span class="keywordflow">return</span> this-&gt;<a class="code" href="classuserrec.html#WriteError">WriteError</a>;
+<a name="l00310"></a>00310 }
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/users_8cpp.html b/docs/module-doc/users_8cpp.html
index 53e2b3431..c0507b2e0 100644
--- a/docs/module-doc/users_8cpp.html
+++ b/docs/module-doc/users_8cpp.html
@@ -14,14 +14,16 @@
<code>#include &quot;inspircd.h&quot;</code><br>
<code>#include &lt;stdio.h&gt;</code><br>
<code>#include &quot;inspstring.h&quot;</code><br>
+<code>#include &quot;<a class="el" href="commands_8h-source.html">commands.h</a>&quot;</code><br>
<code>#include &quot;helperfuncs.h&quot;</code><br>
<p>
Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif" border="0" usemap="#users.cpp_map" alt=""></center>
<map name="users.cpp_map">
-<area href="channels_8h-source.html" shape="rect" coords="294,159,379,186" alt="">
-<area href="connection_8h-source.html" shape="rect" coords="287,58,386,84" alt="">
-<area href="users_8h-source.html" shape="rect" coords="155,108,219,135" alt="">
+<area href="channels_8h-source.html" shape="rect" coords="408,132,493,159" alt="">
+<area href="connection_8h-source.html" shape="rect" coords="401,233,500,260" alt="">
+<area href="users_8h-source.html" shape="rect" coords="288,183,352,209" alt="">
+<area href="commands_8h-source.html" shape="rect" coords="137,132,236,159" alt="">
</map>
<p>
@@ -105,7 +107,7 @@ Include dependency graph for users.cpp:<p><center><img src="users_8cpp__incl.gif
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:09 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/users_8cpp__incl.gif b/docs/module-doc/users_8cpp__incl.gif
index 0271baf2e..5126e18e3 100644
--- a/docs/module-doc/users_8cpp__incl.gif
+++ b/docs/module-doc/users_8cpp__incl.gif
Binary files differ
diff --git a/docs/module-doc/users_8cpp__incl.map b/docs/module-doc/users_8cpp__incl.map
index 250202e80..12be62e4b 100644
--- a/docs/module-doc/users_8cpp__incl.map
+++ b/docs/module-doc/users_8cpp__incl.map
@@ -1,4 +1,5 @@
base referer
-rect $channels_8h-source.html 294,159 379,186
-rect $connection_8h-source.html 287,58 386,84
-rect $users_8h-source.html 155,108 219,135
+rect $channels_8h-source.html 408,132 493,159
+rect $connection_8h-source.html 401,233 500,260
+rect $users_8h-source.html 288,183 352,209
+rect $commands_8h-source.html 137,132 236,159
diff --git a/docs/module-doc/users_8cpp__incl.md5 b/docs/module-doc/users_8cpp__incl.md5
index 45df1e870..e8c9aae41 100644
--- a/docs/module-doc/users_8cpp__incl.md5
+++ b/docs/module-doc/users_8cpp__incl.md5
@@ -1 +1 @@
-58b13cc74add16d3b6bac215c7ef17ab \ No newline at end of file
+2fa94c1471f03be385dba85c3d44dac3 \ No newline at end of file
diff --git a/docs/module-doc/users_8h-source.html b/docs/module-doc/users_8h-source.html
index 38f9cd109..f355eeb54 100644
--- a/docs/module-doc/users_8h-source.html
+++ b/docs/module-doc/users_8h-source.html
@@ -28,164 +28,171 @@
<a name="l00019"></a>00019 <span class="preprocessor">#include "inspstring.h"</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="connection_8h.html">connection.h</a>"</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;string&gt;</span>
-<a name="l00022"></a>00022
-<a name="l00023"></a>00023 <span class="preprocessor">#ifndef __USERS_H__ </span>
-<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __USERS_H__ </span>
+<a name="l00022"></a>00022 <span class="preprocessor">#ifdef THREADED_DNS</span>
+<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#include &lt;pthread.h&gt;</span>
+<a name="l00024"></a>00024 <span class="preprocessor">#endif</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
-<a name="l00026"></a><a class="code" href="users_8h.html#STATUS_5FOP">00026</a> <span class="preprocessor">#define STATUS_OP 4</span>
-<a name="l00027"></a><a class="code" href="users_8h.html#STATUS_5FHOP">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_HOP 2</span>
-<a name="l00028"></a><a class="code" href="users_8h.html#STATUS_5FVOICE">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_VOICE 1</span>
-<a name="l00029"></a><a class="code" href="users_8h.html#STATUS_5FNORMAL">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_NORMAL 0</span>
-<a name="l00030"></a>00030 <span class="preprocessor"></span>
-<a name="l00031"></a><a class="code" href="users_8h.html#CC_5FALLOW">00031</a> <span class="preprocessor">#define CC_ALLOW 0</span>
-<a name="l00032"></a><a class="code" href="users_8h.html#CC_5FDENY">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define CC_DENY 1</span>
+<a name="l00026"></a>00026 <span class="preprocessor">#ifndef __USERS_H__ </span>
+<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define __USERS_H__ </span>
+<a name="l00028"></a>00028 <span class="preprocessor"></span>
+<a name="l00029"></a><a class="code" href="users_8h.html#STATUS_5FOP">00029</a> <span class="preprocessor">#define STATUS_OP 4</span>
+<a name="l00030"></a><a class="code" href="users_8h.html#STATUS_5FHOP">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_HOP 2</span>
+<a name="l00031"></a><a class="code" href="users_8h.html#STATUS_5FVOICE">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_VOICE 1</span>
+<a name="l00032"></a><a class="code" href="users_8h.html#STATUS_5FNORMAL">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define STATUS_NORMAL 0</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
-<a name="l00036"></a><a class="code" href="classInvited.html">00036</a> <span class="keyword">class </span><a class="code" href="classInvited.html">Invited</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00037"></a>00037 {
-<a name="l00038"></a>00038 <span class="keyword">public</span>:
-<a name="l00039"></a><a class="code" href="classInvited.html#channel_5BCHANMAX_5D">00039</a> <span class="keywordtype">char</span> <a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>[CHANMAX];
-<a name="l00040"></a>00040 };
-<a name="l00041"></a>00041
-<a name="l00042"></a>00042
-<a name="l00045"></a><a class="code" href="classConnectClass.html">00045</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
-<a name="l00046"></a>00046 {
-<a name="l00047"></a>00047 <span class="keyword">public</span>:
-<a name="l00050"></a><a class="code" href="classConnectClass.html#type">00050</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#type">type</a>;
-<a name="l00053"></a><a class="code" href="classConnectClass.html#registration_5Ftimeout">00053</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a>;
-<a name="l00056"></a><a class="code" href="classConnectClass.html#flood">00056</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#flood">flood</a>;
-<a name="l00059"></a><a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">00059</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>[MAXBUF];
-<a name="l00062"></a><a class="code" href="classConnectClass.html#pingtime">00062</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#pingtime">pingtime</a>;
-<a name="l00065"></a><a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">00065</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>[MAXBUF];
-<a name="l00066"></a>00066
-<a name="l00069"></a><a class="code" href="classConnectClass.html#threshold">00069</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#threshold">threshold</a>;
-<a name="l00070"></a>00070
-<a name="l00073"></a><a class="code" href="classConnectClass.html#sendqmax">00073</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a>;
-<a name="l00074"></a>00074
-<a name="l00077"></a><a class="code" href="classConnectClass.html#recvqmax">00077</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a>;
-<a name="l00078"></a>00078
-<a name="l00079"></a><a class="code" href="classConnectClass.html#ConnectClass_28_29">00079</a> <a class="code" href="classConnectClass.html#ConnectClass_28_29">ConnectClass</a>()
-<a name="l00080"></a>00080 {
-<a name="l00081"></a>00081 <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a> = 0;
-<a name="l00082"></a>00082 <a class="code" href="classConnectClass.html#flood">flood</a> = 0;
-<a name="l00083"></a>00083 <a class="code" href="classConnectClass.html#pingtime">pingtime</a> = 0;
-<a name="l00084"></a>00084 <a class="code" href="classConnectClass.html#threshold">threshold</a> = 0;
-<a name="l00085"></a>00085 <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a> = 0;
-<a name="l00086"></a>00086 <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a> = 0;
-<a name="l00087"></a>00087 strlcpy(<a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>,<span class="stringliteral">""</span>,MAXBUF);
-<a name="l00088"></a>00088 strlcpy(<a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
-<a name="l00089"></a>00089 }
-<a name="l00090"></a>00090 };
-<a name="l00091"></a>00091
-<a name="l00094"></a><a class="code" href="users_8h.html#InvitedList">00094</a> <span class="keyword">typedef</span> std::vector&lt;Invited&gt; <a class="code" href="users_8h.html#InvitedList">InvitedList</a>;
-<a name="l00095"></a>00095
-<a name="l00096"></a>00096
-<a name="l00097"></a>00097
-<a name="l00100"></a><a class="code" href="users_8h.html#ClassVector">00100</a> <span class="keyword">typedef</span> std::vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#ClassVector">ClassVector</a>;
-<a name="l00101"></a>00101
-<a name="l00108"></a><a class="code" href="classuserrec.html">00108</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>
-<a name="l00109"></a>00109 {
-<a name="l00110"></a>00110 <span class="keyword">private</span>:
-<a name="l00111"></a>00111
-<a name="l00114"></a><a class="code" href="classuserrec.html#invites">00114</a> <a class="code" href="users_8h.html#InvitedList">InvitedList</a> <a class="code" href="classuserrec.html#invites">invites</a>;
-<a name="l00115"></a>00115 <span class="keyword">public</span>:
-<a name="l00116"></a>00116
-<a name="l00121"></a><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">00121</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>[NICKMAX];
-<a name="l00122"></a>00122
-<a name="l00126"></a><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">00126</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>[IDENTMAX+2];
-<a name="l00127"></a>00127
-<a name="l00131"></a><a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">00131</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>[160];
-<a name="l00132"></a>00132
-<a name="l00135"></a><a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">00135</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>[MAXGECOS+1];
-<a name="l00136"></a>00136
-<a name="l00144"></a><a class="code" href="classuserrec.html#modes_5B_35_34_5D">00144</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>[54];
-<a name="l00145"></a>00145
-<a name="l00146"></a><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">00146</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[MAXCHANS];
-<a name="l00147"></a>00147
-<a name="l00150"></a><a class="code" href="classuserrec.html#server">00150</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#server">server</a>;
-<a name="l00151"></a>00151
-<a name="l00155"></a><a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">00155</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>[MAXAWAY+1];
-<a name="l00156"></a>00156
-<a name="l00161"></a><a class="code" href="classuserrec.html#flood">00161</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#flood">flood</a>;
-<a name="l00162"></a>00162
-<a name="l00167"></a><a class="code" href="classuserrec.html#timeout">00167</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#timeout">timeout</a>;
-<a name="l00168"></a>00168
-<a name="l00174"></a><a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">00174</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>[NICKMAX];
-<a name="l00175"></a>00175
-<a name="l00178"></a><a class="code" href="classuserrec.html#dns_5Fdone">00178</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a>;
-<a name="l00179"></a>00179
-<a name="l00182"></a><a class="code" href="classuserrec.html#pingmax">00182</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#pingmax">pingmax</a>;
-<a name="l00183"></a>00183
-<a name="l00188"></a><a class="code" href="classuserrec.html#password_5BMAXBUF_5D">00188</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#password_5BMAXBUF_5D">password</a>[MAXBUF];
-<a name="l00189"></a>00189
-<a name="l00194"></a><a class="code" href="classuserrec.html#recvq">00194</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#recvq">recvq</a>;
-<a name="l00195"></a>00195
-<a name="l00199"></a><a class="code" href="classuserrec.html#sendq">00199</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#sendq">sendq</a>;
-<a name="l00200"></a>00200
-<a name="l00203"></a><a class="code" href="classuserrec.html#lines_5Fin">00203</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a>;
-<a name="l00204"></a><a class="code" href="classuserrec.html#reset_5Fdue">00204</a> time_t <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a>;
-<a name="l00205"></a><a class="code" href="classuserrec.html#threshold">00205</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#threshold">threshold</a>;
-<a name="l00206"></a>00206
-<a name="l00207"></a>00207 <span class="comment">/* Write error string</span>
-<a name="l00208"></a>00208 <span class="comment"> */</span>
-<a name="l00209"></a><a class="code" href="classuserrec.html#WriteError">00209</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#WriteError">WriteError</a>;
-<a name="l00210"></a>00210
-<a name="l00213"></a><a class="code" href="classuserrec.html#sendqmax">00213</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#sendqmax">sendqmax</a>;
-<a name="l00214"></a>00214
-<a name="l00217"></a><a class="code" href="classuserrec.html#recvqmax">00217</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#recvqmax">recvqmax</a>;
-<a name="l00218"></a>00218
-<a name="l00219"></a>00219 <a class="code" href="classuserrec.html#userrec_28_29">userrec</a>();
-<a name="l00220"></a>00220
-<a name="l00221"></a><a class="code" href="classuserrec.html#_7Euserrec_28_29">00221</a> <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#_7Euserrec_28_29">~userrec</a>() { }
-<a name="l00222"></a>00222
-<a name="l00227"></a>00227 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a>();
-<a name="l00228"></a>00228
-<a name="l00234"></a>00234 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullRealHost_28_29">GetFullRealHost</a>();
-<a name="l00235"></a>00235
-<a name="l00238"></a>00238 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">IsInvited</a>(<span class="keywordtype">char</span>* channel);
-<a name="l00239"></a>00239
-<a name="l00242"></a>00242 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">InviteTo</a>(<span class="keywordtype">char</span>* channel);
-<a name="l00243"></a>00243
-<a name="l00248"></a>00248 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
-<a name="l00249"></a>00249
-<a name="l00254"></a>00254 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">HasPermission</a>(<span class="keywordtype">char</span>* command);
-<a name="l00255"></a>00255
-<a name="l00258"></a>00258 <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size);
-<a name="l00259"></a>00259
-<a name="l00267"></a>00267 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">AddBuffer</a>(<a class="code" href="namespaceirc.html#string">std::string</a> a);
-<a name="l00268"></a>00268
-<a name="l00272"></a>00272 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#BufferIsReady_28_29">BufferIsReady</a>();
-<a name="l00273"></a>00273
-<a name="l00276"></a>00276 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
-<a name="l00277"></a>00277
-<a name="l00285"></a>00285 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetBuffer_28_29">GetBuffer</a>();
-<a name="l00286"></a>00286
-<a name="l00292"></a>00292 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<a class="code" href="namespaceirc.html#string">std::string</a> error);
-<a name="l00293"></a>00293
-<a name="l00297"></a>00297 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetWriteError_28_29">GetWriteError</a>();
-<a name="l00298"></a>00298
-<a name="l00304"></a>00304 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">AddWriteBuf</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data);
-<a name="l00305"></a>00305
-<a name="l00312"></a>00312 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#FlushWriteBuf_28_29">FlushWriteBuf</a>();
-<a name="l00313"></a>00313
-<a name="l00316"></a>00316 <a class="code" href="users_8h.html#InvitedList">InvitedList</a>* <a class="code" href="classuserrec.html#GetInviteList_28_29">GetInviteList</a>();
-<a name="l00317"></a>00317
-<a name="l00320"></a>00320 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#CloseSocket_28_29">CloseSocket</a>();
-<a name="l00321"></a>00321 };
+<a name="l00034"></a><a class="code" href="users_8h.html#CC_5FALLOW">00034</a> <span class="preprocessor">#define CC_ALLOW 0</span>
+<a name="l00035"></a><a class="code" href="users_8h.html#CC_5FDENY">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define CC_DENY 1</span>
+<a name="l00036"></a>00036 <span class="preprocessor"></span>
+<a name="l00039"></a><a class="code" href="classInvited.html">00039</a> <span class="keyword">class </span><a class="code" href="classInvited.html">Invited</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00040"></a>00040 {
+<a name="l00041"></a>00041 <span class="keyword">public</span>:
+<a name="l00042"></a><a class="code" href="classInvited.html#channel_5BCHANMAX_5D">00042</a> <span class="keywordtype">char</span> <a class="code" href="classInvited.html#channel_5BCHANMAX_5D">channel</a>[CHANMAX];
+<a name="l00043"></a>00043 };
+<a name="l00044"></a>00044
+<a name="l00045"></a>00045
+<a name="l00048"></a><a class="code" href="classConnectClass.html">00048</a> <span class="keyword">class </span><a class="code" href="classConnectClass.html">ConnectClass</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
+<a name="l00049"></a>00049 {
+<a name="l00050"></a>00050 <span class="keyword">public</span>:
+<a name="l00053"></a><a class="code" href="classConnectClass.html#type">00053</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#type">type</a>;
+<a name="l00056"></a><a class="code" href="classConnectClass.html#registration_5Ftimeout">00056</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a>;
+<a name="l00059"></a><a class="code" href="classConnectClass.html#flood">00059</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#flood">flood</a>;
+<a name="l00062"></a><a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">00062</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>[MAXBUF];
+<a name="l00065"></a><a class="code" href="classConnectClass.html#pingtime">00065</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#pingtime">pingtime</a>;
+<a name="l00068"></a><a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">00068</a> <span class="keywordtype">char</span> <a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>[MAXBUF];
+<a name="l00069"></a>00069
+<a name="l00072"></a><a class="code" href="classConnectClass.html#threshold">00072</a> <span class="keywordtype">int</span> <a class="code" href="classConnectClass.html#threshold">threshold</a>;
+<a name="l00073"></a>00073
+<a name="l00076"></a><a class="code" href="classConnectClass.html#sendqmax">00076</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a>;
+<a name="l00077"></a>00077
+<a name="l00080"></a><a class="code" href="classConnectClass.html#recvqmax">00080</a> <span class="keywordtype">long</span> <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a>;
+<a name="l00081"></a>00081
+<a name="l00082"></a><a class="code" href="classConnectClass.html#ConnectClass_28_29">00082</a> <a class="code" href="classConnectClass.html#ConnectClass_28_29">ConnectClass</a>()
+<a name="l00083"></a>00083 {
+<a name="l00084"></a>00084 <a class="code" href="classConnectClass.html#registration_5Ftimeout">registration_timeout</a> = 0;
+<a name="l00085"></a>00085 <a class="code" href="classConnectClass.html#flood">flood</a> = 0;
+<a name="l00086"></a>00086 <a class="code" href="classConnectClass.html#pingtime">pingtime</a> = 0;
+<a name="l00087"></a>00087 <a class="code" href="classConnectClass.html#threshold">threshold</a> = 0;
+<a name="l00088"></a>00088 <a class="code" href="classConnectClass.html#sendqmax">sendqmax</a> = 0;
+<a name="l00089"></a>00089 <a class="code" href="classConnectClass.html#recvqmax">recvqmax</a> = 0;
+<a name="l00090"></a>00090 strlcpy(<a class="code" href="classConnectClass.html#host_5BMAXBUF_5D">host</a>,<span class="stringliteral">""</span>,MAXBUF);
+<a name="l00091"></a>00091 strlcpy(<a class="code" href="classConnectClass.html#pass_5BMAXBUF_5D">pass</a>,<span class="stringliteral">""</span>,MAXBUF);
+<a name="l00092"></a>00092 }
+<a name="l00093"></a>00093 };
+<a name="l00094"></a>00094
+<a name="l00097"></a><a class="code" href="users_8h.html#InvitedList">00097</a> <span class="keyword">typedef</span> std::vector&lt;Invited&gt; <a class="code" href="users_8h.html#InvitedList">InvitedList</a>;
+<a name="l00098"></a>00098
+<a name="l00099"></a>00099
+<a name="l00100"></a>00100
+<a name="l00103"></a><a class="code" href="users_8h.html#ClassVector">00103</a> <span class="keyword">typedef</span> std::vector&lt;ConnectClass&gt; <a class="code" href="users_8h.html#ClassVector">ClassVector</a>;
+<a name="l00104"></a>00104
+<a name="l00111"></a><a class="code" href="classuserrec.html">00111</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>
+<a name="l00112"></a>00112 {
+<a name="l00113"></a>00113 <span class="keyword">private</span>:
+<a name="l00114"></a>00114
+<a name="l00117"></a><a class="code" href="classuserrec.html#invites">00117</a> <a class="code" href="users_8h.html#InvitedList">InvitedList</a> <a class="code" href="classuserrec.html#invites">invites</a>;
+<a name="l00118"></a>00118 <span class="keyword">public</span>:
+<a name="l00119"></a>00119
+<a name="l00124"></a><a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">00124</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#nick_5BNICKMAX_5D">nick</a>[NICKMAX];
+<a name="l00125"></a>00125
+<a name="l00129"></a><a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">00129</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#ident_5BIDENTMAX_2B_32_5D">ident</a>[IDENTMAX+2];
+<a name="l00130"></a>00130
+<a name="l00134"></a><a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">00134</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#dhost_5B_31_36_30_5D">dhost</a>[160];
+<a name="l00135"></a>00135
+<a name="l00138"></a><a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">00138</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>[MAXGECOS+1];
+<a name="l00139"></a>00139
+<a name="l00147"></a><a class="code" href="classuserrec.html#modes_5B_35_34_5D">00147</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#modes_5B_35_34_5D">modes</a>[54];
+<a name="l00148"></a>00148
+<a name="l00149"></a><a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">00149</a> <a class="code" href="classucrec.html">ucrec</a> <a class="code" href="classuserrec.html#chans_5BMAXCHANS_5D">chans</a>[MAXCHANS];
+<a name="l00150"></a>00150
+<a name="l00153"></a><a class="code" href="classuserrec.html#server">00153</a> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#server">server</a>;
+<a name="l00154"></a>00154
+<a name="l00158"></a><a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">00158</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#awaymsg_5BMAXAWAY_2B_31_5D">awaymsg</a>[MAXAWAY+1];
+<a name="l00159"></a>00159
+<a name="l00164"></a><a class="code" href="classuserrec.html#flood">00164</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#flood">flood</a>;
+<a name="l00165"></a>00165
+<a name="l00170"></a><a class="code" href="classuserrec.html#timeout">00170</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#timeout">timeout</a>;
+<a name="l00171"></a>00171
+<a name="l00177"></a><a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">00177</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#oper_5BNICKMAX_5D">oper</a>[NICKMAX];
+<a name="l00178"></a>00178
+<a name="l00181"></a><a class="code" href="classuserrec.html#dns_5Fdone">00181</a> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#dns_5Fdone">dns_done</a>;
+<a name="l00182"></a>00182
+<a name="l00185"></a><a class="code" href="classuserrec.html#pingmax">00185</a> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#pingmax">pingmax</a>;
+<a name="l00186"></a>00186
+<a name="l00191"></a><a class="code" href="classuserrec.html#password_5BMAXBUF_5D">00191</a> <span class="keywordtype">char</span> <a class="code" href="classuserrec.html#password_5BMAXBUF_5D">password</a>[MAXBUF];
+<a name="l00192"></a>00192
+<a name="l00197"></a><a class="code" href="classuserrec.html#recvq">00197</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#recvq">recvq</a>;
+<a name="l00198"></a>00198
+<a name="l00202"></a><a class="code" href="classuserrec.html#sendq">00202</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#sendq">sendq</a>;
+<a name="l00203"></a>00203
+<a name="l00206"></a><a class="code" href="classuserrec.html#lines_5Fin">00206</a> <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#lines_5Fin">lines_in</a>;
+<a name="l00207"></a><a class="code" href="classuserrec.html#reset_5Fdue">00207</a> time_t <a class="code" href="classuserrec.html#reset_5Fdue">reset_due</a>;
+<a name="l00208"></a><a class="code" href="classuserrec.html#threshold">00208</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#threshold">threshold</a>;
+<a name="l00209"></a>00209
+<a name="l00210"></a>00210 <span class="comment">/* Write error string</span>
+<a name="l00211"></a>00211 <span class="comment"> */</span>
+<a name="l00212"></a><a class="code" href="classuserrec.html#WriteError">00212</a> <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#WriteError">WriteError</a>;
+<a name="l00213"></a>00213
+<a name="l00216"></a><a class="code" href="classuserrec.html#sendqmax">00216</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#sendqmax">sendqmax</a>;
+<a name="l00217"></a>00217
+<a name="l00220"></a><a class="code" href="classuserrec.html#recvqmax">00220</a> <span class="keywordtype">long</span> <a class="code" href="classuserrec.html#recvqmax">recvqmax</a>;
+<a name="l00221"></a>00221
+<a name="l00222"></a>00222 <a class="code" href="classuserrec.html#userrec_28_29">userrec</a>();
+<a name="l00223"></a>00223
+<a name="l00228"></a>00228 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullHost_28_29">GetFullHost</a>();
+<a name="l00229"></a>00229
+<a name="l00235"></a>00235 <span class="keyword">virtual</span> <span class="keywordtype">char</span>* <a class="code" href="classuserrec.html#GetFullRealHost_28_29">GetFullRealHost</a>();
+<a name="l00236"></a>00236
+<a name="l00239"></a>00239 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#IsInvited_28char_20_2Achannel_29">IsInvited</a>(<span class="keywordtype">char</span>* channel);
+<a name="l00240"></a>00240
+<a name="l00243"></a>00243 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#InviteTo_28char_20_2Achannel_29">InviteTo</a>(<span class="keywordtype">char</span>* channel);
+<a name="l00244"></a>00244
+<a name="l00249"></a>00249 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#RemoveInvite_28char_20_2Achannel_29">RemoveInvite</a>(<span class="keywordtype">char</span>* channel);
+<a name="l00250"></a>00250
+<a name="l00255"></a>00255 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#HasPermission_28char_20_2Acommand_29">HasPermission</a>(<span class="keywordtype">char</span>* command);
+<a name="l00256"></a>00256
+<a name="l00259"></a>00259 <span class="keywordtype">int</span> <a class="code" href="classuserrec.html#ReadData_28void_20_2Abuffer_2C_20size_5Ft_20size_29">ReadData</a>(<span class="keywordtype">void</span>* buffer, size_t size);
+<a name="l00260"></a>00260
+<a name="l00268"></a>00268 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#AddBuffer_28std_3A_3Astring_20a_29">AddBuffer</a>(<a class="code" href="namespaceirc.html#string">std::string</a> a);
+<a name="l00269"></a>00269
+<a name="l00273"></a>00273 <span class="keywordtype">bool</span> <a class="code" href="classuserrec.html#BufferIsReady_28_29">BufferIsReady</a>();
+<a name="l00274"></a>00274
+<a name="l00277"></a>00277 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#ClearBuffer_28_29">ClearBuffer</a>();
+<a name="l00278"></a>00278
+<a name="l00286"></a>00286 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetBuffer_28_29">GetBuffer</a>();
+<a name="l00287"></a>00287
+<a name="l00293"></a>00293 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#SetWriteError_28std_3A_3Astring_20error_29">SetWriteError</a>(<a class="code" href="namespaceirc.html#string">std::string</a> error);
+<a name="l00294"></a>00294
+<a name="l00298"></a>00298 <a class="code" href="namespaceirc.html#string">std::string</a> <a class="code" href="classuserrec.html#GetWriteError_28_29">GetWriteError</a>();
+<a name="l00299"></a>00299
+<a name="l00305"></a>00305 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#AddWriteBuf_28std_3A_3Astring_20data_29">AddWriteBuf</a>(<a class="code" href="namespaceirc.html#string">std::string</a> data);
+<a name="l00306"></a>00306
+<a name="l00313"></a>00313 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#FlushWriteBuf_28_29">FlushWriteBuf</a>();
+<a name="l00314"></a>00314
+<a name="l00317"></a>00317 <a class="code" href="users_8h.html#InvitedList">InvitedList</a>* <a class="code" href="classuserrec.html#GetInviteList_28_29">GetInviteList</a>();
+<a name="l00318"></a>00318
+<a name="l00321"></a>00321 <span class="keywordtype">void</span> <a class="code" href="classuserrec.html#CloseSocket_28_29">CloseSocket</a>();
<a name="l00322"></a>00322
-<a name="l00325"></a><a class="code" href="classWhoWasUser.html">00325</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a>
-<a name="l00326"></a>00326 {
-<a name="l00327"></a>00327 <span class="keyword">public</span>:
-<a name="l00328"></a><a class="code" href="classWhoWasUser.html#nick_5BNICKMAX_5D">00328</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#nick_5BNICKMAX_5D">nick</a>[NICKMAX];
-<a name="l00329"></a><a class="code" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">00329</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">ident</a>[IDENTMAX+1];
-<a name="l00330"></a><a class="code" href="classWhoWasUser.html#dhost_5B_31_36_30_5D">00330</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#dhost_5B_31_36_30_5D">dhost</a>[160];
-<a name="l00331"></a><a class="code" href="classWhoWasUser.html#host_5B_31_36_30_5D">00331</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#host_5B_31_36_30_5D">host</a>[160];
-<a name="l00332"></a><a class="code" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">00332</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>[MAXGECOS+1];
-<a name="l00333"></a><a class="code" href="classWhoWasUser.html#server_5B_32_35_36_5D">00333</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#server_5B_32_35_36_5D">server</a>[256];
-<a name="l00334"></a><a class="code" href="classWhoWasUser.html#signon">00334</a> time_t <a class="code" href="classWhoWasUser.html#signon">signon</a>;
-<a name="l00335"></a>00335 };
-<a name="l00336"></a>00336
-<a name="l00337"></a>00337 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00323"></a>00323 <span class="keyword">virtual</span> <a class="code" href="classuserrec.html#_7Euserrec_28_29">~userrec</a>();
+<a name="l00324"></a>00324
+<a name="l00325"></a>00325 <span class="preprocessor">#ifdef THREADED_DNS</span>
+<a name="l00326"></a>00326 <span class="preprocessor"></span> pthread_t dnsthread;
+<a name="l00327"></a>00327 <span class="preprocessor">#endif</span>
+<a name="l00328"></a>00328 <span class="preprocessor"></span>};
+<a name="l00329"></a>00329
+<a name="l00332"></a><a class="code" href="classWhoWasUser.html">00332</a> <span class="keyword">class </span><a class="code" href="classWhoWasUser.html">WhoWasUser</a>
+<a name="l00333"></a>00333 {
+<a name="l00334"></a>00334 <span class="keyword">public</span>:
+<a name="l00335"></a><a class="code" href="classWhoWasUser.html#nick_5BNICKMAX_5D">00335</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#nick_5BNICKMAX_5D">nick</a>[NICKMAX];
+<a name="l00336"></a><a class="code" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">00336</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#ident_5BIDENTMAX_2B_31_5D">ident</a>[IDENTMAX+1];
+<a name="l00337"></a><a class="code" href="classWhoWasUser.html#dhost_5B_31_36_30_5D">00337</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#dhost_5B_31_36_30_5D">dhost</a>[160];
+<a name="l00338"></a><a class="code" href="classWhoWasUser.html#host_5B_31_36_30_5D">00338</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#host_5B_31_36_30_5D">host</a>[160];
+<a name="l00339"></a><a class="code" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">00339</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#fullname_5BMAXGECOS_2B_31_5D">fullname</a>[MAXGECOS+1];
+<a name="l00340"></a><a class="code" href="classWhoWasUser.html#server_5B_32_35_36_5D">00340</a> <span class="keywordtype">char</span> <a class="code" href="classWhoWasUser.html#server_5B_32_35_36_5D">server</a>[256];
+<a name="l00341"></a><a class="code" href="classWhoWasUser.html#signon">00341</a> time_t <a class="code" href="classWhoWasUser.html#signon">signon</a>;
+<a name="l00342"></a>00342 };
+<a name="l00343"></a>00343
+<a name="l00344"></a>00344 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:03 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/users_8h.html b/docs/module-doc/users_8h.html
index c26992c15..5a1e5c89c 100644
--- a/docs/module-doc/users_8h.html
+++ b/docs/module-doc/users_8h.html
@@ -25,8 +25,8 @@ This graph shows which files directly or indirectly include this file:<p><center
<map name="users.hdep_map">
<area href="channels_8cpp-source.html" shape="rect" coords="269,83,368,109" alt="">
<area href="modules_8cpp-source.html" shape="rect" coords="269,159,368,185" alt="">
-<area href="users_8cpp-source.html" shape="rect" coords="131,311,211,337" alt="">
-<area href="commands_8h-source.html" shape="rect" coords="121,209,220,236" alt="">
+<area href="users_8cpp-source.html" shape="rect" coords="279,285,359,312" alt="">
+<area href="commands_8h-source.html" shape="rect" coords="121,260,220,287" alt="">
<area href="message_8h-source.html" shape="rect" coords="128,57,213,84" alt="">
<area href="mode_8h-source.html" shape="rect" coords="137,108,204,135" alt="">
<area href="xline_8h-source.html" shape="rect" coords="140,159,201,185" alt="">
@@ -92,7 +92,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00031">31</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#l00034">34</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="CC_5FDENY"></a><!-- doxytag: member="users.h::CC_DENY" ref="CC_5FDENY" args="" --><p>
@@ -117,7 +117,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00031">31</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00032">32</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#l00035">35</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="STATUS_5FHOP"></a><!-- doxytag: member="users.h::STATUS_HOP" ref="STATUS_5FHOP" args="" --><p>
@@ -142,7 +142,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00032">32</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00027">27</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#l00030">30</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="STATUS_5FNORMAL"></a><!-- doxytag: member="users.h::STATUS_NORMAL" ref="STATUS_5FNORMAL" args="" --><p>
@@ -167,7 +167,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00027">27</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00029">29</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#l00032">32</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="STATUS_5FOP"></a><!-- doxytag: member="users.h::STATUS_OP" ref="STATUS_5FOP" args="" --><p>
@@ -192,7 +192,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00029">29</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00026">26</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#l00029">29</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="STATUS_5FVOICE"></a><!-- doxytag: member="users.h::STATUS_VOICE" ref="STATUS_5FVOICE" args="" --><p>
@@ -217,7 +217,7 @@ Definition at line <a class="el" href="users_8h-source.html#l00026">26</a> of fi
<p>
<p>
-Definition at line <a class="el" href="users_8h-source.html#l00028">28</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#l00031">31</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<hr><h2>Typedef Documentation</h2>
@@ -245,7 +245,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#l00100">100</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#l00103">103</a> of file <a class="el" href="users_8h-source.html">users.h</a>. </td>
</tr>
</table>
<a class="anchor" name="InvitedList"></a><!-- doxytag: member="users.h::InvitedList" ref="InvitedList" args="" --><p>
@@ -272,10 +272,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#l00094">94</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#l00097">97</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 Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/users_8h__dep__incl.gif b/docs/module-doc/users_8h__dep__incl.gif
index d0e01f1c4..aa0164236 100644
--- a/docs/module-doc/users_8h__dep__incl.gif
+++ b/docs/module-doc/users_8h__dep__incl.gif
Binary files differ
diff --git a/docs/module-doc/users_8h__dep__incl.map b/docs/module-doc/users_8h__dep__incl.map
index 6ace71bf1..58ad59725 100644
--- a/docs/module-doc/users_8h__dep__incl.map
+++ b/docs/module-doc/users_8h__dep__incl.map
@@ -1,8 +1,8 @@
base referer
rect $channels_8cpp-source.html 269,83 368,109
rect $modules_8cpp-source.html 269,159 368,185
-rect $users_8cpp-source.html 131,311 211,337
-rect $commands_8h-source.html 121,209 220,236
+rect $users_8cpp-source.html 279,285 359,312
+rect $commands_8h-source.html 121,260 220,287
rect $message_8h-source.html 128,57 213,84
rect $mode_8h-source.html 137,108 204,135
rect $xline_8h-source.html 140,159 201,185
diff --git a/docs/module-doc/users_8h__dep__incl.md5 b/docs/module-doc/users_8h__dep__incl.md5
index ec176e93b..657a6ee6c 100644
--- a/docs/module-doc/users_8h__dep__incl.md5
+++ b/docs/module-doc/users_8h__dep__incl.md5
@@ -1 +1 @@
-90f60db6818f380f159c532db95ccc66 \ No newline at end of file
+1df71afa1aaf320bbe4ab884cb21df5d \ No newline at end of file
diff --git a/docs/module-doc/users_8h__incl.md5 b/docs/module-doc/users_8h__incl.md5
index 1487e9c1d..0182762ef 100644
--- a/docs/module-doc/users_8h__incl.md5
+++ b/docs/module-doc/users_8h__incl.md5
@@ -1 +1 @@
-7879e2bf7dd2f81aa204448ca88459ab \ No newline at end of file
+8a804bf9eb838d5cc63aad0c666de3ab \ No newline at end of file
diff --git a/docs/module-doc/xline_8h-source.html b/docs/module-doc/xline_8h-source.html
index 898ab6283..c15e7534b 100644
--- a/docs/module-doc/xline_8h-source.html
+++ b/docs/module-doc/xline_8h-source.html
@@ -118,12 +118,13 @@
<a name="l00150"></a>00150 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#gline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">gline_set_creation_time</a>(<span class="keywordtype">char</span>* host, time_t create_time);
<a name="l00151"></a>00151 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#qline_5Fset_5Fcreation_5Ftime_28char_20_2Anick_2C_20time_5Ft_20create_5Ftime_29">qline_set_creation_time</a>(<span class="keywordtype">char</span>* nick, time_t create_time);
<a name="l00152"></a>00152 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">zline_set_creation_time</a>(<span class="keywordtype">char</span>* ip, time_t create_time);
-<a name="l00153"></a>00153
-<a name="l00154"></a>00154 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">zline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* ipaddr);
-<a name="l00155"></a>00155 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">qline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nickname);
-<a name="l00156"></a>00156
-<a name="l00157"></a>00157 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<a name="l00153"></a>00153 <span class="keywordtype">void</span> <a class="code" href="xline_8h.html#eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">eline_set_creation_time</a>(<span class="keywordtype">char</span>* host, time_t create_time);
+<a name="l00154"></a>00154
+<a name="l00155"></a>00155 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">zline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* ipaddr);
+<a name="l00156"></a>00156 <span class="keywordtype">bool</span> <a class="code" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">qline_make_global</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nickname);
+<a name="l00157"></a>00157
+<a name="l00158"></a>00158 <span class="preprocessor">#endif</span>
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:04 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/xline_8h.html b/docs/module-doc/xline_8h.html
index 62098d9d5..15600f2c5 100644
--- a/docs/module-doc/xline_8h.html
+++ b/docs/module-doc/xline_8h.html
@@ -105,6 +105,8 @@ This graph shows which files directly or indirectly include this file:<p><center
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html#zline_5Fset_5Fcreation_5Ftime_28char_20_2Aip_2C_20time_5Ft_20create_5Ftime_29">zline_set_creation_time</a> (char *ip, time_t create_time)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html#eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29">eline_set_creation_time</a> (char *host, time_t create_time)</td></tr>
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html#zline_5Fmake_5Fglobal_28const_20char_20_2Aipaddr_29">zline_make_global</a> (const char *ipaddr)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="xline_8h.html#qline_5Fmake_5Fglobal_28const_20char_20_2Anickname_29">qline_make_global</a> (const char *nickname)</td></tr>
@@ -159,7 +161,7 @@ This graph shows which files directly or indirectly include this file:<p><center
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00720">Server::AddELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00758">Server::AddELine()</a>. </td>
</tr>
</table>
<a class="anchor" name="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_gline" ref="add_5Fgline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p>
@@ -210,7 +212,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00720">Server::AddEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::AddGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00738">Server::AddGLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::add_kline" ref="add_5Fkline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Ahostmask_29" args="(long duration, const char *source, const char *reason, const char *hostmask)" --><p>
@@ -261,7 +263,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00700">Server::AddGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00715">Server::AddKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00753">Server::AddKLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::add_qline" ref="add_5Fqline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Anickname_29" args="(long duration, const char *source, const char *reason, const char *nickname)" --><p>
@@ -312,7 +314,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00715">Server::AddKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00705">Server::AddQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00743">Server::AddQLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::add_zline" ref="add_5Fzline_28long_20duration_2C_20const_20char_20_2Asource_2C_20const_20char_20_2Areason_2C_20const_20char_20_2Aipaddr_29" args="(long duration, const char *source, const char *reason, const char *ipaddr)" --><p>
@@ -363,7 +365,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00705">Server::AddQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00710">Server::AddZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00748">Server::AddZLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="apply_5Flines_28_29"></a><!-- doxytag: member="xline.h::apply_lines" ref="apply_5Flines_28_29" args="()" --><p>
@@ -420,7 +422,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00710">Server::AddZL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00745">Server::DelELine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00783">Server::DelELine()</a>. </td>
</tr>
</table>
<a class="anchor" name="del_5Fgline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_gline" ref="del_5Fgline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p>
@@ -450,7 +452,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00745">Server::DelEL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00725">Server::DelGLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00763">Server::DelGLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="del_5Fkline_28const_20char_20_2Ahostmask_29"></a><!-- doxytag: member="xline.h::del_kline" ref="del_5Fkline_28const_20char_20_2Ahostmask_29" args="(const char *hostmask)" --><p>
@@ -480,7 +482,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00725">Server::DelGL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::DelKLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00778">Server::DelKLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="del_5Fqline_28const_20char_20_2Anickname_29"></a><!-- doxytag: member="xline.h::del_qline" ref="del_5Fqline_28const_20char_20_2Anickname_29" args="(const char *nickname)" --><p>
@@ -510,7 +512,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00740">Server::DelKL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::DelQLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00768">Server::DelQLine()</a>. </td>
</tr>
</table>
<a class="anchor" name="del_5Fzline_28const_20char_20_2Aipaddr_29"></a><!-- doxytag: member="xline.h::del_zline" ref="del_5Fzline_28const_20char_20_2Aipaddr_29" args="(const char *ipaddr)" --><p>
@@ -540,7 +542,44 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00730">Server::DelQL
<p>
<p>
-Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::DelZLine()</a>. </td>
+Referenced by <a class="el" href="modules_8cpp-source.html#l00773">Server::DelZLine()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29"></a><!-- doxytag: member="xline.h::eline_set_creation_time" ref="eline_5Fset_5Fcreation_5Ftime_28char_20_2Ahost_2C_20time_5Ft_20create_5Ftime_29" args="(char *host, time_t create_time)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void eline_set_creation_time </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>host</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>time_t&nbsp;</td>
+ <td class="mdname" nowrap> <em>create_time</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
</tr>
</table>
<a class="anchor" name="expire_5Flines_28_29"></a><!-- doxytag: member="xline.h::expire_lines" ref="expire_5Flines_28_29" args="()" --><p>
@@ -1044,7 +1083,7 @@ Referenced by <a class="el" href="modules_8cpp-source.html#l00735">Server::DelZL
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:24 2005 for InspIRCd by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:10 2005 for InspIRCd by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
</body>
diff --git a/docs/module-doc/xline_8h__incl.md5 b/docs/module-doc/xline_8h__incl.md5
index 8b33a634d..19d6c530a 100644
--- a/docs/module-doc/xline_8h__incl.md5
+++ b/docs/module-doc/xline_8h__incl.md5
@@ -1 +1 @@
-6e8687e6a611b1214ddbdd4f9cecd725 \ No newline at end of file
+c19192f2db3c2ad86cf37af32b2260b3 \ No newline at end of file