diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 7 | ||||
-rw-r--r-- | include/protocol.h | 6 | ||||
-rw-r--r-- | include/usermanager.h | 10 |
3 files changed, 0 insertions, 23 deletions
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 |