diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-19 05:17:13 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-19 05:17:13 +0200 |
commit | b2fec642fec7a4cf7f0aca2f7bb0d964656dff3e (patch) | |
tree | bd0494a742951a529f0a4102116ad533c280d047 /src/common/proto-irc.c | |
parent | d60cecb8d3e91230cd6b85f358616a3766248077 (diff) |
Login type cleanup
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r-- | src/common/proto-irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index d3a17f55..cb4db0cd 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -73,10 +73,10 @@ irc_nickserv (server *serv, char *cmd, char *arg1, char *arg2, char *arg3) case LOGIN_NICKSERV: tcp_sendf (serv, "NICKSERV %s %s%s%s\r\n", cmd, arg1, arg2, arg3); break; +#if 0 case LOGIN_MSG_NS: tcp_sendf (serv, "PRIVMSG NS :%s %s%s%s\r\n", cmd, arg1, arg2, arg3); break; -#if 0 case LOGIN_NS: tcp_sendf (serv, "NS %s %s%s%s\r\n", cmd, arg1, arg2, arg3); break; @@ -109,7 +109,7 @@ irc_ns_identify (server *serv, char *pass) static void irc_ns_ghost (server *serv, char *usname, char *pass) { - if (serv->loginmethod != LOGIN_AUTH && serv->loginmethod != LOGIN_CHALLENGEAUTH) + if (serv->loginmethod != LOGIN_CHALLENGEAUTH) { irc_nickserv (serv, "GHOST", usname, " ", pass); } |