| # | Line 361 | Line 361 | cap_end(struct Client *sptr, const char | |
|---|---|---|
| 361 | /* if client is now done... */ | |
| 362 | if (!sptr->localClient->registration) | |
| 363 | { | |
| 364 | < | char buf[USERLEN + 1]; |
| 365 | < | |
| 366 | < | strlcpy(buf, sptr->username, sizeof(buf)); |
| 367 | < | register_local_user(sptr, sptr, sptr->name, buf); |
| 364 | > | register_local_user(sptr); |
| 365 | return 0; | |
| 366 | } | |
| 367 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |