svn: 2126
@@ -1295,6 +1295,9 @@ finish_share(int idx)
*/
clear_userlist(ou);
+ if (!conf.bot->u)
+ conf.bot->u = get_user_by_handle(userlist, conf.bot->nick);
+
/* Our hostmask may have been updated on connect, but the new userfile may not have it. */
check_hostmask();