Index: src/cmd_whois.cpp =================================================================== --- src/cmd_whois.cpp (revision 6965) +++ src/cmd_whois.cpp (working copy) @@ -102,6 +102,13 @@ if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0)) return CMD_SUCCESS; + /* + * If 2 paramters are specified (/whois nick nick), ignore the first one like spanningtree + * does, and use the second one, otherwise, use the only paramter. -- djGrrr + */ + if (pcnt > 1) + parameters[0] = parameters[1]; + dest = ServerInstance->FindNick(parameters[0]); if (dest)