1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: Module class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>Module Class Reference</h1>Base class for all InspIRCd modules This class is the base class for InspIRCd modules.
9 <a href="#_details">More...</a>
11 <code>#include <<a class="el" href="modules_8h-source.html">modules.h</a>></code>
13 Inherits <a class="el" href="classclassbase.html">classbase</a>.
15 <a href="classModule-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
17 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
18 <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a0">Module</a> ()</td></tr>
20 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor creates a module class. </em> <a href="#a0"></a><em><br><br></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a1">~Module</a> ()</td></tr>
23 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default destructor destroys a module class. </em> <a href="#a1"></a><em><br><br></td></tr>
24 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="classVersion.html">Version</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a2">GetVersion</a> ()</td></tr>
26 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the version number of a Module. </em> <a href="#a2"></a><em><br><br></td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a3">OnUserConnect</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
29 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a user connects. </em> <a href="#a3"></a><em><br><br></td></tr>
30 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a4">OnUserQuit</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
32 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a user quits. </em> <a href="#a4"></a><em><br><br></td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a5">OnUserJoin</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
35 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a user joins a channel. </em> <a href="#a5"></a><em><br><br></td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a6">OnUserPart</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *channel)</td></tr>
38 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a user parts a channel. </em> <a href="#a6"></a><em><br><br></td></tr>
39 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a7">OnPacketTransmit</a> (char *p)</td></tr>
41 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called before a packet is transmitted across the irc network between two irc servers. </em> <a href="#a7"></a><em><br><br></td></tr>
42 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a8">OnPacketReceive</a> (char *p)</td></tr>
44 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called after a packet is received from another irc server. </em> <a href="#a8"></a><em><br><br></td></tr>
45 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a9">OnRehash</a> ()</td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called on rehash. </em> <a href="#a9"></a><em><br><br></td></tr>
48 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a10">OnServerRaw</a> (std::string &raw, bool inbound, <a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
50 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a raw command is transmitted or received. </em> <a href="#a10"></a><em><br><br></td></tr>
51 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a11">OnExtendedMode</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *target, char modechar, int type, bool mode_on, <a class="el" href="modules_8h.html#a27">string_list</a> &params)</td></tr>
53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever an extended mode is to be processed. </em> <a href="#a11"></a><em><br><br></td></tr>
54 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a12">OnUserPreJoin</a> (<a class="el" href="classuserrec.html">userrec</a> *user, <a class="el" href="classchanrec.html">chanrec</a> *chan, const char *cname)</td></tr>
56 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user is about to join a channel, before any processing is done. </em> <a href="#a12"></a><em><br><br></td></tr>
57 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a13">OnOper</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
59 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user opers locally. </em> <a href="#a13"></a><em><br><br></td></tr>
60 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a14">OnInfo</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
62 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user types /INFO. </em> <a href="#a14"></a><em><br><br></td></tr>
63 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a15">OnWhois</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest)</td></tr>
65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a /WHOIS is performed on a local user. </em> <a href="#a15"></a><em><br><br></td></tr>
66 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a16">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>
68 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user is about to invite another user into a channel, before any processing is done. </em> <a href="#a16"></a><em><br><br></td></tr>
69 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a17">OnUserPreMessage</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, std::string &text)</td></tr>
71 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done. </em> <a href="#a17"></a><em><br><br></td></tr>
72 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a18">OnUserPreNotice</a> (<a class="el" href="classuserrec.html">userrec</a> *user, void *dest, int target_type, std::string &text)</td></tr>
74 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a user is about to NOTICE A user or a channel, before any processing is done. </em> <a href="#a18"></a><em><br><br></td></tr>
75 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a19">OnUserPreNick</a> (<a class="el" href="classuserrec.html">userrec</a> *user, std::string newnick)</td></tr>
77 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called before any nickchange, local or remote. </em> <a href="#a19"></a><em><br><br></td></tr>
78 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a20">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>
80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called before an action which requires a channel privilage check. </em> <a href="#a20"></a><em><br><br></td></tr>
81 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a21">OnUserSync</a> (<a class="el" href="classuserrec.html">userrec</a> *user)</td></tr>
83 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called during a netburst to sync user data. </em> <a href="#a21"></a><em><br><br></td></tr>
84 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="modules_8h.html#a27">string_list</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a22">OnChannelSync</a> (<a class="el" href="classchanrec.html">chanrec</a> *chan)</td></tr>
86 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called during a netburst to sync channel data. </em> <a href="#a22"></a><em><br><br></td></tr>
87 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a23">On005Numeric</a> (std::string &output)</td></tr>
89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a 005 numeric is about to be output. </em> <a href="#a23"></a><em><br><br></td></tr>
90 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a24">OnKill</a> (<a class="el" href="classuserrec.html">userrec</a> *source, <a class="el" href="classuserrec.html">userrec</a> *dest, std::string reason)</td></tr>
92 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called when a client is disconnected by KILL. </em> <a href="#a24"></a><em><br><br></td></tr>
93 <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="classModule.html#a25">OnLoadModule</a> (<a class="el" href="classModule.html">Module</a> *mod, std::string name)</td></tr>
95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Called whenever a module is loaded. </em> <a href="#a25"></a><em><br><br></td></tr>
97 <hr><a name="_details"></a><h2>Detailed Description</h2>
98 Base class for all InspIRCd modules This class is the base class for InspIRCd modules.
100 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 <a class="el" href="classModuleFactory.html">ModuleFactory</a> class (see relevent section) for the plugin to be initialised.
104 Definition at line <a class="el" href="modules_8h-source.html#l00126">126</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
105 <a name="a0" doxytag="Module::Module"></a><p>
106 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
109 <table cellpadding="0" cellspacing="0" border="0">
111 <td class="md" nowrap valign="top"> Module::Module </td>
112 <td class="md" valign="top">( </td>
113 <td class="mdname1" valign="top" nowrap> </td>
114 <td class="md" valign="top"> ) </td>
115 <td class="md" nowrap></td>
122 <table cellspacing=5 cellpadding=0 border=0>
130 Default constructor creates a module class.
134 Definition at line <a class="el" href="modules_8cpp-source.html#l00304">304</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
136 <div class="fragment"><pre>00304 { }
140 <a name="a1" doxytag="Module::~Module"></a><p>
141 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
144 <table cellpadding="0" cellspacing="0" border="0">
146 <td class="md" nowrap valign="top"> Module::~<a class="el" href="classModule.html">Module</a> </td>
147 <td class="md" valign="top">( </td>
148 <td class="mdname1" valign="top" nowrap> </td>
149 <td class="md" valign="top"> ) </td>
150 <td class="md" nowrap><code> [virtual]</code></td>
157 <table cellspacing=5 cellpadding=0 border=0>
165 Default destructor destroys a module class.
169 Definition at line <a class="el" href="modules_8cpp-source.html#l00305">305</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
171 <div class="fragment"><pre>00305 { }
175 <hr><h2>Member Function Documentation</h2>
176 <a name="a2" doxytag="Module::GetVersion"></a><p>
177 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
180 <table cellpadding="0" cellspacing="0" border="0">
182 <td class="md" nowrap valign="top"> <a class="el" href="classVersion.html">Version</a> Module::GetVersion </td>
183 <td class="md" valign="top">( </td>
184 <td class="mdname1" valign="top" nowrap> </td>
185 <td class="md" valign="top"> ) </td>
186 <td class="md" nowrap><code> [virtual]</code></td>
193 <table cellspacing=5 cellpadding=0 border=0>
201 Returns the version number of a Module.
203 The method should return a <a class="el" href="classVersion.html">Version</a> object with its version information assigned via <a class="el" href="classVersion.html#a0">Version::Version</a>
205 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>.
207 <div class="fragment"><pre>00316 { <span class="keywordflow">return</span> <a class="code" href="classVersion.html">Version</a>(1,0,0,0); }
211 <a name="a23" doxytag="Module::On005Numeric"></a><p>
212 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
215 <table cellpadding="0" cellspacing="0" border="0">
217 <td class="md" nowrap valign="top"> void Module::On005Numeric </td>
218 <td class="md" valign="top">( </td>
219 <td class="md" nowrap valign="top">std::string & </td>
220 <td class="mdname1" valign="top" nowrap> <em>output</em> </td>
221 <td class="md" valign="top"> ) </td>
222 <td class="md" nowrap><code> [virtual]</code></td>
229 <table cellspacing=5 cellpadding=0 border=0>
237 Called when a 005 numeric is about to be output.
239 The module should modify the 005 numeric if needed to indicate its features.
241 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>.
243 <div class="fragment"><pre>00327 { };
247 <a name="a20" doxytag="Module::OnAccessCheck"></a><p>
248 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
251 <table cellpadding="0" cellspacing="0" border="0">
253 <td class="md" nowrap valign="top"> int Module::OnAccessCheck </td>
254 <td class="md" valign="top">( </td>
255 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
256 <td class="mdname" nowrap> <em>source</em>, </td>
261 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
262 <td class="mdname" nowrap> <em>dest</em>, </td>
267 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
268 <td class="mdname" nowrap> <em>channel</em>, </td>
273 <td class="md" nowrap>int </td>
274 <td class="mdname" nowrap> <em>access_type</em></td>
278 <td class="md">) </td>
279 <td class="md" colspan="2"><code> [virtual]</code></td>
286 <table cellspacing=5 cellpadding=0 border=0>
294 Called before an action which requires a channel privilage check.
296 This function is called before many functions which check a users status on a channel, for example before opping a user, deopping a user, kicking a user, etc. There are several values for access_type which indicate for what reason access is being checked. These are:<br>
298 AC_KICK (0) - A user is being kicked<br>
299 AC_DEOP (1) - a user is being deopped<br>
300 AC_OP (2) - a user is being opped<br>
301 AC_VOICE (3) - a user is being voiced<br>
302 AC_DEVOICE (4) - a user is being devoiced<br>
303 AC_HALFOP (5) - a user is being halfopped<br>
304 AC_DEHALFOP (6) - a user is being dehalfopped<br>
305 AC_INVITE (7) - a user is being invited<br>
306 AC_GENERAL_MODE (8) - a user channel mode is being changed<br>
308 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).
310 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>.
312 References <a class="el" href="modules_8h-source.html#l00037">ACR_DEFAULT</a>.
314 <div class="fragment"><pre>00324 { <span class="keywordflow">return</span> <a class="code" href="modules_8h.html#a8">ACR_DEFAULT</a>; };
318 <a name="a22" doxytag="Module::OnChannelSync"></a><p>
319 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
322 <table cellpadding="0" cellspacing="0" border="0">
324 <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnChannelSync </td>
325 <td class="md" valign="top">( </td>
326 <td class="md" nowrap valign="top"><a class="el" href="classchanrec.html">chanrec</a> * </td>
327 <td class="mdname1" valign="top" nowrap> <em>chan</em> </td>
328 <td class="md" valign="top"> ) </td>
329 <td class="md" nowrap><code> [virtual]</code></td>
336 <table cellspacing=5 cellpadding=0 border=0>
344 Called during a netburst to sync channel data.
346 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.
348 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>.
350 References <a class="el" href="modules_8h-source.html#l00061">string_list</a>.
352 <div class="fragment"><pre>00326 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; }
356 <a name="a11" doxytag="Module::OnExtendedMode"></a><p>
357 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
360 <table cellpadding="0" cellspacing="0" border="0">
362 <td class="md" nowrap valign="top"> int Module::OnExtendedMode </td>
363 <td class="md" valign="top">( </td>
364 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
365 <td class="mdname" nowrap> <em>user</em>, </td>
370 <td class="md" nowrap>void * </td>
371 <td class="mdname" nowrap> <em>target</em>, </td>
376 <td class="md" nowrap>char </td>
377 <td class="mdname" nowrap> <em>modechar</em>, </td>
382 <td class="md" nowrap>int </td>
383 <td class="mdname" nowrap> <em>type</em>, </td>
388 <td class="md" nowrap>bool </td>
389 <td class="mdname" nowrap> <em>mode_on</em>, </td>
394 <td class="md" nowrap><a class="el" href="modules_8h.html#a27">string_list</a> & </td>
395 <td class="mdname" nowrap> <em>params</em></td>
399 <td class="md">) </td>
400 <td class="md" colspan="2"><code> [virtual]</code></td>
407 <table cellspacing=5 cellpadding=0 border=0>
415 Called whenever an extended mode is to be processed.
417 The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being changed. mode_on is set when the mode is being set, in which case params contains a list of parameters for the mode as strings. If mode_on is false, the mode is being removed, and parameters may contain the parameters for the mode, dependent on wether they were defined when a mode handler was set up with <a class="el" href="classServer.html#a21">Server::AddExtendedMode</a> If the mode is a channel mode, target is a chanrec*, and if it is a user mode, target is a userrec*. You must cast this value yourself to make use of it.
419 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>.
421 <div class="fragment"><pre>00315 { <span class="keywordflow">return</span> <span class="keyword">false</span>; }
425 <a name="a14" doxytag="Module::OnInfo"></a><p>
426 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
429 <table cellpadding="0" cellspacing="0" border="0">
431 <td class="md" nowrap valign="top"> void Module::OnInfo </td>
432 <td class="md" valign="top">( </td>
433 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
434 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
435 <td class="md" valign="top"> ) </td>
436 <td class="md" nowrap><code> [virtual]</code></td>
443 <table cellspacing=5 cellpadding=0 border=0>
451 Called whenever a user types /INFO.
453 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>
454 <nick> :information here
456 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>.
458 <div class="fragment"><pre>00318 { };
462 <a name="a24" doxytag="Module::OnKill"></a><p>
463 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
466 <table cellpadding="0" cellspacing="0" border="0">
468 <td class="md" nowrap valign="top"> int Module::OnKill </td>
469 <td class="md" valign="top">( </td>
470 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
471 <td class="mdname" nowrap> <em>source</em>, </td>
476 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
477 <td class="mdname" nowrap> <em>dest</em>, </td>
482 <td class="md" nowrap>std::string </td>
483 <td class="mdname" nowrap> <em>reason</em></td>
487 <td class="md">) </td>
488 <td class="md" colspan="2"><code> [virtual]</code></td>
495 <table cellspacing=5 cellpadding=0 border=0>
503 Called when a client is disconnected by KILL.
505 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!
507 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>.
509 <div class="fragment"><pre>00328 { <span class="keywordflow">return</span> 0; };
513 <a name="a25" doxytag="Module::OnLoadModule"></a><p>
514 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
517 <table cellpadding="0" cellspacing="0" border="0">
519 <td class="md" nowrap valign="top"> void Module::OnLoadModule </td>
520 <td class="md" valign="top">( </td>
521 <td class="md" nowrap valign="top"><a class="el" href="classModule.html">Module</a> * </td>
522 <td class="mdname" nowrap> <em>mod</em>, </td>
527 <td class="md" nowrap>std::string </td>
528 <td class="mdname" nowrap> <em>name</em></td>
532 <td class="md">) </td>
533 <td class="md" colspan="2"><code> [virtual]</code></td>
540 <table cellspacing=5 cellpadding=0 border=0>
548 Called whenever a module is loaded.
550 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).
552 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>.
554 <div class="fragment"><pre>00329 { };
558 <a name="a13" doxytag="Module::OnOper"></a><p>
559 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
562 <table cellpadding="0" cellspacing="0" border="0">
564 <td class="md" nowrap valign="top"> void Module::OnOper </td>
565 <td class="md" valign="top">( </td>
566 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
567 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
568 <td class="md" valign="top"> ) </td>
569 <td class="md" nowrap><code> [virtual]</code></td>
576 <table cellspacing=5 cellpadding=0 border=0>
584 Called whenever a user opers locally.
586 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.
588 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>.
590 <div class="fragment"><pre>00317 { };
594 <a name="a8" doxytag="Module::OnPacketReceive"></a><p>
595 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
598 <table cellpadding="0" cellspacing="0" border="0">
600 <td class="md" nowrap valign="top"> void Module::OnPacketReceive </td>
601 <td class="md" valign="top">( </td>
602 <td class="md" nowrap valign="top">char * </td>
603 <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
604 <td class="md" valign="top"> ) </td>
605 <td class="md" nowrap><code> [virtual]</code></td>
612 <table cellspacing=5 cellpadding=0 border=0>
620 Called after a packet is received from another irc server.
622 The packet is represented as a char*, as it should be regarded as a buffer, and not a string. 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.
624 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>.
626 <div class="fragment"><pre>00311 { }
630 <a name="a7" doxytag="Module::OnPacketTransmit"></a><p>
631 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
634 <table cellpadding="0" cellspacing="0" border="0">
636 <td class="md" nowrap valign="top"> void Module::OnPacketTransmit </td>
637 <td class="md" valign="top">( </td>
638 <td class="md" nowrap valign="top">char * </td>
639 <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
640 <td class="md" valign="top"> ) </td>
641 <td class="md" nowrap><code> [virtual]</code></td>
648 <table cellspacing=5 cellpadding=0 border=0>
656 Called before a packet is transmitted across the irc network between two irc servers.
658 The packet is represented as a char*, as it should be regarded as a buffer, and not a string. 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.
660 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>.
662 <div class="fragment"><pre>00310 { }
666 <a name="a9" doxytag="Module::OnRehash"></a><p>
667 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
670 <table cellpadding="0" cellspacing="0" border="0">
672 <td class="md" nowrap valign="top"> void Module::OnRehash </td>
673 <td class="md" valign="top">( </td>
674 <td class="mdname1" valign="top" nowrap> </td>
675 <td class="md" valign="top"> ) </td>
676 <td class="md" nowrap><code> [virtual]</code></td>
683 <table cellspacing=5 cellpadding=0 border=0>
693 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.
695 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>.
697 <div class="fragment"><pre>00312 { }
701 <a name="a10" doxytag="Module::OnServerRaw"></a><p>
702 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
705 <table cellpadding="0" cellspacing="0" border="0">
707 <td class="md" nowrap valign="top"> void Module::OnServerRaw </td>
708 <td class="md" valign="top">( </td>
709 <td class="md" nowrap valign="top">std::string & </td>
710 <td class="mdname" nowrap> <em>raw</em>, </td>
715 <td class="md" nowrap>bool </td>
716 <td class="mdname" nowrap> <em>inbound</em>, </td>
721 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
722 <td class="mdname" nowrap> <em>user</em></td>
726 <td class="md">) </td>
727 <td class="md" colspan="2"><code> [virtual]</code></td>
734 <table cellspacing=5 cellpadding=0 border=0>
742 Called when a raw command is transmitted or received.
744 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.
746 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>.
748 <div class="fragment"><pre>00313 { }
752 <a name="a3" doxytag="Module::OnUserConnect"></a><p>
753 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
756 <table cellpadding="0" cellspacing="0" border="0">
758 <td class="md" nowrap valign="top"> void Module::OnUserConnect </td>
759 <td class="md" valign="top">( </td>
760 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
761 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
762 <td class="md" valign="top"> ) </td>
763 <td class="md" nowrap><code> [virtual]</code></td>
770 <table cellspacing=5 cellpadding=0 border=0>
778 Called when a user connects.
780 The details of the connecting user are available to you in the parameter userrec *user
782 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>.
784 <div class="fragment"><pre>00306 { }
788 <a name="a5" doxytag="Module::OnUserJoin"></a><p>
789 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
792 <table cellpadding="0" cellspacing="0" border="0">
794 <td class="md" nowrap valign="top"> void Module::OnUserJoin </td>
795 <td class="md" valign="top">( </td>
796 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
797 <td class="mdname" nowrap> <em>user</em>, </td>
802 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
803 <td class="mdname" nowrap> <em>channel</em></td>
807 <td class="md">) </td>
808 <td class="md" colspan="2"><code> [virtual]</code></td>
815 <table cellspacing=5 cellpadding=0 border=0>
823 Called when a user joins a channel.
825 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
827 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>.
829 <div class="fragment"><pre>00308 { }
833 <a name="a6" doxytag="Module::OnUserPart"></a><p>
834 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
837 <table cellpadding="0" cellspacing="0" border="0">
839 <td class="md" nowrap valign="top"> void Module::OnUserPart </td>
840 <td class="md" valign="top">( </td>
841 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
842 <td class="mdname" nowrap> <em>user</em>, </td>
847 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
848 <td class="mdname" nowrap> <em>channel</em></td>
852 <td class="md">) </td>
853 <td class="md" colspan="2"><code> [virtual]</code></td>
860 <table cellspacing=5 cellpadding=0 border=0>
868 Called when a user parts a channel.
870 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
872 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>.
874 <div class="fragment"><pre>00309 { }
878 <a name="a16" doxytag="Module::OnUserPreInvite"></a><p>
879 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
882 <table cellpadding="0" cellspacing="0" border="0">
884 <td class="md" nowrap valign="top"> int Module::OnUserPreInvite </td>
885 <td class="md" valign="top">( </td>
886 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
887 <td class="mdname" nowrap> <em>source</em>, </td>
892 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
893 <td class="mdname" nowrap> <em>dest</em>, </td>
898 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
899 <td class="mdname" nowrap> <em>channel</em></td>
903 <td class="md">) </td>
904 <td class="md" colspan="2"><code> [virtual]</code></td>
911 <table cellspacing=5 cellpadding=0 border=0>
919 Called whenever a user is about to invite another user into a channel, before any processing is done.
921 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.
923 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>.
925 <div class="fragment"><pre>00320 { <span class="keywordflow">return</span> 0; };
929 <a name="a12" doxytag="Module::OnUserPreJoin"></a><p>
930 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
933 <table cellpadding="0" cellspacing="0" border="0">
935 <td class="md" nowrap valign="top"> int Module::OnUserPreJoin </td>
936 <td class="md" valign="top">( </td>
937 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
938 <td class="mdname" nowrap> <em>user</em>, </td>
943 <td class="md" nowrap><a class="el" href="classchanrec.html">chanrec</a> * </td>
944 <td class="mdname" nowrap> <em>chan</em>, </td>
949 <td class="md" nowrap>const char * </td>
950 <td class="mdname" nowrap> <em>cname</em></td>
954 <td class="md">) </td>
955 <td class="md" colspan="2"><code> [virtual]</code></td>
962 <table cellspacing=5 cellpadding=0 border=0>
970 Called whenever a user is about to join a channel, before any processing is done.
972 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>
974 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.
976 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>.
978 <div class="fragment"><pre>00314 { <span class="keywordflow">return</span> 0; }
982 <a name="a17" doxytag="Module::OnUserPreMessage"></a><p>
983 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
986 <table cellpadding="0" cellspacing="0" border="0">
988 <td class="md" nowrap valign="top"> int Module::OnUserPreMessage </td>
989 <td class="md" valign="top">( </td>
990 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
991 <td class="mdname" nowrap> <em>user</em>, </td>
996 <td class="md" nowrap>void * </td>
997 <td class="mdname" nowrap> <em>dest</em>, </td>
1002 <td class="md" nowrap>int </td>
1003 <td class="mdname" nowrap> <em>target_type</em>, </td>
1008 <td class="md" nowrap>std::string & </td>
1009 <td class="mdname" nowrap> <em>text</em></td>
1013 <td class="md">) </td>
1014 <td class="md" colspan="2"><code> [virtual]</code></td>
1021 <table cellspacing=5 cellpadding=0 border=0>
1029 Called whenever a user is about to PRIVMSG A user or a channel, before any processing is done.
1031 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.
1033 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>.
1035 <div class="fragment"><pre>00321 { <span class="keywordflow">return</span> 0; };
1039 <a name="a19" doxytag="Module::OnUserPreNick"></a><p>
1040 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1043 <table cellpadding="0" cellspacing="0" border="0">
1045 <td class="md" nowrap valign="top"> int Module::OnUserPreNick </td>
1046 <td class="md" valign="top">( </td>
1047 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
1048 <td class="mdname" nowrap> <em>user</em>, </td>
1053 <td class="md" nowrap>std::string </td>
1054 <td class="mdname" nowrap> <em>newnick</em></td>
1058 <td class="md">) </td>
1059 <td class="md" colspan="2"><code> [virtual]</code></td>
1066 <table cellspacing=5 cellpadding=0 border=0>
1074 Called before any nickchange, local or remote.
1076 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. 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.
1078 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>.
1080 <div class="fragment"><pre>00323 { <span class="keywordflow">return</span> 0; };
1084 <a name="a18" doxytag="Module::OnUserPreNotice"></a><p>
1085 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1088 <table cellpadding="0" cellspacing="0" border="0">
1090 <td class="md" nowrap valign="top"> int Module::OnUserPreNotice </td>
1091 <td class="md" valign="top">( </td>
1092 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
1093 <td class="mdname" nowrap> <em>user</em>, </td>
1098 <td class="md" nowrap>void * </td>
1099 <td class="mdname" nowrap> <em>dest</em>, </td>
1104 <td class="md" nowrap>int </td>
1105 <td class="mdname" nowrap> <em>target_type</em>, </td>
1110 <td class="md" nowrap>std::string & </td>
1111 <td class="mdname" nowrap> <em>text</em></td>
1115 <td class="md">) </td>
1116 <td class="md" colspan="2"><code> [virtual]</code></td>
1123 <table cellspacing=5 cellpadding=0 border=0>
1131 Called whenever a user is about to NOTICE A user or a channel, before any processing is done.
1133 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.
1135 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>.
1137 <div class="fragment"><pre>00322 { <span class="keywordflow">return</span> 0; };
1141 <a name="a4" doxytag="Module::OnUserQuit"></a><p>
1142 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1145 <table cellpadding="0" cellspacing="0" border="0">
1147 <td class="md" nowrap valign="top"> void Module::OnUserQuit </td>
1148 <td class="md" valign="top">( </td>
1149 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
1150 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
1151 <td class="md" valign="top"> ) </td>
1152 <td class="md" nowrap><code> [virtual]</code></td>
1159 <table cellspacing=5 cellpadding=0 border=0>
1167 Called when a user quits.
1169 The details of the exiting user are available to you in the parameter userrec *user
1171 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>.
1173 <div class="fragment"><pre>00307 { }
1177 <a name="a21" doxytag="Module::OnUserSync"></a><p>
1178 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1181 <table cellpadding="0" cellspacing="0" border="0">
1183 <td class="md" nowrap valign="top"> <a class="el" href="modules_8h.html#a27">string_list</a> Module::OnUserSync </td>
1184 <td class="md" valign="top">( </td>
1185 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
1186 <td class="mdname1" valign="top" nowrap> <em>user</em> </td>
1187 <td class="md" valign="top"> ) </td>
1188 <td class="md" nowrap><code> [virtual]</code></td>
1195 <table cellspacing=5 cellpadding=0 border=0>
1203 Called during a netburst to sync user data.
1205 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.
1207 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>.
1209 References <a class="el" href="modules_8h-source.html#l00061">string_list</a>.
1211 <div class="fragment"><pre>00325 { <a class="code" href="modules_8h.html#a27">string_list</a> empty; <span class="keywordflow">return</span> empty; }
1215 <a name="a15" doxytag="Module::OnWhois"></a><p>
1216 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1219 <table cellpadding="0" cellspacing="0" border="0">
1221 <td class="md" nowrap valign="top"> void Module::OnWhois </td>
1222 <td class="md" valign="top">( </td>
1223 <td class="md" nowrap valign="top"><a class="el" href="classuserrec.html">userrec</a> * </td>
1224 <td class="mdname" nowrap> <em>source</em>, </td>
1229 <td class="md" nowrap><a class="el" href="classuserrec.html">userrec</a> * </td>
1230 <td class="mdname" nowrap> <em>dest</em></td>
1234 <td class="md">) </td>
1235 <td class="md" colspan="2"><code> [virtual]</code></td>
1242 <table cellspacing=5 cellpadding=0 border=0>
1250 Called whenever a /WHOIS is performed on a local user.
1252 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.
1254 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>.
1256 <div class="fragment"><pre>00319 { };
1260 <hr>The documentation for this class was generated from the following files:<ul>
1261 <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>
1262 <hr size="1"><address style="align: right;"><small>Generated on Mon Mar 28 21:09:35 2005 for InspIRCd by
1263 <a href="http://www.doxygen.org/index.html">
1264 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
1265 </a>1.3.3 </small></address>