From 2b3d8e3d1841425af7412b3bf25657cf334c0175 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 28 Jan 2010 20:16:31 +0000 Subject: 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 --- include/inspircd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/inspircd.h') 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& 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& 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 -- cgit v1.2.3