Default to nickserv when using /ghost or /id commands

This commit is contained in:
TingPing 2013-07-04 18:08:56 -04:00
parent 3284502645
commit 1544a5d6cb
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ 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;
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
case LOGIN_MSG_NS:
tcp_sendf (serv, "PRIVMSG NS :%s %s%s%s\r\n", cmd, arg1, arg2, arg3);