|
@ -40,12 +40,14 @@ ERR_NONICKNAMEGIVEN = reply_fn(431, ":No nickname given") |
|
|
ERR_NICKNAMEINUSE = reply_fn(433, "{0} :Nickname is already in use") |
|
|
ERR_NICKNAMEINUSE = reply_fn(433, "{0} :Nickname is already in use") |
|
|
ERR_NOTEXTTOSEND = reply_fn(412, ":No text to send") |
|
|
ERR_NOTEXTTOSEND = reply_fn(412, ":No text to send") |
|
|
ERR_NOTREGISTERED = reply_fn(451, ":You have not registered") |
|
|
ERR_NOTREGISTERED = reply_fn(451, ":You have not registered") |
|
|
|
|
|
ERR_USERSDONTMATCH = reply_fn(502, ":Cannot change mode for other users") |
|
|
|
|
|
|
|
|
# Command responses |
|
|
# Command responses |
|
|
RPL_WELCOME = reply_fn("001", "Welcome to the Internet Relay Network {0}") |
|
|
RPL_WELCOME = reply_fn("001", "Welcome to the Internet Relay Network {0}") |
|
|
RPL_YOURHOST = reply_fn("002", "Your host is {0}, running version {1}") |
|
|
RPL_YOURHOST = reply_fn("002", "Your host is {0}, running version {1}") |
|
|
RPL_CREATED = reply_fn("003", "This server was created {0}") |
|
|
RPL_CREATED = reply_fn("003", "This server was created {0}") |
|
|
RPL_MYINFO = reply_fn("004", "{0} {1} {2} {3}") |
|
|
RPL_MYINFO = reply_fn("004", "{0} {1} {2} {3}") |
|
|
|
|
|
RPL_UMODEIS = reply_fn(221, "{0}") |
|
|
RPL_AWAY = reply_fn(301, "{0} :{1}") |
|
|
RPL_AWAY = reply_fn(301, "{0} :{1}") |
|
|
RPL_UNAWAY = reply_fn(305, ":You are no longer marked as being away") |
|
|
RPL_UNAWAY = reply_fn(305, ":You are no longer marked as being away") |
|
|
RPL_NOWAWAY = reply_fn(306, ":You have been marked as being away") |
|
|
RPL_NOWAWAY = reply_fn(306, ":You have been marked as being away") |
|
|