diff options
Diffstat (limited to 'comm/chat/protocols/irc/ircHandlerPriorities.sys.mjs')
-rw-r--r-- | comm/chat/protocols/irc/ircHandlerPriorities.sys.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/comm/chat/protocols/irc/ircHandlerPriorities.sys.mjs b/comm/chat/protocols/irc/ircHandlerPriorities.sys.mjs new file mode 100644 index 0000000000..68d48d51b8 --- /dev/null +++ b/comm/chat/protocols/irc/ircHandlerPriorities.sys.mjs @@ -0,0 +1,16 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +export const ircHandlerPriorities = { + // Some constant priorities. + get LOW_PRIORITY() { + return -100; + }, + get DEFAULT_PRIORITY() { + return 0; + }, + get HIGH_PRIORITY() { + return 100; + }, +}; |