Checking the NULL for something that never will be NULL or how i am dumb
This commit is contained in:
parent
1e6aa0afdc
commit
16b6e0dddc
|
@ -120,7 +120,7 @@ signed int Tok_user(char* str, IRC_User* out, bool useorig)
|
|||
* It might be a actual nickname, but this is the most common around every network
|
||||
* It is left to the user to decide and handle the result accordingly
|
||||
*/
|
||||
if (out->host == NULL && out->nick == NULL) {
|
||||
if (out->host == NULL && out->user == NULL) {
|
||||
out->host = out->nick;
|
||||
out->nick = NULL;
|
||||
}
|
||||
|
|
Reference in New Issue