if (retval != 2) return FALSE;
- extract(CurrentRoom, recvcmd.Mid(4, 255), 0);
+ extract(CurrentRoom, recvcmd.Mid(4), 0);
BigMDI->SetStatusText(CurrentRoom, 2);
return TRUE;
}
message_window = NULL;
- if (citsock->GotoRoom(roomname, "", recvcmd) != 2) {
+ if (citsock->GotoRoom(roomname, "", recvcmd) != TRUE) {
delete this;
}
void UserLogin::BeginSession(wxString serv_response) {
wxString junk, username;
- extract(username, serv_response.Mid(4, 255), 0);
+ extract(username, serv_response.Mid(4), 0);
BigMDI->SetStatusText(username, 1);
citsock->GotoRoom("_BASEROOM_", "", junk);