glirc2

Copyright(c) Eric Mertens, 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Irc.Codes

Description

This module defines support for working with IRC's numeric reply codes. Pattern synonyms are provided for each of the possible IRC reply codes.

Reply code information was extracted from https://www.alien.net.au/irc/irc2numerics.html

Synopsis

Documentation

data ReplyType Source #

Categories for reply codes

Constructors

ClientServerReply

0-99 Messages between client and server

CommandReply

200-399 Responses to commands

ErrorReply

200-399 Errors

CustomReply

Uncategorized

replyType :: Int -> ReplyType Source #

Categorize replies according to the ranges provided in RFC 2812

pattern RPL_WELCOME :: Int Source #

pattern RPL_CREATED :: Int Source #

pattern RPL_MYINFO :: Int Source #

pattern RPL_SNOMASK :: Int Source #

pattern RPL_BOUNCE :: Int Source #

pattern RPL_STATMEM :: Int Source #

pattern RPL_YOURID :: Int Source #

pattern RPL_STATS :: Int Source #

pattern RPL_UMODEIS :: Int Source #

pattern RPL_SERVICE :: Int Source #

pattern RPL_LUSEROP :: Int Source #

pattern RPL_LUSERME :: Int Source #

pattern RPL_ADMINME :: Int Source #

pattern RPL_NETSTAT :: Int Source #

pattern RPL_PRIVS :: Int Source #

pattern RPL_NOTIFY :: Int Source #

pattern RPL_GLIST :: Int Source #

pattern RPL_FEATURE :: Int Source #

pattern RPL_CHKHEAD :: Int Source #

pattern RPL_HELPHDR :: Int Source #

pattern RPL_DATASTR :: Int Source #

pattern RPL_HELPOP :: Int Source #

pattern RPL_HELPTLR :: Int Source #

pattern RPL_HELPHLP :: Int Source #

pattern RPL_HELPFWD :: Int Source #

pattern RPL_HELPIGN :: Int Source #

pattern RPL_NONE :: Int Source #

pattern RPL_AWAY :: Int Source #

pattern RPL_ISON :: Int Source #

pattern RPL_TEXT :: Int Source #

pattern RPL_UNAWAY :: Int Source #

pattern RPL_NOWAWAY :: Int Source #

pattern RPL_LIST :: Int Source #

pattern RPL_LISTEND :: Int Source #

pattern RPL_NOTOPIC :: Int Source #

pattern RPL_TOPIC :: Int Source #

pattern RPL_INVITED :: Int Source #

pattern RPL_VERSION :: Int Source #

pattern RPL_CLOSING :: Int Source #

pattern RPL_LINKS :: Int Source #

pattern RPL_BANLIST :: Int Source #

pattern RPL_INFO :: Int Source #

pattern RPL_MOTD :: Int Source #

pattern RPL_SPAM :: Int Source #

pattern RPL_QLIST :: Int Source #

pattern RPL_IRCOPS :: Int Source #

pattern RPL_TIME :: Int Source #

pattern RPL_USERS :: Int Source #

pattern RPL_NOUSERS :: Int Source #

pattern ERR_BADMASK :: Int Source #

pattern ERR_NOMOTD :: Int Source #

pattern ERR_NORULES :: Int Source #

pattern ERR_DEAD :: Int Source #

pattern ERR_NOLOGIN :: Int Source #

pattern ERR_KEYSET :: Int Source #

pattern ERR_LINKSET :: Int Source #

pattern ERR_NOULINE :: Int Source #

pattern ERR_DESYNC :: Int Source #

pattern ERR_BADPING :: Int Source #

pattern ERR_ADMONLY :: Int Source #

pattern RPL_LOGON :: Int Source #

pattern RPL_LOGOFF :: Int Source #

pattern RPL_NOWON :: Int Source #

pattern RPL_NOWOFF :: Int Source #

pattern RPL_ISOPER :: Int Source #

pattern RPL_ISLOCOP :: Int Source #

pattern RPL_DCCLIST :: Int Source #

pattern RPL_DCCINFO :: Int Source #

pattern RPL_RULES :: Int Source #

pattern RPL_ENDOFO :: Int Source #

pattern RPL_DUMPING :: Int Source #

pattern RPL_DUMPRPL :: Int Source #

pattern RPL_EODUMP :: Int Source #

pattern RPL_HELPTXT :: Int Source #

pattern RPL_ETRACE :: Int Source #

pattern RPL_KNOCK :: Int Source #

pattern ERR_NOPRIVS :: Int Source #

pattern RPL_XINFO :: Int Source #