diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-27 14:50:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-27 14:50:51 +0000 |
commit | deb5dd0dd3b9aeacc544080569c57dacb6cad9de (patch) | |
tree | e5b7d36ccfa654928b3d43a665ebfa8e609ddddf /include | |
parent | 566b2a8b00d1b0d251f72c9351998d5c300ada46 (diff) |
Added m_alias module which provides command aliases.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@746 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index fd9d1765b..e6b4739d8 100644 --- a/include/modules.h +++ b/include/modules.h @@ -159,9 +159,11 @@ class Module : public classbase * 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. + * 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. */ - virtual void OnServerRaw(std::string &raw, bool inbound); + virtual void OnServerRaw(std::string &raw, bool inbound, userrec* user); /** Called whenever an extended mode is to be processed. * The type parameter is MT_SERVER, MT_CLIENT or MT_CHANNEL, dependent on where the mode is being |