wholine.append("*");
}
- wholine = wholine + ch->GetStatusChar(i->second) + " :0 " + i->second->fullname;
+ wholine = wholine + ch->GetPrefixChar(i->second) + " :0 " + i->second->fullname;
whoresults.push_back(wholine);
}
}
wholine.append("*");
}
- wholine = wholine + ch->GetStatusChar(oper) + " :0 " + oper->fullname;
+ wholine = wholine + ch->GetPrefixChar(oper) + " :0 " + oper->fullname;
whoresults.push_back(wholine);
}
}
wholine.append("*");
}
- wholine = wholine + ch->GetStatusChar(i->second) + " :0 " + i->second->fullname;
+ wholine = wholine + ch->GetPrefixChar(i->second) + " :0 " + i->second->fullname;
whoresults.push_back(wholine);
}
}
{
for (std::vector<std::string>::const_iterator n = whoresults.begin(); n != whoresults.end(); n++)
user->WriteServ(*n);
- user->WriteServ("315 %s %s :End of /WHO list.",user->nick, parameters[0]);
+ user->WriteServ("315 %s %s :End of /WHO list.",user->nick, *parameters[0] ? parameters[0] : "*");
}
else
{