]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/login.c
Test suite/platformtest.sh: Detect when tests have been skipped
[ngircd-alex.git] / src / ngircd / login.c
index 7f427a3a753e0fd3b0b9886d641439b521a3f08b..64cc81251c6594cbd129a56270262fa9fede6c19 100644 (file)
@@ -192,7 +192,7 @@ Login_User_PostAuth(CLIENT *Client)
        /* Set default user modes */
        if (Conf_DefaultUserModes[0]) {
                snprintf(modes, sizeof(modes), "+%s", Conf_DefaultUserModes);
-               Req.prefix = Client_ThisServer();
+               Req.prefix = Client_ID(Client_ThisServer());
                Req.command = "MODE";
                Req.argc = 2;
                Req.argv[0] = Client_ID(Client);