diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-18 21:23:00 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-18 21:23:00 +0000 |
commit | 8cb1935360087b4e38802b837981e5f41e9b87d7 (patch) | |
tree | 687d0c37e28a12d9052828e77fe0a8a5c08a8e11 /include | |
parent | 46e56dedd37abe33af4e8b970d5b83729dc1ef05 (diff) |
Allow SASL messages to be targeted at the services server
<sasl target="services.example.net"> will avoid broadcasting all
authentication messages across the network, which improves security.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12494 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h index 7f987964f..03ede7ca8 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -44,8 +44,9 @@ class ProtocolInterface * @param encap This is a list of string parameters, the first of which must be a server ID or glob matching servernames. * The second must be a subcommand. All subsequent parameters are dependant on the subcommand. * ENCAP (should) be used instead of creating new protocol messages for easier third party application support. + * @return True if the message was sent out (target exists) */ - virtual void SendEncapsulatedData(parameterlist &encap) { } + virtual bool SendEncapsulatedData(const parameterlist &encap) { return false; } /** Send metadata for an object to other linked servers. * @param target The object to send metadata for. |