Default to nickserv when using /ghost or /id commands
This commit is contained in:
parent
3284502645
commit
1544a5d6cb
@ -74,6 +74,9 @@ irc_nickserv (server *serv, char *cmd, char *arg1, char *arg2, char *arg3)
|
|||||||
case LOGIN_NICKSERV:
|
case LOGIN_NICKSERV:
|
||||||
tcp_sendf (serv, "NICKSERV %s %s%s%s\r\n", cmd, arg1, arg2, arg3);
|
tcp_sendf (serv, "NICKSERV %s %s%s%s\r\n", cmd, arg1, arg2, arg3);
|
||||||
break;
|
break;
|
||||||
|
default: /* This may not work but at least it tries something when using /id or /ghost cmd */
|
||||||
|
tcp_sendf (serv, "NICKSERV %s %s%s%s\r\n", cmd, arg1, arg2, arg3);
|
||||||
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
case LOGIN_MSG_NS:
|
case LOGIN_MSG_NS:
|
||||||
tcp_sendf (serv, "PRIVMSG NS :%s %s%s%s\r\n", cmd, arg1, arg2, arg3);
|
tcp_sendf (serv, "PRIVMSG NS :%s %s%s%s\r\n", cmd, arg1, arg2, arg3);
|
||||||
|
Loading…
Reference in New Issue
Block a user