summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-03 01:14:12 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-03 01:14:12 +0000
commit0f74e88f0996acff1580bcf5f2ea3dc986497339 (patch)
tree68bc797c1a7f54a91d7f3156807556f4e1be2a5d /include
parent7746307ab638030a4b0a8c2c3b4c577f380e29bb (diff)
Move MODENOTICE command to a command module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h7
-rw-r--r--include/protocol.h6
-rw-r--r--include/usermanager.h10
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