|
@@ -1239,6 +1239,11 @@ finish_share(int idx)
|
|
|
if (conf.bot->u)
|
|
if (conf.bot->u)
|
|
|
conf.bot->u = NULL;
|
|
conf.bot->u = NULL;
|
|
|
|
|
|
|
|
|
|
+ struct cmd_pass *old_cmdpass = NULL;
|
|
|
|
|
+
|
|
|
|
|
+ old_cmdpass = cmdpass;
|
|
|
|
|
+ cmdpass = NULL;
|
|
|
|
|
+
|
|
|
/* Read the transferred userfile. Add entries to u, which already holds
|
|
/* Read the transferred userfile. Add entries to u, which already holds
|
|
|
* the bot entries in non-override mode.
|
|
* the bot entries in non-override mode.
|
|
|
*/
|
|
*/
|
|
@@ -1265,6 +1270,8 @@ finish_share(int idx)
|
|
|
|
|
|
|
|
Auth::FillUsers();
|
|
Auth::FillUsers();
|
|
|
|
|
|
|
|
|
|
+ cmdpass = old_cmdpass;
|
|
|
|
|
+
|
|
|
checkchans(2); /* un-flag the channels, we are keeping them.. */
|
|
checkchans(2); /* un-flag the channels, we are keeping them.. */
|
|
|
|
|
|
|
|
/* old userlist is now being used, safe to do this stuff... */
|
|
/* old userlist is now being used, safe to do this stuff... */
|
|
@@ -1306,6 +1313,8 @@ finish_share(int idx)
|
|
|
/* copy over any auth users */
|
|
/* copy over any auth users */
|
|
|
Auth::FillUsers();
|
|
Auth::FillUsers();
|
|
|
|
|
|
|
|
|
|
+ cmdpass_free(old_cmdpass);
|
|
|
|
|
+
|
|
|
checkchans(1); /* remove marked channels */
|
|
checkchans(1); /* remove marked channels */
|
|
|
var_parse_my_botset();
|
|
var_parse_my_botset();
|
|
|
reaffirm_owners(); /* Make sure my owners are +a */
|
|
reaffirm_owners(); /* Make sure my owners are +a */
|