Commit 7a631700 authored by Romain Bignon's avatar Romain Bignon

add a handler for a SCONNECT alias of the CONNECT command

parent 54244157
......@@ -51,6 +51,7 @@ IRC::command_t IRC::commands[] = {
{ MSG_WHOWAS, &IRC::m_whowas, 1, 0, Nick::REGISTERED },
{ MSG_STATS, &IRC::m_stats, 0, 0, Nick::REGISTERED },
{ MSG_CONNECT, &IRC::m_connect, 1, 0, Nick::REGISTERED },
{ MSG_SCONNECT,&IRC::m_connect, 1, 0, Nick::REGISTERED },
{ MSG_SQUIT, &IRC::m_squit, 1, 0, Nick::REGISTERED },
{ MSG_MAP, &IRC::m_map, 0, 0, Nick::REGISTERED },
{ MSG_ADMIN, &IRC::m_admin, 0, 0, Nick::REGISTERED },
......
......@@ -108,6 +108,7 @@
#define MSG_WHOWAS "WHOWAS"
#define MSG_STATS "STATS"
#define MSG_CONNECT "CONNECT"
#define MSG_SCONNECT "SCONNECT"
#define MSG_SQUIT "SQUIT"
#define MSG_MAP "MAP"
#define MSG_ADMIN "ADMIN"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment