diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-28 20:16:31 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-28 20:16:31 +0000 |
commit | 2b3d8e3d1841425af7412b3bf25657cf334c0175 (patch) | |
tree | 9c08fc1536f9e6f924c4bd2b0a3bfa2ee75d6f4e /include/inspircd.h | |
parent | 4599328e31c71958e0c3086980d1470859307b10 (diff) |
Fix empty FMODE being sent if SendMode mode changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12323 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 44e6abe57..25ba846bc 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -612,6 +612,14 @@ class CoreExport InspIRCd */ void SendMode(const std::vector<std::string>& parameters, User *user); + /** Send a modechange and route it to the network. + * The parameters provided are identical to that sent to the + * handler for class cmd_mode. + * @param parameters The mode parameters + * @param user The user to send error messages to + */ + void SendGlobalMode(const std::vector<std::string>& parameters, User *user); + /** Match two strings using pattern matching, optionally, with a map * to check case against (may be NULL). If map is null, match will be case insensitive. * @param str The literal string to match against |