mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 08:35:38 +00:00
Use macros instead of raw numbers for login type
This commit is contained in:
1 parent
2c15270be1
commit
83107ee222
5 files changed
+50
-34
No files matched your search
@@ -116,16 +116,16 @@ static const char *pages[]=
|
||||
*/
|
||||
static int login_types_conf[] =
|
||||
{
|
||||
0, /* default - we don't use this but it makes indexing consistent with login_types[] so it's nice */
|
||||
6, /* SASL */
|
||||
7, /* /pass */
|
||||
1, /* /msg NickServ */
|
||||
2, /* /NickServ */
|
||||
LOGIN_DEFAULT, /* default entry - we don't use this but it makes indexing consistent with login_types[] so it's nice */
|
||||
LOGIN_SASL,
|
||||
LOGIN_PASS,
|
||||
LOGIN_MSG_NICKSERV,
|
||||
LOGIN_NICKSERV,
|
||||
#if 0
|
||||
3, /* /NS */
|
||||
LOGIN_NS,
|
||||
#endif
|
||||
4, /* /msg NS */
|
||||
5, /* /auth */
|
||||
LOGIN_MSG_NS,
|
||||
LOGIN_AUTH,
|
||||
};
|
||||
|
||||
static const char *login_types[]=
|
||||
|
||||
Reference in new issue
Block a user