*/
this->ProcessConnectedLine(prefix, command, params);
break;
+ case DYING:
+ break;
}
}
command = "MODE";
// TODO move all this into Commands
- if (command == "UID")
- {
- this->ParseUID(prefix, params);
- }
- else if (command == "FJOIN")
- {
- this->ForceJoin(who,params);
- }
- else if (command == "STATS")
- {
- this->Stats(prefix, params);
- }
- else if (command == "MOTD")
- {
- this->Motd(prefix, params);
- }
- else if (command == "ADMIN")
- {
- this->Admin(prefix, params);
- }
- else if (command == "MAP")
+ if (command == "MAP")
{
Utils->Creator->HandleMap(params, who);
}
{
this->Error(params);
}
- else if (command == "OPERTYPE")
- {
- this->OperType(prefix,params);
- }
else if (command == "AWAY")
{
this->Away(prefix,params);
}
- else if (command == "FMODE")
- {
- this->ForceMode(who,params);
- }
- else if (command == "FTOPIC")
- {
- this->ForceTopic(prefix,params);
- }
- else if (command == "METADATA")
- {
- this->MetaData(prefix,params);
- }
else if (command == "PING")
{
this->LocalPing(prefix,params);
{
this->ServerVersion(prefix,params);
}
- else if (command == "FHOST")
- {
- this->ChangeHost(prefix,params);
- }
- else if (command == "FNAME")
- {
- this->ChangeName(prefix,params);
- }
- else if (command == "FIDENT")
- {
- this->ChangeIdent(prefix,params);
- }
else if (command == "ADDLINE")
{
this->AddLine(prefix,params);
{
this->Push(prefix,params);
}
- else if (command == "TIME")
- {
- this->Time(prefix,params);
- }
else if (command == "SQUIT")
{
if (params.size() == 2)