From 0f74e88f0996acff1580bcf5f2ea3dc986497339 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 3 Nov 2009 01:14:12 +0000 Subject: Move MODENOTICE command to a command module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 7 ------- include/protocol.h | 6 ------ include/usermanager.h | 10 ---------- 3 files changed, 23 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 26c4ef466..dc59abdd9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -36,13 +36,6 @@ enum ModuleFlags { VF_CORE = 16 // module is a core command, can be assumed loaded on all servers }; -/** Used with SendToMode() - */ -enum WriteModeFlags { - WM_AND = 1, - WM_OR = 2 -}; - /** Used to represent an event type, for user, channel or server */ enum TargetTypeFlags { diff --git a/include/protocol.h b/include/protocol.h index ed53c3cbb..94b34ce39 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -82,12 +82,6 @@ class ProtocolInterface SendMode(target, n, types); } - /** Send a notice to users with a given mode(s). - * @param modes The modes required for the message to be sent. - * @param text The message to send. - */ - virtual void SendModeNotice(const std::string &modes, const std::string &text) { } - /** Send a notice to users with a given snomask. * @param snomask The snomask required for the message to be sent. * @param text The message to send. diff --git a/include/usermanager.h b/include/usermanager.h index eb3317b63..ba6039250 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -156,16 +156,6 @@ class CoreExport UserManager * @param ... The format arguments */ void ServerPrivmsgAll(const char* text, ...) CUSTOM_PRINTF(2, 3); - - /** Send text to all users with a specific set of modes - * @param modes The modes to check against, without a +, e.g. 'og' - * @param flags one of WM_OR or WM_AND. If you specify WM_OR, any one of the - * mode characters in the first parameter causes receipt of the message, and - * if you specify WM_OR, all the modes must be present. - * @param text The text format string to send - * @param ... The format arguments - */ - void WriteMode(const char* modes, int flags, const char* text, ...) CUSTOM_PRINTF(4, 5); }; #endif -- cgit v1.2.3