Fix ability to kick and deop users on -A channels when OPLEVELS enabled.
[ircu2.10.12-pk.git] / ircd / s_user.c
index 58e9ecf1246dc9e2453070d50a16e350c15f81bf..af7b93b7e5bf8c320ec267faaef44fd8b378c041 100644 (file)
@@ -591,8 +591,8 @@ int register_user(struct Client *cptr, struct Client *sptr,
      */
     send_reply(sptr, RPL_YOURHOST, cli_name(&me), version);
     send_reply(sptr, RPL_CREATED, creation);
-    send_reply(sptr, RPL_MYINFO, cli_name(&me), infousermodes, infochanmodes,
-               infochanmodeswithparams, version);
+    send_reply(sptr, RPL_MYINFO, cli_name(&me), version, infousermodes,
+               infochanmodes, infochanmodeswithparams);
     send_supported(sptr);
     m_lusers(sptr, sptr, 1, parv);
     update_load();